• [MOD] Ban v1.7 3 0 5 1
Currently:  

Author Topic: [MOD] Ban v1.7  (Read 359156 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Ban v1.7
« Reply #180 on: July 11, 2006, 03:32:31 PM »
and on line 109 in page_header.php is....
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline radbe

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: [MOD] Ban v1.7
« Reply #181 on: July 12, 2006, 02:59:00 PM »
I get error message when try to do test from interface
Fatal error: Call to a member function on a non-object in /xxxxxx/yyyyy/home/zzzzzzz/my-gallery.whatever.com/Badd/includes/page_header.php on line 33


this is my line 33 in page_header.php
$site_template->cache_templates($template_list);


Any Ideas?
by the way I use version 1.7 for 4images w/ ban 1.7


Offline idijotaz

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • CLON Entertainment
Re: [MOD] Ban v1.7
« Reply #182 on: July 17, 2006, 11:45:43 AM »
V@no,  here my page_header.php file... can you look whats bad? becouse i dont have program to see what line is it  :roll:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Ban v1.7
« Reply #183 on: July 17, 2006, 03:07:03 PM »
Its not the file that is on your server, is it? cause that line is commented out, it should NOT be parsed by PHP at all...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline idijotaz

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • CLON Entertainment
Re: [MOD] Ban v1.7
« Reply #184 on: July 17, 2006, 03:19:06 PM »
damn... with server i think everything ok... maybe in some file mistake... anyway... ban works only dont show that html... nevermind :)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Ban v1.7
« Reply #185 on: August 22, 2006, 05:50:47 AM »
would this work with 1.7.3

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Ban v1.7
« Reply #186 on: August 22, 2006, 11:47:09 PM »
Hi i did it exactlly as it said but when i run the installer it says MOD Ban    (by V@no)
 
Sorry, can not continue, you missed some steps of the installation. please help

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Ban v1.7
« Reply #187 on: August 23, 2006, 12:32:55 AM »
Forgot step 2?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Ban v1.7
« Reply #188 on: August 23, 2006, 12:53:51 AM »
Sorry abt that v@no u were rite I am sorry to disturb u but yea it works now thanks a lot :X and the mod is superb u r just too good @ what u do :X

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Ban v1.7
« Reply #189 on: August 23, 2006, 01:23:35 AM »
V@no just a quick question that logs on this mod does that record every ip which comes and view the site or its something else and if its not that is it possible that the ban mod logs everyip which comes to site

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Ban v1.7
« Reply #190 on: August 23, 2006, 01:29:25 AM »
No, it doesnt log every IP, it only logs the banned visitors, so you could trace what they were trying to access and when.
If you need log every IP, then you can find bunch of other tools on google that can do it for you. i.e. pphlogger
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Ban v1.7
« Reply #191 on: August 23, 2006, 01:35:20 AM »
is it possible that pphlogger can get integreate with 4images so we can control it from ACP

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Ban v1.7
« Reply #192 on: August 23, 2006, 02:04:43 AM »
yes, there is a mod for it.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Ban v1.7
« Reply #193 on: August 23, 2006, 02:08:52 AM »
Thanks i found the mod i will give it a try
« Last Edit: August 23, 2006, 03:46:38 AM by __G__ »

Offline ThanhPhuoc

  • Pre-Newbie
  • Posts: 5
    • View Profile
    • WebAmNhac.com - Online Music
Re: [MOD] Ban v1.7
« Reply #194 on: September 12, 2006, 04:47:56 AM »
---------- [ F.A.Q. ] --------------

Q: Why when I ban someone, they see the ban message only first time they open the page, after refresh the ban doesnt work anymore?
A: This is a recent discover and its probably because your server has magic_quotes_gpc is turned on (check in phpinfo()).
To fix that, uncomment this line from includes/functions.php:
//  $ban_banned = stripslashes($ban_banned); //uncomment this line if magic_quotes_gpc is turned on on your server
Since v1.6.1 added auto check if magic_quotes_gpc is enabled
Why do I get same error? My magic_quotes_gpc is off.