vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Thread starter can edit first post content (https://vborg.vbsupport.ru/showthread.php?t=203761)

guvner 01-31-2009 09:04 PM

Thread starter can edit first post content
 
I seem to increasingly have members adding good reference content as a new thread, a recent example being a thread to identify all tuner cards which work with Windows 7.

Problem is that as the thread starter, more and more of them want to be able to go back (after the edit time limit has expired) and update their first post to include new information supplied later in the thread.

Without creating a new usergroup and moving people into it as required (which would invoke global changes), all we can do at the moment is suggest that the reader trawl through the thread to find the info he needs.

With threads such as the kind I mentioned, it would be neat if there was a way to enable the thread starter to have permission to continually edit his first post, perhaps with the addition of a button in the first post visible only to thread starter and management.

I've found a modification or two which allows the thread title to be changed, but nothing which allows uswers to update their first post's content.

If such a mod exists for 3.7 and up, could some kind soul point me in the right direction?

Many thanks,
Mike :)

Lynne 01-31-2009 09:11 PM

I have never seen a modification for this. I had to write my own which included file edits and template edits and doesn't allow attachments to be edited (I didn't want that anyway, so no big deal). I did this way back for 3.6 and don't even remember exactly what I did or if it was complicated or not.

guvner 02-01-2009 12:46 AM

I agree about the attachments not being important.

I don't know what's happened recently - I seem to get 5 or more PMs every week from thread starters asking for permission to go back and edit their first posts - it'd becoming a little tiresome.

Thanks for responding anyway :)

Lynne 02-01-2009 02:17 AM

I wrote this up in another thread, thinking it was this thread - not sure if it will help you at all:

I'm not sure I remember exactly. I know you first need to verify that the user is trying to edit the first post. Then in the condition that looks at the edit setting (whether it is set to 0 or not or whether the time limit is still valid), you add a condition in there (I think I set a variable to true if the user trying to edit the post is the original poster and the postid is equal to the first postid). Then I did something to the edit button to make it show up all the time if it is the first post of the thread. That's all I really remember.


All times are GMT. The time now is 02:14 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
  • Page Generation 0.00944 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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