New guestbook module: Gbook

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

New guestbook module: Gbook

Post by Jos »

I'd like to announce that I just released a new guestbook module for CMS Made Simple: Gbook. Check http://dev.cmsmadesimple.org/projects/gbook or ModuleManager on your site admin.

Why another guestbook? Just because I wanted to :D

It includes multiple templates / smileys / bad words filter / spamfilter / admin notifications etc... At this point it doesn't include a captcha... I hate captchas >:D and I have confidence the spamfilter will do its job properly enough.
It also does a good job on multilingual sites made with the MleCMS module

If you want to know more about this guestbook module, go to the module wiki page: http://wiki.cmsms.nl/index.php/Gbook

And give me some feedback if you enjoy using it 8)
ceck
New Member
New Member
Posts: 1
Joined: Wed Feb 12, 2014 3:46 pm

Re: New guestbook module: Gbook

Post by ceck »

Hi Jos,

Thank you for your module.
I tried it on localhost and it works fine - except that I get Warnings just after having posted a message :

Code: Select all

( ! ) Notice: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes in D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php on line 92
Call Stack
#	Time	Memory	Function	Location
1	0,0018	855160	{main}( )	..\index.php:0
2	0,1446	15998608	Smarty_CMS->fetch( )	..\index.php:240
3	0,1447	16000024	Smarty_Internal_TemplateBase->fetch( )	..\class.Smarty_CMS.php:326
4	0,1454	16074616	content_52f9015554b052_27008222( )	..\smarty_internal_templatebase.php:182
5	0,2707	23621976	CMS_Content_Block::smarty_internal_fetch_contentblock( )	..\80842882a27ae59cf6219909d3b41240ec259d78.tpl_body.31.php:63
6	0,2708	23623616	Smarty_CMS->fetch( )	..\class.CMS_Content_Block.php:327
7	0,2709	23625112	Smarty_Internal_TemplateBase->fetch( )	..\class.Smarty_CMS.php:326
8	0,2716	23685128	content_52f8f5c226ccb8_36890992( )	..\smarty_internal_templatebase.php:182
9	0,2728	23830296	CMSModule::function_plugin( )	..\65content_en^62e936251e4799749e89fa9828a0ee7332eb5816.content.content_en.php:31
10	0,2728	23830760	cms_module_plugin( )	..\class.CMSModule.php:302
11	0,2748	23999280	CMSModule->DoActionBase( )	..\module.functions.php:123
12	0,2755	24000776	CMSModule->DoAction( )	..\class.CMSModule.php:1795
13	0,2764	24135256	include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php' )	..\class.CMSModule.php:1727
14	0,3147	24922256	unserialize ( )	..\action.form.php:92
followed by that :

Code: Select all

( ! ) Notice: Trying to get property of non-object in D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php on line 109
Call Stack
#	Time	Memory	Function	Location
1	0,0018	855160	{main}( )	..\index.php:0
2	0,1446	15998608	Smarty_CMS->fetch( )	..\index.php:240
3	0,1447	16000024	Smarty_Internal_TemplateBase->fetch( )	..\class.Smarty_CMS.php:326
4	0,1454	16074616	content_52f9015554b052_27008222( )	..\smarty_internal_templatebase.php:182
5	0,2707	23621976	CMS_Content_Block::smarty_internal_fetch_contentblock( )	..\80842882a27ae59cf6219909d3b41240ec259d78.tpl_body.31.php:63
6	0,2708	23623616	Smarty_CMS->fetch( )	..\class.CMS_Content_Block.php:327
7	0,2709	23625112	Smarty_Internal_TemplateBase->fetch( )	..\class.Smarty_CMS.php:326
8	0,2716	23685128	content_52f8f5c226ccb8_36890992( )	..\smarty_internal_templatebase.php:182
9	0,2728	23830296	CMSModule::function_plugin( )	..\65content_en^62e936251e4799749e89fa9828a0ee7332eb5816.content.content_en.php:31
10	0,2728	23830760	cms_module_plugin( )	..\class.CMSModule.php:302
11	0,2748	23999280	CMSModule->DoActionBase( )	..\module.functions.php:123
12	0,2755	24000776	CMSModule->DoAction( )	..\class.CMSModule.php:1795
13	0,2764	24135256	include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php' )	..\class.CMSModule.php:1727
Lines concerned in script action.form.php :

Code: Select all

// action.form.php on line 92
$users = (array)unserialize($this->GetPreference('send_notifications_to'));
// action.form.php on line 109
$user_email = cmsms()->GetUserOperations()->LoadUserById($user)->email;
I also get Warnings in the backend at :
Content > Gbook > Options

Code: Select all

( ! ) SCREAM: Error suppression ignored for
( ! ) Notice: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes in D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\function.admin_optionstab.php on line 16
Call Stack
#	Time	Memory	Function	Location
1	0,0009	733720	{main}( )	..\moduleinterface.php:0
2	0,1831	15680680	CMSModule->DoActionBase( )	..\moduleinterface.php:116
3	0,1833	15684488	CMSModule->DoAction( )	..\class.CMSModule.php:1795
4	0,1839	15730528	include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.defaultadmin.php' )	..\class.CMSModule.php:1727
5	0,7284	21600208	include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\function.admin_optionstab.php' )	..\action.defaultadmin.php:93
6	0,7305	21676224	unserialize ( )	..\function.admin_optionstab.php:16
The script is : function.admin_optionstab.php - line 16 :

Code: Select all

$selectedusers = (array)unserialize($this->GetPreference('send_notifications_to', ''));
Do you have an idea about these warnings ?

Thanks
Christian
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: New guestbook module: Gbook

Post by Jos »

Thanks.. this was already reported to me and will be dealt with in the next release.
Locked

Return to “Modules/Add-Ons”