Jump to:

10851 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Simple Guestbook module

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6 7 8 9 10 11
Go to End
Author Topic: 25959 Views
  • Iseppi
    Avatar
    Community Member
    5 Posts

    Re: Simple Guestbook module Link to this post

    Hi Marina

    What exactly is your problem with mollom?

    One thing that got me confused for quite a while was the fact that any captchas are disabled as long as you are logged in into the CMS!

    I always thought that Mollom did not work at all or only work in Firefox when i was implementing it, where the acutal problem was that I was still logged in into the Admin panel. After clicking Logout Mollom started showing.

    Hope that helps and otherwise please be a bit more specific with your problem.

    Best regards

    Thomas

  • tchintchie
    Avatar
    Community Member
    63 Posts

    Re: Simple Guestbook module Link to this post

    hi thx for the quick reply...

    nah my problem goes a bit deeper....as mentioned I already use mollom for the rest of my site where it works fine (I already knew about that logged-in-issue
    thing is I saw your code you implemented into your guestbook.php and thought that must be working for my site as well (my guestbook page is the only one where mollom isnĀ“t working (since not in the code i guess)) so I merely copied and pasted your code lines into my own guestbook.php (but apparently into the wrong places). after uploading it to my server i get an error message instead of my website telling me that something is wrong with my guestbook.php code line 873 (or whatever number it was...)
    so i obviously pasted your code into the wrong part of my guestbook.php....i was just wondering if you could tell me where exactly that code has to go?

    kind regards

  • Iseppi
    Avatar
    Community Member
    5 Posts

    Re: Simple Guestbook module Link to this post

    Well, I dont know much about PHP either, i just used some high precision guesswork ;-) What I acutally did was add the two Mollom definition inside the code of guestbook.php. If you just copy/paste it at the end of the code, i guess that would not work.

    Just search in guestbook.php for the two code sections and replace them with my code. The first one should be around line No. 131 and the other around line No. 536.

    I've attached my Guestbook.php to this post. I'm not sure if it works for you but it should. If it doesn't just post your version of Guestbook.php. Maybe I can figure something out. Otherwise we will have to wait until Marc joins in so he can have a look at it...

    I guess you have the "spamprotection" and "mollom" module already installed if you say that mollom generally works on your site.

    Best Regards

    Thomas

    Attached Files
  • tchintchie
    Avatar
    Community Member
    63 Posts

    Re: Simple Guestbook module Link to this post

    Hi Thomas!

    thanks for the code that was exactly what i needed! at least it gave me no more errors after uploading. activated the mollom spamprotection in the cms and now it works like a charm

    thanks so much for the help!!!

    best wishes
    marina!

  • Euphemismus
    Avatar
    Community Member
    82 Posts

    Re: Simple Guestbook module Link to this post

    Good morning

    Would be good to know in wich version of the guestbook Mollom didn't work...
    If there's some need for bugfixing, at least ;-)

    -- As a short update --

    • I'm still a bit occupied with the whole house buying stuff, so time for development is rather short
    • The design is already a bit reworked and I'll add HTML5/Microdata to the posts and comments
    • Also I'm refactoring the code a bit and try to add Ajax reloading for posts/comments when editing/deleting

    That's what keeps me from coding:

    25959 Views
Page: 1 2 3 4 5 6 7 8 9 10 11
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.