Page 17 of 18

Re: Ban List Mod

Posted: Wed Feb 24, 2010 8:24 pm
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.

Re: Ban List Mod

Posted: Wed Feb 24, 2010 8:33 pm
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.

Re: Ban List Mod

Posted: Wed Feb 24, 2010 9:05 pm
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.

Re: Ban List Mod

Posted: Wed Feb 24, 2010 9:23 pm
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).

Re: Ban List Mod

Posted: Wed Feb 24, 2010 10:07 pm
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.

Re: Ban List Mod

Posted: Thu Feb 25, 2010 3:58 am
by RMcGirr83
Please send to me FTP access to your site via PM and I will uninstall the mod for you.

Re: Ban List Mod

Posted: Fri Mar 12, 2010 4:37 pm
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

Re: Ban List Mod

Posted: Fri Mar 12, 2010 5:09 pm
by RMcGirr83
Joe_joe,

What is the link to your forum and what are the settings you have for your cookies in the ACP?

Re: Ban List Mod

Posted: Fri Mar 12, 2010 5:50 pm
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

Re: Ban List Mod

Posted: Fri Mar 12, 2010 6:10 pm
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.

Re: Ban List Mod

Posted: Fri Mar 12, 2010 7:15 pm
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

Re: Ban List Mod

Posted: Fri Mar 12, 2010 10:20 pm
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

Re: Ban List Mod

Posted: Fri Mar 12, 2010 11:15 pm
by RMcGirr83
If you have banned users a link will display as per this post

http://www.phpbb.com/community/viewtopi ... 5#p7194935

Re: Ban List Mod

Posted: Thu Apr 08, 2010 8:52 am
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

Re: Ban List Mod

Posted: Thu Apr 08, 2010 11:03 am
by RMcGirr83
Check your edits to includes/functions.php as that is where the link gets generated.