![]() |
Unlimited Time Limit For Thread Title Editing
What Does this Hack Do?
This hack allows users to infinitely modify the thread title.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.Installing In editpost.php FIND PHP Code:
PHP Code:
PHP Code:
PHP Code:
After installing the hack go to:vB Options -> Message Posting and Editing Options >>Time Limit on Editing of Thread Title This is my first hack release so please be gentle! ;) |
Sorry about that. The WYSIWYG editor fiercely messed up the post :P
|
Installing as we speak....
|
Didn't work for me :(
|
Really??? did you set the setting to 0 in the control panel?
|
Yeah I did, then I went and tested everything out and edited by popped right up.
|
No, I think this hack is to just allow the thread title to be changed, not to remove the "edited by" message(s).
|
Yes, the poster is right. The edited by is a separate indication.
This is supposed to allow for you to edit the thread title an unlimited number of times. If you don't want edited by to appear I also believe you can set that as well. Quote:
|
OHHHH in that case!!
Bravo this thread worked marvelously! :D |
all u need to do is put 999999999999999 in there and it will work fine. this was from the vb devs.
|
Quote:
|
his = her :) I'm female.
And yes... a part of me feels odd that 9999999... is in the system. |
works.
I had trouble finding the first part due to spaces being added or missing mine was as follows PHP Code:
|
Quote:
It works...and is per Usergroup. |
Quote:
However, I merged the two using the ($forumperms & CANEDITUNLIMITED) part of code in place of the time limit being 0 and they're running great.. :D |
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)) This line Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW) Code:
if ($isfirstpost AND $postinfo['title'] == '' AND ($vbulletin->options['editthreadtitlelimit'] == 0 OR ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)) |
All times are GMT. The time now is 05:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|