Posts: 104
Threads: 15
Joined: Oct 2009
Many thanks Cumbe.
Just a question...
If I wish to change the title of the new field to simply City, or Town, or even, Zipcode, how would I make the change in the code?
This is very close to the petition script that i need.
Many thanks again.
homershines
Posts: 972
Threads: 27
Joined: Aug 2009
homershines Wrote:If I wish to change the title of the new field to simply City, or Town, or even, Zipcode, how would I make the change in the code? - Open up guestbook.php and find line 42:
Code: "Ct" => 'City-Town-Location',
- Change the City-Town-Location string.
- Save.
- Done.
Kudos to Cumbe for making a plugin this easy to edit!
Posts: 357
Threads: 23
Joined: Dec 2009
Thank you for your congratulations Zegnåt.
Regards.
Posts: 104
Threads: 15
Joined: Oct 2009
Thanks to you both [ Cumbe and Zegnåt.] for the help and the hard work.
Peace.
homershines
Posts: 8
Threads: 1
Joined: Oct 2010
*** CAPTCHA FAILED, WE THINK YOU ARE A SPAM BOT. ***
Captcha code: p4ds8jt4
Code wrote: P4DS8JT4
===
Captcha is capital letters,but it is lower case actually.
Posts: 357
Threads: 23
Joined: Dec 2009
Hello Ben,
what version are you using?
From version 2.2, it bug was fixed: http://get-simple.info/forum/post/6587/#p6587
The last version is: http://get-simple.info/forum/post/7034/#p7034
Regards
Posts: 2
Threads: 1
Joined: Aug 2010
I've been testing this plugin on a local server and it works great, but I have 2 questions
1 .- How do I delete unwanted comments?
2 .- I can include other CAPTCHA images?
Hopefully you can help me
Greetings.
Posts: 357
Threads: 23
Joined: Dec 2009
Hello,
1) you can delete comments that do not like in the log directly. The comments are saved in guestbook.log in data\other\logs.
I want to do a system to delete comments from admin; and have the possibility that the comments are displayed directly or previously accepted from admin. But now I'm short of time...
2) Yes, but you have that modify the guestbook.php.
The captcha that i use, is easy and simple. You can change the colours if you wants.
Regards.
Posts: 357
Threads: 23
Joined: Dec 2009
Quote:homero_chapa wrote:
1 .- How do I delete unwanted comments?
Upload v_2.4.
In this version is possible remove a comment from plugin management > guest book.
Regards.
Posts: 357
Threads: 23
Joined: Dec 2009
2011-02-13, 23:08:34
(This post was last modified: 2011-02-13, 23:12:09 by baris.)
Upload v_2.5.
In this version is possible to add emoticons in the comments.
It is necessary to have a folder with emoticons image .gif in the "data/uploads/img_emot/".
Inside guestbook_V2.5.zip there is a folder with emoticons; save this folder in data/uploads.
There is improved the presentation of form, and optimized to Cyrillic caracters.
Regards.
Posts: 25
Threads: 2
Joined: Mar 2011
Many thanks for the plug-in. It works perfectly!
Posts: 357
Threads: 23
Joined: Dec 2009
ONLY FOR GETSIMPLE VERSIONS 3.0 or LATER
Upload version 3 of guestbook
Web test: http://cumbe.no-ip.biz/gs30/libro_invitados/
Changes:
The most important is that you must pass the user will receive the email's notifications.
The guestbook must be called so:
<?php sv_book('nameofuser'); ?>
Is possible to reply to comments, keeping the order.
I have tried to improve the form, and captcha.
Unzip the file in folder Plugin.
Structure in directory Plugin:
* guestbook.php
* folder guest_contact: it folder is common with contact form plugin: http://get-simple.info/forum/post/12304/#p12304.
- arial.ttf.
- comprueba.php
- img_cpt.php
- traducir.php, in this file is possible to change the translations.
- folder img_emots: inside there are emoticons. If you want add more emoticons, only you have que paste *.gif in this folder.
Regards.
Posts: 2
Threads: 0
Joined: Apr 2011
2011-05-02, 17:39:18
(This post was last modified: 2011-05-03, 00:41:55 by sat_dish.)
Hi!
thanks Cumbe for a great little guestbook.
i have only one issue with it, when you enter the captcha and click the "send" button the only thing i get is a white page with the link "back" on it. should it not let you know that the comment was successful or automatically take you back to the guestbook page?
is it me that has done something wrong or the server that does not support something or is this the way it should behave?
Edit: Also is it possible to get the script to only hold 10 or less entries per page so that the page dont get to long. i think it might get troublesome if you get 100 enteries on a page and you have to scroll down to the bottom of page to make a new entery.
// pesegolsson
Posts: 357
Threads: 23
Joined: Dec 2009
Hello pesegolsson,
Quote:i have only one issue with it, when you enter the captcha and click the "send" button the only thing i get is a white page with the link "back" on it.
Now, it is like works. It change it.
Quote:Edit: Also is it possible to get the script to only hold 10 or less entries per page so that the page dont get to long. i think it might get troublesome if you get 100 enteries on a page and you have to scroll down to the bottom of page to make a new entery.
It is to do. If i can this weekend......
Regards.
Posts: 357
Threads: 23
Joined: Dec 2009
ONLY FOR GETSIMPLE VERSIONS 3.0 or LATER
Upload version 3.1 of guestbook
Web test: http://cumbe.no-ip.biz/gs30/libro_invitados/
Changes:
The most important is that you must pass the user will receive the email's notifications, and the number of comments by page that show (pagination).
The guestbook must be called so:
<?php sv_book('nameofuser', numberofcommentsbypage); ?>
For example: <?php sv_book('cumbe', 3); ?>
only show 3 mains comments with all theirs replies.
Is possible to reply to comments, keeping the order.
Now, automatically redirection to page Guestbook at 3 seconds ó push Back.
I have tried to improve the form, and captcha.
Unzip the file in folder Plugin.
Structure in directory Plugin:
* guestbook.php
* folder guest_contact: it folder is common with contact form plugin: http://get-simple.info/forum/post/12304/#p12304.
- arial.ttf.
- comprueba.php
- img_cpt.php
- traducir.php, in this file is possible to change the translations.
- folder img_emots: inside there are emoticons. If you want add more emoticons, only you have que paste *.gif in this folder.
Regards.
Posts: 1,928
Threads: 88
Joined: Apr 2010
you could not attach the language files to your plugin?
Posts: 357
Threads: 23
Joined: Dec 2009
Hi Oleg06,
in /guest-contact/traducir.php, in this file is possible to change the translations.
Regards.
Posts: 290
Threads: 26
Joined: Oct 2010
cumbe Wrote:Hi Oleg06,
in /guest-contact/traducir.php, in this file is possible to change the translations.
Regards.
The wiki has examples of the recommended way to use i18n in plugins: http://get-simple.info/wiki/plugins:i18n
-Rob A>
Posts: 1,928
Threads: 88
Joined: Apr 2010
2011-05-11, 21:51:59
(This post was last modified: 2011-05-11, 22:29:57 by jhondavis.)
What happened to the plugin?
Code: Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 2: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0x8B 0x26 0x4E 0x74 in /home/p30318/www/chaga-mushroom.com/admin/inc/basic.php on line 219
Warning: simplexml_load_string() [function.simplexml-load-string]: ddd@ss.ru]]></Em><Ct><![CDATA[http://get-simple.ru/]]></Ct><Cm><![CDATA[Ñ in /home/p30318/www/chaga-mushroom.com/admin/inc/basic.php on line 219
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/p30318/www/chaga-mushroom.com/admin/inc/basic.php on line 219
Warning: DOMDocument::load() [domdocument.load]: Input is not proper UTF-8, indicate encoding ! Bytes: 0x8B 0x26 0x4E 0x74 in /home/p30318/www/chaga-mushroom.com/data/other/logs/guestbook.log, line: 2 in /home/p30318/www/chaga-mushroom.com/plugins/guestbook.php on line 296
and
Code: Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 2: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0x8F 0x26 0x4E 0x74 in Z:\home\get2.ru\www\plugins\guest_contact\comprueba.php on line 139
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: gggggg]]></Nb><date>Wed, 11 May 2011 15:45:16 +0400</date><Sub><![CDATA[Ñ in Z:\home\get2.ru\www\plugins\guest_contact\comprueba.php on line 139
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in Z:\home\get2.ru\www\plugins\guest_contact\comprueba.php on line 139
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in Z:\home\get2.ru\www\plugins\guest_contact\comprueba.php:139 Stack trace: #0 Z:\home\get2.ru\www\plugins\guest_contact\comprueba.php(139): SimpleXMLElement->__construct('<?xml version="...') #1 {main} thrown in Z:\home\get2.ru\www\plugins\guest_contact\comprueba.php on line 139
http://www.chaga-mushroom.com/guest
Posts: 357
Threads: 23
Joined: Dec 2009
2011-05-12, 02:42:37
(This post was last modified: 2011-05-12, 03:17:05 by baris.)
Quote:The wiki has examples of the recommended way to use i18n in plugins: http://get-simple.info/wiki/plugins:i18n
-Rob A>
Thanks for the information. I will look like to adapt the plugin....
Oleg06,
As always many thanks to tets ....
Edit:
argggg!!!! i have seen that happen.... problems with cirilic characters...
Already is solved, think!!!
http://cumbe.no-ip.biz/gs30/libro_invitados/?pag=4
In /guest-contact/comprueba.php: the lines 164-178 must be
Code: $cdata->addCData(htmlentities($temp['nombre'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['nombre']));
$thislog->addChild('date', date('r'));
$cdata = $thislog->addChild('Sub');
$cdata->addCData(htmlentities($tema, ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($tema));
$cdata = $thislog->addChild('Em');
$cdata->addCData(htmlentities($temp['email'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['email']));
$cdata = $thislog->addChild('Ct');
$cdata->addCData(htmlentities($temp['city'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['city']));
$cdata = $thislog->addChild('Cm');
$cdata->addCData(htmlentities($temp['comentario'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['comentario']));
Now is so:
Code: $cdata->addCData(htmlentities($temp['nombre'], ENT_QUOTES, 'UTF-8'));
//$cdata->addCData(htmlentities($temp['nombre']));
$thislog->addChild('date', date('r'));
$cdata = $thislog->addChild('Sub');
//$cdata->addCData(htmlentities($tema, ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($tema));
$cdata = $thislog->addChild('Em');
//$cdata->addCData(htmlentities($temp['email'], ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($temp['email']));
$cdata = $thislog->addChild('Ct');
//$cdata->addCData(htmlentities($temp['city'], ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($temp['city']));
$cdata = $thislog->addChild('Cm');
//$cdata->addCData(htmlentities($temp['comentario'], ENT_QUOTES, 'UTF-8'));
$cdata->addCData(htmlentities($temp['comentario']));
The difference is in the commented and uncommented lines...
Posts: 25
Threads: 2
Joined: Mar 2011
Hello. I had installed version 2.5. I replaced the version 3.1. But the guest book does not see the guest book. log. Messages are not displayed. Why?
Posts: 2,928
Threads: 195
Joined: Feb 2011
Which versions do you mean?
What was 2.5.1 and which 3.1?
Please give more exact info
Posts: 25
Threads: 2
Joined: Mar 2011
I had guestbook_v2.5.zip
I installed guestbook_v3.1.zip. Replace Files. After replacing the entries are not shown.
Posts: 2,928
Threads: 195
Joined: Feb 2011
There is no guestbook plugin with these versions in our repository
Posts: 86
Threads: 16
Joined: Jan 2011
2011-05-16, 20:22:52
(This post was last modified: 2011-05-16, 20:24:34 by elviraperez7.)
Connie
I think he has downloaded cumbe's guestbook from above, which did go through version 3.1.
Not sure if it was every uploaded to the exteneded page, just refered to cumbe's page.
Note to batka:
There is a new guestbook in the extended files section you might take a look at that plugin and see if it will work for you. I am not sure if cumbe's guestbook has be updated to work with GS 3.0.
Another reason for archive section.
Bob
Connie Wrote:There is no guestbook plugin with these versions in our repository
|