Page 15 of 18

Re: Ban List Mod

Posted: Mon Nov 23, 2009 7:50 pm
by Neuropass
man i don't have it. what should i do?

Re: Ban List Mod

Posted: Mon Nov 23, 2009 7:55 pm
by RMcGirr83
Double check the edits to the files involved.

Re: Ban List Mod

Posted: Tue Nov 24, 2009 12:10 am
by Neuropass
apparently i had to edit the all files... this is weird though. i think i had a previous version installed but i was sure i did the update. anyway i got an error when i ran the database query.

is it normal? (because i ran it already)

Code: Select all

Some queries failed, the statements and errors are listing below.

SQL: ALTER TABLE phpbb_banlist ADD ban_banner mediumint(8) unsigned NOT NULL default '0'Error: Duplicate column name 'ban_banner'

Re: Ban List Mod

Posted: Tue Nov 24, 2009 2:26 am
by RMcGirr83
Means the column is already there...you can ignore the error and delete the update file.

Re: Ban List Mod

Posted: Tue Nov 24, 2009 5:49 am
by Joshuaxiong1
Has anyone confirm this work for 3.0.6?

Re: Ban List Mod

Posted: Tue Nov 24, 2009 9:00 am
by gregdg1
ok RMcGirr83 i have a prob you fixed it and sent me a code to work with other mods that i have but i have ran into this i have 25 banned members but it will only show 20 it will not show page 2 of it it is stuck on page 1 can you help with this thx

gregdg1

Re: Ban List Mod

Posted: Wed Nov 25, 2009 12:41 pm
by CMA
yes it works perfectly on 3.06 and nice and fun mod...

anyway i would like to request two features...

- history of banned list...
- hide banned starter

is it possible?

Re: Ban List Mod

Posted: Wed Nov 25, 2009 2:38 pm
by RMcGirr83
CMA wrote:anyway i would like to request two features...

- history of banned list...
Not possible
- hide banned starter
Don't know what you are asking

Re: Ban List Mod

Posted: Wed Nov 25, 2009 2:44 pm
by DoYouSpeakWak
Joshuaxiong1 wrote:Has anyone confirm this work for 3.0.6?
Works fine for me.

Re: Ban List Mod

Posted: Wed Nov 25, 2009 8:32 pm
by CMA
darn it... i notice in phpmyadmin, that line is deleted... so maybe you can find script that stop delete them...


i would like to hide starter's name that who banned someone...

for example
Image

Re: Ban List Mod

Posted: Wed Nov 25, 2009 8:35 pm
by RMcGirr83
You want to hide it for everyone, or....?

Re: Ban List Mod

Posted: Wed Nov 25, 2009 9:56 pm
by CMA
yes i thought it would be best idea to avoid some issues... so everyone except mod/admin...

Re: Ban List Mod

Posted: Wed Nov 25, 2009 11:12 pm
by RMcGirr83
CMA wrote:yes i thought it would be best idea to avoid some issues... so everyone except mod/admin...
Try

OPEN

banlist.php

FIND

Code: Select all

// we gots us some results ?
BEFORE ADD

Code: Select all

// who can view who did the banning
$view_bannee = false;
if ($auth->acl_getf_global('m_') || $auth->acl_get('a_'))
{
	$view_bannee = true;
}
FIND

Code: Select all

if (!empty($row['user_id2']))
REPLACE WITH

Code: Select all

if (!empty($row['user_id2']) && $view_bannee)
..and that should do it.

Re: Ban List Mod

Posted: Thu Nov 26, 2009 12:35 am
by CMA
"You are not authorised to access this area."

nice but i mean just hide name of whom banned for everyone except admin and mods...

Re: Ban List Mod

Posted: Thu Nov 26, 2009 2:30 am
by RMcGirr83
That is exactly what those edits do. You need to double check your edits to that file.