If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Hondo
Forum Index » Profile for Hondo » Messages posted by Hondo
Author Message
Hi,
yes Lazerus seems much better than ADVGuestbook especially the spam management. But at this project I use ADVGuestbook and my modifications also works. But for next projects I think I will try Lazerus.

Thanks
Hi,
as I know are words in bad words list only converted to something.
What I mean is that entries wich contains bad words are to cancel by system and not to save in table. I spend a lot of time every day to delete such spams. So I will spare me this time because spams are not at all saved.

2. Yes, moderate new entries. I don't want to use Lazerus, I use ADVGuestbook.
Hi,
I'm missing 2 things at ADVGuestbook:
1. Spamwords Managements
2. Administration of new Items

My quick and dirty solutions:
Spamword management:
Edit add.class.php at about line 224 in function add_entry():


Second Managing new Entries:
I added a new field called validate tinyint(2) with 0 as default value.
Then changed gb.class.php as follow:


And function get_entries in same file:


I Inserted 2 Buttons for release and delete:


And I Inserted the $Adminbuttons in template entry.
Also I make a connection to SMF Forum, and from there I get the value of $ISADMIN. For confirming and deleting Entries I create 2 php files wich contains the mysql connection and the queries.

Here is a screenshot of an entry as the admin sees:
http://www.mkportal-support.de/img/advguestbook.gif
You see the 2 icons over the entry.

OK, thats it. If somebody is interested of the code please send me an email or pm.

Andreas
 
Forum Index » Profile for Hondo » Messages posted by Hondo
Go to:   
Based on the open source JForum