![]() |
e-steki Banlist
e-steki Banlist is a listing of all the users that are banned, with the reason provided, the bandate, the lift date and who banned them (you can hide all of them via the admincp if you want to) and additionally some little banning stats on the bottom (you can hide those too). It is fully phrased and has the ability to break the list into multiple pages.
Installation 1. Upload banlist.php to your forums root directory 2. Import the product XML 3. Done! Now you may add a link somewhere to www.yoursite.com/forum/banlist.php so that other people can visit it. Don't forget to click install! By clicking install you will be notified of updates and you will also provide motivation to me to make more hacks. :p :) I hope you enjoy it as I'm coding it since 7 in the morning (it's now 13:45!) :p |
Looks very interesting, I'll try this out tomorrow!
|
Installed, but the setting for usergroups permitted works backwards, if i put in a usergroup id number they cannot view the list.
And if i dont put any id number in then they can view the list but also get this at the top of the forum. Warning: Invalid argument supplied for foreach() in /banlist.php on line 90 Warning: Invalid argument supplied for foreach() in /banlist.php on line 100 Warning: array_count_values(): The argument should be an array in /banlist.php on line 122 Warning: arsort() expects parameter 1 to be array, null given in /banlist.php on line 123 Warning: Invalid argument supplied for foreach() in /banlist.php on line 124 |
I will fix these shortly.
Meanwhile, perhaps you would like to click INSTALL? (Let's see if bold, underlined, coloured, size 7 font does the job as some people still miss the button :() |
Quote:
What's the use of putting a banning list and making it public when there are no banned users yet? :confused: |
where is banbit template ? its left
|
woops, I probably forgot to put it in the product! w8 2 minutes! :o :o
|
Fixed :) Just overwrite the product XML. :)
Who rated it 1/5? Hey, whoever you are, if you have anything to say say it in the thread. Doing this and saying nothing is just LAME. |
Quote:
Just testing it myself logging in as different usergroups. Why should it give errors just because there are no users banned yet. I will click install when it's working. :ermm: Chill out :mad: |
Sorry for my tone. I haven't slept all night and I had a fight with someone a while ago :o
I didn't think of checking if there are any banned users :ermm: I took it for granted that there will be at least one :p I will fix it though cause if I leave it will be a long time till I feel like coding again :p |
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
Thanks Hasann! |
Should be fixed now, I'm going to eat :p
|
Rated it excellent.. You have 4 stars now :p
Nice feature to have, thanks.. |
Quote:
At last something good :D I had started to get dissapointed :( |
Clicked install, all working fine now.
You can sleep in peace now, knowing that you made a great hack. :) |
Τhank you! :D
I try not to sleep though cause I'll spoil my whole scedule. Dunno if I'll last till the night though :( |
Clicked install michelle
thats g8 hack for all times ;) thank you |
Nice one Michelle ;) People are always wondering why certain people are banned so this will come in handy, now to try to get it to work a little better with AWS ;)
|
Very nice hack, Michelle. Really :)
[high]* akanevsky installs [/high] EDIT: Analysis: CODE READABILITY: Not very readable (2) WORKS: Nicely (5) PRODUCT XML: Nice job prefixing all your variables with "banned". (5) Helps manage your stuff, doesn't it? ;) |
Quote:
Oh and cool hack and stuffs....yup |
Quote:
Thank you all guys! :D |
Quote:
|
Quote:
|
Doesn't work for me whatsoever. :(
http://forums.wtf.com/banlist.php I have over 200 banned users. Displays none, and gives me a division by 0 error? |
Had same issue, it looks like it doesn't take in to account banned users from either a.) upgrades or b.) impexs
I just went through and rebanned everyone that was banned for the correct amount of time and gave a reason. |
Quote:
|
This is line 1808, functions.php:
Code:
$show['pagenav'] = false; btw, Alien, did you make those graphics yourself? They are amazing! Which program did you use? |
Quote:
|
Quote:
|
my error:
Warning: Division by zero in /includes/functions.php on line 1815 http://vermelhices.com/forum/banlist.php help me |
Oh of course!!!!!
You have to set a per page setting! /me hits her head on the wall for not hinking about it earlier. I need sleeeeeep... |
Quote:
|
Are you talking about a warning system hack? Does it automatically put that as a reason?
Well, you could always change that phrase to something more informative I guess, or put a "legend" at the bottom (something like a small glossary, hmm I like that idea! Then I wouldn't get questions like "what is trolling?" from members who saw the list :p) |
Yea ;) I'm going to see if I can hack it in to show what they where last warned for to cause the ban instead of that.
|
Yeah that would be nice :)
However for the past banned users do not unban and re-ban them to put a clearer reason as the ban-date will be lost and replaced with the current one. Edit the reasons via phpmyadmin instead ;) (you probably know that already but I thought I should mention, just in case :)) |
I know but all my users that where banned are perma banned for multi accounts ;)
|
Quote:
|
Well the users of my site know and there was no ban date since I lost them during an impex ;)
|
Oh. Well, I guess you can easily hack this to display "Unknown" for these dates, instead of a false one :)
|
All times are GMT. The time now is 05:53 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:
|