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
  #92  
Old 09-08-2012, 05:50 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 Superorb View Post
Yup Default style with all other plugins disabled. The same thing appeared to happen to someone else a few posts up too, so I'm not the only one with this problem. I suppose I could install it on my live site since it wasn't causing any problems, it just wasn't working.

Installed on the live site with no other plugins even installed. It's a new site. Custome style though and it appears to be working. I created a thread a few months ago and the timeout is set to 1 day and I was able to edit it. Just weird that it won't work on the test site. I can install this plugin 1st when I bring the live site up to speed with the test site and see which plugin breaks it if you'd like.
You can't test this with an administrator account since you may edit posts indefinitely anyway. You want to use your test user to edit their own post that they created before the time limit.
Reply With Quote
  #93  
Old 09-08-2012, 06:42 PM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can't test this with an administrator account since you may edit posts indefinitely anyway. You want to use your test user to edit their own post that they created before the time limit.
I wasn't sure so I installed the plugin again on my live site after uninstalling it and used a regular user's account to test and it still worked.
Attached Images
File Type: jpg Editable.jpg (22.9 KB, 0 views)
Reply With Quote
  #94  
Old 09-08-2012, 11:47 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 Superorb View Post
I wasn't sure so I installed the plugin again on my live site after uninstalling it and used a regular user's account to test and it still worked.
So it's working now? I guess I didn't read that part.
Reply With Quote
  #95  
Old 09-09-2012, 05:02 PM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
So it's working now? I guess I didn't read that part.
Yes, it works on the live site but not the test site, and both use the same custom style. I'll try to figure out which plugin doesn't play nice with it when I'm finished testing 4.2PL2 on the test site.
Reply With Quote
  #96  
Old 09-10-2012, 09:12 PM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Superorb View Post
Yes, it works on the live site but not the test site, and both use the same custom style. I'll try to figure out which plugin doesn't play nice with it when I'm finished testing 4.2PL2 on the test site.
Well, I updated the live site to 4.2PL2 and installed ONLY this plugin but it's just not working for me. It worked fine when the live site was at 4.1.10, but it's not working on the test site or the live site now, both 4.2 PL2 with either the default or custom style. Before it worked on the default and custom style with 4.1.10 so the only thing I can think of is that something changed between 4.1.0 and 4.2P L2. I did uninstall the Mod before I upgraded.
Attached Images
File Type: jpg Editable.jpg (37.1 KB, 0 views)
Reply With Quote
  #97  
Old 09-10-2012, 10:25 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 Superorb View Post
Well, I updated the live site to 4.2PL2 and installed ONLY this plugin but it's just not working for me. It worked fine when the live site was at 4.1.10, but it's not working on the test site or the live site now, both 4.2 PL2 with either the default or custom style. Before it worked on the default and custom style with 4.1.10 so the only thing I can think of is that something changed between 4.1.0 and 4.2P L2. I did uninstall the Mod before I upgraded.
Did you read the first post of this modification where it says this:

Quote:
FOR 4.1.12 - SEE THIS POST - https://vborg.vbsupport.ru/showpost....9&postcount=63
Reply With Quote
  #98  
Old 09-11-2012, 01:00 AM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Did you read the first post of this modification where it says this:
Does that fix also apply to 4.2? I assume the "future releases" means yes. I'd mentioned the version several times and you never said anything so I didn't look twice.

I'd love to try this out, but I don't even know where to start. I'll admit I'm not super savvy when it comes to things like this. I've never created a plugin. Am I making it harder than it is?
Reply With Quote
  #99  
Old 09-11-2012, 03:08 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 Superorb View Post
Does that fix also apply to 4.2? I assume the "future releases" means yes. I'd mentioned the version several times and you never said anything so I didn't look twice.

I'd love to try this out, but I don't even know where to start. I'll admit I'm not super savvy when it comes to things like this. I've never created a plugin. Am I making it harder than it is?
I assumed you had read the thread and seen the fix that needs to be applied for your version. But, make an assumption, make a mistake, I guess! Creating a plugin is very easy - https://www.vbulletin.com/docs/html/add_plugin
Reply With Quote
  #100  
Old 09-11-2012, 03:53 PM
Superorb Superorb is offline
 
Join Date: Feb 2012
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I assumed you had read the thread and seen the fix that needs to be applied for your version. But, make an assumption, make a mistake, I guess! Creating a plugin is very easy - https://www.vbulletin.com/docs/html/add_plugin
I added the new plugin as the original plugin for the Product and it looks like everything is working now Thanks for walking mee through this.

Now, how would I also allow for thread titles to be edited indefinitely just like the first thread? Would it require a lot of work on your part?

Or, can I just set the thread title to be edited for 60 days and since they can only edit any threads for 24 hours they wouldn't be able to edit the title anyways?
Reply With Quote
  #101  
Old 11-09-2012, 06:18 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway a usergroup feature can be added? Rather than only being specific to forum sections.
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 07:12 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.09017 seconds
  • Memory Usage 2,346KB
  • 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
  • (10)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
  • (5)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