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 Mark Forums Read
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 10-22-2002, 12:05 PM   #1
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
Random Image script

I'm looking for a random image script that will put 3 random thumbnails on my site that link to their proper gallery page. The thumbs should change on refresh and show new random galleries. I put a small php script on my site that could do it but ended up eating all my server resources in less than 5mins.

Any help, suggestions?

Thx Thx
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 12:17 PM   #2
CowboyAtHeart
Registered User
 
Join Date: Oct 2002
Posts: 94
I don't see why a php script couldn't handle it, php is generally fairly light unless it's written poorly.
Is it mod_php or just running as cgi? and what level of traffic?
CowboyAtHeart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 12:49 PM   #3
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
I have something similar around, however, it doesn't dynamically display the thumbnails. That tends to hurt your server with large amounts of traffic, so a cronjob would be a better option.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 12:51 PM   #4
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
Ya I was thinking of that on my way home just now. Cronjob it to run every 2mins or so. I'd be pushing approx. 20 runs per second the other way which was bad, I shoulda learned my lesson from something else I wrote awile back.

Are there any free scripts out there that I could customize...? anyone know?
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:02 PM   #5
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Plat:

Try these links..

http://www.cosmicscripts.com/
http://www.teca-scripts.com/free/randex.php

Both have a few scripts that may do what you want!
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:06 PM   #6
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally posted by Plat
Ya I was thinking of that on my way home just now. Cronjob it to run every 2mins or so. I'd be pushing approx. 20 runs per second the other way which was bad, I shoulda learned my lesson from something else I wrote awile back.

Are there any free scripts out there that I could customize...? anyone know?
Why every 2 minutes? Isn't that still a bit much... I mean, the average surfer doesn't visit the same site twice in 10 minutes, so why force your server to update that often?
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:12 PM   #7
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Plat:

yea punkworld is right... have a look at these links.. there are scripts there where you could arrange the pics or whatever to display at random by grouping em - no need to run cron... cron is a sledgehammer to crack that peanut!
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:14 PM   #8
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
Quote:
Originally posted by punkworld


Why every 2 minutes? Isn't that still a bit much... I mean, the average surfer doesn't visit the same site twice in 10 minutes, so why force your server to update that often?
Well I have categories split on different pages therefore they will see it a few times in 10mins

I hate to bring this fag as an example but. Sexocean how the galleries rotate after every refresh, I just want 3 galleries to rotate not a million galleries that link to CP and dialers like he does.
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:17 PM   #9
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally posted by Plat


Well I have categories split on different pages therefore they will see it a few times in 10mins

I hate to bring this fag as an example but. Sexocean how the galleries rotate after every refresh, I just want 3 galleries to rotate not a million galleries that link to CP and dialers like he does.
In that case, a combo of javascript, a php script and a cronjob would be a good solution.
Cronjob runs once daily to make the php script select a bunch of pictures and cram the javascript to go with them in a file, that javascript chooses randomly from those pictures and displays a few of them.
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:18 PM   #10
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Plat:

Three galleries are a piss thru with random scripts.. totally flexible! I got well over 500 feeder sites that are almost entirely generated using random scripts - dig into em and you will see the possibilities!
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 01:20 PM   #11
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
well actually let me rephrase what I said up top.

3 images

A - B - C

with 5 galleries for each letter rotating
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 06:22 PM   #12
Dusen
Confirmed User
 
Join Date: Aug 2002
Location: East Coast.
Posts: 2,251
I'll script it for you in PHP and if you want cron commands, let you know how.

josh at picjunkie dot com
__________________
Penis Pill Sponsor List and Reviews:
http://www.pillsponsors.com
Dusen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:08 PM   #13
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
I emailed you Josh.

If anyone else can help I can pay you back with traffic if you like.

Thanks
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:09 PM   #14
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
its easy done in java
I will post it for you

How many thumbs / links are there?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:20 PM   #15
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
Quote:
Originally posted by grumpy
its easy done in java
I will post it for you

How many thumbs / links are there?
5 thumbs displayed at one time for 25 galleries
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:24 PM   #16
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
whats your icq?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:30 PM   #17
Plat
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Location: Clearwater, Florida
Posts: 2,680
45580484
__________________
Im fuckin retired
Plat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2002, 07:32 PM   #18
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
sample
just look at the source of the page, its a simple one.
If you need modifications let know.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-23-2002, 08:12 PM   #19
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
grumpy:

Neato one!
Webby 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
Thread Tools



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.