PDA

View Full Version : Show Thread Enhancements - First Post Editable Indefinitely


Lynne
11-16-2009, 10:00 PM
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.php?p=2318879&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
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
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
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
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
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
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
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
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. :)
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.
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
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:
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
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/threads/14969-Modifier-le-premier-message-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
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
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.

Essam
06-08-2011, 03:36 PM
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.
do you remember what was the mod or the developers name ?

Lynne
06-08-2011, 05:28 PM
No I do not.

Acido
07-05-2011, 03:36 PM
Hi Lynne. It's posible execute a query to enable the first post editable for all forums? If possible, can you give me the query?
Thanks!

emperatour
09-06-2011, 04:02 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.

Hi Lynne. It's posible execute a query to enable the first post editable for all forums? If possible, can you give me the query?
Thanks!

I am also looking for a way to have first post editable for all forums enabled by default or a query to enable all.

I would appreciate if Lynne suggests a way . :)

Lynne
09-06-2011, 04:09 PM
Just edit the xml file. Find this:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD ls_edit_ind INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
Change to this:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD ls_edit_ind INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");

Fraxter
09-18-2011, 01:04 PM
There is a big issue. First post editing works without problems, but not editing attachments if this mod is active.

Lynne
09-18-2011, 04:05 PM
There is a big issue. First post editing works without problems, but not editing attachments if this mod is active.
I do not want my users editing attachments in the first post so I did not do anything to make that possible. This is only for editing the post text.

Fraxter
09-18-2011, 04:30 PM
Hm ok. I tried to change the addon make it workable with uploads too, but i get an upload error message on every file upload (only with the new attachment system, the old works). I think i have to go deeper in the code for make it full compatible. :/

downloadfound
01-20-2012, 11:25 AM
Is there a way to change this so members CAN'T edit the first post? LOL.

Masked Crusader
01-20-2012, 11:36 AM
Are edits still recorded? I mean to say that if a person edits their thread, can we as administrators see what was changed via the logs still?

If so, great mod and will be installing!

Lynne
01-20-2012, 05:43 PM
Is there a way to change this so members CAN'T edit the first post? LOL.
That would be the opposite of this mod and isn't an option.
Are edits still recorded? I mean to say that if a person edits their thread, can we as administrators see what was changed via the logs still?

If so, great mod and will be installing!
Edits would only be recorded if they meet the criteria for the logs.

Post Edit History
If this setting is enabled each post is saved prior to being updated, this allows for a history to be shown for edited posts.

Edits will not be logged if an 'edited by' notice is not displayed or updated. This occurs in the following situations:
The editing user is in a group that does not show edited by notices and no reason for editing is specified.
The post is edited quickly enough after being posted to trigger the Time to Wait Before Starting to Display 'Last Edited by...' option.

TombstoneWarrior
01-20-2012, 06:48 PM
thanks for the mod sure my forum will love it!!!

Alan_SP
01-21-2012, 05:45 PM
AFAIK yes, this mod just makes first post editable to unlimited time, not that it changes the way first post is edited.

TombstoneWarrior
01-22-2012, 07:04 PM
nice mod installed sure my members will be happy with this one!!!

Skyborg
02-13-2012, 09:39 AM
Just edit the xml file. Find this:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD ls_edit_ind INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
Change to this:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD ls_edit_ind INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");

Hi Lynne,

it works only optical.
i have to set the option manual to off, save and then on again.
And after that it works.

clubvr4
03-29-2012, 08:29 AM
Quick enquiry, is it possible to have this on a forum per forum basis?

Lynne
03-29-2012, 02:13 PM
Quick enquiry, is it possible to have this on a forum per forum basis?
Please see the version notes:
1.1 2009-11-21: - added option in Forum Manager to turn on indefinite editing of first post per forum

clubvr4
03-30-2012, 09:25 AM
Please see the version notes:

Meh, sorry - I meant per usergroup, was having a blonde moment.

Lynne
03-30-2012, 03:38 PM
No, it is not set up per usergroup. If the usergroup has Can Edit Posts set to Yes, then this would allow them to edit their first post indefinitely. There is no reason you couldn't modify the plugins to only allow this for certain usergroups though.

LLent
03-30-2012, 03:46 PM
Very nice Lynne thanks for your hard work on this one

clauz
04-10-2012, 09:33 AM
Hello, it seems that this modification it is not working any more on 4.1.12 version.

ChimeraRS
04-10-2012, 06:29 PM
Same here, 4.1.12 broke this mod unfortunately.

Lynne
04-10-2012, 11:16 PM
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 -
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)

clauz
04-11-2012, 03:29 AM
Thank you very much, it is working just fine with your new plugin.
The small problem is that I cannot edit the thread name.

Alan_SP
04-21-2012, 01:40 PM
FOR 4.1.12 ONLY (and probably future versions)

It works for me, so I attached modified version.

RichieBoy67
05-24-2012, 09:01 PM
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 -
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)

Has this been added to any of the downloads?

Does anyone have this mod working with 4.1?

Alan_SP
05-25-2012, 08:02 PM
Yes, a post before your's is file attached by me. :)

DSemen
06-03-2012, 12:56 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.
Please show on the screen where it include?
I'm not working (in 4.1.3), you may need to edit the template? Tell me where?

Lynne
06-03-2012, 01:53 PM
Please show on the screen where it include?
I'm not working (in 4.1.3), you may need to edit the template? Tell me where?
It should be the last item there (unless you have other modifications):

Make first post in thread editable indefinitely - Yes or No

DSemen
06-03-2012, 02:47 PM
It should be the last item there (unless you have other modifications):

Make first post in thread editable indefinitely - Yes or No
Unfortunately there is no such, please show a picture where it is. And you should see the user created the topic (first post)
Sorry, Google translation

A beautiful and correct fashion, I was looking for a similar and now in complete disarray of the inability to use it.

Lynne
06-03-2012, 02:51 PM
Unfortunately there is no such, please show a picture where it is. And you should see the user created the topic (first post)
Sorry, Google translation

A beautiful and correct fashion, I was looking for a similar and now in complete disarray of the inability to use it.
Right on the bottom...


138910

DSemen
06-03-2012, 03:11 PM
Where is it? in the general settings? I do not understand

paulket
06-03-2012, 03:27 PM
Where is it? in the general settings? I do not understand

DSemen, go to your admin control panel and click on "Forums & Moderators", then click on "Forum Manager", now if you click on any of your forums you should see "Make first post in thread editable indefinitely: Yes - No" at the bottom of all the options.

DSemen
06-03-2012, 04:00 PM
Thank you very much! It is very necessary and useful mod!
Did not work as long as not kept re all sections in the admin panel. (save)

zascok
08-01-2012, 10:06 AM
Thank you. This is useful. Any chance to make it available only in designated forums, please?

Lynne
08-01-2012, 11:28 PM
Thank you. This is useful. Any chance to make it available only in designated forums, please?
I did that back in 2009:
1.1 2009-11-21: - added option in Forum Manager to turn on indefinite editing of first post per forum

zascok
08-02-2012, 06:35 AM
I did that back in 2009:

:o I used your plugin tho , thatnk s for pointing that out :up:

clubvr4
09-07-2012, 09:16 AM
I'm confused.

I have always used "Time Limit on Editing of Posts", set to a month - However, I thought this mod would allow the editing for the first thread in our for sale sections - I installed awhile ago and left it at that.. today I hear from a user that although he can click the edit button, he gets a message saying "The administrator has specified that you can only edit messages for 60480 minutes after you have posted."

So, re-reading your first post i see that "Time Limit on Editing of Posts" has to be set to 0, for this to work.. but, doesn't this negate the use of time limit on editing posts? - If i set that to 0 all users will be able to edit all their posts, so.. i don't understand this mod now..

Could you please explain how i can set it up so that all posts are non-editable after a month and only 1st threads are editable in specified forums, lets pretend im really dumb.. for a minute or two :)

Thanks

zascok
09-07-2012, 02:13 PM
^ the confusion is in misreading

It doesn't say to set-up the forum confings to be editable indefinitely.

it just says you don't have a config for the plugin. It's zero-end of story :)

- No, you may not change the time limit, this only works for if the time limit for the first post is 0 - indefinite.

Lynne
09-07-2012, 03:17 PM
I'm confused.

I have always used "Time Limit on Editing of Posts", set to a month - However, I thought this mod would allow the editing for the first thread in our for sale sections - I installed awhile ago and left it at that.. today I hear from a user that although he can click the edit button, he gets a message saying "The administrator has specified that you can only edit messages for 60480 minutes after you have posted."

So, re-reading your first post i see that "Time Limit on Editing of Posts" has to be set to 0, for this to work.. but, doesn't this negate the use of time limit on editing posts? - If i set that to 0 all users will be able to edit all their posts, so.. i don't understand this mod now..

Could you please explain how i can set it up so that all posts are non-editable after a month and only 1st threads are editable in specified forums, lets pretend im really dumb.. for a minute or two :)

Thanks
Did you check the Forum Manager > edit forum, and make sure you enabled this for that forum?

Superorb
09-07-2012, 06:52 PM
This is GREAT for the For Sale forum so OPs can update the first post with items that have sold or updated pricing.

Superorb
09-07-2012, 07:44 PM
Ok, I've installed this and set several forums to YES to allow editing of the first post indefinitely in the Forum settings. However, I'm getting the same error as Clubvr4 a few posts up. I set the time limit to edit all posts to 1 minute to test it. As long as it's within the minute I can successfully edit posts. I'm on 4.2PL2.

When I disable the plugin the Edit button disappears, and when enabled the edit button is there correctly, I just keep getting the error when clicked.

Lynne
09-07-2012, 09:27 PM
I just tested this on my 4.2PL2 test forum and it worked just fine. Perhaps you have another modification conflicting with it. Try disabling all your other modifications and then see if it works.

Superorb
09-07-2012, 09:37 PM
I just tested this on my 4.2PL2 test forum and it worked just fine. Perhaps you have another modification conflicting with it. Try disabling all your other modifications and then see if it works.
It sure would be nice to have a way to disable all plugins at once, I have quite a few on my test forum.

