Back to vBulletin 4.x Add-ons

First Post Editable Indefinitely
Mod Version: 1.2, by Lynne

vB Version: 4.0.4 Rating: (12 votes - 4.92 average) Installs: 119
Released: 17 Nov 2009 Last Update: 23 Jul 2010 Downloads: 568
Not Supported DB Changes Uses Plugins Re-usable Code Translations  

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 -

Spoiler (click to open)


I don't have time right now to do another release, but try this:

Create a new plugin:
hook location - ajax_start
title - Set edittimelimit to 0 for first post (2)
code -
PHP Code:
if (($threadinfo['firstpostid'] == $postinfo['postid']) AND ($vbulletin->userinfo['userid'] == $postinfo['userid']) AND $foruminfo['ls_edit_ind'])  

    {
        
$vbulletin->options['edittimelimit'] = 0;
    } 
And see if that works.

FOR 4.1.12 ONLY (and probably future versions)

Close


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

File Type: %1$s First Post Editable Indefinitely 1.1.zip (3.7 KB, 180 downloads)
File Type: %1$s product-lynne_first_post_editable_fr.xml (394 Bytes, 74 downloads)
File Type: %1$s First Post Editable Indefinitely 1.2.zip (4.3 KB, 367 downloads)


vblts.ru supports vBulletin®, 2022-2024