Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
First Post Editable Indefinitely Details »»
First Post Editable Indefinitely
Version: 1.2, by Lynne Lynne is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.4 Rating:
Released: 11-16-2009 Last Update: 07-22-2010 Installs: 119
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

Sometimes you want your users to be able to edit the first post in their thread indefinitely but still have a time limit on all other posts in the thread. This would be useful if they want to constantly update their first thread with new information, or an updated list of some sort way past the normal editing time limit. This modification will allow them to edit that first post indefinitely.

Notes
- I wrote this for my own site and it works exactly how I want it to. I have no plans to change it or expand it in any way
- No, you may not change the time limit, this only works for if the time limit for the first post is 0 - indefinite.

FOR 4.1.12 - SEE THIS POST - https://vborg.vbsupport.ru/showpost....9&postcount=63

Version History:
1.0 2009-11-17: - initial release by Lynne at vbulletin.org
1.1 2009-11-21: - added option in Forum Manager to turn on indefinite editing of first post per forum
1.2 2010-07-22: - fixed to work in 4.0.4. Also moved plugin from global_complete to global_bootstrap_complete since global_complete is deprecated (4.0.4)




To install:

1. Import product-lynne_first_post_editable.xml
2. By default, editing first post indefinitely is Off per forum. To turn it on, go into the Forum Manager > select your forum to Edit > Make first post in thread editable indefinitely > Yes

To uninstall:

1. Uninstall "First Post Editable Indefinitely v4.0"


French translation also below thanks to Albibak - product-lynne_first_post_editable_fr.xml

Download Now

File Type: zip First Post Editable Indefinitely 1.1.zip (3.7 KB, 178 views)
File Type: xml product-lynne_first_post_editable_fr.xml (394 Bytes, 72 views)
File Type: zip First Post Editable Indefinitely 1.2.zip (4.3 KB, 365 views)

Show Your Support

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

Comments
  #52  
Old 01-20-2012, 05:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by downloadfound View Post
Is there a way to change this so members CAN'T edit the first post? LOL.
That would be the opposite of this mod and isn't an option.
Quote:
Originally Posted by Masked Crusader View Post
Are edits still recorded? I mean to say that if a person edits their thread, can we as administrators see what was changed via the logs still?

If so, great mod and will be installing!
Edits would only be recorded if they meet the criteria for the logs.

Quote:
Post Edit History
If this setting is enabled each post is saved prior to being updated, this allows for a history to be shown for edited posts.

Edits will not be logged if an 'edited by' notice is not displayed or updated. This occurs in the following situations:
  • The editing user is in a group that does not show edited by notices and no reason for editing is specified.
  • The post is edited quickly enough after being posted to trigger the Time to Wait Before Starting to Display 'Last Edited by...' option.
Reply With Quote
  #53  
Old 01-20-2012, 06:48 PM
TombstoneWarrior's Avatar
TombstoneWarrior TombstoneWarrior is offline
 
Join Date: Jan 2012
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the mod sure my forum will love it!!!
Reply With Quote
  #54  
Old 01-21-2012, 05:45 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AFAIK yes, this mod just makes first post editable to unlimited time, not that it changes the way first post is edited.
Reply With Quote
  #55  
Old 01-22-2012, 07:04 PM
TombstoneWarrior's Avatar
TombstoneWarrior TombstoneWarrior is offline
 
Join Date: Jan 2012
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod installed sure my members will be happy with this one!!!
Reply With Quote
  #56  
Old 02-13-2012, 09:39 AM
Skyborg Skyborg is offline
 
Join Date: Jul 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Just edit the xml file. Find this:
PHP Code:
$db->query_write("ALTER TABLE " TABLE_PREFIX "forum ADD ls_edit_ind INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL"); 
Change to this:
PHP Code:
$db->query_write("ALTER TABLE " TABLE_PREFIX "forum ADD ls_edit_ind INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL"); 
Hi Lynne,

it works only optical.
i have to set the option manual to off, save and then on again.
And after that it works.
Reply With Quote
  #57  
Old 03-29-2012, 08:29 AM
clubvr4's Avatar
clubvr4 clubvr4 is offline
 
Join Date: Jul 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick enquiry, is it possible to have this on a forum per forum basis?
Reply With Quote
  #58  
Old 03-29-2012, 02:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by clubvr4 View Post
Quick enquiry, is it possible to have this on a forum per forum basis?
Please see the version notes:
Quote:
1.1 2009-11-21: - added option in Forum Manager to turn on indefinite editing of first post per forum
Reply With Quote
  #59  
Old 03-30-2012, 09:25 AM
clubvr4's Avatar
clubvr4 clubvr4 is offline
 
Join Date: Jul 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Please see the version notes:
Meh, sorry - I meant per usergroup, was having a blonde moment.
Reply With Quote
  #60  
Old 03-30-2012, 03:38 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it is not set up per usergroup. If the usergroup has Can Edit Posts set to Yes, then this would allow them to edit their first post indefinitely. There is no reason you couldn't modify the plugins to only allow this for certain usergroups though.
Reply With Quote
  #61  
Old 03-30-2012, 03:46 PM
LLent LLent is offline
 
Join Date: Aug 2010
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice Lynne thanks for your hard work on this one
Reply With Quote
Reply

Thread Tools

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 01:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05924 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete