Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Show Thread Enhancements - Version: 3.8.4 Rating:
Released: 11-21-2009 Last Update: 11-21-2009 Installs: 52
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

I'm just reposting my 4.0 mod into the 3.8 section since it works just fine on a 3.8 board also.

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.

Version History:
1.1 2009-11-22: - initial release in 3.8 section by Lynne at vbulletin.org

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"

Download Now

File Type: zip First Post Editable Indefinitely 1.1 (3.8).zip (3.8 KB, 251 views)

Show Your Support

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

Comments
  #22  
Old 01-14-2010, 06:58 PM
scourge scourge is offline
 
Join Date: Feb 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SighK,

I just had the same problem, here's what fixed it for me in 3.8.4

Open up the .xml file and on line 52, replace $vbulletin->userinfo['userid'] with $this->registry->userinfo['userid']

Save it, re-upload it and it should work.
Reply With Quote
  #23  
Old 02-06-2010, 01:19 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much for this Lynnes. we badly needed something like this.
Reply With Quote
  #24  
Old 09-18-2010, 09:16 AM
Wonksta Wonksta is offline
 
Join Date: Apr 2009
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scourge View Post
SighK,

I just had the same problem, here's what fixed it for me in 3.8.4

Open up the .xml file and on line 52, replace $vbulletin->userinfo['userid'] with $this->registry->userinfo['userid']

Save it, re-upload it and it should work.
I did a quick test and it appears to be working! Excellent thank you so much and Lynne for sharing this.
Reply With Quote
  #25  
Old 09-18-2010, 10:27 AM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have installed to trial. I don't suppose there's any chance we could have a global setting (as opposed to going through each and every sub forum to turn on/off?).
Reply With Quote
  #26  
Old 09-18-2010, 02:46 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 ETDC View Post
Have installed to trial. I don't suppose there's any chance we could have a global setting (as opposed to going through each and every sub forum to turn on/off?).
If you want the default to be On, just edit the xml file to make the default in the database "1" instead of "0"
Reply With Quote
  #27  
Old 09-18-2010, 04:25 PM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working with - Chief First Post - Every Page mod
Reply With Quote
  #28  
Old 09-18-2010, 06:01 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 vijayninel View Post
Not working with - Chief First Post - Every Page mod
Sometimes you need to play with the Execution Order of plugins in order to get them to work together the right way.
Reply With Quote
  #29  
Old 09-18-2010, 07:06 PM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok.. will try that ..
Reply With Quote
  #30  
Old 09-18-2010, 07:30 PM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I'm not going to be modifying this one for usergroups. It would be real easy to add that into the conditions (is_member_of()) in the plugins if you want to do that.
Great mod! but what I have to modify and where for specific usergroups exactly?

Thanks
Reply With Quote
  #31  
Old 09-19-2010, 09:20 AM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
If you want the default to be On, just edit the xml file to make the default in the database "1" instead of "0"
Thanks Lynne.
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 02:35 PM.


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.05265 seconds
  • Memory Usage 2,327KB
  • 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
  • (5)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
  • (3)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
  • (1)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