vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Restrict Pruning And Forum Deletion By Userid (https://vborg.vbsupport.ru/showthread.php?t=49729)

N9ne 03-05-2003 10:00 PM

Restrict Pruning And Forum Deletion By Userid
 
//////////////////////////////////////////////////////////////////////////////
Restrict Pruning And Forum Deletion By Userid
A hack by N9ne, Copyright 2003+.
Created on March 6th, 2003.
//////////////////////////////////////////////////////////////////////////////
Description: This hack will allow you to set userids
in config.php, (just like viewing and pruning the admin log
permissions), which will determine which userids can delete
forums and mass prune threads.
//////////////////////////////////////////////////////////////////////////////
Files to modify:
admin/config.php
admin/forum.php
admin/thread.php
//////////////////////////////////////////////////////////////////////////////
Time taken: 1 minute.
//////////////////////////////////////////////////////////////////////////////
Level of hacking: Easy
//////////////////////////////////////////////////////////////////////////////

afterlab 03-06-2003 09:48 PM

Ah, nice. Although I won't be a user of this hack, I may recommend it to a friend of mine who is having problems with deletion permissions.

Good job, idea, and creation. Thanks for the share! :D

joeboo 03-06-2003 10:55 PM

Great job with the invisible attachment file containing the instructions ;)

Erwin 03-06-2003 11:44 PM

LOL!... I suspect he forgot to attach the text file... :)

Link14716 03-07-2003 12:24 AM

I would install it:
  1. If the file was attached...
  2. And if my admins weren't the creaters of most of my forums. ;)
Good idea though, but I trust my admins not to prune/delete forums. :)

N9ne 03-07-2003 05:45 AM

LOL!!!!!!!!!!!!!!!! Ahahaha, sorry about this :D, I completely forgot, it was late when I posted this hack, I was tired, and I forgot, hehe...

Um, *attachs*

edit: ok the first post now has the instructions attached ;).

VeoMorphine 03-07-2003 02:10 PM

Very nice hack. Does this just disallow other people to delete/prune? Or does it limit them from amking forums to?

assassingod 03-07-2003 02:16 PM

Very nice hack, I like this alot thanks:)

N9ne 03-07-2003 02:40 PM

Quote:

Originally posted by VeoMorphine
Very nice hack. Does this just disallow other people to delete/prune? Or does it limit them from amking forums to?
This will stop them from pruning posts or deleting forums in the adminCP. That's all it restricts.

Note to all: please click install if you use the hack :).

K33nny 03-10-2003 06:27 AM

Nice hack, thanks.


All times are GMT. The time now is 08:36 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.00945 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete