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 » Sat Aug 15, 2009 7:21 pm

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
Recognised Extension Developer
Posts: 20365
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Ban List Mod

Post by RMcGirr83 » Sat Aug 15, 2009 8:44 pm

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.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

gregdg1
Registered User
Posts: 27
Joined: Sun Jun 29, 2008 5:03 am

Re: Ban List Mod

Post by gregdg1 » Sat Aug 15, 2009 10:31 pm

ok thx

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: Ban List Mod

Post by DoYouSpeakWak » Sun Aug 16, 2009 1:20 am

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
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20365
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Ban List Mod

Post by RMcGirr83 » Sun Aug 16, 2009 4:28 am

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).
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

gregdg1
Registered User
Posts: 27
Joined: Sun Jun 29, 2008 5:03 am

Re: Ban List Mod

Post by gregdg1 » Mon Aug 17, 2009 7:34 pm

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 » Sat Aug 22, 2009 10:10 pm

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 » Tue Aug 25, 2009 11:09 am

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
Recognised Extension Developer
Posts: 20365
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Ban List Mod

Post by RMcGirr83 » Tue Aug 25, 2009 11:34 am

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.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16469
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Ban List Mod

Post by DavidIQ » Thu Aug 27, 2009 3:56 am

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 » Thu Aug 27, 2009 6:11 am

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
Recognised Extension Developer
Posts: 20365
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Ban List Mod

Post by RMcGirr83 » Thu Aug 27, 2009 9:45 am

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
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
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 » Sat Oct 17, 2009 11:57 pm

One question about this mod. Does this work on the Xtreme styles?

User avatar
Neuropass
Registered User
Posts: 1154
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: Ban List Mod

Post by Neuropass » Mon Nov 23, 2009 6:33 pm

Is it possible to have the username of who eventually banned the user?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20365
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Ban List Mod

Post by RMcGirr83 » Mon Nov 23, 2009 7:27 pm

In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Locked

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

Who is online

Users browsing this forum: oBot, Yahoo [Bot] and 14 guests

cron