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

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

0 Members and 1 Guest are viewing this topic.

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [MOD] Ban v1.2
« Reply #15 on: March 29, 2005, 12:10:54 AM »
hi V@no I just download the files again and it works. ;) but the whosonline is too slow

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.2
« Reply #16 on: March 29, 2005, 03:00:54 AM »
but the whosonline is too slow
yes, I added little FAQ at the original post, it explained why ;)
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 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.4
« Reply #17 on: March 29, 2005, 03:49:37 AM »
v1.3
Added new filter "not active" which will show/hide not active ban entries (date is still in the future)
and also now end date can not be lower then the start date.
v1.4
added sort by "value"

To upgrade redownload the package and replace ban.php
and redo Step 5

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 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.4.1
« Reply #18 on: March 29, 2005, 05:07:03 AM »
fixed a bug that would not ban visitor if it matched multiple ban entries and first entry was expired or not active.

Redo Step 3
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 om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Ban v1.4.1
« Reply #19 on: March 29, 2005, 05:50:13 AM »
fixed a bug that would not ban visitor if it matched multiple ban entries and first entry was expired or not active.

Redo Step 3

stay that identical look like before 1.4.1
second entry is not baned

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.4.1
« Reply #20 on: March 29, 2005, 06:42:47 AM »
stay that identical look like before 1.4.1
second entry is not baned
sorry I dont understand...
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 om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Ban v1.4.1
« Reply #21 on: March 29, 2005, 06:53:25 AM »
stay that identical look like before 1.4.1
second entry is not baned
sorry I dont understand...

I tried to change it the way you said for 1.4.1 (Redo Step 3). but nothing changed, when I reloaded, I was not ban.

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.4.1
« Reply #22 on: March 29, 2005, 06:54:40 AM »
make sure u read the FAQ I added to the original post.
also, what steps did u do to test 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 om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Ban v1.4.1
« Reply #23 on: March 29, 2005, 07:04:55 AM »
make sure u read the FAQ I added to the original post.
also, what steps did u do to test it?

I did read FAQ, I tested it with friend of mine (I ban his IP and when he went to the site and refreshed he got in)

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.4.2
« Reply #24 on: March 29, 2005, 07:14:47 AM »
it could happend if your friend is behind a proxy or some proxy-based ISP (such as AOL) which use different IP for each page requests...try ban him by partial IP or partial hostname.
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 om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: [MOD] Ban v1.4.2
« Reply #25 on: March 29, 2005, 07:46:25 AM »
it could happend if your friend is behind a proxy or some proxy-based ISP (such as AOL) which use different IP for each page requests...try ban him by partial IP or partial hostname.

I trieded it again with 2 diferen people (both have static IP shaw.ca, telecom.sk) and the same happend (banned at first and after refresh they get in)

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.4.3
« Reply #26 on: March 29, 2005, 08:21:55 AM »
1) why didnt u mention that they get banned first time they visit!
2) what 4images version?
are u sure that sessions on your 4images are working fine?
this mod is using 4images sessions to "cache" the results (to avoid extra server load).

u can try disable "caching" feature by replacing $force = false; with $force = true; in includes/functions.php (require Ban v1.5 or above)
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 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.5
« Reply #27 on: March 29, 2005, 08:27:12 AM »
Added two new features:
- Copy already existing ban's values into new ban form
- a test feature for admins.

To update redo Step 3 and Step 5 and replace ban.php
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 blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
Re: [MOD] Ban v1.5
« Reply #28 on: April 01, 2005, 01:43:19 AM »
Wow, I love your mod! I just added it to my 1.7.1 gallery and it works like a charm. Great job!  :D

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.6
« Reply #29 on: April 01, 2005, 10:32:33 PM »
- added support for [MOD] Country flags (based on IP) in whos online in ACP it should automaticaly detect presence of needed files and uses them
- added "reason" of the ban field on the logs page
- fixed a bug on test page that would not "ban" by hostname
- improved test feature, now it generates random number between specifyed range (if range used) in the IP or random string if wildcard (*) used in any other types.

To upgrade redo Step 3 and replace ban.php with the new one.
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)