But, it's still not working. Do I have to set the timeout to 0 somewhere?

Lynne
09-07-2012, 09:44 PM
No, you should have the timeout set to whatever you would normally like it to be and then enable this modification in the forums you wish the first post to be editable in. The usergroup must, of course, be able to edit posts also.

Superorb
09-07-2012, 09:56 PM
No, you should have the timeout set to whatever you would normally like it to be and then enable this modification in the forums you wish the first post to be editable in. The usergroup must, of course, be able to edit posts also.
Yup, it's enabled for each forum and the user has permissions to edit their own posts and I've confirmed that too.

Lynne
09-08-2012, 01:00 AM
Have you tried with a totally default template and with all other plugins disabled? This really does work just fine on my totally default 4.2PL2 site (no mods and no custom styles).

Superorb
09-08-2012, 02:20 AM
Have you tried with a totally default template and with all other plugins disabled? This really does work just fine on my totally default 4.2PL2 site (no mods and no custom styles).
I just tried it on the default style and I'm getting the same behavior. Is there anything I can do to help debug?

Lynne
09-08-2012, 03:17 PM
I just tried it on the default style and I'm getting the same behavior. Is there anything I can do to help debug?
A totally default style with all other plugins disabled? I honestly don't know what the problem could be. As I said, I tested this on my test site with a default style, all other plugins disabled, and it works just fine.

Superorb
09-08-2012, 03:25 PM
A totally default style with all other plugins disabled? I honestly don't know what the problem could be. As I said, I tested this on my test site with a default style, all other plugins disabled, and it works just fine.
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.

Lynne
09-08-2012, 05:50 PM
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.

Superorb
09-08-2012, 06:42 PM
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.

Lynne
09-08-2012, 11:47 PM
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.

Superorb
09-09-2012, 05:02 PM
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.

Superorb
09-10-2012, 09:12 PM
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.

Lynne
09-10-2012, 10:25 PM
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:


FOR 4.1.12 - SEE THIS POST - https://vborg.vbsupport.ru/showpost.php?p=2318879&postcount=63

Superorb
09-11-2012, 01:00 AM
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?

Lynne
09-11-2012, 03:08 PM
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

Superorb
09-11-2012, 03:53 PM
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?

Skyrider
11-09-2012, 06:18 PM
Anyway a usergroup feature can be added? Rather than only being specific to forum sections.

Lynne
11-09-2012, 09:55 PM
Anyway a usergroup feature can be added? Rather than only being specific to forum sections.
I won't be changing this mod in anyway. You are welcome to modify it to your own needs though.

Skyrider
11-10-2012, 07:08 AM
I won't be changing this mod in anyway. You are welcome to modify it to your own needs though.
Hah :p I can't code I'm afraid. So that's not gonna happen. Thanks though.

sticky
11-20-2012, 06:12 PM
Anyway a usergroup feature can be added? Rather than only being specific to forum sections.
This would be extremely useful.

Sucks when mod creators don't listen to the features people want instead making us spend money to have someone else modify it when they could easily do it.

Also this mod isn't working in 4.2.0 pl3.

Alan_SP
11-21-2012, 12:37 PM
Also this mod isn't working in 4.2.0 pl3.

Actually, this isn't true.

It works as intended on vB4.2. I'm using it without problems, i.e. my test user is able to edit first post even after editing time is passed.

DaReSE
02-09-2013, 12:00 PM
Will this enable editing subject title and thus change of prefix? Rule per forum, i.e. each forum local value for this?

addamroy
02-25-2013, 02:13 AM
This doesn't allow for members to edit their thread titles or prefix... is that a bug or is it supposed to be that way?

Alan_SP
02-25-2013, 05:05 PM
This is vB thing.

Only moderators can change thread title whenever they want. You have option in settings where you define time while users are able to change thread title (I'm not sure about thread prefix, but I think that time is the same in both cases).

dai-kun
01-27-2014, 06:43 AM
Hi Lynne, do you have time to make this work with 4.2.2? I installed on a clean 4.2.2 and it doesn't work even though I did all the latest edits. Thanks

Edit::
Nevermind, it works correctly as intended. I forgot that I did something different. All my posts does not have a time limit on editing. It's just this one specific forum that users have no permission to edit their posts at all, but I made this hack to work where only the first post is editable, bypassing 'can edit' usergroup permission. Just don't remember what I did.

Edit2::
OK I figured it out.

In plugin
Set edittimelimit to 0 for first post
Set edittimelimit to 0 for first post (2)

Change
$vbulletin->options['edittimelimit'] = 0;
to
$vbulletin->bf_ugp_forumpermissions['caneditpost'] = 1;

alexNL
10-15-2014, 09:11 AM
Installed it on 4.2.1 patch level 1 and it seems to be working. I did use the updated version posted earlier that contained the fix by Lynne. Direct link to the updated XML:
https://vborg.vbsupport.ru/showpost.php?p=2322234&postcount=65