Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Unlimited Time Limit For Thread Title Editing Details »»
Unlimited Time Limit For Thread Title Editing
Version: 1.00, by WhisperPntr WhisperPntr is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

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.
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!

Show Your Support

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

Comments
  #2  
Old 02-03-2005, 05:46 PM
WhisperPntr's Avatar
WhisperPntr WhisperPntr is offline
 
Join Date: Apr 2002
Location: Hong Kong
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry about that. The WYSIWYG editor fiercely messed up the post :P
Reply With Quote
  #3  
Old 02-04-2005, 05:53 AM
MR-2ZZ MR-2ZZ is offline
 
Join Date: Nov 2004
Location: Belmont Shore, CA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installing as we speak....
Reply With Quote
  #4  
Old 02-04-2005, 06:04 AM
MR-2ZZ MR-2ZZ is offline
 
Join Date: Nov 2004
Location: Belmont Shore, CA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work for me
Reply With Quote
  #5  
Old 02-04-2005, 07:27 AM
WhisperPntr's Avatar
WhisperPntr WhisperPntr is offline
 
Join Date: Apr 2002
Location: Hong Kong
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really??? did you set the setting to 0 in the control panel?
Reply With Quote
  #6  
Old 02-04-2005, 08:40 AM
MR-2ZZ MR-2ZZ is offline
 
Join Date: Nov 2004
Location: Belmont Shore, CA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I did, then I went and tested everything out and edited by popped right up.
Reply With Quote
  #7  
Old 02-04-2005, 09:50 AM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I think this hack is to just allow the thread title to be changed, not to remove the "edited by" message(s).
Reply With Quote
  #8  
Old 02-04-2005, 11:04 AM
WhisperPntr's Avatar
WhisperPntr WhisperPntr is offline
 
Join Date: Apr 2002
Location: Hong Kong
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Originally Posted by MR-2ZZ
Yeah I did, then I went and tested everything out and edited by popped right up.
Reply With Quote
  #9  
Old 02-05-2005, 12:54 AM
MR-2ZZ MR-2ZZ is offline
 
Join Date: Nov 2004
Location: Belmont Shore, CA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OHHHH in that case!!

Bravo this thread worked marvelously!

Reply With Quote
  #10  
Old 02-05-2005, 02:32 AM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all u need to do is put 999999999999999 in there and it will work fine. this was from the vb devs.
Reply With Quote
Reply


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 10:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08615 seconds
  • Memory Usage 2,306KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_php
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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