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

vB Version: 3.8.2 Rating: (2 votes - 4.00 average) Installs: 32
Released: 08 Apr 2009 Last Update: Never Downloads: 166
Not Supported Additional Files Re-usable Code Translations  

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.

Download Now

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

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
Miscellaneous Hacks vbGallery Addon: Photo of the Day 0ptima vBulletin 3.6 Add-ons 35 08 Apr 2009 15:09
Addon for vb Photo Upload 1.1 and Member's Photo Gallery ! bommelchen vBulletin 2.x Full Releases 5 22 Oct 2007 18:36

Comments
  #2  
Old 08 Apr 2009, 14:59
0ptima 0ptima is offline
 
Join Date: Feb 2002
Screen shot of the new thread and randomly selected picture from the gallery




Suggested settings for the cron job.


Reply With Quote
  #3  
Old 08 Apr 2009, 15:28
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Nice work, thank you!

Installed
__________________
games
Forum Nokia
Reply With Quote
  #4  
Old 09 Apr 2009, 19:51
Wrams Wrams is offline
 
Join Date: Oct 2008
Real name: Andrew
Yea works a treat...Installed!!
Reply With Quote
  #5  
Old 10 Apr 2009, 09:23
ricoche's Avatar
ricoche ricoche is offline
 
Join Date: Oct 2002
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!
Reply With Quote
  #6  
Old 10 Apr 2009, 12:44
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by ricoche View Post
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!
You will get duplicates after a while. To overcome this, just be less strict on the selection criteria, which you configure in the script.
Reply With Quote
  #7  
Old 23 May 2009, 14:36
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
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.
Reply With Quote
  #8  
Old 24 May 2009, 05:37
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
OMG Greaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat work man

thank u,
Reply With Quote
  #9  
Old 28 May 2009, 01:29
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Real name: Cher
Mines not working so great, keep getting this error.
Warning: Invalid argument supplied for foreach() in [path]/includes/cron/potd.php on line 70
When you set up the task, at the bottom where it has the string, it just says .php at the end, should we put potd there? I try to do it without it and it says invalid file name.
but when I try to run the task, it comes up with the above error.
Reply With Quote
  #10  
Old 28 May 2009, 14:55
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
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!
Reply With Quote
  #11  
Old 01 Jul 2009, 04:01
Tilly Tilly is offline
 
Join Date: Sep 2007
Originally Posted by TNCclubman View Post
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!
www.photopost.com
Reply With Quote
  #12  
Old 04 Jul 2009, 23:04
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by ArnyVee View Post
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.
This is for vBGallery.
Reply With Quote
  #13  
Old 04 Jul 2009, 23:05
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by sunnycher View Post
Mines not working so great, keep getting this error.

When you set up the task, at the bottom where it has the string, it just says .php at the end, should we put potd there? I try to do it without it and it says invalid file name.
but when I try to run the task, it comes up with the above error.
You have to enter

./includes/cron/potd.php

Are you still getting this error?
Reply With Quote
  #14  
Old 09 Jul 2009, 15:06
JohnnieOO JohnnieOO is offline
 
Join Date: Sep 2007
Possible to work with Photopost Pro?
Reply With Quote
  #15  
Old 09 Jul 2009, 16:46
Tilly Tilly is offline
 
Join Date: Sep 2007
installed...

VBadvanced Demo: http://www.sportbikex.com/index.php

Subforum Dumb Demo: http://www.sportbikex.com/forumdisplay.php?f=22
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 15:58.

Layout Options | Width: Wide Color: