Start
Help
Forum
Addons
Projects
Welcome,
Guest
. Please
login
or
register
.
August 20, 2008, 05:03:57 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Website Baker 2.7.0 (stable) veröffentlicht!
Nähere Informationen findet ihr
hier
.
Das Diskussionsboard findet ihr
hier
.
60555
Posts in
9791
Topics by
5824
Members
Latest Member:
blubb
Website Baker Community Forum
English
Modules
Ban module
Pages:
[
1
]
2
Author
Topic: Ban module (Read 3328 times)
keijok
Pending Apprentice Baker
Offline
Posts: 17
Ban module
«
on:
August 01, 2006, 10: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 Team
A Baker's Baker
Offline
Posts: 4214
Re: Ban module
«
Reply #1 on:
August 01, 2006, 10: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
http://www.weitzel.biz
keijok
Pending Apprentice Baker
Offline
Posts: 17
Re: Ban module
«
Reply #2 on:
August 01, 2006, 11:16:54 AM »
Quote from: kweitzel on August 01, 2006, 10: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
Master Baker
Offline
Posts: 268
Re: Ban module
«
Reply #3 on:
August 01, 2006, 03:49:11 PM »
very nice looking module, great addition
Logged
http://www.markley.co.uk
new webhosting packages available at the cheapest prices around
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Ban module
«
Reply #4 on:
August 01, 2006, 08: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
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
keijok
Pending Apprentice Baker
Offline
Posts: 17
Re: Ban module
«
Reply #5 on:
August 02, 2006, 07:03:00 AM »
Quote from: ruebenwurzel on August 01, 2006, 08: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, 08: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, 08: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, 07:14:00 AM by keijok
»
Logged
tomhung
Master Baker
Offline
Posts: 354
Re: Ban module
«
Reply #6 on:
June 18, 2007, 11: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
Apprentice Baker
Offline
Posts: 79
Re: Ban module
«
Reply #7 on:
June 22, 2007, 11: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, 11:41:03 PM by leron
»
Logged
tomhung
Master Baker
Offline
Posts: 354
Re: Ban module
«
Reply #8 on:
June 26, 2007, 12:27:58 AM »
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
Apprentice Baker
Offline
Posts: 79
Re: Ban module
«
Reply #9 on:
June 26, 2007, 10: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
Master Baker
Offline
Posts: 354
Re: Ban module
«
Reply #10 on:
June 26, 2007, 08: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
Master Baker
Offline
Posts: 354
Re: Ban module
«
Reply #11 on:
June 26, 2007, 08:55:21 PM »
bugfix
Logged
leron
Apprentice Baker
Offline
Posts: 79
Re: Ban module
«
Reply #12 on:
June 27, 2007, 12:19:55 PM »
Quote from: tomhung on June 26, 2007, 08:55:21 PM
bugfix
thanks!
Logged
Bennie_wijs
Semi-Master Baker
Offline
Posts: 215
I believe what I want to Believe.
Re: Ban module
«
Reply #13 on:
July 25, 2007, 10: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
Master Baker
Offline
Posts: 354
Re: Ban module
«
Reply #14 on:
July 25, 2007, 04: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
Semi-Master Baker
Offline
Posts: 215
I believe what I want to Believe.
Re: Ban module
«
Reply #15 on:
July 26, 2007, 08: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
Pending Apprentice Baker
Offline
Posts: 6
Re: Ban module
«
Reply #16 on:
July 31, 2007, 08: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, 08: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
Pending Apprentice Baker
Offline
Posts: 25
Re: Ban module
«
Reply #17 on:
August 04, 2007, 03: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
Pending Apprentice Baker
Offline
Posts: 20
Re: Ban module
«
Reply #18 on:
September 24, 2007, 08: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
Semi-Master Baker
Offline
Posts: 215
I believe what I want to Believe.
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
Pages:
[
1
]
2
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
===> Security Announcements
=> Guest Area and Off-Topic
=> Website Showcase
-----------------------------
English
-----------------------------
=> Help/Support
===> Help/Support of WB2.7.x core
=> Website Baker Development
===> Website Baker 3
=> Documentation
=> Templates
=> Modules
===> Code Snippets
=> Languages
=> Archive
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
===> Templates, Module & Co.
===> Hilfe/Support von WB2.7.x core
=> Diskussion über WB
=> Off-Topic
=> Archiv
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Help / Support
===> WB Core
===> Templates, Modules & Languages
=> WB Discussie
=> Niet-Terzake (Off Topic)
-----------------------------
French
-----------------------------
=> Help/Support
-----------------------------
Italian
-----------------------------
=> Help/Support
Loading...