Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 02:36:07 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
149621
Posts in
21098
Topics by
7537
Members
Latest Member:
lotte2
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Ban module
Pages: [
1
]
Go Down
Author
Topic: Ban module (Read 6645 times)
keijok
Offline
Posts: 17
Ban module
«
on:
August 01, 2006, 09:23:12 AM »
Hi,
I've made a small module that can be used to ban users from a web site.
For more info look here:
http://keijok.kapsi.fi/wb/pages/en/wb-modules/ban.php
Logged
kweitzel
Forum administrator
Offline
Posts: 6819
Re: Ban module
«
Reply #1 on:
August 01, 2006, 09:55:51 AM »
looks like a verry good idea ... and I like the fact, that it comes with documentation. If our modules team puts it up to the add-on repository, may we also copy it to the WB WIKI?
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
keijok
Offline
Posts: 17
Re: Ban module
«
Reply #2 on:
August 01, 2006, 10:16:54 AM »
Quote from: kweitzel on August 01, 2006, 09:55:51 AM
looks like a verry good idea ... and I like the fact, that it comes with documentation. If our modules team puts it up to the add-on repository, may we also copy it to the WB WIKI?
cheers
Klaus
I'm glad you like it
And yes, you can add the module to WB WIKI and/or to add-on repository if you wish.
Logged
wwwMARKLEYcouk
Offline
Posts: 288
Re: Ban module
«
Reply #3 on:
August 01, 2006, 02:49:11 PM »
very nice looking module, great addition
Logged
http://www.markley.co.uk
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: Ban module
«
Reply #4 on:
August 01, 2006, 07:00:29 PM »
Hello,
yes, this seems to be a nice modul. But why only use this for to ban ips and not expand it to a "editing htacess" with additional options for using more abylitis of the htacess file? Just a n idea.
If every modul developper would write a documentation like yours we have much less to do here. Fantastic, i love it.
Found only little issue in the ban-sql.php
Code:
$loc = '../../../wb/admin/settings/tool.php?tool=ban';
should better be replaced with something like this:
Code:
$loc = 'WB_URL/admin/settings/tool.php?tool=ban';
because not everone has instsalled wb in the directory "wb"
Thanks for your work
Matthias
Logged
keijok
Offline
Posts: 17
Re: Ban module
«
Reply #5 on:
August 02, 2006, 06:03:00 AM »
Quote from: ruebenwurzel on August 01, 2006, 07:00:29 PM
Hello,
yes, this seems to be a nice modul. But why only use this for to ban ips and not expand it to a "editing htacess" with additional options for using more abylitis of the htacess file? Just a n idea.
Yes, that is a good idea. But unfortunately I currently do not need this kind of functionality. However, I'll keep this in mind if I someday need to edit this module so I might expand it's functionalities. And if someone would like to expand my module to be such a .htaccess -editor, please feel free to use my module as an base where to start if found usable.
Quote from: ruebenwurzel on August 01, 2006, 07:00:29 PM
If every modul developper would write a documentation like yours we have much less to do here. Fantastic, i love it.
Well, I'm so loose headed myself that if I do not document everything I do, there's a good change I myself will forget how to use things I've made
BTW, is there any documentation available of how to actually make modules/tools? I wasn't able to find any...
Quote from: ruebenwurzel on August 01, 2006, 07:00:29 PM
Found only little issue in the ban-sql.php
Code:
$loc = '../../../wb/admin/settings/tool.php?tool=ban';
should better be replaced with something like this:
Code:
$loc = 'WB_URL/admin/settings/tool.php?tool=ban';
because not everone has instsalled wb in the directory "wb"
Thanks for your work
Matthias
For some strange reason I couldn't get the method you suggested to work. Tried in several ways but no go. However, I found an alternative way to do this, please find an updated module ZIP below (version 1.0.1).
Cheers, KeijoK
«
Last Edit: August 02, 2006, 06:14:00 AM by keijok
»
Logged
tomhung
Offline
Posts: 353
Re: Ban module
«
Reply #6 on:
June 18, 2007, 10:36:25 PM »
this reply is so i can find this damn code again....
ban 1.1 by rob
http://slink2.no-ip.info/pages/website-baker-info/module-mods/ban-module.php
Logged
leron
Offline
Posts: 79
Re: Ban module
«
Reply #7 on:
June 22, 2007, 10:29:39 PM »
I have a problem with this module
if I write in my guestbook
Grande
I'm banned !
87.X.1X.XX - Reason: Grande, Banned by: Auto-Added, 22/06/2007 23:48
but I have NOT banned this word!
But If i write
grande
( G -> g )
I CAN write!
also... I don't know how work the "server section" of the module... there is not a "server list"
«
Last Edit: June 22, 2007, 10:41:03 PM by leron
»
Logged
tomhung
Offline
Posts: 353
Re: Ban module
«
Reply #8 on:
June 25, 2007, 11:27:58 PM »
this module isn't very documented...
the server section allows you to sync your ban list with another server.
if you turn on Ban Data server then other sites can use your site as a server to get your banned ip's and words
as for Grande i'm looking into it
G
Logged
leron
Offline
Posts: 79
Re: Ban module
«
Reply #9 on:
June 26, 2007, 09:06:03 AM »
there is a problem with uppercase words
if I write
Grazie
I'm banned
but if I wrte
grazie
I'm not banned
thanks for your help
other words banned:
Tanti auguri
(banned)
tanti auguri
(not banned)
Logged
tomhung
Offline
Posts: 353
Re: Ban module
«
Reply #10 on:
June 26, 2007, 07:49:40 PM »
he is strtolower() the banned words and not your input so it breaks
/modules/ban/bancheck.php
line 17 should read
Code:
if(strtolower($bancheckvar)!=$bancheckvartest){
Logged
tomhung
Offline
Posts: 353
Re: Ban module
«
Reply #11 on:
June 26, 2007, 07:55:21 PM »
bugfix
Logged
leron
Offline
Posts: 79
Re: Ban module
«
Reply #12 on:
June 27, 2007, 11:19:55 AM »
Quote from: tomhung on June 26, 2007, 07:55:21 PM
bugfix
thanks!
Logged
Bennie_wijs
Offline
Posts: 230
Re: Ban module
«
Reply #13 on:
July 25, 2007, 09:39:19 AM »
I have installed ban 1.1.1 now but for some reason I cannot add a word to ban??
Logged
I believe what I want to Believe
tomhung
Offline
Posts: 353
Re: Ban module
«
Reply #14 on:
July 25, 2007, 03:53:56 PM »
you are going to have to give a little more details....
are you getting any kind of error? is the word in the database? is it just not banning the ip when you submit the word?
G
Logged
Bennie_wijs
Offline
Posts: 230
Re: Ban module
«
Reply #15 on:
July 26, 2007, 07:11:40 AM »
No, it does nothing. if I type in the word and press the add button, nothing happens.
Nothing in database at all.
entering IP's works but not words.
No errors at all, but also no results.
Logged
I believe what I want to Believe
smallglitch
Offline
Posts: 6
Re: Ban module
«
Reply #16 on:
July 31, 2007, 07:36:52 AM »
Hi,
my results are, the words appear in the list, are marked with the green hook but i can still write into the guestbook one or more of the banned words and nothing happens but the entry is done like nothing is banned at all...
any ideas?
TIA, glitch
edit 31-08-2007:
for a couple of days the module worked fine, but now I again get tons of SPAM, seems to me the spammers have found a worlaround to bypass the ban module, because most of the content is already in my ban word list, but no effect anymore...
I would be happy if someone could tell me where to check the SPAM if name and surname are the same (that's the case in my spam mails), could be a very simple check to rule them out.
TIA, glitch
«
Last Edit: August 31, 2007, 07:29:28 AM by smallglitch
»
Logged
"Lies mich Leser, wenn ich Dir Freude mache. Doch nur selten kehre ich zu dieser Welt zurück...." (Leonardo da Vinci)
vidi
Offline
Posts: 26
Re: Ban module
«
Reply #17 on:
August 04, 2007, 02:01:44 PM »
I have the same problem as smallglitch.
I'm running WB 2.6.7 and Guestbook 2.0RC2
My test server is running Windows 2003 with Apache, MySQL 5.0 and PHP 4.4.1
Logged
Bar
Offline
Posts: 20
Re: Ban module
«
Reply #18 on:
September 24, 2007, 07:32:44 AM »
Dear All,
I have install the module but there are some issues that not work. For example no ban words appeare in the list. Is there any update from the maker of this module?
Regards
Bar
Logged
Bennie_wijs
Offline
Posts: 230
Re: Ban module
«
Reply #19 on:
November 12, 2007, 09:32:28 AM »
Oke this is a solution for ban 1.1.1 and adding words to ban.
On line 83 it starts the form for word banning.
But on line 85 its creating a new form for "Page Section Settings"
And starting a new form inside a form does not work
you need to move 1 line in the tool.php
Line 83 need to move pas line 85
Line83:
Code:
<form name="ban_word" method="post" action="
<?php
echo
WB_URL
;
?>
/modules/ban/ban-sql.php">
Need to move past line 85
Line85:
Code:
<tr><td colspan=2> <b>
<?php
echo
$SMTEXT
[
'ban'
][
'sectionsetting'
];
?>
</b><br><form name=sectionsetting><input value="
<?php
echo
$SMTEXT
[
'ban'
][
'settings'
] ;
?>
" onclick="javascript: window.location ='
<?php
echo
WB_URL
;
?>
/modules/ban/tool_section.php'; return false;" style="width: 150px;" type="button"></form><hr></td></tr>
Than all works nicely for me.
Logged
I believe what I want to Believe
rtcerqueira
Offline
Posts: 4
Re: Ban module
«
Reply #20 on:
April 24, 2008, 06:01:13 PM »
Can someone post a link to the module. The original link is down.
Thanks,
Roberto Cerqueira
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...