vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Assign Physical Delete Function to Specific Usergroups (https://vborg.vbsupport.ru/showthread.php?t=70149)

AnhTuanCool 10-02-2004 10:00 PM

Assign Physical Delete Function to Specific Usergroups
 
Assign Physical Delete Function to Specific Usergroups by AnhTuanCool
---------------------------------------


Functions and Description:
Sometimes, I have problems with my members about their posts had been deleted by moderator and couldn't recall for some serious events, unfortunately, if a moderator can moderate a forum, then he can use physical del, so I think to a solution - let them be moderator but physical delete function will be controlled by Administrators. And that's this hack all about, you now can assign this function to the usergroups that you want to have this function, if you switch to Yes for Banned usergroup, there will be no problem cause this permission goes within the can_moderate function so only who can moderate forum and is in usergroup that have phy del func can access this function. My board is 3.0.3, should works on > 3.0.0.

Note: As default, I changed it to No which is no one can use phy del. You must have to enable to your usergroup first and then to the one that you want to have too.

Using: ACP(admincp) Usergroup Manager > [usergroup] GO > These 2 options located in the Post / Thread Permissions section.

Instruction and Screenshot:
In Attachment.

And if you use this hack then don't forget to click INSTALL. Thank you ;)

gwhooooey 10-04-2004 03:39 AM

You need to fix the phrases, but apart from that I see no problems. Good hack, thanks

AnhTuanCool 10-04-2004 04:41 AM

Oh sorry, my bad, it's fixed now ;)

msimplay 10-05-2004 07:10 PM

excellent indeed should be default by though :D

Computer Mutt 10-05-2004 07:27 PM

I needed something like this. Good Job!

*Clicks Install*

Revan 10-09-2004 11:09 AM

[high]* Revan clicks install :)
[/high]
This is damn useful, I dont want anyone but admins to have Phys Del.
Thanks pal :)

msimplay 10-30-2004 07:13 AM

i'm getting error where i can't normally delete a post only physical delete and somehow people can delete there own threads

this is the error i get when i try to delete a post normally

Code:

Database error in vBulletin 3.0.0:

Invalid SQL:
                                REPLACE INTO deletionlog
                                (primaryid, type, userid, username, reason, deldate)
                                VALUES
                                (, 'post', 1, 'wAmbAm',
                                '', '1099124008')
                       
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'post', 1, 'wAmbAm',
                                '', '1099124008')' at line 4

mysql error number: 1064

Date: Saturday 30th of October 2004 01:13:29 AM
Script: http://www.wambam.net/vbulletin/editpost.php
Referer: http://www.wambam.net/vbulletin/editpost.php?do=editpost&p=4504
Username: wAmbAm
IP Address: 82.37.24.63


AnhTuanCool 11-06-2004 12:02 PM

Maybe you have another hack and it gets conflict with this one. You can edit the query shown above a bit to make it work out though. :)

msimplay 11-06-2004 02:44 PM

Quote:

Originally Posted by AnhTuanCOol
Maybe you have another hack and it gets conflict with this one. You can edit the query shown above a bit to make it work out though. :)

thanks its fixed now i replaced functions_databuild with a default copy and it worked great :)

j_86 01-08-2005 05:06 PM

This hack is VB 3.05 compatiable.


All times are GMT. The time now is 01:34 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.00960 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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