Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-26-2012, 07:16 AM   #1
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
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
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 07:23 AM   #2
dappz-datton
Confirmed User
 
Industry Role:
Join Date: Nov 2012
Posts: 223
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,
__________________
dappz-datton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 07:43 AM   #3
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by dappz-datton View Post
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
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 09:10 AM   #4
TMM_John
Confirmed User
 
TMM_John's Avatar
 
Industry Role:
Join Date: May 2004
Posts: 6,660
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
TMM_John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 09:26 AM   #5
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by TMM_John View Post
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.
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 10:52 AM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
why not import them into a db?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 11:16 AM   #7
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by fris View Post
why not import them into a db?
That will not change the nature of my question.
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 11:41 AM   #8
Killswitch
👏 REVOLUTIONARY 👏
 
Killswitch's Avatar
 
Industry Role:
Join Date: Oct 2012
Posts: 2,365
Is this script on the same domain as the NATS install? If so just detect cookie/session data for NATS login and use it.
__________________
Killswitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 11:46 AM   #9
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by Killswitch View Post
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.
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 02:44 PM   #10
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Well, WTF?
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 02:45 PM   #11
Killswitch
👏 REVOLUTIONARY 👏
 
Killswitch's Avatar
 
Industry Role:
Join Date: Oct 2012
Posts: 2,365
There is no pre made solution or shortcut. Either learn how NATS works for this stuff, or hire a programmer.
__________________
Killswitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 03:35 PM   #12
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by Killswitch View Post
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.

__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 03:37 PM   #13
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by Killswitch View Post
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?
__________________
Make Money with Porn
blackmonsters is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 03:54 PM   #14
Killswitch
👏 REVOLUTIONARY 👏
 
Killswitch's Avatar
 
Industry Role:
Join Date: Oct 2012
Posts: 2,365
Quote:
Originally Posted by blackmonsters View Post
Oh wait, I get it.

How much do you want me to pay you?
Nothing. I am not available. Sorry.
__________________
Killswitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-26-2012, 04:15 PM   #15
PornDiscounts-V
Confirmed User
 
PornDiscounts-V's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: L.A.
Posts: 5,744
Business getting done on GFY
PornDiscounts-V is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.