vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=103190

e-steki Banlist
by Lea Verou
18 Dec 2005 11:45

3 Attachment(s)
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

Yorixz 18 Dec 2005 11:49

Looks very interesting, I'll try this out tomorrow!

Andyrew 18 Dec 2005 12:12

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

Lea Verou 18 Dec 2005 12:15

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 :()

Lea Verou 18 Dec 2005 12:21

Quote:

Originally Posted by Andyrew
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

Are there any banned users to be displayed when these warnings appear?
What's the use of putting a banning list and making it public when there are no banned users yet? :confused:

Hasann 18 Dec 2005 12:22

where is banbit template ? its left

Lea Verou 18 Dec 2005 12:26

woops, I probably forgot to put it in the product! w8 2 minutes! :o :o

Lea Verou 18 Dec 2005 12:29

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.

Andyrew 18 Dec 2005 12:38

Quote:

Originally Posted by Michelle
Are there any banned users to be displayed when these warnings appear?
What's the use of putting a banning list and making it public when there are no banned users yet? :confused:

No there are no banned users yet, and i have not made it public yet.
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:

Lea Verou 18 Dec 2005 12:41

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

Hasann 18 Dec 2005 12:43

Quote:

Originally Posted by Andyrew
No there are no banned users yet, and i have not made it public yet.
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:

open banlist.php with wordpad and find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

search:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Lea Verou 18 Dec 2005 12:47

Quote:

Originally Posted by Hasann
open banlist.php with wordpad and find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

search:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Damn, I had named it banned at the beginning and I forgot to change them when I came up with Banlist :(
Thanks Hasann!

Lea Verou 18 Dec 2005 12:51

Should be fixed now, I'm going to eat :p

AshokForums.com 18 Dec 2005 13:23

Rated it excellent.. You have 4 stars now :p

Nice feature to have, thanks..

Lea Verou 18 Dec 2005 13:32

Quote:

Originally Posted by AshokForums.com
Rated it excellent.. You have 4 stars now :p

Nice feature to have, thanks..

Thank you!!! :D
At last something good :D
I had started to get dissapointed :(


All times are GMT. The time now is 03:22.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.