Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-10-13, 03:07 AM   #1
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
Script Help

I'm looking for a script that will automatically generate Affiliate Galleries & put them on my server, & give the Affiliate their link to promote. Anyone have any clues on this ? Also, why not make this even broader: Besides the above, what do you guys use to make your lives easier when it comes to maintaining & promoting your sites ? Script wise ?

Thanks,

Gary
ggross is offline   Reply With Quote
Old 2003-10-13, 07:24 AM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
You may want to ask John from ExtremePaychecks what script he uses.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2003-10-13, 11:11 AM   #3
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
What exactly are you asking for, a link to someone who sells this kind of script, a link to a site that offers free scripts, someone to write the script from scratch, or just some help with writing it yourself ?

Also what type of script do you need, one that generates the galleries and puts the affiliate code into the links, or one that just puts the affiliate code onto galleries you have made ?
ecchi is offline   Reply With Quote
Old 2003-10-13, 12:44 PM   #4
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
Quote:
Originally posted by ecchi
What exactly are you asking for, a link to someone who sells this kind of script, a link to a site that offers free scripts, someone to write the script from scratch, or just some help with writing it yourself ?

Also what type of script do you need, one that generates the galleries and puts the affiliate code into the links, or one that just puts the affiliate code onto galleries you have made ?

That is what I am not sure of. I can generate the gallerries myself, that isn't hard to do. The way I am doing it now the Affiliate contacts me, I do the gallerry, I put their links in there, post them to my server, & then send them there link. I want to try to make it a little easier, & quicker for them to get their galleries.

