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:	2178
Size:	45.2 KB
ID:	71333   Click image for larger version

Name:	cron.jpg
Views:	2012
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

Comments
  #2  
Old 22 Oct 2007, 01:27
goblues goblues is offline
 
Join Date: Aug 2004
Good work!
Confirmed working on 3.6.8 and VBGallery 2.3
Reply With Quote
  #3  
Old 22 Oct 2007, 03:57
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by goblues View Post
Good work!
Confirmed working on 3.6.8 and VBGallery 2.3
Thanks, I updated the first post to include this info.
Reply With Quote
  #4  
Old 22 Oct 2007, 07:18
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
- I'll take a look
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #5  
Old 22 Oct 2007, 08:16
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
doh!

got this when trying on 3.6.8 and vbGallery 2.2


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any ideass?

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?
__________________
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

Last edited by GrendelKhan{TSU; 22 Oct 2007 at 08:26.
Reply With Quote
  #6  
Old 22 Oct 2007, 08:49
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
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)
__________________
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

Last edited by GrendelKhan{TSU; 22 Oct 2007 at 09:04.
Reply With Quote
  #7  
Old 22 Oct 2007, 09:05
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
now all we need is a vbCMPS add-on for this and its perfect!!
__________________
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
  #8  
Old 22 Oct 2007, 10:02
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Thanks a bunch!
__________________
Reply With Quote
  #9  
Old 22 Oct 2007, 12:29
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Thank
Reply With Quote
  #10  
Old 22 Oct 2007, 13:53
trancetopia trancetopia is offline
 
Join Date: Feb 2005
Real name: Paul
Hi, are you planning to release a photopost pro version of this? Pretty please!
__________________
.: Trancetopia :.
UK Photography Forum
Reply With Quote
  #11  
Old 22 Oct 2007, 18:44
Zorck Zorck is offline
 
Join Date: Jan 2003
Originally Posted by trancetopia View Post
Hi, are you planning to release a photopost pro version of this? Pretty please!

That well be nice!
Reply With Quote
  #12  
Old 23 Oct 2007, 00:56
goblues goblues is offline
 
Join Date: Aug 2004
Originally Posted by GrendelKhan{TSU View Post
now all we need is a vbCMPS add-on for this and its perfect!!
If one isn't made by this weekend, I will take a look at it.
Reply With Quote
  #13  
Old 23 Oct 2007, 02:28
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by trancetopia View Post
Hi, are you planning to release a photopost pro version of this? Pretty please!
Originally Posted by goblues View Post
If one isn't made by this weekend, I will take a look at it.
I dont have access to photo post pro, so go ahead and port the hack.
Reply With Quote
  #14  
Old 23 Oct 2007, 02:35
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by GrendelKhan{TSU View Post
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?
I'll try to add that option this weekend. In the mean time, you can replace this SQL


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with this



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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.
Reply With Quote
  #15  
Old 23 Oct 2007, 03:00
goblues goblues is offline
 
Join Date: Aug 2004
Originally Posted by 0ptima View Post
I dont have access to photo post pro, so go ahead and port the hack.
Me neither. I was referring to the CMPS module. I wish I had photopost pro.
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 23:41.

Layout Options | Width: Wide Color: