Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guestbook
#51
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
Reply
#52
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!
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#53
Thank you for your congratulations Zegnåt.

Regards.
Reply
#54
Thanks to you both [ Cumbe and Zegnåt.] for the help and the hard work.

Peace.

homershines
Reply
#55
*** 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.
Reply
#56
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
Reply
#57
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.
Reply
#58
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.
Reply
#59
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.
Reply
#60
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.
Reply
#61
Many thanks for the plug-in. It works perfectly!
Reply
#62
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.
Reply
#63
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
Reply
#64
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.
Reply
#65
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.
Reply
#66
you could not attach the language files to your plugin?
Reply
#67
Hi Oleg06,
in /guest-contact/traducir.php, in this file is possible to change the translations.

Regards.
Reply
#68
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>
Reply
#69
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[&Ntilde; 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[&Ntilde; 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
Reply
#70
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 .... Smile

Edit:
argggg!!!! i have seen that happen.... problems with cirilic characters...

Already is solved, think!!! Smile
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...
Reply
#71
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?
Reply
#72
Which versions do you mean?

What was 2.5.1 and which 3.1?


Please give more exact info
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#73
I had guestbook_v2.5.zip
I installed guestbook_v3.1.zip. Replace Files. After replacing the entries are not shown.
Reply
#74
There is no guestbook plugin with these versions in our repository
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#75
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
Reply




Users browsing this thread: 3 Guest(s)