Version: 1.1.2, by Incendium
Developer Last Online: Feb 2014
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.
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'])
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.
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.
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