![]() |
afterfl0w's Advanced Banlist
afterfl0w's Advanced Banlist! - Version 2.51 :cool:
updated 13/08/06:rolleyes: Hey all, it's time for another release. This one has been completely re-written and made a lot easier to install! Also, it's vB3.6 and 3.5 compatible! Onto the buzz: Features
Quick install, added what everyone wanted, and made it easy to install! What more could you want! Installation Upload the product-aft_banlist.xml to your vB products, and then open the included README_FIRST!!.html file, and cycle through the instructions. Afterwards, upload the showbans.php to your vB root and you're ready to go! Importing Old Bans This was HIGHLY requested in the last version, and I'm a fool for not including it. Upload the import_bans.php file to your admincp folder, and then navigate to, for example, www.site.com/forums/admincp/import_bans.php. Follow the instructions, which are as easy as pushing a button ;) , and delete the file afterwards! Upgrading If you are upgrading, remove the old banlist table and replace all files! Troubleshooting/Problems Any problems or issues with this modification can be either posted in this thread, sent to me in a PM or e-mailed to me at flamethrower_stickattack@hotmail.com You can also add me to MSN and I'll be able to offer support most of the time. Install and MOTM Votes I'm not going to force you to hit the install button, or push it on you, but it'd be greatly appreciated if you do! Also, if you REALLY like this hack, please vote it for MOTM(MOD OF THE MONTH) :D |
I'm getting this:
Code:
Database error in vBulletin 3.6.0 Release Candidate 3: |
Hmm, I only tested on the full release of vB3.6.
Maybe someone else knows the reason for that? There's nothing wrong with the SQL. |
Quote:
Still no luck. |
Anyone else having this problem?
EDIT: Jesus, I'm still seeing Powered by vBulletin Version 3.6.0 Release Candidate 3 at the bottom of your forums. You sure you upgraded? :p |
Nice job :)
|
Update coming soon, since the Import feature appears not to work on an empty database.
|
Hey when i try to import bans i get alot of these errors and then no bans imported.
error: Warning: Cannot use a scalar value as an array in /admincp/import_bans.php on line 127 |
Read post above yours. It's being worked on.
|
Hi,
I just installed this. I uploaded the files, made the changes to the bannings.php file, and imported the plugin. I'm not sure though, if there are some instructions missing. I can see the options section, but I cannot see the ban/unban user section in the postbit. Also, when I try to import the bans, I get an error message saying that I should be an admin to do it, and that I don't have permissions. Running 3.6 gold. |
Sorry, only saw the post now. Thanks :D
|
Sorry didnt refresh before i posted
|
lol real cool thx
|
Quote:
(Which i'll update now) |
Kinda off topic, Is there a way to add a field in the postbit to show how many bans an admin has.
Maybe have an option to turn it on and off. |
Quote:
UPDATE COMING SOON! |
Installed and tested, did a 10 min ban and it worked. I tried to run the import and got this:
Warning: Cannot use a scalar value as an array in /admincp/import_bans.php on line 127 Also have nothing in postbit, great hack! |
This is being updated, new version should be out within the next hour!
|
New version released! Check first post for new additions and updated zip download!
|
nice hack.
|
Ive been waiting for something like this. Awesome mod. *Installed and voted*
|
Hi, is there any way to allow another usergroup besides Admin to see the banlist page?
I created a Core Admin Group on my forums, and they cannot see the page. Regards Firestar |
No matter, I found the way to do it. For those of you who wants to do the same, open the admincp/admin_banlist.php and find the following line of code on line 101:
Code:
if(!is_member_of($vbulletin->userinfo, 6)){ Code:
if(!is_member_of($vbulletin->userinfo, 6) and !is_member_of($vbulletin->userinfo, 29)){ |
Any chance this could be made to work on other restricted user group statuses?
Now that we have the infraction system, I REALLY need a way to see my other restricted user groups as well. |
What do you mean?
|
For example, we have two user groups that place posts on moderation. One allows for PMs, the other doesn't. We need to keep track of those just as much or more so than banned members.
It would be very, very nice if this reporting tied in with the new infraction system. Currently, nothing reports or lists infracted members and their user group status. We're still forced to keep track manually in our mod forum of a summary of who is in the different groups. |
Excuse me - but what does this Hack do ? I think it is absolutely useless with the new Warning System in 3.6. There is allready a Timebased Banmodus at the Warning Features.
|
Did the import bans script get pulled out of the zip? Cause its not in mine :(
|
Hi dudes... looks and works well... but i wondered... i don't like seeing [ Ban User ] next to mods or admins names...is there a way i can disable that for certain user groups?...please advise, cheers
-b6 |
Quote:
Quote:
|
I have banned 2 members after in stalling the hack and they don't show in the banlist
http://www.sportszonefanatics.com/showbans.php edit: I figured it out. Is there any chance this hack could be coded so the last banned member shows up on the forum home page, please? Also, when you edit the postbit template for the ban link, is it possible to somehow have the ban link appear in the profile drop downlink. Great hack :) |
I like this mod... but i believe showing a [ ban user ] link for everyone shouldnt be the case... i think a drop down from a users profile upon clicking thier username would be much better and would tidy the postbits up a bit
-b6 |
great mod/idea. I added it to the dropdown by editting the postbit and postbit legacy templates after the
HTML Code:
<if condition="$post['userid'] AND $show['member']"> HTML Code:
<!-- afterflows banlist --> I love how you can select which bans to have shown on the page but this bug occurred for me: I was trying to remove a ban from the ban list in the admincp. I ticked the box for the most recent ban and then clicked delete bans. It then removed the oldest ban instead of the ban I was trying to remove.. each time I repeated it would do the same thing. also, possible bug, but maybe its supposed to behave like this. I banned a user to test the banlist, it showed up find and the post was edited fine, however when I unbanned the user by clicking unban then the user still showed up on the banlist and the bantime was empty, just had (). Suggestion: make it so you can administer the bans from the showbans.php itself if you're in the appropriate usergroups. make the admin pages match the admincp style. add a section where you can edit the bans reason + link. I like how you let us decide whether to edit the post or not, maybe as well you can let us choose the text/format which is added to the post. |
EasyTarget: Awesome stuff! Thanks :)
Is there any chance this hack could be coded so the last banned member shows up on the forum home page, please? |
Nice one ET!
-b6 |
I found there were a few bugs in that code still and I think this will fix it[html]
Code:
<!-- afterflows banlist --> |
So I am presuming we just remove the previous code you wrote and add this new code instead?
|
yeah, I edited my previous post as well.
|
Awesome, thanks :)
|
haha sorry guys, that code I posted still let everyone see the ban user option (of course they couldn't really ban a user, but they could still see the option). Got some help and this is verified to work.
This is the new code.. you only see ban/unban if you're an admin and you only see ban when a user isn't banned yet and only unban if they're already banned. Code:
<!-- afterflows banlist --> |
All times are GMT. The time now is 02:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|