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

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

0 Members and 1 Guest are viewing this topic.

Offline Leo64

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Ban v1.7
« Reply #270 on: October 10, 2010, 08:53:39 PM »
Hi!

Where is pack "ban v1.7.zip"?

This link from post March 28, 2005, 05:32:31 AM is bad.

Regards,
Leo64

Rembrandt

  • Guest
Re: [MOD] Ban v1.7
« Reply #271 on: October 10, 2010, 09:06:06 PM »
Welcome to the Forum!

the file is in the first post..

http://www.4homepages.de/forum/index.php?action=dlattach;topic=7066.0;attach=975

mfg Andi

Offline Leo64

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Ban v1.7
« Reply #272 on: October 10, 2010, 09:47:49 PM »
Hi!

I'm using a Firefox. This are'nt download.

Only Opera good downloading.

Thank you for !

Leo64

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: [MOD] Ban v1.7
« Reply #273 on: November 03, 2010, 12:45:03 PM »
I've one little question, which might sound stupid  :roll:

Can member somehow reactivate account if it's been deactivated by admins?

Offline tutton

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Ban v1.7
« Reply #274 on: January 04, 2011, 02:45:28 PM »
V@NO YOU RULE MY FRIEND  8)

Offline mseifer

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Ban v1.7
« Reply #275 on: January 10, 2011, 01:36:51 PM »
In the "Ban" show me something like this:

DB Error: Bad SQL Query: SELECT count (id) as num FROM BAN_TABLE WHERE (type = 0 OR type = BAN_IP BAN_HOSTNAME OR type = type = BAN_NAME OR OR OR BAN_EMAIL type = type = BAN_USERID) AND date <= 1294662712 OR date> 1294662712 OR (expire AND expire <= 1294662712)
Table 'm05571mu_1.BAN_TABLE'does not exist

DB Error: Bad SQL Query: SELECT * FROM BAN_TABLE WHERE (type = 0 OR type = BAN_IP BAN_HOSTNAME OR type = type = BAN_NAME OR OR OR BAN_EMAIL type = type = BAN_USERID) AND date <= 1294662712 OR date> 1294662712 OR (AND expire expire <= 1294662712) ORDER BY type asc LIMIT 0, 30
Table 'm05571mu_1.BAN_TABLE'does not exist

In the "Logs" in this modification show me:

DB Error: Bad SQL Query: SELECT count (id) as num FROM BAN_TABLE
Table 'm05571mu_1.BAN_TABLE'does not exist

DB Error: Bad SQL Query: SELECT b. *, l *, u.user_name, u.user_level FROM BAN_LOGS_TABLE BAN_TABLE l LEFT JOIN b ON (b.id = l.ban_id) LEFT JOIN 4images_users u ON (u.user_id = l.user_id) ORDER BY desc LIMIT 0 l.date, 30
Table 'm05571mu_1.BAN_LOGS_TABLE'does not exist

How do I fix this?

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 #276 on: January 10, 2011, 02:37:55 PM »
re-do Step 2 and/or 7.1
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 wassimo

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] Ban v1.7
« Reply #277 on: January 28, 2011, 04:52:06 PM »
it's amazing mood really  thanks V@no ~, but , how i can  show that , user denied to all users and guest who look on his profile ?
i mean same ban message appears to all not only user  ^-^   :P


other suggestion,  if user baned , none can comment on his  images o profile etc.... ^-^ is it possible  ?

Offline Peedy1703

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Ban v1.7
« Reply #278 on: May 26, 2011, 04:27:50 PM »
Sorry mein erstes Posting hier.

Ich hab alles schritt für schritt gemacht, aber nun hab ich mich wohl selbst ausgesperrt.
ich kann mich selber nicht mehr anmelden.

wie kann so was sein?

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: [MOD] Ban v1.7
« Reply #279 on: March 24, 2013, 08:35:05 PM »
I`m sorry but:

Quote
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

This solution was succesfully work for me, after fully uncomment  this line: $ban_banned = ($ban_banned) ? unserialize($ban_banned) : "";

Auto check is not work correctly

Offline exorotika

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Ban v1.7
« Reply #280 on: May 13, 2013, 11:06:00 PM »
Help please..
Installed everything duplicate times, read this entire forum.

DB Error: Bad SQL Query: CREATE TABLE 4images_ban (id mediumint(12) NOT NULL auto_increment, `type` tinyint(1) NOT NULL default '0', active tinyint(1) NOT NULL default '0', ip1_start tinyint(3) unsigned NOT NULL default '0', ip1_end tinyint(3) unsigned NOT NULL default '0', ip2_start tinyint(3) unsigned NOT NULL default '0', ip2_end tinyint(3) unsigned NOT NULL default '0', ip3_start tinyint(3) unsigned NOT NULL default '0', ip3_end tinyint(3) unsigned NOT NULL default '0', ip4_start tinyint(3) unsigned NOT NULL default '0', ip4_end tinyint(3) unsigned NOT NULL default '0', user_id mediumint(10) NOT NULL default '0', name varchar(255) NOT NULL default '', hostname tinytext NOT NULL, email tinytext NOT NULL, `date` int(11) NOT NULL default '0', expire int(11) NOT NULL default '0', message text NOT NULL, reason text NOT NULL, PRIMARY KEY (id), KEY active (active)) TYPE=MyISAM
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1

DB Error: Bad SQL Query: CREATE TABLE 4images_ban_logs ( id mediumint(10) NOT NULL auto_increment, `date` int(11) NOT NULL default '0', ban_id mediumint(12) NOT NULL default '0', user_id mediumint(8) NOT NULL default '0', ip tinytext NOT NULL, uri varchar(255) NOT NULL default '', PRIMARY KEY (id)) TYPE=MyISAM
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1

why do I keep getting that error?


Ok so I got the above situation solved, everything seems to be working but I tested it - doesn't work.
Even had two other people I know try it - it doesn't ban them..

what isn't it working?
« Last Edit: May 14, 2013, 04:03:41 AM by exorotika »