![]() |
Ban Info on User Profile
3.7 version can be found here: https://vborg.vbsupport.ru/showthread.php?t=188670
What does this hack do? If a user has been banned it will display information about the ban (ban date, reason and the person who has banned the user) on the user's profile. Demo: http://piforums.info/member.php?u=44 This is my first hack and I hope everything will work correctly :) Don't redistribute it without my permission. Updates: [30/9/2006] Version 1.0.2: Added improvements posted by flash7 here [30/9/2006] Version 1.0.1: Fixed the HTML bugs found by flash7 here You need to reupload the baninfo.php if you want to apply the changes. [29/9/2006] Version 1.0.0: First public release |
Reserved.
|
Thanks, i m installing...
|
man tthat is great! this needs to be motm ;p
|
Thanks a lot, it's a shame vB doesn't have this by default.
|
That's great
|
Tks for this m8.
|
I changed the code a bit to use vbphrases instead of static text.
Nice one! Thanks! :) |
Thanks.. Working good..
|
Doesn't seem to work here at all sadly, I'm receiving just this warning and no other data; "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/ftpusers/otfans/html/baninfo.php on line 5"
Anyone has a clue on how to fix that? I'm using MySQL version 4.1.15. |
Hello its worked like a charm. My only prob is that it doesnt do the line on the nickname as it shown on the demo page. Is there any way i can do this also?
Ty in advance, nice plugin :) |
Wow! Just want I needed. :) Thanks!
|
Quote:
|
Oh, can u please tell me what to write there?:)
|
Thanks to everyone who has installed this, I didn't expect to get that many installs^^
Quote:
Quote:
|
Hi, nice plugin :)
I found a small bag: search: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Thanks, I just fixed it and re-uploaded it.
|
Will this work for the vb 3.5.x versions
|
might want to update the mod info in the release, and i would think putting the ver. number in the zip title would be nice i always like that, so ppl know the zip has been updated
|
Quote:
Quote:
Edit; flash7, you're my hero ;) That code indeed seems to fix my trouble (and the trouble of others, as this should be happening to everyone with 3.6.1 if I read your post), thanks a lot. |
Hello zappsan,
I've set a improvement of baninfo.php because $db->query is deprecated on vb 3.6.1 PHP Code:
|
Quote:
I might try it later. Quote:
Quote:
But good to see you haven't got problems anymore :) Quote:
|
can this be made into a product?
|
Nice hack, thanks :)
|
How to change the English text to your own language? I'v tried the Language manager by searching for "Time Banned:" But with no results.
Can you help me please. |
Quote:
Well, I'm probably going to do some changes/updates and I'll look into it. I can't promise anything though. Quote:
If you want different words to be displayed, edit the "baninfo.php" and replace the bold words with your own ones. I'm planing to add phrases though. Quote:
|
when i try to visit baninfo.php
domainname.com/forum/baninfo.php i am getting an error like Quote:
|
Quote:
That's how it's meant to be. |
this is a cool idea.
|
how do you take the info off ....for instance if you reinstate someone..
it still shows them as banned :tired: |
Is the info able to be shown to all members? Or just mod/admins?
|
Quote:
The ban info is only disp?layed when someone is banned. If you still see it, them person must still be banned. Quote:
|
Quote:
Had to uninstall as they complained that they could see they were banned when they were not |
Is this meant to work on 3.6.0?
I dont think it is working for me :( Excellent plugin my friend Just checked and it only works on people banned after the plugin was installed :( Still a great plugin tho, excellent :D Just a suggestion.. An option for showing a record of the banning even if they have been unbanned? I reckon this'd be useful for other mods to see how many times someone has been banned & what for |
Quote:
The file actually looks for an entry in the banned users table and only displays the banned info when an entry is found. Are you sure you there isn't any ban info in the table anymore? I just tried out banning someone and then unbanning them and everything is working fine. Quote:
That's strange, if they are still banned it should be showing up... And concerning your idea: I actually already thought about adding something like that. I actually plan to as well, I hope I'll have the time to make an update to this soon since there are also other things the hack needs (using phrases and templates for example...). |
That's great idea Thank You Man
|
Nice Mod Installed :D
|
This Mod is full of bugs.
Users which got banned through the Warningsystem are not shown. Also Users which got removed from Ban list still get shown the Ban Info. Deinstalled. |
ya this hack is in major need of an update, i would suggest seting it in the admincp to defined user groups, like if usergroup 15 then it shows up, let there be an option or something
is good hack tho |
tested on vb 3.6.4 work like a charm :)
|
All times are GMT. The time now is 05:32 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:
|