GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Simple way to include NATS affiliate link in external PHP script (https://gfy.com/showthread.php?t=1094205)

blackmonsters 12-26-2012 07:16 AM

Simple way to include NATS affiliate link in external PHP script
 
Anyone know how to do this?

For example, instead of doing a smarty template and putting the php in a smarty
plugin; just put an include into the php script that will give me the affiliate's link code
when they have logged into NATS already.

Thanks

dappz-datton 12-26-2012 07:23 AM

its that easy you need to get the admin php code and place it to the tool ads links...

when there are new sign up when they log in it automatically get their proper code...


Cheers,

blackmonsters 12-26-2012 07:43 AM

Quote:

Originally Posted by dappz-datton (Post 19390354)
its that easy you need to get the admin php code and place it to the tool ads links...

when there are new sign up when they log in it automatically get their proper code...


Cheers,

OK, but I don't understand it on the high level you explained it.
I still need stuff like file names and buttons to click before I understand it.

Thanks

TMM_John 12-26-2012 09:10 AM

If you're doing NATS templates in smarty, then you don't need to create a PHP plugin, just use the existing NATS smarty functions.

i.e. http://wiki.toomuchmedia.com/index.p...list_linkcodes

blackmonsters 12-26-2012 09:26 AM

Quote:

Originally Posted by TMM_John (Post 19390511)
If you're doing NATS templates in smarty, then you don't need to create a PHP plugin, just use the existing NATS smarty functions.

i.e. http://wiki.toomuchmedia.com/index.p...list_linkcodes

This is a custom video embed dump script already written in php so I'm trying to
use it without having to use the smarty templates.

I want to have an external php page that knows the affiliate is logged in and can get his
link codes and that will be my php script.

Basically I want to integrate an existing php script into the existing NATS
and all I want is the affiliate link code to be accessible in my script.

fris 12-26-2012 10:52 AM

why not import them into a db?

blackmonsters 12-26-2012 11:16 AM

Quote:

Originally Posted by fris (Post 19390600)
why not import them into a db?

That will not change the nature of my question.

Killswitch 12-26-2012 11:41 AM

Is this script on the same domain as the NATS install? If so just detect cookie/session data for NATS login and use it.

blackmonsters 12-26-2012 11:46 AM

Quote:

Originally Posted by Killswitch (Post 19390685)
Is this script on the same domain as the NATS install? If so just detect cookie/session data for NATS login and use it.

Yep, exactly.

Was just seeking a pre-made solution or shortcut.

blackmonsters 12-26-2012 02:44 PM

Well, WTF?

Killswitch 12-26-2012 02:45 PM

There is no pre made solution or shortcut. Either learn how NATS works for this stuff, or hire a programmer.

blackmonsters 12-26-2012 03:35 PM

Quote:

Originally Posted by Killswitch (Post 19390923)
There is no pre made solution or shortcut. Either learn how NATS works for this stuff, or hire a programmer.

I could also just unplug the shit.

:1orglaugh

blackmonsters 12-26-2012 03:37 PM

Quote:

Originally Posted by Killswitch (Post 19390923)
There is no pre made solution or shortcut. Either learn how NATS works for this stuff, or hire a programmer.

Oh wait, I get it.

How much do you want me to pay you?

Killswitch 12-26-2012 03:54 PM

Quote:

Originally Posted by blackmonsters (Post 19391005)
Oh wait, I get it.

How much do you want me to pay you?

Nothing. I am not available. Sorry.

PornDiscounts-V 12-26-2012 04:15 PM

Business getting done on GFY


All times are GMT -7. The time now is 09:26 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123