Version: 1.00, by WhisperPntr
Developer Last Online: Jan 2009
Version: 3.0.6
Rating:
Released: 02-02-2005
Last Update: Never
Installs: 5
No support by the author.
What Does this Hack Do?
This hack allows users to infinitely modify the thread title.
If you've ever seen the Time Limit on Editing of Thread Title under vB Options -> Message Posting and Editing Options you may have noticed that setting it to 0 simply meant a 0 time limit. This hack allows 0 to mean infinite.
Do not install if you want there to be a true 0 time limit to thread title editing.
Why Use this Hack?
Having been on several forums, I can say that being able to change the thread title in the first post is something I can barely live without. Whether I goofed up the spelling, or the thread title needs an update, it was nice having more control over my own threads.
Therefore, when I noticed in vb the only way to set an unlimited thread title edit was by having it all go up to 9999999... I felt it was better to just code a bypass conditional.
if ($getpost['postid'] == $postid AND $edit['title'] != '' AND ($vboptions['editthreadtitlelimit']==0 OR($postinfo['dateline'] + $vboptions['editthreadtitlelimit'] * 60) > TIMENOW))
FIND
PHP Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($postinfo['dateline'] + $vboptions['editthreadtitlelimit'] * 60) > TIMENOW)
REPLACE WITH
PHP Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($vboptions['editthreadtitlelimit']==0 OR ($postinfo['dateline'] + $vboptions['editthreadtitlelimit'] * 60) > TIMENOW))
How to Use it
After installing the hack go to:vB Options -> Message Posting and Editing Options >>Time Limit on Editing of Thread Title
Set the time to 0
This is my first hack release so please be gentle!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I assume that this setting reflects only people whose time limit for editing a thread is allowed. Meaning if their editing time limit ran out, they won't be able to still edit the thread.
The code above does not work with the version of Vb installed on my site (newest version as of today's date.)
Here is the code that worked for me, as an exact copy/paste with all spacings:
This line
Code:
if ($threadinfo['firstpostid'] == $postinfo['postid'] AND $edit['title'] != '' AND ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)
Changed to
Code:
if ($threadinfo['firstpostid'] == $postinfo['postid'] AND $edit['title'] != '' AND ($vbulletin->options['editthreadtitlelimit'] == 0 OR ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW))
and
This line
Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)
Changed to
Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($vbulletin->options['editthreadtitlelimit'] == 0 OR ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW))