vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - First Post Editable Indefinitely (https://vborg.vbsupport.ru/showthread.php?t=228210)

Lynne 11-16-2009 10:00 PM

First Post Editable Indefinitely
 
1 Attachment(s)
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

Kolbi 11-17-2009 04:33 PM

Wow!
I searched this :)

Thank you!

niake 11-17-2009 04:54 PM

I got this error
Parse error: parse error in \htdocs\forum\includes\class_bootstrap.php(685) : eval()'d code on line 68

Lynne 11-17-2009 05:00 PM

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?

niake 11-17-2009 05:12 PM

Quote:

Originally Posted by Lynne (Post 1916026)
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..

niake 11-17-2009 05:17 PM

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..

Lynne 11-17-2009 05:21 PM

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.

ragtek 11-17-2009 05:22 PM

Quote:

Originally Posted by niake (Post 1916034)
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:)

niake 11-17-2009 05:51 PM

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.

Lynne 11-17-2009 05:54 PM

Quote:

Originally Posted by niake (Post 1916068)
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).


All times are GMT. The time now is 03:45 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.02629 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete