![]() |
vbGallery Addon: Photo of the Day
1 Attachment(s)
This script will randomly select a photo from vbGallery and create a new thread in a specific forum with the photo and it's description. The script is run as a scheduled task in Vbulletin's Scheduled Tasks Manager.
Before uploading the script, you need to set which categories you want the photos to be selected from, the minimum width of the photo and the minimum amount of views that the photo has received. Installation is easy, simply upload this script to the forums/includes/cron/ directory and create a new scheduled task. (See screen shot for suggested scheduled task parameters) Confirmed to work with Vbulletin 3.6.4 and vbGallery 2.2 Confirmed to work with Vbulletin 3.6.8 and vbGallery 2.3 Confirmed to work with Vbulletin 3.7.0 and vbGallery 2.4.3 Confirmed to work with Vbulletin 3.8.2 and vbGallery 2.4.3 Confirmed to work with Vbulletin 3.8.3 and vbGallery 2.5 Confirmed to work with Vbulletin 3.8.4 and vbGallery 2.5 This is the exact same script that I released for VB 3.6. So if you already have this script working with an older version of VB, there is no need to update it. Please click install if you use this script. |
Screen shot of the new thread and randomly selected picture from the gallery
Suggested settings for the cron job. |
Nice work, thank you!
Installed |
Yea works a treat...Installed!!
|
Works great but I'm curious if I'll see a lot of duplicate posts. The fewer photos in your gallery the more likely you'll see several of the same photo I gather. I don't imagine anyone has an idea on how to curb this other than adjust the cron to weekly or even monthly? Thanks!
|
Quote:
|
Does this work for both vBGallery and Photopost Pro?
I'd like to make sure which options I should/could go with depending on the version I install. |
OMG Greaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat work man
thank u, |
Mines not working so great, keep getting this error.
Quote:
but when I try to run the task, it comes up with the above error. |
dont want to sound like a noob... but is vbgallery the gallery that comes with vB 3.8? or is it a seperate gallery we need installed to get this to work?
Cool mod! |
Quote:
|
Quote:
|
Quote:
./includes/cron/potd.php Are you still getting this error? |
Possible to work with Photopost Pro?
|
installed...
VBadvanced Demo: http://www.sportbikex.com/index.php Subforum Dumb Demo: http://www.sportbikex.com/forumdisplay.php?f=22 |
Quote:
|
Quote:
|
Hi! I have this installed and think it's great :) Is it possible to have the date for the day the thread posted inserted into the title of the thread (i.e.. Layout of the Day - 17 July - PhotoName), and also a text link back to the gallery image in the post? If so how would I add those lol
|
Pro!! nice
|
confirmed working with vBgallery 2.5 and vBulletin 3.8.3 :)
|
After using it for a couple weeks the only complaint I have is that it seems to select the same photo time and time again, it would be nice if there was a feature to not allow the same photo to show up twice within a user defined time limit...say a month or a year...
|
Quote:
Play around with the variables $vbtitle and $vbgtitle. For the date, look here http://ca3.php.net/manual/en/function.date.php For a link back to the gallery, I think you had to enable html in your posts, which is not recommended. |
Quote:
|
Quote:
Awesome ! |
Quote:
And I just saw the previous reply to me...I will play around with that, thanx! |
Quote:
|
Thank you! No hurry :)
|
Don't wanna be a pest...just wanna make sure you don't forget about me though LOL *grinz*
|
any chance of updating this for vb4 and vbGallery 3?
|
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|