Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Single Post Edit Override Details »»
Single Post Edit Override
Version: 1.0.0, by Ody Ody is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.1 Rating:
Released: 10-11-2006 Last Update: Never Installs: 18
DB Changes Uses Plugins
Code Changes Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-12-2006, 12:48 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-12-2006, 04:05 AM
Ody Ody is offline
 
Join Date: Oct 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

I've added some screen shots to the post as per your suggestion.
Reply With Quote
  #4  
Old 10-12-2006, 05:09 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-12-2006, 06:55 AM
Elleffgee Elleffgee is offline
 
Join Date: Oct 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harmor19

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.
Reply With Quote
  #6  
Old 10-12-2006, 07:38 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I gotcha now.

I'd like to see an option to select which forums will always override the global edit time.
Reply With Quote
  #7  
Old 10-12-2006, 08:40 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #8  
Old 10-12-2006, 11:44 AM
Ody Ody is offline
 
Join Date: Oct 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 12-01-2006, 01:16 AM
KidCharlemane KidCharlemane is offline
 
Join Date: Apr 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harmor19 View Post
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.
Reply With Quote
  #10  
Old 02-20-2007, 08:32 AM
Kintaro81 Kintaro81 is offline
 
Join Date: Mar 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+2!
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 09:56 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.05060 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete