Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vbGallery Addon: Photo of the Day Details »
vbGallery Addon: Photo of the Day
Mod Version: 1.00, by 0ptima (Member) 0ptima is offline
Developer Last Online: Jul 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 5.00 average) Installs: 29
Released: 22 Oct 2007 Last Update: 24 Oct 2007 Downloads: 140
Not Supported Additional Files  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	potd.jpg
Views:	2179
Size:	45.2 KB
ID:	71333   Click image for larger version

Name:	cron.jpg
Views:	2013
Size:	62.4 KB
ID:	71437  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Addon for vb Photo Upload 1.1 and Member's Photo Gallery ! bommelchen vBulletin 2.x Full Releases 5 22 Oct 2007 19:36

  #16  
Old 23 Oct 2007, 23:15
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by goblues View Post
Me neither. I was referring to the CMPS module. I wish I had photopost pro.
oops! I dont use CMPS, please go ahead and create a module.
Reply With Quote
  #17  
Old 23 Oct 2007, 23:51
993ti 993ti is offline
 
Join Date: Dec 2005
It creates a topic every minute after midnight, lol.
Not sure what causes it but i've set it to execute at 00.01 now.
Will check what it does with that setting
__________________
Twenteracingscene - Dutch car club (VB), Aibo forum (VB)
Streetcars (VB),
Reply With Quote
  #18  
Old 24 Oct 2007, 00:02
goblues goblues is offline
 
Join Date: Aug 2004
Mine did the same thing the first night, however the second night went fine.
Reply With Quote
  #19  
Old 24 Oct 2007, 00:37
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by 993ti View Post
It creates a topic every minute after midnight, lol.
Not sure what causes it but i've set it to execute at 00.01 now.
Will check what it does with that setting
Sorry about posting a screen shot of the cron with an incorrect setting. I updated the screen shot in this thread and in the zip file.
Reply With Quote
  #20  
Old 24 Oct 2007, 02:48
TRR TRR is offline
 
Join Date: Jan 2005
0ptoma, would you ever consider doing this same exact thing from vbclassifieds, and zoints profiles? I really like this feature.
Reply With Quote
  #21  
Old 24 Oct 2007, 03:16
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by TRR View Post
0ptoma, would you ever consider doing this same exact thing from vbclassifieds, and zoints profiles? I really like this feature.
I dont use either of the software, but if time permits, I will look into it.
Reply With Quote
  #22  
Old 24 Oct 2007, 19:02
993ti 993ti is offline
 
Join Date: Dec 2005
Originally Posted by 0ptima View Post
Sorry about posting a screen shot of the cron with an incorrect setting. I updated the screen shot in this thread and in the zip file.
Not a problem mate, was kinda funny seeing a new thread every minute
__________________
Twenteracingscene - Dutch car club (VB), Aibo forum (VB)
Streetcars (VB),
Reply With Quote
  #23  
Old 24 Oct 2007, 20:15
TRR TRR is offline
 
Join Date: Jan 2005
Is the current zip file corrupted, or did I just get a bad d/l? I'll try again...
Reply With Quote
  #24  
Old 25 Oct 2007, 01:04
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by TRR View Post
Is the current zip file corrupted, or did I just get a bad d/l? I'll try again...
I just d/led it and could open it with no problems.
Reply With Quote
  #25  
Old 25 Oct 2007, 02:17
TRR TRR is offline
 
Join Date: Jan 2005
Originally Posted by 0ptima View Post
I dont use either of the software, but if time permits, I will look into it.

Fair enough; thank you for your replies.
Reply With Quote
  #26  
Old 31 Oct 2007, 01:15
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by 0ptima View Post
I'll try to add that option this weekend. In the mean time, you can replace this SQL

The only problem is that it will select from private categories as well. Once I update the hack, ill have it exclude the private categories.
Due to the way private categories work, im going to leave the hack as is.
Reply With Quote
  #27  
Old 03 Nov 2007, 03:15
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Originally Posted by 0ptima View Post
Due to the way private categories work, im going to leave the hack as is.
ahh ok, bummer. but no worries. at least it works any chance for the vbadvanced module though?


also, different suggestion (got this from a member andI think its a good one).... is there a way to make it post to a same thread?

ie. new photo of the day posts once a day to designated thread (ie: photo of the day thread). kinda makes it cleaner ... individual threads gets a little much after a while.
__________________
Unreal Addicts: The Ultimate UT Fraggin Fix
Unreal Tournament Sniper Clan and UT Gaming Community.
Serving frags and fun to the UT Community Since 1999
www.UnrealAddicts.com
Reply With Quote
  #28  
Old 03 Nov 2007, 04:19
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by GrendelKhan{TSU View Post
ahh ok, bummer. but no worries. at least it works any chance for the vbadvanced module though?
I dont use vba, but Ill see what I can do.


also, different suggestion (got this from a member andI think its a good one).... is there a way to make it post to a same thread?
Good idea, that should be doable!



ie. new photo of the day posts once a day to designated thread (ie: photo of the day thread). kinda makes it cleaner ... individual threads gets a little much after a while.
The way I have my photo of the day setup is that I created a forum just for it.
Reply With Quote
  #29  
Old 15 Nov 2007, 13:01
vnairp11 vnairp11 is offline
 
Join Date: Jul 2007
hellp im getting this error
Warning: Invalid argument supplied for foreach() in /includes/cron/potd.php on line 70

Done
Reply With Quote
  #30  
Old 15 Nov 2007, 13:04
vnairp11 vnairp11 is offline
 
Join Date: Jul 2007
i updated the php file still no luck
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:19.

Layout Options | Width: Wide Color: