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.
OK, thats it. If somebody is interested of the code please send me an email or pm.
Andreas
08/10/2009 19:24:27
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
1 - Spamwords is dealt by the bad words list in admin
2 - If you mean the ability to make new posts require moderating then this is something I added to Lazarus which is a fork of Advanced Guestbook.
Carbonize I am not the maker of the Advanced Guestbook
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.
08/10/2009 20:36:52
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
I'm not suggesting you do switch to Lazarus (even though it's pretty much identical to AG being that is is AG but rewritten) I was just indicating I had added it already for those that do not want to modify their AG.
Carbonize I am not the maker of the Advanced Guestbook
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.