Any suggestions would help. Maybe a script that would be able to add the affiliate code automatically (i.e., send surfer to http://kissinggirls.xxx.us/gall1/index.htm?affiliate code but the links on the gallery are all http://kissinggirls.xxx.us/gall1/join&? with the affiliate code being parsed from the url that was typed into the address bar).

Maybe I'm not making any sense.
ggross is offline   Reply With Quote
Old 2003-10-13, 01:10 PM   #5
Osiris
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Osiris's Avatar
 
Join Date: Apr 2003
Location: New Orleans
Posts: 283
Send a message via ICQ to Osiris Send a message via Yahoo to Osiris
I'm not 100% sure on how to get it to automatically do this yet, but I know what you're wanting.

A place where the affiliate enters there ID and it puts their affiliate code in the gallery

a PHP include will work, I'm just not sure how to do the above part yet...
__________________
Osiris is offline   Reply With Quote
Old 2003-10-13, 01:15 PM   #6
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Easy, if you have SSI enabled on your server.

Say your gallery page is http://www.greatporn.com/galleries/gallery1.html and the link you want your affiliate code on is http://www.greatporn.com/paysite/index.cgi?12345 (where 12345 is your affiliates code).

First change your link on your gallery to http://www.greatporn.com/paysite/index.cgi?<!--#echo var="QUERY_STRING"-->

Then just get your affiliates to append their code to the link to your gallery thus: http://www.greatporn.com/galleries/gallery1.html?12345

Basically <!--#echo var="QUERY_STRING"--> means "paste whatever data was sent with the URL here". However note that your server must be set to take Server Side Includes (SSI) and most servers insist that you use the extension .shtml instead of .html on the page (IE http://www.greatporn.com/galleries/gallery1.shtml not http://www.greatporn.com/galleries/gallery1.html), but the rules vary on different servers so you will have to ask your host about this.
ecchi is offline   Reply With Quote
Old 2003-10-13, 01:46 PM   #7
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
Thanxs Larry & Ecchi, you guys hit it right on the head. That is exactly what I am looking for. That would make life so much damn easier, only having to do up one gallery & everyone being able to use it.

I have no problems with SSI, I have it on my server. But where do I get the cgi script to do this ?

Here is how it would have to work:

Affiliate sends surfer to the TGP Gallery, hopefully with their Affiliate ID in there. Surfer then clicks on text link or banner to go to site.

Affiliate gets to site, goes through tour & lands on join page. They want to join, & clicks join link & goes to Verotel.

So, their Affiliate Code would have to follow them through that whole process. The progression would be like this:

http://kissinggirls.xxx.us/hosted/gall1/index.htm (TGP Gallery)

http://kissinggirls.xxx.us (my site)

Then to join page & link to Verotel
http://links.verotel.com/cgi-bin/sho...:AffiliateCode

That's the problem I'm not sure on. The above Verotel link sends them to my site & adds their Affiliate Code so their sales can be tracked & credited. So how do I add that to their TGP links so when the surfer goes to my site it is credited right ?

I appreciate the help from you guys.

Thanxs,

Gary
ggross is offline   Reply With Quote
Old 2003-10-13, 02:00 PM   #8
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
Ecchi,

BTW, I bookmarked your site last night, I like it. I also like your content. Looks like I'm going to have to buy some more tokens. I use them also for some pay-per-view sites that I have.

Gary
ggross is offline   Reply With Quote
Old 2003-10-13, 02:12 PM   #9
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
If you are just using ssi, you don't need any other script. If you put <!--#echo var="QUERY_STRING"--> on your page, then the server will replace <!--#echo var="QUERY_STRING"--> with whatever was appended to the original URL.

To see it in action go to this page and view the source code:
http://www.pp5sex.com/emma/partner1.shtml

Look at the URL that "click here to continue" sends you to, it is "partner2.shtml?"

Now go to the same URL with an affiliate code added such as :
http://www.pp5sex.com/emma/partner1.shtml?12345

You will see that the affiliate code has been added to the "click here to continue" link (in this case "partner2.shtml?12345"). it will work with anything you put after the question mark (try it if you like).

Now look again at the source code, what your browser saw was not what I wrote, On my hard drive the link in the source code is :
<a href="partner2.shtml?<!--#echo var="QUERY_STRING"-->">Click Here to continue</a> but my server replaced echo var="QUERY_STRING"--> with the affiliate code.

This does not need any CGI, the entire process is done by SSI, which you say you already have on your server (although it may have to be "switched on" before it works, for security reasons most hosts do not activate SSI until you ask them to, or you do it yourself by telnet)

Feel free to have a look through the tour I gave as an example, you will notice that it keeps passing the referrer code across every page of the tour before inserting it into the AVS form.
ecchi is offline   Reply With Quote
Old 2003-10-13, 02:56 PM   #10
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
Ok, I just want to make sure that I have this right. I do have SSI enabled, because I use it now.

So, I just change my pages to .shtml. I have my Affiliates send surfers to:

http://kissinggirls.xxx.us/hosted/1/...AffilliateCode

On my tgp pages I would put the link as:

http://links.verotel.com/cgi-bin/sho...vercode=14143:<!--#echo var="QUERY_STRING"-->

And it will replace the last part with the affilliate code ?

And I can do the same with hosted Free Sites & anything else ?

Ecchi, Thank You. This is going to make my life so much easier & less time consumming, so I can do other things. I really appreciate the help.

Gary

ggross is offline   Reply With Quote
Old 2003-10-13, 05:53 PM   #11
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Yes you have that right, but once it is up test it before you tell your affiliates about it. If you have any problems let me know, SSI is easy when you know, but like everything, one small error can screw up the whole thing.

As to Free hosts, probably not, because they have to have SSI and most free hosts don't, but it is worth asking them. But yes to any host that has SSI.

RE: "This is going to make my life so much easier & less time consuming" I would advise all webmasters to learn SSI and Perl as it makes life so much easier and quicker, I don't exaggerate when I say it cuts over 50% off the time I spend working on sites both in dynamic pages and in jobs it does on my own computer.
ecchi is offline   Reply With Quote
Old 2003-10-13, 06:20 PM   #12
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
It works great. I already have put up a couple of galleries & tried it. Working perfect.

Thank You !!!!!!

ggross is offline   Reply With Quote
Old 2006-02-01, 02:46 PM   #13
sinister
Internet! Is that thing still around?
 
Join Date: Feb 2006
Posts: 6
coding help

Hi There,

I'm new at this so be easy on me

I'm trying to setup my reseller program with Verotel as well but for my 'pic of the day' http://www.deadlydollars.com/dailypic/dailypic.htm. If you view source you'll see that the thumbnail is linked using verotel coding unlike the code in the green box underneath.

My issue is that the 'pic of the day' large image that the thumbnail is linked to is a .pl file and not a .html file. As I understand .pl is not meant to work as a .shtml file.

Any ideas on how to make this work?

Thanks In Advance.
sinister is offline   Reply With Quote
Old 2006-02-01, 04:43 PM   #14
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
If you are running a CGI program there are two ways to do it. One is to embed some code in the HTML that tells the server to run that program and insert the result in the page. For example, in the code I gave GGross <!--#echo var="QUERY_STRING"--> tells the server to run the program that reads what was after the ? in the URL and add it to the page at that point. The other way to use CGI is to point the URL directly at a CGI program which will write the HTML "on the fly". Usually the URL will end with .cgi, which tells the server to run the program at that URL. However there are several computer languages that the program can be written in. Sometimes the person who wrote the code will use an extension specific to that language (which is acceptable, but in my mind bad practise since it makes it slightly easier to hack). The .pl ending is simply telling the server that the program was written in Perl.

In short these endings mean:

.shtml - the page is written in HTML but contains parts that will be written "on the fly" by a CGI program, or it uses SSI.

.cgi - the URL is not a web page but a computer program that will write the HTML "on the fly". The program can be written in any computer language.

.pl - the URL is not a web page but a computer program that will write the HTML "on the fly". The program is written in Perl.

If the URL is one you are sending surfers to (i.e. a page on your sponsor's site) do not worry about it, their server will be doing all the donkey work.

However if you are saying you purchased a Perl script (or were given one by Verotel), then you will need to upload it as an ASCII file instead of a binary file (the manual to your FTP program will tell you how to do this) and change the permissions on the script (the document that comes with the script will tell you what permissions that script needs, and the manual to your FTP program will tell you how change them). You may find you have to "switch on" the Perl interpretor on your server, or install one if there is not one there already (you will have to ask your host about this). On many servers you will also only be able to use the script if you upload it to a file called "cgi-bin" (do not just create a folder called this, if you do not have one, speak to your host).

Hope this helps.
ecchi is offline   Reply With Quote
Old 2006-02-01, 05:31 PM   #15
sinister
Internet! Is that thing still around?
 
Join Date: Feb 2006
Posts: 6
Thanks but that goes beyond my capability.

If yourself or another webmaster would be willing to help me with this I'd be willing to pay.
sinister is offline   Reply With Quote
Old 2006-02-02, 01:19 AM   #16
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
What do you need done ?
ecchi is offline   Reply With Quote
Old 2006-02-02, 07:46 AM   #17
sinister
Internet! Is that thing still around?
 
Join Date: Feb 2006
Posts: 6
It is indeed a cgi program that I'm using but I don't have enough experience to get the banner on this page http://www.deadlydollars.com/cgi-bin/schlabo/potd.pl? to work with this code http://links.verotel.com/cgi-bin/showsite.verotel?vercode=21574:<!--#echo var="QUERY_STRING"-->

As I mentioned the page is .pl and not .shtml

I would love to learn how to set it up myself but it seems rather difficult.
sinister is offline   Reply With Quote
Old 2006-02-02, 02:36 PM   #18
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Am I correct in thinking that you are saying that this script is running on your site (i.e. deadlydollars.com is your site) and you need help changing the script so that it shows a different banner? If so, PM me a copy of the script and I'll take a look.
ecchi is offline   Reply With Quote
Old 2006-02-08, 02:50 PM   #19
sinister
Internet! Is that thing still around?
 
Join Date: Feb 2006
Posts: 6
Thanks for all of your support!

I have one more question concerning this script and I'm sure it's something simple.....

http://www.deadlydollars.com/galleri....shtm?yourcode

Any idea why the <!--#echo var="QUERY_STRING"--> isn't working for this gallery?
sinister is offline   Reply With Quote
Old 2006-02-08, 03:02 PM   #20
sinister
Internet! Is that thing still around?
 
Join Date: Feb 2006
Posts: 6
I knew it wwas something silly...forget the l is shtml
sinister is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:29 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc