Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vbGallery Addon: Photo of the Day Details »»
vbGallery Addon: Photo of the Day
Version: 1.00, by 0ptima 0ptima is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.2 Rating:
Released: 04-07-2009 Last Update: Never Installs: 34
Re-useable Code Additional Files Translations  
No support by the author.

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

File Type: zip potd.zip (86.1 KB, 214 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-01-2009, 03:01 AM
Tilly Tilly is offline
 
Join Date: Sep 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #13  
Old 07-04-2009, 10:04 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #14  
Old 07-04-2009, 10:05 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #15  
Old 07-09-2009, 02:06 PM
JohnnieOO JohnnieOO is offline
 
Join Date: Sep 2007
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Possible to work with Photopost Pro?
Reply With Quote
  #16  
Old 07-09-2009, 03:46 PM
Tilly Tilly is offline
 
Join Date: Sep 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed...

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

Subforum Dumb Demo: http://www.sportbikex.com/forumdisplay.php?f=22
Reply With Quote
  #17  
Old 07-09-2009, 11:35 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JohnnieOO View Post
Possible to work with Photopost Pro?
Dont have PP pro, but feel free to convert this hack and release it for PP pro.
Reply With Quote
  #18  
Old 07-09-2009, 11:36 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tilly View Post
Looks sharp !
Reply With Quote
  #19  
Old 07-17-2009, 06:31 AM
christon26 christon26 is offline
 
Join Date: Dec 2008
Location: Australia
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi! I have this installed and think it's great Is it possible to have the date for the day the thread posted inserted into the title of the thread (i.e.. Layout of the Day - 17 July - PhotoName), and also a text link back to the gallery image in the post? If so how would I add those lol
Reply With Quote
  #20  
Old 07-17-2009, 09:30 AM
BroCya BroCya is offline
 
Join Date: Jun 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pro!! nice
Reply With Quote
  #21  
Old 07-18-2009, 10:07 PM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

confirmed working with vBgallery 2.5 and vBulletin 3.8.3
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 05:37 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
  • Page Generation 0.04938 seconds
  • Memory Usage 2,312KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete