![]() |
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! |
All times are GMT. The time now is 08:39 AM. |
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:
|