Installing a guestbook

vincent3569 Member, Translator
Following the creation of the zpArdoise theme, many people have asked me how to install and use a guestbook.

Rather than respond to every request, I dedicated a post on the subject :

Follow the link to read the tip
http://vincent.bourganel.free.fr/zenphoto/index.php?p=news&title=installing-a-guestbook-installation-d-un-livre-d-or

Comments

  • acrylian Administrator, Developer
    Technically you could also use the comments on a Zenpage page as a guestbook. Of course that misses pagination unless you do some extra coding (actually a custom comment_from plugin.)
  • vincent3569 Member, Translator
    Good idea.
    I had not thought of when I installed my guestbook.

    in fact, I have a problem with version 1.4.0.1
    with 1.3.1.2, if I wrote some code in contentbonus, it appeared as such, contrary to codeblocks where the code is interpreted.
    with 1.4.0, the code is interpreted both in the 2 blocks, and you do not see the code, but its result.

    see the same news :
    with 1.3.1.2 : http://vincent.bourganel.free.fr/zenphoto_test1/index.php?p=news&title=installing-a-guestbook-installation-d-un-livre-d-or
    with 1.4.0.1 : http://vincent.bourganel.free.fr/zenphoto/index.php?p=news&title=installing-a-guestbook-installation-d-un-livre-d-or

    something has changed with the latest version?
    how write some code in a news/page with no interpretation of it ?
  • acrylian Administrator, Developer
    Not that I do remember. If you use the texteditor and add it via that it should be used as text and not as code.

    Btw, I see code in both but the 1.4.0.1 one looks incomplete.
  • vincent3569 Member, Translator
    by the way, that's the problem:
    whether I use the text editor (tiny) or HTML editor, the result is the same : my code is intrepreted as code and not text.
  • acrylian Administrator, Developer
    Indeed, I can reproduce this. But besides that we updated TinyMCE I don't remember any changes. I
  • vincent3569 Member, Translator
    I temporarily solved my problem by copying the correct code directly into the mysql database and it works well.

    I have to create a ticket for this issue ?
  • acrylian Administrator, Developer
    No, we will try to look into it.

    But you probably could solve it by making your own tinymce configuration. Probably need to enable htmlentities encoding. See the tinymce website wiki for more info about that.
  • acrylian Administrator, Developer
    We found what fixes it. Either the TinyMCE guys changed a default behaviour or we lost a config option. Anyway, it is now fixed in the nightly. If you want to add it yourself add this option to the config file used: http://tinymce.moxiecode.com/wiki.php/Configuration:encoding
  • vincent3569 Member, Translator
    Hi

    I added the option and it's OK.

    Thanks for your investiguations on that issue.
Sign In or Register to comment.