vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Moderators Functions - Hard Delete (physical delete) By User Group (https://vborg.vbsupport.ru/showthread.php?t=186951)

Jafo232 07-31-2008 10:00 PM

Hard Delete (physical delete) By User Group
 
This product allows you to allow/disallow hard deleting by user group. Currently, you have to edit each user to attain this, whereas this product assigns the privilege by user group.

To install, upload the files, and install product file. All user groups (including administrators) will default to NOT having the permission to hard delete, so after installation, modify the user groups you wish to have this permission.

This product was developed for Andy R from Social Knowledge and released here for others to enjoy.

Do not forget to:


Jafo232 08-01-2008 03:16 PM

Reserved

Charlie98902 08-01-2008 03:51 PM

Thanks, Installed.

RvG2 08-01-2008 04:05 PM

why this is not bulit in vb? :rolleyes:

Q-v-n-s-Q 08-01-2008 04:09 PM

Quote:

Originally Posted by RvG2 (Post 1589277)
why this is not bulit in vb? :rolleyes:

good question, probly they just missed out? :D

Jafo232 08-01-2008 04:17 PM

Quote:

Originally Posted by RvG2 (Post 1589277)
why this is not bulit in vb? :rolleyes:

I dunno.. People have been asking for it for a long time, and I was just tasked to do it. Considering the IF condition is already there, it would not be that hard for them to do it. As you can see, this plugin requires no template edits.

Mike-D 08-01-2008 09:50 PM

You forgot the most important in case of Uninstalling...

HTML Code:

<uninstallcode><![CDATA[$db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup DROP skhardmodpermissions");]]></uninstallcode>

Just in case someone has uninstalled your hack and is trying after to reinstall what results in getting the dreaded DB Error. Just a side note ;) Great hack and good idea by the way - Installed :) Thank you!

Talaturen 08-08-2008 01:12 PM

Doesn't this only hide that option? I guess you can still physically delete if you know the URL, and when I manage a soft deleted thread I'm still able to change its deletion status to physically deleted.

Jafo232 08-12-2008 02:16 PM

It does only hide it yes.. If you are having trouble with your mod's doing that, time for new mods.. :)

RvG2 08-12-2008 04:01 PM

then you can do only to create a new admins/supermods usergroup who are not able to hard delete.


All times are GMT. The time now is 11:44 PM.

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.01118 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete