Back to vBulletin 3.0 Add-Ons

Unlimited Time Limit For Thread Title Editing
Mod Version: 1.00, by WhisperPntr

This modification is in the archives.
vB Version: 3.0.6 Rating: (0 vote - 0 average) Installs: 5
Released: 03 Feb 2005 Last Update: Never Downloads: 2
Not Supported  

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.
Installing
In editpost.php

FIND
PHP Code:
        if($getpost['postid']==$postidAND$edit['title']!=''AND($postinfo['dateline']+$vboptions['editthreadtitlelimit']*60)>TIMENOW
REPLACE WITH
PHP Code:
        if ($getpost['postid'] == $postid AND $edit['title'] != '' AND ($vboptions['editthreadtitlelimit']==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']==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!

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024