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

Reply
 
Thread Tools
AutoDate Details »»
AutoDate
Version: 1.1.2, by Incendium Incendium is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.4 Rating:
Released: 08-04-2006 Last Update: 01-24-2007 Installs: 42
Uses Plugins
Re-useable Code Translations  
No support by the author.

AutoDate 1.1.2
This plugin allows you to prefix a date in the title of a new thread. The date prefix, separator character, and forums with prefixing are all customizeable on the vBulletin Options page.

It should be noted that this will only work on new threads and not existing threads.

Changes from 1.1.1 to 1.1.2
- Added option to specify a specific timezone
- Added version checking

Changes from 1.1.0 to 1.1.1
- Fixed a bug in which prefixes were being repeated when hitting preview (when either all forums were prefixed or one specific forum)

Changes from 1.0.0 to 1.1.0
- Prefixed forums are now separated by spaces instead of commas
- Added option to prefix all forums
- Added preset prefix options
- Added master on-off switch

Show Your Support

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

Comments
  #12  
Old 08-18-2006, 07:42 PM
teedizz teedizz is offline
 
Join Date: Jan 2004
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod....This is just what i needed. Is there anyway, to make the date prefix Bold & in Red?
Reply With Quote
  #13  
Old 09-07-2006, 05:22 AM
Iceazuk Iceazuk is offline
 
Join Date: Feb 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I notice a bug in the script. If you hit preview it adds the date over and over for every time you hit preview. I found a simple fix that probably isn't the best way to fix it.

Find
Code:
if ((!is_array($dateadd['forums'])) OR (in_array($foruminfo['forumid'], $dateadd['forums']) AND !empty($_POST['subject'])))
and Replace It With
Code:
if ((!is_array($dateadd['forums'])) OR (in_array($foruminfo['forumid'], $dateadd['forums']) AND !empty($_POST['subject']))AND !$_POST['preview'])
Reply With Quote
  #14  
Old 09-08-2006, 01:22 AM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and it is not working?

I agree with above, it would be nice to just have the date the thread was started below the thread title.
Reply With Quote
  #15  
Old 09-08-2006, 05:17 AM
jacki jacki is offline
 
Join Date: Jun 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you

İnstall forum
Reply With Quote
  #16  
Old 09-08-2006, 02:08 PM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Iceazuk
Hey, I notice a bug in the script. If you hit preview it adds the date over and over for every time you hit preview. I found a simple fix that probably isn't the best way to fix it.

Find
Code:
if ((!is_array($dateadd['forums'])) OR (in_array($foruminfo['forumid'], $dateadd['forums']) AND !empty($_POST['subject'])))
and Replace It With
Code:
if ((!is_array($dateadd['forums'])) OR (in_array($foruminfo['forumid'], $dateadd['forums']) AND !empty($_POST['subject']))AND !$_POST['preview'])
I believe this hack uses almost the same procedures as the Event Forums hack by Hellcat, both have the same bug.
Reply With Quote
  #17  
Old 09-10-2006, 11:50 PM
Iceazuk Iceazuk is offline
 
Join Date: Feb 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws
I believe this hack uses almost the same procedures as the Event Forums hack by Hellcat, both have the same bug.
If so then by adding the
Code:
!$_POST['preview']
part to the right area it will check if your hitting the preview button or the submit button. Its so simple its probably easy to overlook.
Reply With Quote
  #18  
Old 09-13-2006, 07:18 AM
aLReeMi aLReeMi is offline
 
Join Date: Jun 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice.. thanks
Reply With Quote
  #19  
Old 09-13-2006, 11:32 AM
bing11 bing11 is offline
 
Join Date: Feb 2003
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #20  
Old 09-19-2006, 01:26 AM
Incendium Incendium is offline
 
Join Date: Apr 2004
Location: Dallas, TX
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is with the way vBulletin stores the data before it makes a post. The only way to change the data is to directly edit the submitted data before the vbulletin gpc parser gets to it. Once it's parsed, it's unchangeable for obvious security reasons.
Reply With Quote
  #21  
Old 09-20-2006, 01:26 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed now this is great cuz i help when someone like me has a lot of threads and most of them after awhile are not really worth looking at the date will help the members to not waste time on those older than what ever amount of months past .... kool thanks
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:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05403 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
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_code
  • (2)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