PDA

View Full Version : New Posting Features - Single Post Edit Override


Ody
10-11-2006, 10:00 PM
This mod allows you to enable an "edit override" on individual posts, after the global edit timeout has expired.

This is useful for info/faq type posts that require constant updating, after the global edit timeout has expired.

It works by adding a single button to each post that you simply click the toggle the override status of the post in question.

This is my first vB mod and was developed and tested only on vB 3.6.1. As it's my first mod, if you find i've done something wrong or could do something better, let me know :)

As always, if you use this, don't forget to click the installed link :)

harmor19
10-12-2006, 12:48 AM
This is a good hack. Some screenshots would be nice.
If you would like to be the first poster just report this post to a mod and have them delete it.

Welcome to the coders' circle.

Ody
10-12-2006, 04:05 AM
Thanks :)

I've added some screen shots to the post as per your suggestion.

harmor19
10-12-2006, 05:09 AM
You have red indicating enabled and green indicating disabled. I think you should switch them.

I don't think the word "(editable)" is needed.

How are people supposed to select which forums to apply this too? In your last screen shot you have an option to enable the feature.

Elleffgee
10-12-2006, 06:55 AM
How are people supposed to select which forums to apply this too? In your last screen shot you have an option to enable the feature.

Hello:

I thought I would share a bit about how I'm using this hack, hopefully to provide others with more information about its possible uses.

My site is an unauthorized rants and information forum for players of the on line game EverQuest II.

Ody kindly volunteered to write this hack after another user requested the ability to maintain and update a list within a thread. I am brand new to vBulletin and don't have a lot of expertise with this software or the related technology. So I did a little research and was surprised to learn that the document edit times in admincp apply globally for users, and I wasn't able to assign edit rights to a single user for a single document.

This hack was important to my site, which is a flames board for users to argue about events and information involving a competitive on line game. At first, the edit rights on my board were set to 24 hours.

The problem with a long edit time was that some users would start very inflammatory threads against others, but would then try and cut their losses and delete their posts when public opinion turned against them. This left my site with several multi page threads where the original poster deleted half the posts in a thread, and all that remained were posts with opposing views. That basically killed these threads, you couldn't follow them with only one side of the story, and this resulted in many complaints. So after taking a vote from my users, I reduced the edit time for all users to just 15 minutes. The shorter edit time has worked very well for us, but I admit I wouldn't like it on a "normal" forum site.

I had several users that wanted to maintain lists of information that could be changed and updated daily in the first post of a thread. Ody's design is perfect for my site, because it allows me, as Admin, to click once in any post, in any thread on my site, to override the global edit time and allow the user who made the post to edit it whenever they want.

So in summary, this hack allows anyone signed in as Admin to override the global edit time on a post with one click, so the user who made the post can edit it anytime they want. To answer the question above, the hack applies to all forums. The hack only gives edit rights to the user who made the post, and does not grant edit rights to other posts in the same thread or elsewhere.

I feel like this is an extremely elegant solution for anyone who would like to override the global edit timer for users on demand for the purpose of giving give edit rights to one user for one post.

By the way, I have this installed with vers. 3.6.2, I've tested it extensively, and it works perfectly with the different skins on my site.

Thanks again to Ody.

harmor19
10-12-2006, 07:38 AM
I gotcha now.

I'd like to see an option to select which forums will always override the global edit time.

Snake
10-12-2006, 08:40 AM
Thanks.

Ody
10-12-2006, 11:44 AM
It was only designed as an override for an individual post, hence why the forum option doesn't exist.

I don't think it would be to hard to make it so, i'll look into it.

With reference to the red/green thing, i'll make it an option, to choose which is which.

With reference to the necessity of the "(editable)", i'll make that an option also. It's there so that all users can see what can/can't be edited. Basically it's just there for transperancy of the moderation/admin process.

KidCharlemane
12-01-2006, 01:16 AM
I gotcha now.

I'd like to see an option to select which forums will always override the global edit time.


+1

Something like this is needed.

Kintaro81
02-20-2007, 08:32 AM
+2!

biggazillakilla
03-03-2007, 05:55 PM
Hmmm... This might work for me, but I would like to be able to edit entire threads, not just the comments. Also, enabling this by user would be helpful in some cases.

beano33
03-06-2007, 05:40 AM
Hmmm... This might work for me, but I would like to be able to edit entire threads, not just the comments. Also, enabling this by user would be helpful in some cases.

Check out the Threadamins (https://vborg.vbsupport.ru/showthread.php?t=117483) mod.

Noctavia
08-15-2007, 10:29 AM
Installed and everything appears to work, but I get the error message:

The administrator has specified that you can only edit messages for 720 minutes after you have posted. This limit has expired, so you must contact the administrator to make alterations on your message.

I think it has to do with the * 60 part in the code.

( $this->post['dateline'] >= (TIMENOW - ($this->registry->options['edittimelimit'] *

60)) OR
$this->registry->options['edittimelimit'] == 0) OR
(($this->registry->options['editoverride_enabled']) AND ($this->post['editoverride']

== 1)
)
))
)

Noctavia
08-24-2007, 02:01 AM
Sadly it looks like I won't be using this mod. After being unable to find out why it doesn't appear to bypass the set time limit (as per error message above), it was also pointed out to me that the edit button was appearing for everyone, not just the post author.

Shame as it was exactly what I was looking for too.

Noctavia
04-08-2008, 09:59 PM
Ok, after changing my forum around a bit when I couldn't figure out the problem back in August, it now seems as if the mod has completely stopped working. Clicking to open up editing rights is no longer working...

Anyone know of another mod that allows me to allow users editing rights past the time setting?

Hornstar
09-24-2008, 04:22 AM
What a shame, this is exactly what I need.

I want to give permission to certain posts where the user who made that post to be able to continue to edit the post and bypass the edit time limit.

Would be great if someone upgraded this to 3.7.x

sir bitter
10-26-2008, 09:58 PM
I was wondering if there was a way to let moderators have access to the button instead of just admins.

sir bitter
01-12-2009, 03:52 AM
Is anyone using this with 3.8?

home9000
02-20-2009, 10:31 AM
does not work in 3.6.5

The members can't see the edit button

Hornstar
05-08-2009, 11:34 PM
I would love for this mod to be continued. I would even give a donation to the person who does.

Been Told
12-09-2009, 02:57 PM
I would love for this mod to be continued. I would even give a donation to the person who does.
Same here.

Been Told
12-09-2009, 03:19 PM
Just checked - it's not working with 3.8.4.

If the mod developer decides to update this mod to work with 3.8 I would donate $40 right away.