![]() |
Moderators can ban by IP address
This PHP file allows your moderators to ban by IP address.
It is:
|
Nice 1 installed, well will be once i can figure out the settings :(
Looks a little over my head :( Just a quicky though, can this be changed to just super mods? |
Thanks.
Access is controlled by password, not usergroup. Only those people who have the password can change the list of banned IPs. |
Ah right...yeah i get ya now
I am actually struggling to get this to work I am trying to create an internal page using Logicans web templates I have also tried creating an internal PHP page using the manager for my portal, still no go.... I noticed there are 2 ip addys for the administrator, do i change both? Its asking for address url of forum, not sure what to put there, is it the path such as www.bashys-place.com/forums or is it the sites/home/bashys......1 Also this bit 1) mysql database connection string location, whats that all about? And this bit 3) password to give to moderators: $_POST['passw'] == Wherere exactly does the password go? is it in between == or after it then space then the password? This is confusing the hell out of me pmsl.... I think you need to do a tutorial m8 as i have done a few bits here an there well say about 200 hacks installed lol and for peeps just starting this is gonna scare the hell out of them lol...... |
Hi Bashy,
Since this is outside the vBulletin structure, it requires a MySQL connection string just like any PHP page that connects to a MySQL database. If you are creating "an internal page using Logicans web templates", then you probably won't need that connection string anymore. Also, all lines that start with // or are between /* */ are comment lines. Where I say "// 3) password to give to moderators: $_POST['passw'] ==", just look at the line underneath it to find that code and the spot for the password. No offense, but maybe it is best that someone who understands PHP a little better than both you and I does the work to integrate this into the vB structure. ;) |
OK, here's my tutorial. :)
To get this working on your board, you should change a few things in the file first. // 1) Change this to the correct location of your MySQL connection string: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Hi m8
Yeah i did figure your tut out myself apart from the password bit lol But like ya said m8 its well over my head, think im gonna leave it for now till some1 can do sommat with it :) |
Has anyone tried this in 3.6.x?
|
Yes, it works the same in 3.6.
|
All times are GMT. The time now is 07:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|