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

niake 11-17-2009 05:56 PM

Yes all plugins/mods

Lynne 11-17-2009 06:20 PM

Quote:

Originally Posted by niake (Post 1916071)
Yes all plugins/mods

Maybe someone else will get this problem and post more information and allow me to recreate this, but I currently cannot do so.

abdobasha2004 11-17-2009 07:35 PM

thanks lynne
always the best

messengermatt 11-17-2009 07:44 PM

Ok i have installed, is there a place to manage the settings of this mod? i cant find them in the usual settings area

Lynne 11-17-2009 11:20 PM

Quote:

Originally Posted by messengermatt (Post 1916147)
Ok i have installed, is there a place to manage the settings of this mod? i cant find them in the usual settings area

There are no settings to manage. It simply makes all first posts editable indefinitely.

ragtek 11-18-2009 08:28 AM

But it would be nice, if we could de/activate this in the forumsettings.
For example: i have a shopforum(category) where this is very usefull.
But the users shouldn't edit there posts in all the other forums(categories).

Lynne 11-18-2009 01:54 PM

Quote:

Originally Posted by ragtek (Post 1916488)
But it would be nice, if we could de/activate this in the forumsettings.
For example: i have a shopforum(category) where this is very usefull.
But the users shouldn't edit there posts in all the other forums(categories).

I'll have to see what my time is like on that as right now it does what I want and I have a ton of other mods I need to work on for my site.

ragtek 11-18-2009 01:58 PM

It's ok

Maybe i can find the time to code it and to release it, because i've seen that you've marked this as "reusable code"

Lynne 11-18-2009 02:11 PM

Quote:

Originally Posted by ragtek (Post 1916605)
It's ok

Maybe i can find the time to code it and to release it, because i've seen that you've marked this as "reusable code"

I always mark my stuff as reusable. There are always so many ideas people have to change a mod to work how they want it, so why not change it and release it also? Like change the edit time also - I wanted it indefinite, but I'm sure someone will come along and want it set to something else. So, let them modify the code and release that, too.

Leo Brazil 11-19-2009 09:33 AM

Hi Lynne, great ideas as usually from your mods.

I know you said there's no intention to expand it but how about based on forum ID ? I mean, only for those forums I would like it to work. Any change please ?

Cybershaolin 11-19-2009 11:07 PM

Does this hack exists for 3.8.4?

Hornstar 11-20-2009 02:03 AM

Thanks, this is almost what I am looking for, but I am after the ability to select which posts have the indefinite edit ability. I know you are not extending this mod, but if someone else was to make this change, would it be a big one?

Lynne 11-20-2009 05:27 PM

Quote:

Originally Posted by Leo Brazil (Post 1917126)
Hi Lynne, great ideas as usually from your mods.

I know you said there's no intention to expand it but how about based on forum ID ? I mean, only for those forums I would like it to work. Any change please ?

As you know, since I PMed you about this, I am looking into it. :)
Quote:

Originally Posted by Cybershaolin (Post 1917451)
Does this hack exists for 3.8.4?

I have not released it for 3.8, no. I may look into that when I look into the above change.
Quote:

Originally Posted by hornstar1337 (Post 1917506)
Thanks, this is almost what I am looking for, but I am after the ability to select which posts have the indefinite edit ability. I know you are not extending this mod, but if someone else was to make this change, would it be a big one?

You could probably just add a condition into the plugins for that thread. I'm not sure, but that is probably what I would look into if it is just for a few threads.

Sayid 11-21-2009 02:10 PM

Nice mod . I really need it.

tagged :)

Lynne 11-21-2009 05:24 PM

I modified this to now be set per forum in the Forum Manager. By default, it is set to No and you must set it to Yes for the forum to have the first post editable indefinitely.

Leo Brazil 11-23-2009 06:03 PM

Awesome Lynne !

fariborz khan 12-09-2009 05:31 PM

thanks insstaled

Trumpetrhapsody 12-29-2009 04:25 AM

Great mod, but it would be cool if there were settings to only apply to certain forums instead of just globally.

Lynne 12-29-2009 03:08 PM

Quote:

Originally Posted by Trumpetrhapsody (Post 1941201)
Great mod, but it would be cool if there were settings to only apply to certain forums instead of just globally.

From a few posts above yours:
Quote:

Originally Posted by Lynne (Post 1918432)
I modified this to now be set per forum in the Forum Manager. By default, it is set to No and you must set it to Yes for the forum to have the first post editable indefinitely.


Trumpetrhapsody 12-29-2009 03:48 PM

Whoops, not sure how I missed the second page of posts. Didn't notice it in the description either.

Perfect mod, thanks!

albibak 12-29-2009 09:23 PM

1 Attachment(s)
Lynne,

Thanks for the mod :)
Please, find in attachment the french translation :)
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/thread...ge-indfiniment

Jman423 06-20-2010 04:15 PM

Lynne,

Is there any reason that the original poster would be able to edit their post but not be able to manage/add attachments in that post? I've checked the vB options and everything seems OK.

Thank you

Fraxter 07-15-2010 12:04 PM

Not working for me on 404. Set forum settings to yes, but i can't see any edit button.

ah-webhosting 07-17-2010 07:58 PM

Quote:

Originally Posted by Pander23 (Post 2069456)
Not working for me on 404. Set forum settings to yes, but i can't see any edit button.

same here

Lynne 07-18-2010 12:43 AM

Sorry guys, I'm off on vacation and stuck on dialup and can't try this out right now.

sticky 07-25-2010 04:13 AM

Will this work on 4.0.2?

Pathor 07-25-2010 08:57 AM

Thanks Lynne! I have searched for this for ages. :)

FloatBird 08-05-2010 12:15 PM

can you please make an option for to applied on all forums

thank you this is a great mod :)

Essam 06-08-2011 07:41 AM

this idea is great but how about making it work per groupid and for evey post instead of the first post

that would make it great feature for special usergroups who are not a staff member ..

Lynne 06-08-2011 02:46 PM

Quote:

Originally Posted by Essam (Post 2204952)
this idea is great but how about making it work per groupid and for evey post instead of the first post

that would make it great feature for special usergroups who are not a staff member ..

Setting the edit time per usergroup was already done as a separate mod, I'm pretty sure. It shouldn't be too hard to do at all. However, this was a mod that I needed for me and I don't need any more options in it so I won't be changing this one.


All times are GMT. The time now is 07:14 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.01343 seconds
  • Memory Usage 1,818KB
  • 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
  • (14)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
  • (40)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