Ban List Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
gregdg1
Registered User
Posts: 27
Joined: Sun Jun 29, 2008 5:03 am

Re: Ban List Mod

Post by gregdg1 »

thx for trying to help out but that did not work i know that this mod works and so does the other one but they just dont work together. sometimes you can have it all and sometimes you dont get what you want lol i just wanted you to know that did not fix it but thx for trying i have just uninstalled this one as i need the other one more thx again

greg
User avatar
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

gregdg1 wrote:thx for trying to help out but that did not work i know that this mod works and so does the other one but they just dont work together. sometimes you can have it all and sometimes you dont get what you want lol i just wanted you to know that did not fix it but thx for trying i have just uninstalled this one as i need the other one more thx again

greg
Okay I'll install the other one on my forum but it should have worked as I posted. I'll let you know via this topic one way or the other.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
gregdg1
Registered User
Posts: 27
Joined: Sun Jun 29, 2008 5:03 am

Re: Ban List Mod

Post by gregdg1 »

ok thx
User avatar
DoYouSpeakWak
Registered User
Posts: 2311
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: Ban List Mod

Post by DoYouSpeakWak »

Just got a pm from a mod. He is asking about making it easier to get the ip of the banned user. the two lists in acp doesnt really combine username and ip. You have to search two diffrent places.

so i was thinking if it was posible to add to this mod. "last ip user uses at time of ban" or even "Ip from latest topic/post at time of ban" some thing like that. I can imagen its not that simple since the two things are seperated. im not sure how ips get logged according to phpbb functions.

Wak
Whatever you share comes back. Support the phpBB Communities
Offering paid services. 15+ years of experience with phpBB3 and server management.
User avatar
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

gregdg1, please see the new code

DoYouSpeakWak, please try this

OPEN

ban_list.php

FIND

Code: Select all

// grab some naughty users
BEFORE ADD

Code: Select all

// show users last ip address..only for those authed to view it
$sql_select = '';
if ($auth->acl_get('a_'))
{
	$sql_select = ', u.user_ip';
}
FIND

Code: Select all

'SELECT'	=> 'b.*, u.user_id, u.username, u.username_clean, u.user_colour, u.user_warnings, u2.user_id as user_id2, u2.username as username2, u2.user_colour as user_colour2',
REPLACE WITH

Code: Select all

'SELECT'	=> 'b.*, u.user_id, u.username, u.username_clean, u.user_colour, u.user_warnings, u2.user_id as user_id2, u2.username as username2, u2.user_colour as user_colour2' . $sql_select,
FIND

Code: Select all

'USERNAME_FULL'			=> get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),
AFTER ADD

Code: Select all

			'USER_IP'				=> (!empty($row['user_ip'])) ? $row['user_ip'] : '',
OPEN

styles/xxx/template/ban_list_body.html

FIND

Code: Select all

{banlist_row.USERNAME_FULL}<br /><span>
IN LINE FIND

Code: Select all

<span>
IN LINE AFTER ADD

Code: Select all

<!-- IF banlist_row.USER_IP -->{L_IP} {banlist_row.USER_IP} <br /><!-- ENDIF -->
refresh the template and that will show the users IP as stored in the users table but only to those that have the auths to view IP addresses (namely any user that has admin permissions).
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
gregdg1
Registered User
Posts: 27
Joined: Sun Jun 29, 2008 5:03 am

Re: Ban List Mod

Post by gregdg1 »

RMcGirr83 dude you are the man it worked great thx for your hard work in making a fix for it. it even tells who did the lats warning and why they were band thx so much

greg
naushadhassam
Registered User
Posts: 506
Joined: Wed Aug 15, 2007 9:57 pm
Contact:

Re: Ban List Mod

Post by naushadhassam »

CAN A MOD DELETE THIS POST PLS

THANKS
Free Hosting - Here
Sports Entertainment Online ( A PS3 Online Gaming Community ) - Here
FREE UNLIMITED HOSTING FOR PHPBB MOD MAKERS - PM ME FOR MORE INFO ( MY WAY ON DONATING TO PHPBB )
vert5
Registered User
Posts: 8
Joined: Wed May 20, 2009 9:37 am

Re: Ban List Mod

Post by vert5 »

Hello , I have som problem with this mod.

Only when I am starting root/db_update.php , it doesn't work , and forum write that i have no premissions to acess this section, whats could be wrong please ?

Or can I create table in phpmyadmin manually instead of usig this db_update.php ?

Thanks. :)
User avatar
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

You have to have either board founder status or admin status to use the db_update.php file. Ensure that you are logged onto your forum prior to browsing to the db_update.php file.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18282
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Ban List Mod

Post by DavidIQ »

MOD Updated to version 1.0.10
See first post for Download Link
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Ban List Mod

Post by autinhyeu »

How to upgrade 1.0.9 to 1.0.10???
Thanks
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible
User avatar
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

autinhyeu wrote:How to upgrade 1.0.9 to 1.0.10???
Thanks
Unzip the download and overwrite your ban_list.php in the root of your forum with the new one.

Update fixes the issue with an improper count on the ban list page per this post
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
anthies
Registered User
Posts: 162
Joined: Sun May 17, 2009 10:40 am
Location: Finland, Klaukkala
Name: Janne
Contact:

Re: Ban List Mod

Post by anthies »

One question about this mod. Does this work on the Xtreme styles?
User avatar
Neuropass
Registered User
Posts: 1162
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: Ban List Mod

Post by Neuropass »

Is it possible to have the username of who eventually banned the user?
User avatar
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
Locked

Return to “[3.0.x] MOD Database Releases”