vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - TC - Photo Of The Day (Photoplog) (https://vborg.vbsupport.ru/showthread.php?t=166025)

TCooper 12-23-2007 10:00 PM

TC - Photo Of The Day (Photoplog)
 
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

TCooper 12-24-2007 03:05 AM

CHANGELOG
Version 1.1.0 - 1/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

Version 1.0.2 - 12/24/2007
- Added Lite & Pro Version Detected Automatically

Version 1.0.1 - 12/23/2007
- Added Version Check URL
- Added Product URL

Version 1.0.0 - 12/23/2007
- First release

69lakalle 12-24-2007 04:22 PM

niceeeeeee is it just me or the site demo is not workin
Quote:

Firefox can't find the server at www.fraggersforever.com.

TCooper 12-24-2007 04:25 PM

Well for some reason the .com domain has been acting up. I haven't been able to determine why it goes out from time to time as all my other domains seem to work on that same server and all my domains I go through enom so not sure if it is dns or what I have that domain registered as a .org and .net as I got those later on and havent made it so you can browse fully using those as it calls for most images by the .com domain so if the .com is not working there are going to be broken images.
*After I posted this I went and checked the site out and it is up and running using the .com domain and I changed the url for live to point directly to the forum itself.

TCooper 12-24-2007 09:58 PM

You using pro? This should automatically set a cron to run once a day and submits a new thread then with a pic. If there is no picture to be posted nothing should post. I plan on having an option to have a post say no new pictures to pick a potd from.

hocphp 12-24-2007 10:00 PM

i installed v1.0.2 . thx TCooper

Sofia 12-25-2007 09:52 AM

Nice :) Thanks a lot ;)

TCooper 12-25-2007 09:10 PM

thanks alot. first time releasing anything and new to coding but vbulletin makes it lot easier it seems. Feedback and suggestions are welcome and will try to support this as much as possible.

TCooper 12-25-2007 09:11 PM

what error do u get? I reuploaded the zip file as i may have uploaded the wrong one.

TCooper 12-25-2007 11:27 PM

I have now bought and tried the pro version and it appears to have worked correctly. Remember if you have any issues please give details other than you have had an error. Please tell me when you encountered the error and what the error said if anything was said. To see if this works without waiting for a day to go by, I would suggest to go to your Admincp->Scheduled Tasks->Scheduled Task Manager and find TC - Photo Of The Day (Photoplog) and click run task.


All times are GMT. The time now is 10:15 PM.

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.01238 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete