![]() |
vbGallery Addon: Photo of the Day
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) Tested on Vbulletin 3.6.4 and vbGallery 2.2 Confirmed to work on Vbulletin 3.6.8 and vbGallery 2.3 Confirmed to work on Vbulletin 3.7.0 and vbGallery 2.4.3 Confirmed to work on Vbulletin 3.8.2 and vbGallery 2.4.3 Confirmed to work on Vbulletin 3.8.3 and vbGallery 2.5 Please click install if you use this script. This hack has been ported to PhotoPlog by TCooper. |
Good work!
Confirmed working on 3.6.8 and VBGallery 2.3 |
Quote:
|
:cool: - I'll take a look
|
doh!
got this when trying on 3.6.8 and vbGallery 2.2 Code:
Warning[/b]: Invalid argument supplied for foreach() in /includes/cron/potd.php on line 70 scratch that! I was being a n00b and didn't update the php file. :/ that said, I got a ton of categories... and its a pain to list em all. Can you add an "all categories" default or something? like 0 = all categories. or however that works. and make it so you EXCLUDE certain ones? |
doh!! weird.. worked once...
now all I get is this error: "Parse error: syntax error, unexpected '?' in /home/***mydb*******/public_html/forums/includes/cron/potd.php on line 132" nvm AGAIN!! rofl found the problem ftp cut off a ">" at the end for some reason. (lol isn't this the best kinda of tech support ever?! lol) |
now all we need is a vbCMPS add-on for this and its perfect!! :D
|
Thanks a bunch! :D
|
Thank :)
|
Hi, are you planning to release a photopost pro version of this? Pretty please!
|
All times are GMT. The time now is 02:29 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:
|