vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Allow users to edit thread title (https://vborg.vbsupport.ru/showthread.php?t=105805)

Alex_ 01-20-2006 12:42 PM

Allow users to edit thread title
 
Hi,

what I want is that a thread starter can change the main thread title.
As for now they can only change the title of the single post which does not show up on the forum.

So far I couldn't find such an option whitin vb without allowing the user to delete the whole thread (this moderator option where you can change the title)

Is there already such an option built in or is there a hack/mod? I didn't find one in here...

Thx in advance

---

Ah ok, I found the needed information in the german forums.
So this is solved...

kreichelt 08-15-2006 01:12 PM

Hi Alex,

What solution did you find in the German forums? I have this same question.

Thanks,
Kim

Alex_ 08-15-2006 02:12 PM

Hum, I don't remember where I found something on it, sorry...
But I recently did an update to 3.6 where I had to patch the files again - all you have to do is to search for
Code:

$vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)
You will find that in editpost.php and in ajax.php (I _think_ these were the only two).
There will be an if clause similar to that one
Code:

if ($getpost['postid'] == $postinfo['postid'] AND $edit['title'] != '' AND ($postinfo['dateline'] + $vbulletin->options['editthreadtitlelimit'] * 60) > TIMENOW)
All you have to do is to remove the last AND condition where it checks whether the edit is within time limit or not.

That's what I did....


All times are GMT. The time now is 12:19 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.03211 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete