PDA

View Full Version : Miscellaneous Hacks - Banned Users List


Eric
11-16-2009, 10:00 PM
NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed.


What is this!?
This modification will allow you show a page containing all of your banned users. I suppose you could think of this as a public "Wall of Shame", per say. ;)


Check the screenshots to see exactly what is displayed.


Current Version
1.1.6


Features flagged for future version(s):

Looking for suggestions



Will this work on x.x.x ??
Unless otherwise stated, this will work on all 4.0 versions. If you would like to use the vB 3.x version, you can find it here (https://vborg.vbsupport.ru/showthread.php?t=211019).


Sounds cool. How do I install?

Upload everything inside the "upload" directory of the zip file to your forums.

banned.php => To your FORUM ROOT directory
functions_bannedusers_list.php => To your FORUM_ROOT/includes directory

Login to your Admin Control Panel and go to "Plugins & Products" -> "Manage products"

Click on "Add/Import product"
Browse for "product-bannedusers.xml" (included in the zip file), and click "Import"
If upgrading from an older version, then set "Allow Overwrite" to "Yes".

In your admin control panel go to vBulletin Options => Banned Users List

Edit the Usergroups that you do not want to show the banned members list to.

Optional: Only if the auto template injection does not work, as the template hooks were not found.

In the "navbar" template, find:

{vb:raw template_hook.navbar_quick_links_menu_pos3}

Below it, add:

<vb:if condition="$vboptions['bannedusers_enabled'] AND $vboptions['bannedusers_hidefrom'] AND !is_member_of($bbuserinfo, $vbptions['bannedusers_hidefrom'])"><li><a href="./banned.php{vb:raw session.sessionurl}">{vb:rawphrase bannedusers_text}</a></li></vb:if>





Upgrade

Login to your Admin Control Panel
Go to "Plugins & Products" -> "Manage products"
Click on "Add/Import product"
Browse for "product-bannedusers.xml" (included in the zip file)
Set "Allow Overwrite" to "Yes", and click "Import"
Upload and overwrite 'banned.php' and '/includes/functions_bannedusers_list.php'



Changelog
v1.1.6 - October 20th, 2013
-- Removed unnecessary text from template.

v1.1.5 - June 23rd, 2011
-- Added 'bannedusers_navbar' to the cache, it was previously uncached (props to Delphiprogrammi).
-- Added suggestion by Clamshells: allow the columns to be sorted ascending or descending.
-- Updated template HTML/CSS to hopefully fix the pagination display issue.
-- Updated to be compatible with vB 4.1.x, should be compatible back to 4.0.5

v1.1.4 - August 20th, 2010
-- Made changes to how the scripts checks which usergroups has access to the banned list
-- Corrected a pagination bug that added the wrong sort by value

v1.1.3 - August 11th, 2010
-- Updated template HTML for vB 4.0.5
-- Updates to style/css to use stylevar for border colors, improved link css for sorting
-- Some minor updates to banned.php

v1.1.2 - June 26th, 2010
-- Fixed sort links (props to Konkere for pointing out the bug)
-- Should now use stylevars from current style, instead of default colors.
-- Two templates were not being cached, should now be fixed.

v1.1.1 - November 20th, 2009
-- When querying for banned usergroups, added a check in banned.php to make sure we had groups to query with.
-- Should never happen, but added check to see if usergroupcache is empty, and rebuild if it is.
-- Added ability to sort by username, banned by, banned on, ban lift date (table columns are links)

v1.1.0 - November 17th, 2009
-- Update to be compatible with vB4.0

v1.0.1 - August 5th, 2009
-- Added: AdminCP option of usergroups that are not allowed to view the banned members list.
-- Added: Template edits can now be done automatically if enabled.

v1.0.0 - April 12th, 2009
-- Initial Release


NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed.

Eric
11-17-2009, 06:17 PM
reserved.

taffy056
11-17-2009, 06:26 PM
This looks so cool, I saw something like this on the big boards list sometime ago, tag it for future use :)

Eric
11-17-2009, 06:36 PM
:)

One thing about this, is that it uses tables - which is fine I suppose - but I based the css / table off of how vB 4 does the memberlist. It looks good, imho, but I'm just not a big fan of tables.

If you have any suggestions feel free to let me know :D

abdobasha2004
11-17-2009, 07:34 PM
nice :)
reserved

woffie
11-18-2009, 03:48 PM
It would be nice if there were a link in the banlist to "all IP's used by this member".

Marv
11-18-2009, 04:20 PM
Good job, but I´ll add 2 suggestions:
- what about an option to sort them by date instead of their usernames ? Guess that offers a better benefit for the admins out there.
- what about a searchbox for the banlist ?

garretbyrne
11-19-2009, 12:02 AM
Hi thanks for modding this.. I ran into a problem though while installing it...

----------------------
Database error in vBulletin 4.0.0 Beta 3:

Invalid SQL:

SELECT
userban.userid, adminid, bandate, liftdate, reason,
user.username as username,
admin.username as adminname, admin.displaygroupid as admindisplaygroupid, admin.usergroupid as adminusergroupid
FROM userban as userban
LEFT JOIN user as user ON(user.userid = userban.userid)
LEFT JOIN user as admin ON(admin.userid = userban.adminid)
WHERE user.usergroupid IN ()
ORDER BY bandate DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY bandate DESC' at line 8
Error Number : 1064
Request Date : Thursday, November 19th 2009 @ 01:59:38 AM
Error Date : Thursday, November 19th 2009 @ 01:59:38 AM
Script : http://forum.**************.org/banlist.php
Referrer :
IP Address : **.**.**.**
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.81-community
--------------------------

Any help you can provide would be really appreciated..

Regards
Garret

fta2k
11-19-2009, 12:24 AM
Installed and working fine.

Note to anyone like myself that didn't completely read the setting description:

If you put a 0 or leave blank on users who cannot see it, it will NOT work.

Eric
11-19-2009, 09:28 AM
It would be nice if there were a link in the banlist to "all IP's used by this member".

Good job, but I?ll add 2 suggestions:
- what about an option to sort them by date instead of their usernames ? Guess that offers a better benefit for the admins out there.
- what about a searchbox for the banlist ?
I'll look into adding these :)

Hi thanks for modding this.. I ran into a problem though while installing it...

----------------------
Database error in vBulletin 4.0.0 Beta 3:

Invalid SQL:

SELECT
userban.userid, adminid, bandate, liftdate, reason,
user.username as username,
admin.username as adminname, admin.displaygroupid as admindisplaygroupid, admin.usergroupid as adminusergroupid
FROM userban as userban
LEFT JOIN user as user ON(user.userid = userban.userid)
LEFT JOIN user as admin ON(admin.userid = userban.adminid)
WHERE user.usergroupid IN ()
ORDER BY bandate DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY bandate DESC' at line 8
Error Number : 1064
Request Date : Thursday, November 19th 2009 @ 01:59:38 AM
Error Date : Thursday, November 19th 2009 @ 01:59:38 AM
Script : http://forum.**************.org/banlist.php
Referrer :
IP Address : **.**.**.**
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.81-community
--------------------------

Any help you can provide would be really appreciated..

Regards
Garret

Installed and working fine.

Note to anyone like myself that didn't completely read the setting description:

If you put a 0 or leave blank on users who cannot see it, it will NOT work.

garretbyrne, you need to edit the mod's settings and include who can not see that list - which by default should be banned members themselves. I'll look into change how this works in the next version.

garretbyrne
11-19-2009, 05:02 PM
Hi I've looked into the settings and there all fine I've also tried to change settings but still makes no difference...

Delilahs
11-19-2009, 05:22 PM
Look in the 'quick links' on the navbar, when I installed it, it dropped it into there.

garretbyrne
11-19-2009, 06:03 PM
Look in the 'quick links' on the navbar, when I installed it, it dropped it into there.

Yea that sorted it turns out i was pointing it to the old one I had from 3.8, the link was in my sig.. now changed and working perfectly..

Cheers and sorry for that...

Eric
11-20-2009, 11:47 AM
Updated to 1.1.1:

v1.1.1 - November 20th, 2009
-- When querying for banned usergroups, added a check in banned.php to make sure we had groups to query with.
-- Should never happen, but added check to see if usergroupcache is empty, and rebuild if it is.
-- Added ability to sort by username, banned by, banned on, ban lift date (table columns are links)

SİMAR
11-20-2009, 12:27 PM
thanks

LuckyNeo
01-02-2010, 02:59 AM
Thank you, very much! This is usefull hack!

ndut
02-13-2010, 10:55 PM
installed..

Konkere
04-06-2010, 04:00 PM
Nice hack!
But sorting is not working correctly. Error in the template bannedusers.
Solution
Find in the template bannedusers

<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=username&amp;mode={vb:raw mode}">{vb:rawphrase username}</a></td>
<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedby&amp;mode={vb:raw mode}">{vb:rawphrase banned_by}</a></td>
<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedon&amp;mode={vb:raw mode}">{vb:rawphrase banned_on}</a></td>
<th class="blocksubhead">{vb:rawphrase ban_period}</td>
<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=banlift&amp;mode={vb:raw mode}">{vb:rawphrase ban_will_be_lifted_on}</a></td>

And replaced by

<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=username&amp;do={vb:raw mode}">{vb:rawphrase username}</a></td>
<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedby&amp;do={vb:raw mode}">{vb:rawphrase banned_by}</a></td>
<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedon&amp;do={vb:raw mode}">{vb:rawphrase banned_on}</a></td>
<th class="blocksubhead">{vb:rawphrase ban_period}</td>
<th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=banlift&amp;do={vb:raw mode}">{vb:rawphrase ban_will_be_lifted_on}</a></td>

SnapOff Racing
06-10-2010, 03:58 PM
how can i change the color of the background on the php? it looks real bad on my skin

Eric
06-27-2010, 01:52 AM
v1.1.2 - June 26th, 2010
-- Fixed sort links (props to Konkere for pointing out the bug)
-- Should now use stylevars from current style, instead of default colors.
-- Two templates were not being cached, should now be fixed.

Alien
07-03-2010, 12:22 AM
Here's another bug fix:

Since version 4.0.1, there has been an additional template variable call (to grab additional.css) in the HEAD.

Please add the following:

{vb:raw headinclude_bottom}

Before </head> in your template and you're all set.

Robbed
08-01-2010, 10:57 PM
If you're looking for features to add. an older banned list had ability to disable whatever column you want in the admincp.

example Banned by. I just manually did the template edits.

Eric
08-11-2010, 09:19 AM
v1.1.3 - August 11th, 2010
-- Updated template HTML for vB 4.0.5
-- Updates to style/css to use stylevar for border colors, improved link css for sorting
-- Some minor updates to banned.php

Eric
08-12-2010, 12:54 AM
Tested & working on vB4.0.6

Robbed
08-12-2010, 03:25 PM
Thanks

sulasno
08-14-2010, 08:30 AM
tagged and thanks

would be nice if I could select which usergroup to display;

I got a usergroup "miserable users"

TheSupportForum
08-18-2010, 07:40 PM
Developer: Request New Feature in Admincp

please make it possible to show this list in admincp, and shown is a link to unban them with a click of a button, this would then be a better MOD to use and more useful

tech4c
08-19-2010, 06:08 AM
nice
thanks

daveaite
08-19-2010, 07:48 AM
Looking for suggestion eh? A email list beside the username would be awesome. At one of my communities theirs imposters, this would solve that problem.

Eric
08-20-2010, 07:21 AM
tagged and thanks

would be nice if I could select which usergroup to display;

I got a usergroup "miserable users"
This mod will show all banned groups. So, as long as a usergroup is selected as a "Banned Group" in the Usergroup Manager, it should show on this list.

Developer: Request New Feature in Admincp

please make it possible to show this list in admincp, and shown is a link to unban them with a click of a button, this would then be a better MOD to use and more useful
Not what this mod is/was intended for. That is a default feature of vBulletin...

Looking for suggestion eh? A email list beside the username would be awesome. At one of my communities theirs imposters, this would solve that problem.
So... just show their email address? Maybe elaborate a little more, please? :)

miket1234
08-20-2010, 08:43 AM
I installed , but all the users have access to informations.
I tried to restrict them in AdminCP- Options-Ban.... but NO EFFECTS

Do you have the same problem guys? or is just me :D

miket1234
08-20-2010, 11:36 AM
i'm using vbulletin forum 4.0.5

Eric
08-20-2010, 05:24 PM
v1.1.4 - August 20th, 2010
-- Made changes to how the scripts checks which usergroups has access to the banned list
-- Corrected a pagination bug that added the wrong sort by value

abqtj
08-21-2010, 03:47 PM
Hi, I'm having trouble installing this. I uploaded the two files (banned in the root, then the other in the includes folder) and when I go to import the product, the window fills up with all of the "code" and does not refresh like other products do.

I get this:

Importing Product, Please Wait...

[:]

Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php
#0 /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array)
#1 /home/nmoffroa/public_html/forumvb/includes/adminfunctions_template.php(2863): vB_TemplateParser->validate(Array)
#2 /home/nmoffroa/public_html/forumvb/includes/adminfunctions_plugin.php(545): compile_template('{vb:stylevar ht...')
#3 /home/nmoffroa/public_html/forumvb/admincp/plugin.php(1714): install_product(' Show a page containing all of your banned users. 1.1.4 xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> {vb:raw headinclude} {vb:cssfile {vb:raw file}} {vb:cssfile {vb:raw includecss}} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}
{vb:raw pagetitle}


{vb:raw pagenav}
{vb:rawphrase banned_users}: {vb:raw viewing}, {vb:rawphrase usergroups}: {vb:raw groups}

{vb:raw bannedusers_bit}
{vb:rawphrase username} {vb:rawphrase banned_by} {vb:rawphrase banned_on} {vb:rawphrase ban_period} {vb:rawphrase ban_will_be_lifted_on} {vb:rawphrase ban_time_remaining} {vb:rawphrase ban_reason}

{vb:rawphrase bannedusers_viewtemp} ? {vb:rawphrase bannedusers_viewperm}
{vb:raw pagenav}
{vb:raw footer} ]]> {vb:raw baninfo.username} {vb:raw baninfo.bannedby} {vb:raw baninfo.bannedon} {vb:raw baninfo.banperiod} {vb:raw baninfo.banlift} {vb:raw baninfo.banremaining} {vb:raw baninfo.banreason} ]]> {vb:rawphrase bannedusers_noperm} ]]> {vb:rawphrase bannedusers_notemp} ]]>
{vb:rawphrase bannedusers_text}
]]> parse_templates options['bannedusers_enabled']) { if ( !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['bannedusers_hidefrom'])) AND $vbulletin->options['bannedusers_autotemplate'] ) { $template_hook['navbar_quick_links_menu_pos3'] .= vB_Template::create('bannedusers_navbar')->render(); } }]]>

Please seperate the usergroups you do not want to see the banned mebmers list by commas. Enter 0 or leave blank to disable (Not recommended).]]> Yes to enable Automatic Template edits for this hack. If you disable this, then you will need to manually edit the 'navbar' template as instructed in install.txt]]> boolean yesno 1 number 25 free 1,2,3,4 boolean yesno 1 ,[1] => 1)))),[code] => 256)) called at [(null):0] #1 trigger_error(Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php , 256) called at [/home/nmoffroa/public_html/forumvb/vb/vb.php:287] #2 vB::handleException(Exception Object ([] => Unable to find a class to validate: vB_TemplateParser_Curlycssfile,[] => ,[] => 0,[] => /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php,[] => 1083,[] => Array ([0] => Array ([file] => /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php,[line] => 1019,[function] => validate_curly,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => vB_CurlyNode Object ([type] => curly,[value] => cssfile,[attributes] => Array ([0] => vB_CurlyNode Object ([type] => curly,[value] => raw,[attributes] => Array ([0] => file),[] => )),[] => 20),[1] => Array ())),[1] => Array ([file] => /home/nmoffroa/public_html/forumvb/includes/adminfunctions_template.php,[line] => 2863,[function] => validate,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => Array ())),[2] => Array ([file] => /home/nmoffroa/public_html/forumvb/includes/adminfunctions_plugin.php,[line] => 545,[function] => compile_template,[args] => Array ([0] => {vb:stylevar htmldoctype} xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> {vb:raw headinclude} {vb:cssfile {vb:raw file}} {vb:cssfile {vb:raw includecss}} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}
{vb:raw pagetitle}


{vb:raw pagenav}
{vb:rawphrase banned_users}: {vb:raw viewing}, {vb:rawphrase usergroups}: {vb:raw groups}

{vb:raw bannedusers_bit}
{vb:rawphrase username} {vb:rawphrase banned_by} {vb:rawphrase banned_on} {vb:rawphrase ban_period} {vb:rawphrase ban_will_be_lifted_on} {vb:rawphrase ban_time_remaining} {vb:rawphrase ban_reason}

{vb:rawphrase bannedusers_viewtemp} ? {vb:rawphrase bannedusers_viewperm}
{vb:raw pagenav}
{vb:raw footer} )),[3] => Array ([file] => /home/nmoffroa/public_html/forumvb/admincp/plugin.php,[line] => 1714,[function] => install_product,[args] => Array ([0] => Show a page containing all of your banned users. 1.1.4 xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> {vb:raw headinclude} {vb:cssfile {vb:raw file}} {vb:cssfile {vb:raw includecss}} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}
{vb:raw pagetitle}


{vb:raw pagenav}
{vb:rawphrase banned_users}: {vb:raw viewing}, {vb:rawphrase usergroups}: {vb:raw groups}

{vb:raw bannedusers_bit}
{vb:rawphrase username} {vb:rawphrase banned_by} {vb:rawphrase banned_on} {vb:rawphrase ban_period} {vb:rawphrase ban_will_be_lifted_on} {vb:rawphrase ban_time_remaining} {vb:rawphrase ban_reason}

{vb:rawphrase bannedusers_viewtemp} ? {vb:rawphrase bannedusers_viewperm}
{vb:raw pagenav}
{vb:raw footer} ]]> {vb:raw baninfo.username} {vb:raw baninfo.bannedby} {vb:raw baninfo.bannedon} {vb:raw baninfo.banperiod} {vb:raw baninfo.banlift} {vb:raw baninfo.banremaining} {vb:raw baninfo.banreason} ]]> {vb:rawphrase bannedusers_noperm} ]]> {vb:rawphrase bannedusers_notemp} ]]>
{vb:rawphrase bannedusers_text}
]]> parse_templates options['bannedusers_enabled']) { if ( !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['bannedusers_hidefrom'])) AND $vbulletin->options['bannedusers_autotemplate'] ) { $template_hook['navbar_quick_links_menu_pos3'] .= vB_Template::create('bannedusers_navbar')->render(); } }]]>

Please seperate the usergroups you do not want to see the banned mebmers list by commas. Enter 0 or leave blank to disable (Not recommended).]]> Yes to enable Automatic Template edits for this hack. If you disable this, then you will need to manually edit the 'navbar' template as instructed in install.txt]]> boolean yesno 1 number 25 free 1,2,3,4 boolean yesno 1 ,[1] => 1))))) called at [(null):0]


I tried just navigating to the admin options and seeing if Banned User List was there, but it isn't. The product IS, however, in my list of products, just no way to configure the settings, etc.

I installed the latest version, btw.

Eric
08-21-2010, 03:51 PM
I just installed it on my local install, and on my dev board - it imported fine. What vBulletin version are you using?

abqtj
08-21-2010, 03:53 PM
4.0.3, Pl1

Eric
08-21-2010, 03:56 PM
Unfortunately I don't have a way to test it on 4.0.3 myself, but tested and updated w/4.0.5 - 4.0.6

abqtj
08-21-2010, 03:57 PM
I'll try an older version I suppose first...I need to update soon anyway :D

Delphiprogrammi
08-22-2010, 07:04 PM
hi,

there's an uncached template "bannedusers_navbar"


$cache[] = 'bannedusers_navbar';


hook "cache_templates"

miket1234
08-23-2010, 06:24 AM
v1.1.4 - August 20th, 2010
-- Made changes to how the scripts checks which usergroups has access to the banned list
-- Corrected a pagination bug that added the wrong sort by value

yes, now works fine
thanks

Alucard^
09-02-2010, 08:35 AM
Would be very cool if you can see Permanent and Temporary banned users in the same page.

Clamshells
09-02-2010, 11:28 PM
Installed.

Just a suggestion: allow the columns to be sorted ascending or descending.

Thanks!

Eric
09-10-2010, 10:31 PM
Installed.

Just a suggestion: allow the columns to be sorted ascending or descending.

Thanks!
Will try to work it into the next version =)

Would be very cool if you can see Permanent and Temporary banned users in the same page.
Hmm, I may make this an option.

hi,

there's an uncached template "bannedusers_navbar"


$cache[] = 'bannedusers_navbar';


hook "cache_templates"
Thanks, will fix this in the next version =)

Injustice
11-15-2010, 03:24 PM
Hello,

How can I edit the title to something different from "Banned Users: Permanent Ban, Usergroups: Banned Users"?

Robbed
11-15-2010, 08:43 PM
pagination issue, does the same thing on vb default skin?

http://img442.imageshack.us/img442/850/banbl.png

Eric
05-26-2011, 06:56 PM
It has been a while, my apologies Robbed. I will look into that issue, but no guarantees. I am admittedly not the best with CSS.

Eric
06-23-2011, 08:33 AM
v1.1.5 - June 23rd, 2011
-- Added 'bannedusers_navbar' to the cache, it was previously uncached (props to Delphiprogrammi).
-- Added suggestion by Clamshells: allow the columns to be sorted ascending or descending.
-- Updated template HTML/CSS to hopefully fix the pagination display issue.
-- Updated to be compatible with vB 4.1.x, should be compatible back to 4.0.5

Konkere
09-04-2011, 07:05 PM
v1.1.5 - June 23rd, 2011
-- Added 'bannedusers_navbar' to the cache, it was previously uncached (props to Delphiprogrammi).
-- Added suggestion by Clamshells: allow the columns to be sorted ascending or descending.
-- Updated template HTML/CSS to hopefully fix the pagination display issue.
-- Updated to be compatible with vB 4.1.x, should be compatible back to 4.0.5

Small bag:
Is not registered variable $lb_сolor in $templater = vB_Template::create('bannedusers');

Solution:

Open file: banned.php
Find:
$templater->register('alt2', $alt2);
And after that add:
$templater->register('lb_color', $lb_color);

MyPeSePe
10-09-2011, 05:18 PM
My footer does not work with this hack. Why?

mikez006
11-09-2011, 03:29 PM
A username search feature would be great for this or showing the "ban reason" in the profile. Out ban list has over 100 pages and it's takes too long to find the user on the list using only alphabetical search.

CAG CheechDogg
10-04-2013, 11:45 PM
Well I sent Eric a pm before I saw his notice in red to not contact him about his mods and I sent him the following:

Hey buddy, I was wondering what is the purpose of the characters (s x x ) found in the bannedusers template:

It is located right after the <body> tag and before the following....

I did not want to post this on the forums with all the hacking going around to avoid anyone thinking I am accusing you of something malicious.

I removed it from the template as it was showing (s x x ) at the top left corner of the body wrapper which is why I noticed it on my site...

Thank you for your time and hope to hear from you soon about this..

<body>
s x x
{vb:raw header}
{vb:raw navbar}

Can you guys please check to see if you guys have that in your bannedusers template and if you do I would recommend you guys remove it, I don't see the purpose of it when it shows outside of the wrapper....

Eric
10-20-2013, 03:18 AM
I'll be updating the mod shortly to remove the text. It is nothing malicious, but honestly I am not sure why it is there. It serves no purpose, and it is just plain text. Probably added by accident and I just never noticed it :)

Eric
10-20-2013, 03:23 AM
Updated:

v1.1.6 - October 20th, 2013
-- Removed unnecessary text from template.

CAG CheechDogg
10-20-2013, 05:03 AM
Updated:


v1.1.6 - October 20th, 2013
-- Removed unnecessary text from template.


Thanks a lot Eric, never meant to say it was anything malicious my Man so I hope I did not offend you , but with all the hacking going around the last couple of months I would rather let you know to give us piece of mind, know what I mean?

Once again thank you for updating us on this, I really appreciate it !

bashy
10-24-2013, 09:18 AM
Hi, i cannot find anything similar to the template edit in the navbar template for adding the link to the custom links menu :(

Barcham
03-13-2014, 10:56 PM
Same thing here. Anyone know what template we have to edit in 4.2.2?

Tallon
08-14-2014, 12:49 PM
Any ideas how to resolve this?

The following dependencies were not met:

This product is not compatible with version 4.0.2 of vBulletin. (Compatible starting with 4.0.5)

Marv
08-14-2014, 01:27 PM
You can try editing the dependencies in the xml-file and set them to 4.3 . But be aware, that this mod is intended to run on vb up to version 4.1.0 . So your result may vary.

Ravallojr
09-20-2014, 10:16 AM
Mind making a 4.2.2 version?

Alibass
09-20-2014, 10:27 AM
Mind making a 4.2.2 version?
This works fine on 4.2.2