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

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

0 Members and 1 Guest are viewing this topic.

Offline Nova

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • 4images Templates by Nova
Re: [MOD] Ban v1.6
« Reply #90 on: June 04, 2005, 12:34:53 AM »
Great Mod V@no! Works like a charm!

You also have fantastic English langauge skills, but remember, it is "says", not "sais".  :wink:

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 #91 on: June 04, 2005, 01:01:38 AM »
You also have fantastic English langauge skills, but remember, it is "says", not "sais". :wink:
thank you for the correction, I appretiate it ;)
The problem on the internet chats that no one corrects u, u can spell words as u wish, just enough for people understand u...and most of the time nobody say a word about your spelling...:(
thanks again :)
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 martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Ban v1.6.1
« Reply #92 on: June 05, 2005, 02:15:34 PM »
The problem on the internet chats that no one corrects u, u can spell words as u wish, just enough for people understand u...and most of the time nobody say a word about your spelling...:(
this sounds like an encouragement to start annoying about any little mistake...  :twisted: hehehe

would you really like to be corrected anytime you make a mistake?
MAяTRIX


Offline Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [MOD] Ban v1.6.1
« Reply #93 on: July 08, 2005, 08:30:48 PM »
Hi ..
I just installed this mod. I went through installation without any error or warning message. BUT I m having some problem with it.

Foot IP Ban ---- > It really works fine. No problem at all.
For E-Mail ---- > It doesn’t work
For Username --- > It doesn’t work
For User id    --- > It gives error message (Please enter a user ID) Even when I enter a valid ID

Ok. Here is a little explanation.

I test it by banning my own IP. And an IP of my friend.  And it works fine.

Then I ban my test account "Fastian" (using user name option)
Then I add e-mail belongs to the same user name.  (E-mail option)

I Log out myself. Delete all Cookies. And tried login by "Fastian" ... No error message and no problem. I was able to login and download files.

When I try banning "Fastian" By the option "User ID”......... It simply says "Please enter a user ID"
Looks like the field is not working or its not taking any input.

I tried using all the steps again. But same result. SO I thought its time to ask for some Help :) 
I m not a  Programmer.
          But
I m a Good Learner.

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.1
« Reply #94 on: July 09, 2005, 12:06:43 AM »
make sure your "Fastian" account is not admin ;)
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 Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [MOD] Ban v1.6.1
« Reply #95 on: July 09, 2005, 02:27:57 AM »
Yes, I m 100% sure. "Fastian" is just a normal user account.

Here what I did today. I added an account "test" through "Add User" as "Registered"
I went to Ban option. Tried banning by "User ID"  got an error message saying "Please enter a user ID” Although I have entered "test"

Banned user by name & by e-mail. But again it didn’t work.

One more thing. What’s the difference b/w "User ID" & "Name"

My Website is not made public yet. Presently I m just installing MOD’s and updating it. Can I PM u the URL if u want to check?
I m not a  Programmer.
          But
I m a Good Learner.

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.1
« Reply #96 on: July 09, 2005, 05:11:17 AM »
User id is...is...user id...:?

User's information is asigned to their user id, and username is used for login in and displaying.

user id represented by a number, name, on other hand can be a anything.

P.S. if u wish so, u can PM me with the url.
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 Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [MOD] Ban v1.6.1
« Reply #97 on: July 09, 2005, 08:01:14 AM »
Oopss ...So  Sorry    :oops:

Stupid me, i just didn't get the idea of "User ID"

Sorry again

Just send u th PM  with picture and link
I m not a  Programmer.
          But
I m a Good Learner.

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.1
« Reply #98 on: July 09, 2005, 05:12:22 PM »
ok, I think u found a bug :?
try redo Step 3.

Since I have no way to test it (I couldnt reporoduce it on my server), u are the only one who can tell ;)


Just in case u are curious the reason of this happening, is because this mod using sessions to "cache" the resultat of the last ban check (this was done to minimize server load). So, when a visitor visit your gallery, a sessionid asigned to them, and ban being checked and the result being saved in the session. Then when they login in, 4images is still using the onl session (this is wierd, because it does change on my server), and the ban check is using the cached results of the previous check, which is clean...
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 Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [MOD] Ban v1.6.2
« Reply #99 on: July 09, 2005, 06:19:00 PM »
It Works ... It Works ..  :D

Thanks Vano

Does this anything to do with "Friendly URL Mod" ? I think that was the only Mod i applied that does something with sessions id.

If the previous one minimize server load, It will be a good idea to mark this change separately. Coz I think that was working for most of the people.
Anyways, Its working for me like a charm. Thankx Vano
I m not a  Programmer.
          But
I m a Good Learner.

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] Ban v1.6.2
« Reply #100 on: October 26, 2005, 09:46:11 PM »
I´m right that I must disable the chache-function?

V@no:
Quote
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)

Project offline

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.2
« Reply #101 on: October 26, 2005, 11:53:22 PM »
"must"? no, unless something is wrong.
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 Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] Ban v1.6.2
« Reply #102 on: October 26, 2005, 11:56:16 PM »
Okay, I´ll try it! This MOD must work, because someone is spaming in my comments  :cry:

Thanks for your answer!

Project offline

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.2
« Reply #103 on: October 27, 2005, 12:02:20 AM »
Just to clarify. The cache feature mentioned is not the 4images v1.7.x build-in cache feature, its specific cache for this mod only ;)
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 Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD] Ban v1.6.2
« Reply #104 on: October 27, 2005, 12:42:12 AM »
I´ve got a question to IP-Range:

These are the IP´s where I get spam:

200.21.201.250
203.131.191.204
204.174.23.11

What´s the best way for blocking?

Project offline