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

Reply
 
Thread Tools
Disable Usergroups From Deleting Posts Details »»
Disable Usergroups From Deleting Posts
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-07-2002 Last Update: Never Installs: 3
 
No support by the author.

As requested [ Here ] by The Ghost

+++++++++++++++++++++++++++++++++++++++++++++++++
// +++++++ What to do? +++++++
// +++++++ Queries to Run (1) +++++++
// +++++++ File Modifications (7) +++++++
// +++++++ Templates To Add (1) +++++++
+++++++++++++++++++++++++++++++++++++++++++++++++

What does this do?
It restricts usergroups from deleting posts, pertaining mainly to Super Moderators and Moderators.
If you don't trust you moderators when it comes to deleting certain posts or trust their judgement then editing should be suffice enough.
Here you can disable those usergroups from deleting any posts.

Enjoy.

Edit: big thanks to Boofo for helping me sort some issues out and getting things back on track

g-force2k2

Show Your Support

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

Comments
  #22  
Old 07-08-2002, 04:43 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That templatesused line is commented out. How will adding anything to that do any good?

Quote:
Originally posted by g-force2k2
yeah i know what you mean... but i guess better safe then sorry thanks for the help alot Boofo and thanks for testing the edit option for me... just so you know i reattached and added the template addon to the

PHP Code:
$templatesused 
if you wanted to just add that in... but thanks for the help

g-force2k2
Reply With Quote
  #23  
Old 07-08-2002, 04:51 AM
afterlab's Avatar
afterlab afterlab is offline
 
Join Date: Oct 2001
Location: Dallas, TX
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not just use the Usergroup Forum Permissions? In there, it has an option for "Can delete own threads and posts?" for specific forums.
Reply With Quote
  #24  
Old 07-08-2002, 04:54 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But that just pertains to their own threads and posts, doesn't it? This hack makes it so they can't delete others posts and threads.
Reply With Quote
  #25  
Old 07-08-2002, 04:58 AM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's an option in Forums & Moderators where you can set 'Can delete posts' to 'No' for any Moderator you want.
Reply With Quote
  #26  
Old 07-08-2002, 04:59 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah afterlab i stated that in the second post that you can update each usergroups permissions by each forum... but i think it's more of an advantage to make it a more easier feature to work with... just my input though besides it was requested

g-force2k2
Reply With Quote
  #27  
Old 07-08-2002, 05:02 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by smachol
There's an option in Forums & Moderators where you can set 'Can delete posts' to 'No' for any Moderator you want.
oh i didn't know that ;\ but i think that The Ghost was looking for Super Moderators to not be able to delete posts... but then theres the user feature for oneself and then the forum permissions for each usergroup and now the mod permissions when assigning mods and then you can also of just added some other coding instead of what i added... but i guess this could've been accomplised in a number of ways just my insight i guess... btw smachol does that include super moderators?

g-force2k2
Reply With Quote
  #28  
Old 07-08-2002, 05:22 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, I'm using this hack, but well, without the hack on my forums right now. ^_^
Reply With Quote
  #29  
Old 07-08-2002, 05:24 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What???

Quote:
Originally posted by Velocd
Yup, I'm using this hack, but well, without the hack on my forums right now. ^_^
Reply With Quote
  #30  
Old 07-13-2002, 05:37 PM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

thx g-force2k2 for writing this hack, but the hack doesn't work in my Forum...... :ermm:

I've created a Super Moderator Account and I still can delete.....

I've editet both files (editpost.php and Usergroup.php) and I have added the Template.

In the Groups Permission I see the function "Can Delete Post", this is set to "no", but it doesn't works.......

Please help me.....

thx
Reply With Quote
  #31  
Old 07-13-2002, 09:00 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you delete your cookies before logging in under another account. It might still be picking up the old cookie.

Quote:
Originally posted by The Ghost
hi,

thx g-force2k2 for writing this hack, but the hack doesn't work in my Forum...... :ermm:

I've created a Super Moderator Account and I still can delete.....

I've editet both files (editpost.php and Usergroup.php) and I have added the Template.

In the Groups Permission I see the function "Can Delete Post", this is set to "no", but it doesn't works.......

Please help me.....

thx
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 12:06 AM.


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.07474 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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