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)
-   -   sponsor hosted galleries script?!?! (https://gfy.com/showthread.php?t=95683)

p1mpdogg 12-24-2002 03:03 AM

sponsor hosted galleries script?!?!
 
Are there any of these already made and forsale? or is it a simple enough script to have custom made?

Mark 12-24-2002 03:41 AM

What exactly would you need a script for?

p1mpdogg 12-24-2002 04:11 AM

.

nocostporn 12-24-2002 05:43 AM

looking for this also... Mark ya know how CFF has rotated galleries or soulcash has hosted galleries? script like that,I talked to one of you about it awhile back but forgot who....speak bitch!

chrism 12-24-2002 05:52 AM

I'm looking for this too. Maybe we could get something custom written and share the cost?

DarkJedi 12-24-2002 05:55 AM

i'm not looking for this script

FuqALot 12-24-2002 06:10 AM

Hi... here's a simple code im just writing now.. so if you need help hit me up.

create a file named rotate.cgi or something and put it in a directory where you also have all the possible rotated .html galleries. (so like yourdomain.com/galleries/rotate.cgi)

put the following code in it:

#!/usr/bin/perl
$usrid = $ENV{'QUERY_STRING'};
print "Content-type:text/html\n\n";
@galleries = <*.html>;
$galleryfile = $galleries[int(rand(@galleries))];
open(gallery,$galleryfile);
@galindex = <gallery>;
close(gallery);
foreach $line (@galindex) {
$line =~ s/%revid%/$usrid/g;
print $line;
}

In your galleries, replace the REVID, with %revid%, so the script knows where to insert the users id.

Then let people visit like this:
http://www.yourdomain.com/galleries/rotate.cgi?XXXXXX

Now a random gallery will be picked and
the %revid% will be replaced with XXXXXX and gallery will be printed.

Just wrote is, but it's that easy that it should work. Heh.

(dont quote the code, will mess thread up)

AcidMax 12-24-2002 06:17 AM

The script I wrote is not for rotated galleries but for hosted galleries. Basically you upload 1 template, and create directories like 1,2,3,4,5,6 etc for the images. Use mod_rewrite to make the hosted galleries SE friendly and send it a url like

http://www.yourdomain.com/galleries/...#/affiliateID/

and mod_rewrite actually uses a PHP script to pull the information out of that directory and serves it to the user. So far it has been tested to over 250k hits a day and it works well.

I could add more to it, customize the addition of galleries etc for you if you want. Let me know.


Andy
ICQ: 70930467

Mark 12-24-2002 06:30 AM

if you just want hosted galleries that pass the affiliate id to the banners on the page then its just a matter of a bit of simple ssi on each page.. nothing more to it.. if you want to rotate them then thats another matter but still not too difficult.. I just wrote one for moneypile.com the other day.

Not sure if this will work here but this is the basic ssi you need..

put this at the top of the page..

< !--#set var="id" value="${QUERY_STRING}" -- >


then in each banner link where you want the affiliates id put this..

< !--#echo var="id" -- >

(remove the extra space at the start and end of those tags - before/after the < >)

the bit at the top of the page you can modify also to put conditions in if you want..

then you just use urls like: http://blah.com/gallery1.html?12345

nocostporn 12-24-2002 07:03 AM

thank ya fella's ... be in touch with one of you when I need more help with it :glugglug

Gemini 12-24-2002 08:08 AM

Anyone have a script that pulls, say 10 - 20 premade galleries per day from a list and posts the names to a page? Something that could have additional gallery names added to the list easily...

FuqALot 12-24-2002 08:14 AM

Quote:

Originally posted by Gemini
Anyone have a script that pulls, say 10 - 20 premade galleries per day from a list and posts the names to a page? Something that could have additional gallery names added to the list easily...
Hey,
I could code that for you in Perl/CGI using MySQL (if you want to do it the right way ;-)
Hit me up on 17285634 or [email protected]

heymatty 12-24-2002 08:28 AM

I just use the print function in php for mine to pass the affiliate id in the url.

Dead simple.

If you need some help, message 55349752 and I should have some time later.

nocostporn 02-01-2003 10:13 AM

bumping this old ass thread because I'm in need now... How difficult is it going to be to put the hosted galleries on a different domain and server? it's possible I'm sure... If anybody wants to give us a little help over here drop me an icq,would be much appreaciated

215458240

nocostporn 02-01-2003 10:36 AM

oh yeah,just add me to your icq dont send any messages because they won't get thru until I add you back :glugglug

Nbritte 02-01-2003 12:04 PM

I have one that used templates and images set to create hosted galleries then inserts recip links on the pages and sends the webmaster to a page with links to the tgps and the urls to post with.
I have a demo version up at
http://www.cgibin-center.com/cgi-bin/hosted/gallery.cgi
just click the link for webmasters and use what ever you want for a reffer id
if you are interested in it hit me up on ICQ
4763784

Nbritt

Dravyk 02-01-2003 11:24 PM

Think I have what some of you are looking for. Just released it yesterday. Please take a look. Thank you.

KDizzla 02-01-2003 11:41 PM

Quote:

Originally posted by FuqALot
Hi... here's a simple code im just writing now.. so if you need help hit me up.

create a file named rotate.cgi or something and put it in a directory where you also have all the possible rotated .html galleries. (so like yourdomain.com/galleries/rotate.cgi)

put the following code in it:

#!/usr/bin/perl
$usrid = $ENV{'QUERY_STRING'};
print "Content-type:text/html\n\n";
@galleries = &lt;*.html&gt;;
$galleryfile = $galleries[int(rand(@galleries))];
open(gallery,$galleryfile);
@galindex = &lt;gallery&gt;;
close(gallery);
foreach $line (@galindex) {
$line =~ s/%revid%/$usrid/g;
print $line;
}

In your galleries, replace the REVID, with %revid%, so the script knows where to insert the users id.

Then let people visit like this:
http://www.yourdomain.com/galleries/rotate.cgi?XXXXXX

Now a random gallery will be picked and
the %revid% will be replaced with XXXXXX and gallery will be printed.

Just wrote is, but it's that easy that it should work. Heh.

(dont quote the code, will mess thread up)

nice little scripts. thanks!

KD


All times are GMT -7. The time now is 05:58 PM.

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