Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2007-03-29 21:38:15

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Dave,

I contacted Sander and he is not able to support his plugin anymore. So with his consent I posted a call for a successor ;)

Offline

#62 2007-04-28 20:25:19

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Dave

I finally found a solution for the unstyled display of the comment preview!!

Trial and error and going through the code of both the original plugin and Steve’s modification, eventually lead me to this conclusion:
  • the problem is not in sed_comment_pack, because the preview works fine when you use just that
  • it isn’t in the original guestbook plugin either, because on sites that use just that one the problem doesn’t occur
  • so it has to be somewhere in Steve’s modifications

I can see what the problem is: the comment message doesn’t get textiled. I can even see – sort of – where in the code that is happening. The best way would be to correct this in the plugin code, but I honestly wouldn’t know how to do that.
So I found another solution: download and install upm_textile. Then in your form ‘guestb_comments’ (or whatever you named it) replace

<txp:comment_message />

with

<txp:if_comments_preview><txp:upm_textile></txp:if_comments_preview><txp:comment_message /><txp:if_comments_preview></txp:upm_textile></txp:if_comments_preview>

And voilá…

Last edited by els (2007-04-28 20:31:49)

Offline

#63 2007-04-29 06:33:28

gluteus
Member
From: Switzerland
Registered: 2007-01-20
Posts: 74

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Hi Els

Thank you!
It looks fine now.
But there is a little but… If you click the second time on the preview-button, then everything get messed up. Look here please and just try it out. I will delete your dummy messages.
But it is no problem for me, I am really glad about your improvement. I will just hope that people don’t push a second time the preview button. That’s all.

Happy Weekend,
dave

Offline

#64 2007-04-29 12:58:05

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Oh help! That looks even worse. I forgot to try that out :( I’ll see if I can find something, but don’t hold your breath, what we really need is a coder…

Offline

#65 2007-04-30 21:59:28

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Well, it’s not upm_textile that causes the preview message to disappear, because without it the same thing happens. I also found that you don’t need the if_comments_preview tags, using just this:

<txp:upm_textile><txp:comment_message /></txp:upm_textile>

also works. (Except for the disappearing message of course.) I’m guessing that your layout getting messed up has to do with your error message (it has for instance a closing </p> without an opening tag), I don’t have an error message and my layout doesn’t get messed up, it just doesn’t show the message in the second preview. BTW how did you do that, show that message only in the second preview? It’s a nice temporary ‘solution’.

Offline

#66 2007-05-13 13:06:59

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Sorry, I’m giving up on this one. My own solution is this: I copied the comments fuction from taghandlers.php and made it into a plugin, just changing asc to desc in the code. Comments numbering and pagination don’t work, but that’s not a problem for me.

Offline

#67 2007-07-02 06:32:59

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Does anybody else experience problems with the guestbook when updating to 4.0.5? My guestbook just disappeard from the page?


Regards,

Joey

Offline

#68 2007-07-02 11:46:59

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Joey wrote:

Does anybody else experience problems with the guestbook when updating to 4.0.5? My guestbook just disappeard from the page?

No problems here. No differences noted.

Offline

#69 2007-07-02 12:14:22

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

Never mind. I found the problem.


Regards,

Joey

Offline

#70 2007-11-15 14:11:01

nejra
Member
From: Groningen
Registered: 2006-07-06
Posts: 38
Website

Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)

I have the guestbook implemented on this site. As you can see the guestbook is very busy and the result is that I have a lot op pagenumbers. Is there any way to make it look like:

1 2 [3] … 73

Thanks for your thoughts in advance…

Offline

Board footer

Powered by FluxBB