Raised This Month: $32 Target: $400
 8% 

Server Guestbook


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Emp` (115)
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 08-23-2006 , 19:10   Server Guestbook
Reply With Quote #1

Server Guestbook
By Mattias "Doombringer" Eriksson

About:
This adds a simple guestbook to your server. It's saved in configs as guestbook.htm(can be changed)

Commands:
gb_write <comment> - write's to guestbook
say /guestbook - Shows the guestbook

Cvars:
GB_enabled(Def: 1) - 0: Plugin is disabled, 1: Plugin is enabled.
GB_waittime(Def: 60) - the time a user have to wait before he can write in the GB again
GB_savepath(Def: "") - if empty: saves to configdir, else to specific path
GB_permission(Def: ADMIN_ALL) - The access a user has to have to write/see the guestbook
GB_filename(Def: guestbook.htm) - The name of the guestbook file[can be anything]
GB_adv_time(Def: 60) - Seconds before an advertising message is made

Notes:
  • I wrote this while i was really tired, there are probaly many bugs
  • First time i had to use so many defines
  • Haven't tested... yet
  • Put the config dir(GB_config.cfg) to configs

Screenshots
1

Changelog
Code:
  • 0.1 Released
  • 0.2 - Added comments to code
  • 0.3 - Some bugfixes(cant remember what they do :P)
  • 0.4 - Added a Searchable cvar
  • 0.5 - Added HTML to Counter-Strike!
  • 0.6 - fixed the HTML part, works perfect now! - changed the default format of the guestbook file to .htm
  • 0.7(pre-final) - new cvar: GB_waittime - this is the time a user have to wait before he can write again - new cvar: GB_savepath - this is were the guestbook file get's saved - new cvar: GB_permission -this is the access a user have to have to write/see the guestbook - new cvar: GB_filename - this is the name of the guestbook - new file: GB_config.cfg - config file(put it to config dir)
  • 0.7a(pre-final) - removed the gb_permission cvar, and replaced it whit a define(as seen in 0.6)
  • 0.7b(pre-final) - added an advertising function, use GB_adv_time to set the time
Because i'm not a HTML scriptkiddy, the HTML code is quite basic. If someone could make up a nice HTML code for me, it would be nice!
Attached Files
File Type: sma Get Plugin or Get Source (server_guestbook.sma - 2746 views - 6.6 KB)
File Type: cfg GB_config.cfg (378 Bytes, 1524 views)

Last edited by Deviance; 04-22-2007 at 18:11. Reason: New version
Deviance is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 08-23-2006 , 20:04   Re: Server Guestbook
Reply With Quote #2

internsted lol! ill check it out doom
k007 is offline
Send a message via MSN to k007
flintst0nes
Member
Join Date: Jul 2006
Location: Germany
Old 08-24-2006 , 00:45   Re: Server Guestbook
Reply With Quote #3

nice idea doombringer
__________________
my aPlugins | Show me the time (a clock and info plugin)

Please click +karma if I was helpful
flintst0nes is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 08-24-2006 , 04:06   Re: Server Guestbook
Reply With Quote #4

Nice idea, some screenshots?
Guenhwyvar is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 08-24-2006 , 05:17   Re: Server Guestbook
Reply With Quote #5

Quote:
Originally Posted by k007 View Post
internsted lol! ill check it out doom
cool thx!

Quote:
Originally Posted by flintst0nes View Post
nice idea doombringer
thank you

Quote:
Originally Posted by pl2003 View Post
Nice idea, some screenshots?
it's just showed in MOTD, not much to see
Deviance is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 08-24-2006 , 05:22   Re: Server Guestbook
Reply With Quote #6

Quote:
Originally Posted by Doombringer View Post
it's just showed in MOTD, not much to see
Iam asking if it's designed nicely or I would've to redesign it myself.
Guenhwyvar is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 08-24-2006 , 08:03   Re: Server Guestbook
Reply With Quote #7

Quote:
Originally Posted by pl2003 View Post
Iam asking if it's designed nicely or I would've to redesign it myself.
This is designed to work for all mod's, no HTML included
Deviance is offline
-=[DaW]=-
Senior Member
Join Date: Jun 2006
Location: Canada
Old 08-24-2006 , 08:53   Re: Server Guestbook
Reply With Quote #8

Nice Work + Karma
__________________
-=[DaW]=- is offline
Send a message via MSN to -=[DaW]=-
Old 08-27-2006, 10:32
Fr3ak0ut
This message has been deleted by Fr3ak0ut.
DA
Veteran Member
Join Date: Nov 2005
Location: Germany/Münster
Old 08-29-2006 , 14:11   Re: Server Guestbook
Reply With Quote #9

hmm nice. All my players use it for chat because the lines no delete +karma
__________________
DA is offline
voivod
Member
Join Date: Jun 2006
Location: poland
Old 09-07-2006 , 13:10   Re: Server Guestbook
Reply With Quote #10

great plugin, but somehow my server writes in this guestbook, look:
Quote:
On September 2006 - 17:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 19:, Half-Life wrote
<comment>

On September 2006 - 20:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 20:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 20:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 20:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 17:, Half-Life wrote
<comment>

On September 2006 - 17:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 17:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 17:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 18:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 18:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 18:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 18:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 18:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 18:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>

On September 2006 - 19:, POLAND-NOSTEAM voivod.hk.pl wrote
<comment>
pls fix this
__________________
my server and maps
-> http://voivod.hk.pl <-
voivod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode