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.
Proximer
Registered User
Posts: 18
Joined: Mon Feb 22, 2010 7:25 am

Re: Ban List Mod

Post by Proximer »

Thanks for a quick reply!
As i understood (my english is not so good), You said that there may be left files. Yes?

Included Files
root/ban_list.php,
root/includes/ban_list.php,
root/includes/constants_ban_list.php,
root/styles/prosilver/template/ban_list_body.html,
root/language/en/mods/ban_list.php,
root/db_update.php

If You are talking about the files above, i checked them again - they were deleted from the server. Or i just misunderstood Your post.

I'm thankfull for Your help.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

No, I meant the edits to the core phpBB files are still there. Check the install xml file from the mod download to ensure that the edits to your files have been removed.

I hope that was clearer.
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
Proximer
Registered User
Posts: 18
Joined: Mon Feb 22, 2010 7:25 am

Re: Ban List Mod

Post by Proximer »

RMcGirr83,
Now i understood what You meant - thanks for clarifieng. I double checked the edited files during the instalation and the newly uploaded files during the instalation. Everything seems to be the same, as before the installation. Ill check the third one time. One ting - the install_mod.xls says that i should run the db_update.php first and only then i should copy the modified files to the server. I've done this step in reverse - firstly i've uploaded the altered files and only then i ran the update.php (maybe this messed up something). Are You sure the db_update.php hasnothing to do about this error?

Just in case my uninstallation process:

I've searched for the newly copied files of this mod in the server and deleted them. After this i copied the backuped file from my hdd back to the server. Then i tryed to refresh the template and the error showed up.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

Proximer wrote:Are You sure the db_update.php hasnothing to do about this error?
I am absolutely positive. ;)

The error is saying that it can't find the html file which makes sense as you say you have deleted all the files from your server, but, I can't understand how you are getting that error as that html file is only called from browsing to the ban_list.php file and you state you have refreshed the template in the ACP.

Code: Select all

$template->set_filenames(array(
	'body' => 'ban_list_body.html'
));
So I don't think the mod has been completely removed or your cache hasn't cleared. You can try removing all files except for .htaccess and index.htm from the cache folder (which will regenerate the template files).

If this then fixes the issue, then double check via FTP the permissions on the cache folder because refreshing the template should have done the same thing (the permissions should be set to 777 on the cache folder).
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
Proximer
Registered User
Posts: 18
Joined: Mon Feb 22, 2010 7:25 am

Re: Ban List Mod

Post by Proximer »

Thanks for the tips... I've triple checked for the left codein the edited files. I've triplechecked for the left files on the server. I've deleted the cache folder (except those two files You mentioned). But non of these steps helped. I'm getting confused - don't know what to do next... :? And i'm starting to have a headache allready (it's 12 A.M. in my country)... :)
RMcGirr83, it would be nice if You could help me get through this somehow, cause i don't know where else i could find help... :) I hope You'll get some kind of ideas. 'I'm going to bed allready - will be following this thread from early morning next day.

Thanks a lot and good night for now.

P.S. Sorry for my english.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

Please send to me FTP access to your site via PM and I will uninstall the mod for you.
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
Joe_Joe
Registered User
Posts: 52
Joined: Sun Apr 26, 2009 8:16 pm

Re: Ban List Mod

Post by Joe_Joe »

One down and one to go. Your ban list.

This is what I get when I run db_install.php from anywhere. logged in or not.
" You are not authorised to access this area."

I see it in board features, I can set it. Where would it be, where would I look for the list. These things have a way of disappearing.

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

Re: Ban List Mod

Post by RMcGirr83 »

Joe_joe,

What is the link to your forum and what are the settings you have for your cookies in the ACP?
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
Joe_Joe
Registered User
Posts: 52
Joined: Sun Apr 26, 2009 8:16 pm

Re: Ban List Mod

Post by Joe_Joe »

RMcGirr83 wrote:Joe_joe,

What is the link to your forum and what are the settings you have for your cookies in the ACP?
As I've said before I have an adult site, Adult not porn. It's maintained as a very private site so please forgive me but I won't post it.

The cookies. What do cookies set at when you install phpBB?

I'm set as Site-Admin on the site with full permission I think. (But that's an other bad joke in phpBB) I'm never sure if the permission is correct.

Sorry I didn't intend turning this into a rant.

I tried to run db_install.php, so did my partner, so did my Mod. we all get the same message.

Do I need that. is there a way of doing an "Alter whatever?"

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

Re: Ban List Mod

Post by RMcGirr83 »

Okay, I understand...use this as an example.

if your forum is located at, eg

http://www.xxx.com/forum

then you would want your cookie settings in the ACP to be

Cookie Domain: .xxx.com

If you are going to change it then make sure you change the cookie name as well (just change a letter or whatever in the name).

Now, saying that to run the updater without getting that error, open the db_update.php file

FIND

Code: Select all

// check the authorizations
// admins or founders only
if (!$auth->acl_get('a_') || $user->data['user_type'] != USER_FOUNDER)
{
	trigger_error($user->lang['NOT_AUTHORISED']);
}
and remove it. Upload the file and try again.
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
Joe_Joe
Registered User
Posts: 52
Joined: Sun Apr 26, 2009 8:16 pm

Re: Ban List Mod

Post by Joe_Joe »

RMcGirr83 wrote:Okay, I understand...use this as an example.

if your forum is located at, eg

http://www.xxx.com/forum

then you would want your cookie settings in the ACP to be

Cookie Domain: .xxx.com

If you are going to change it then make sure you change the cookie name as well (just change a letter or whatever in the name).

Now, saying that to run the updater without getting that error, open the db_update.php file

FIND

Code: Select all

// check the authorizations
// admins or founders only
if (!$auth->acl_get('a_') || $user->data['user_type'] != USER_FOUNDER)
{
	trigger_error($user->lang['NOT_AUTHORISED']);
}
and remove it. Upload the file and try again.
Thank you, I'll give that a try.
JJ
Joe_Joe
Registered User
Posts: 52
Joined: Sun Apr 26, 2009 8:16 pm

Re: Ban List Mod

Post by Joe_Joe »

Thank you. That worked.

New Question. Where is it? Where do I find the ban list after setting it to "Mod - Admin "

That may sound stupid but this is not the first time things have gone "poof" never to have been seen again.

Thank you for your time.
JJ
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

If you have banned users a link will display as per this post

http://www.phpbb.com/community/viewtopi ... 5#p7194935
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
Chris Sabion
Registered User
Posts: 16
Joined: Tue Apr 14, 2009 11:20 am
Location: Dortmund, Germany
Contact:

Re: Ban List Mod

Post by Chris Sabion »

Hello,

wonderful mod, Version 1.0.3 worked fine for me, but i wanted it to show me the banners name, too, so i installed the newest release.

My problem: After the update, the link to the banlist is not there anymore.

Do i:

ran the db_update.php: yes
delete the db_update.php afterwards: yes
purge the cache: yes
refresh the template: yes
have a banned user in my forum: yes
have access to the ban_list.php manually: yes

Image
Image


I do not hope that i have done something elementary wrong, so if you could spare a few thoughts on this, i would be reaaly grateful ;)

Regards,

Chris Sabion


Forum: http://www.kingdoom.de
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Ban List Mod

Post by RMcGirr83 »

Check your edits to includes/functions.php as that is where the link gets generated.
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”