Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Message Editing Hierarchy Details »»
Message Editing Hierarchy
Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-23-2002 Last Update: Never Installs: 31
 
No support by the author.

Hi,

Have you ever noticed that Site Admins and Super Moderators can edit/delete/peak everyone's messages in your forum? This also applies to Moderators for the board they are assigned.

I never thought about the aftermath of this default behavior, until one of my SuperModerators peaked into my message and "stole" a hidden BB code from me! Then I have noticed that I really dont need/want ANYONE to edit my messages, even if they are Mods or Super Mods and this hack is born.

After applying the hack default editing permissions in your board will be changed like this:
  • Moderators: Can edit everyone's posts in the board they're assigned, UNLESS author is a SuperMod or a Site Admin.
  • SuperModerators: Can edit everyone's post in all boards UNLESS author is a Site Admin.
  • Site Admins: Can edit eveyone's post in all boards UNLESS user is userid 1. (Why let other Site Admins edit your posts anyway? hehe)
So the hack will apply a "message editing hierarchy" in your board and everyone will be able to edit messages for ones who are below him and cant touch messages of his superiors..If they try, they'll get no permission page. This will apply for editing the messages, deleting the message via edit message or just peaking inside it. But be warned: messages can still be deleted via "Delete Thread / Posts" menu..

The hack is VERY EASY to install with 1 single modification and will work in any vbulletin versions I know..

If you install the hack, please click install, thank you..

Enjoy! \\=^))

Logician

Show Your Support

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

Comments
  #2  
Old 05-24-2002, 08:25 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea, this is a must have!! Will install after I get some sleep.
BTW, on the subject of userid's, can a userid be changed?
Reply With Quote
  #3  
Old 05-24-2002, 08:35 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Smoothie
Great idea, this is a must have!! Will install after I get some sleep.
BTW, on the subject of userid's, can a userid be changed?
You mean in this hack, right? Sure very easily.. In hacks code, find:
($bbuserinfo[usergroupid]==$admin_usergroup_id AND $bbuserinfo[userid]!=1

And replace 1 with anyuserid you want.. But userid with 1 may not like this change
Reply With Quote
  #4  
Old 05-24-2002, 08:51 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I have to change both instances where 1 appears?
PHP Code:
$admin_usergroup_id AND $bbuserinfo[userid]!=AND $postinfo[userid]==1)) 
Reply With Quote
  #5  
Old 05-24-2002, 09:04 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Smoothie
Do I have to change both instances where 1 appears?
PHP Code:
$admin_usergroup_id AND $bbuserinfo[userid]!=AND $postinfo[userid]==1)) 
Yep all 1s (there is two of them actually) will be replaced with your new userid
Reply With Quote
  #6  
Old 05-24-2002, 11:03 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very good idea !!

but, to steal hidden vb-code someone could just quote a post to see it
Reply With Quote
  #7  
Old 05-24-2002, 12:49 PM
Webmasta XT's Avatar
Webmasta XT Webmasta XT is offline
 
Join Date: Mar 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work man, I was looking for this for a long time, cuz if I am the one who made the forums, and I make someone else a admin, and they come out to be untrust worthy and delete me from MY OWN BOARDS?? and I am userid1, lol than it sucks..
Reply With Quote
  #8  
Old 05-24-2002, 04:05 PM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what if i want two usersname sto be void to editing
Reply With Quote
  #9  
Old 05-25-2002, 03:31 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NerdNations
what if i want two usersname sto be void to editing
In hack find the line:

PHP Code:
    if (($bbuserinfo[usergroupid]==$moderator_usergroup_id  AND ($postinfo[usergroupid]==$smoderator_usergroup_id OR $postinfo[usergroupid]==$admin_usergroup_id)) OR ($bbuserinfo[usergroupid]==$smoderator_usergroup_id AND $postinfo[usergroupid]==$admin_usergroup_id) OR ($bbuserinfo[usergroupid]==$admin_usergroup_id AND $bbuserinfo[userid]!=AND $postinfo[userid]==1)) 
Replace it as:

PHP Code:
    if (($bbuserinfo[usergroupid]==$moderator_usergroup_id  AND ($postinfo[usergroupid]==$smoderator_usergroup_id OR $postinfo[usergroupid]==$admin_usergroup_id)) OR ($bbuserinfo[usergroupid]==$smoderator_usergroup_id AND $postinfo[usergroupid]==$admin_usergroup_id) OR ($bbuserinfo[usergroupid]==$admin_usergroup_id AND $bbuserinfo[userid]!=AND $postinfo[userid]==1) OR ($bbuserinfo[usergroupid]==$admin_usergroup_id AND $bbuserinfo[userid]!=AND $postinfo[userid]==2)) 
Replace 1 and 2 for the 2 Site Admin you want to grant untouchablitity.

BTW Why to have so many Site Admins in the first place? I really suggest granting your power users Super Moderator status only. Does your site really need so many Site Admins?

Regards,
Logician
Reply With Quote
  #10  
Old 05-25-2002, 05:00 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me says "click install" this hack. Good one.
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 11:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05938 seconds
  • Memory Usage 2,303KB
  • 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
  • (4)bbcode_php
  • (3)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