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 Admin CP vB Options to only allow other Admins to ban email or IP addresses (https://vborg.vbsupport.ru/showthread.php?t=43475)

Erwin 09-11-2002 10:00 PM

Restrict Admin CP vB Options to only allow other Admins to ban email or IP addresses
 
Restrict Admin CP vBulletin Options - by Erwin
-----------------------------------------------------------
(Only allow other Admins to ban emails or IP addresses)

As you know, the vBulletin Options section of your Admin CP is very important. From there, you can close or open your forums, change the forum name, and basically control the site. You really do not want anyone else mucking around in it, except for yourself.

On the other hand, you may want to let your other Admins have access to the Banning Section, so that they can ban email domains and IP addresses. You don't want to have to do this all by yourself.

This hack will modify the options.php file in a way that only YOU as the original admin can edit and change all the vBulletin options. However, other admins will NOT be able to see or edit any options EXCEPT that they can only ban emails or IP addresses when they go to the vBulletin Options page.

You only have to make 3 changes to the admin/options.php file.

Enjoy!

Installation text file:

Erwin 09-12-2002 08:31 PM

As if you really need one, but someone would request it, so here you go - you as the original admin will see all the vBulletin options and be able to edit them.

The other admins will only see the "Banning Options" section, and can only Ban Emails or IP addresses. Also, they will not be able to modify the banning options - only you can. All they can do is add or remove email domains or IP addresses to be banned.

Screenshot:

Neo 09-12-2002 08:57 PM

Hey can I have the list of emails you banned :)

Please?

NTLDR 09-12-2002 09:04 PM

Nice hack Erwin :D

[high]* NTLDR thinks hellsaten will be installing straight away ;)[/high]

Goldknight 09-12-2002 09:50 PM

Quote:

Originally posted by Neo
Hey can I have the list of emails you banned :)

Please?

It s at EVA'2000s site..

http://i4net.tv/marticle/get.php?act...e&articleid=30

Erwin, thanks for this hack :)

[high]* Goldknight installs[/high]

blackice912 09-12-2002 11:59 PM

Sweet, this will be nice for an admin that I don't want to have access to that area

/me installs

Erwin 09-13-2002 03:38 AM

Quote:

Originally posted by Goldknight


It s at EVA'2000s site..

http://i4net.tv/marticle/get.php?act...e&articleid=30

Erwin, thanks for this hack :)

* Goldknight installs

Yeah, that's where I got it from. He has a list of over 30,000 free email domains all formatted for vB for you to cut and paste! :)

Glad that you find this hack useful. It's good to put those Admins to work, but you don't want them to shut down your board by mistake!

Neo 09-13-2002 04:28 AM

Quote:

Originally posted by Goldknight


It s at EVA'2000s site..

http://i4net.tv/marticle/get.php?act...e&articleid=30

Erwin, thanks for this hack :)

* Goldknight installs

Thanks very much man :)

blackice912 09-13-2002 04:29 AM

Quick question:

There are two of us that want access to the options and one admin we don't want to have access to this. How can I set it up so us two can still see the options and the other one can't?

blackice912 09-13-2002 04:38 AM

Nevermind, I figured it out. I just flipped the code around so if the userid = his then it will not show all the options.


All times are GMT. The time now is 05: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.01203 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
  • (3)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