Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
TC - Photo Of The Day (Photoplog) Details »»
TC - Photo Of The Day (Photoplog)
Version: 1.1.0, by TCooper TCooper is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 Beta 3 Rating:
Released: 12-23-2007 Last Update: 12-31-2007 Installs: 61
DB Changes
Additional Files Translations  
No support by the author.

Info:
This mod has been tested on PhotoPlog: The Lite Gallery and 0ptima's hack vbGallery Addon: Photo of the Day. I have converted that hack into a product and to a file upload. Settings are now in the admin area under vbulletin options.

If you use vbGallery Addon: Photo of the Day and like something like this with the settings and such I was thinking about making one but as I don't use vbGallery I have no need but will if others are interested. Just let me know.

Requirements:
Features:
  • On/Off Enable or Disable Mod
  • On/Off Close Thread After Post
  • Ability To Add Default Title To Post
  • Forum Selector
  • Ability To Choose Who Posted
  • Ability To Choose What Category The Images Come From
  • Ability To Select Min Amount Views Required
  • Lite & Pro Version Automatic Dectection
  • Choose size of image in post

Coming Soon:
  • Ability To Choose New Thread Or Reply To Current Thread (May be delayed having issues with figuring datamanager for posting to a thread)
  • Choose Thread ID (Delayed as part of feature above)

Installation:
  • Import XML File (As A Product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
  • Upload tc_potd.php into the cron dir

Notes:
  • This is my first hack and new to php & mysql and there is a good chance there are bugs that need to be fixed. I would appreciate any input on how to clean code up and so on and even get someone to help code more options.
  • To set hack options go to: AdminCP > vBulletin Options > TC - Photo Of The Day
  • If you like this hack please click INSTALL and Nominate for MOTM

Versions:
v1.1.0 - January 1, 2008
- Changed forum id to a prepopulated selection box
- Added feature creates thread stating no new images for the potd
- Select image size to be posted
- Minor code changes
v1.0.2 - December 24, 2007
- Added Lite Version & Pro Version Detection
v1.0.1 - December 23, 2007
- Added Version Check URL
- Added Product URL
v1.0.0 - December 23, 2007
- First Release


LIVE DEMO

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 12-26-2007, 12:20 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the demo's url doesn't work ...
Reply With Quote
  #13  
Old 12-26-2007, 03:04 PM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be up now as I was working on it for a few afterwards.
Reply With Quote
  #14  
Old 12-31-2007, 12:47 PM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I istalled it and it worked on 1 post,
then I get

Code:
Warning: Invalid argument supplied for foreach() in /includes/cron/tc_potd.php on line 105
No Forum ID!
and the forum is set
Reply With Quote
  #15  
Old 12-31-2007, 10:53 PM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have not made all error messages appear what is actually happening but my guess is either invalid userid, or no more images are available for potd. if all images have been used for potd then it will throw an error I plan on integrating a feature to make it post a new thread saying there were no new pics for the potd. But either way check to see if you have anymore pics available for potd if you need help you can contact me to login and check if need be.
Reply With Quote
  #16  
Old 01-01-2008, 09:57 AM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCooper View Post
I have not made all error messages appear what is actually happening but my guess is either invalid userid, or no more images are available for potd. if all images have been used for potd then it will throw an error I plan on integrating a feature to make it post a new thread saying there were no new pics for the potd. But either way check to see if you have anymore pics available for potd if you need help you can contact me to login and check if need be.
Then that would be the problem...........

I am testing it on my pc and only have 1 pic.....

will try more pics
Reply With Quote
  #17  
Old 01-01-2008, 05:25 PM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok let me know how it goes. Don't forget to hit install and I just made a new update lastnight. It makes a new thread like before but stating no more pics that match the criteria could be found or what ever. Will see about phrases here shortly for the posts and such.
Reply With Quote
  #18  
Old 01-04-2008, 03:04 PM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCooper View Post
Ok let me know how it goes. Don't forget to hit install and I just made a new update lastnight. It makes a new thread like before but stating no more pics that match the criteria could be found or what ever. Will see about phrases here shortly for the posts and such.
Ok i am now getting a red cross

there seems to be a // in the addreass for the image
Reply With Quote
  #19  
Old 01-05-2008, 04:53 AM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was it in the new updated version? Where was the extra / as I don't see it on my board, if needed pm a link to see it or which ever is easier for you.
Reply With Quote
  #20  
Old 01-08-2008, 12:56 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #21  
Old 01-08-2008, 02:30 AM
TCooper TCooper is offline
 
Join Date: Mar 2004
Location: Virginia Beach, VA
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mrdby View Post
thanks
you are very welcome.
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 09:15 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.04832 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete