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
  #2  
Old 11-17-2009, 04:33 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow!
I searched this

Thank you!
Reply With Quote
  #3  
Old 11-17-2009, 04:54 PM
niake niake is offline
 
Join Date: Oct 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this error
Parse error: parse error in \htdocs\forum\includes\class_bootstrap.php(685) : eval()'d code on line 68
Reply With Quote
  #4  
Old 11-17-2009, 05:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think that is from this product. 685 is the global_state_check plugin, but I only have 9 lines in that plugin, not anywhere near 68 lines. Perhaps it is conflicting with another mod? What other mods do you have installed?
Reply With Quote
  #5  
Old 11-17-2009, 05:12 PM
niake niake is offline
 
Join Date: Oct 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I don't think that is from this product. 685 is the global_state_check plugin, but I only have 9 lines in that plugin, not anywhere near 68 lines. Perhaps it is conflicting with another mod? What other mods do you have installed?
Have disable all custom plugins only have

First Post Editable Indefinitely
vBulletin CMS
vBulletin Blog

If a disable First Post Editable Indefinitely no errors..
Reply With Quote
  #6  
Old 11-17-2009, 05:17 PM
niake niake is offline
 
Join Date: Oct 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error in \htdocs\forum\includes\class_bootstrap.php(685) : eval()'d code on line 68
vBulletin Message
Unable to add cookies, header already sent.
File: \htdocs\forum\includes\class_bootstrap.php(685) : eval()'d code
Line: 68

It must be a bug in VB 4.0 now a get this have disable all plugins..
Reply With Quote
  #7  
Old 11-17-2009, 05:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, but I can't reproduce that error at all. I'll need more information in order to figure this out. Are you using a default style? Which postbit? Exactly where are you getting this error - what page? as who - the admin or the user who posted? What is your normal posting time limit set to?

edit: Are you now saying you get this error after you disable all the plugins? I'm confused by your last post.
Reply With Quote
  #8  
Old 11-17-2009, 05:22 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by niake View Post
Have disable all custom plugins only have

First Post Editable Indefinitely
vBulletin CMS
vBulletin Blog

If a disable First Post Editable Indefinitely no errors..
I can't confirm this error


and big thx for this add-on.
It was also on my todo list, but now i don't have to code it
Reply With Quote
  #9  
Old 11-17-2009, 05:51 PM
niake niake is offline
 
Join Date: Oct 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have copied my live 3.84 database with all posts and upraderad to beta 4 on a test server and using the default style.
When I activate this pluggin a get the error on the forum.
Reply With Quote
  #10  
Old 11-17-2009, 05:54 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 niake View Post
Have copied my live 3.84 database with all posts and upraderad to beta 4 on a test server and using the default style.
When I activate this pluggin a get the error on the forum.
And you deleted all other plugins/mods? And deleted all other added files from other plugins/mods?

I'm just not getting enough information here to even try to recreate this error. The unable to add cookies bit seriously doesn't look like it's from this mod since I do nothing to make any sort of output with this modification. It really looks like you have not disabled all your plugins (I'm saying plugins here, not just products).
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 03:22 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.06271 seconds
  • Memory Usage 2,318KB
  • Queries Executed 24 (?)
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
  • (3)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
  • (2)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
  • (3)postbit_attachment
  • (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_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