Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] sdr_guestbook

#85 2005-09-19 14:27:00

zebreus
New Member
From: Sweden
Registered: 2005-09-16
Posts: 9

Re: [archived] sdr_guestbook

Could anyboy contribute with an updated version of this great plugin, with all the fixes.

Then I don’t really get how you get rid of the dotlist < ul >, I’m not good at reading php-code

Then about the navigation I would like to have it in the bottom of the page, before the input form and as follows:

1 x x x x x x x | Previous | Next

Last edited by zebreus (2005-09-19 14:27:58)

Offline

#86 2005-09-19 16:08:35

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

Re: [archived] sdr_guestbook

If anyone wants it, take my modified plugin code here (EDIT: gone). It’s just the code, so you have to copy and paste it (or the part that you want) into the edit plugins area. The paging code is in between // comments paging... and // end comments paging. I replaced the ul for the paging with spaces.
The code outputs valid XHTML 1.0 Transitional.

My guestbook page is here (EDIT: not using this plugin anymore). You can style the comments output through the comments form and in your CSS (#commentsul).

Last edited by els (2008-01-20 23:00:07)

Offline

#87 2005-09-19 16:42:48

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

Hi all,

terribly sorry for not updating my plugin. Thanks to doggiez for relentless bugfixing!
I’ve read through this thread and managed to work out most of the bugs.
The new plugin (v4.0) can be downloaded at sdr_guestbook.txt . I’ll create a new thread with changes. This plugin now validates, the pagestring doesn’t appear with there’s only 1 page. I’ve changed the markup to mimick the markup for Listamatic . An example can be found at guestbook.textdriven.com .

The tage used is
<code>
<txp:sdr_guestbook section=“guestbook” pagelimit=“2” articletitle=“Guestbook” pageul=“navlist” commentsid=“commentsid” divid=“navcontainer” pagestring_placement=“both” />
</code>

The pagestring can be placed above, below and both.

More info tonight (I hope).

Offline

#88 2005-09-19 17:46:42

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

Re: [archived] sdr_guestbook

Oh gelukkig! Glad you’re back Sander :)

Do you think my not so expert hacking might cause me trouble when I install the updated version?

Offline

#89 2005-09-19 18:10:00

zebreus
New Member
From: Sweden
Registered: 2005-09-16
Posts: 9

Re: [archived] sdr_guestbook

Everything works fine with your hacked version doggiez, my last problem is that I have to change the path in the navigation.

It is
http://seafarer.mine.nu/gastbok/?page=2

should be

http://seafarer.mine.nu/ola/textpattern/gastbok/?page=2

Offline

#90 2005-09-19 18:21:36

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

Re: [archived] sdr_guestbook

I’m so relieved I can leave this question for the plugin owner ;) Actually I don’t know a thing about coding, and – contrary to what sderuiter said – the bugfixes came mostly from others in this thread…

Offline

#91 2005-09-19 18:26:18

zebreus
New Member
From: Sweden
Registered: 2005-09-16
Posts: 9

Re: [archived] sdr_guestbook

I mean when i click one of the numbers i get transferd to
http://seafarer.mine.nu/gastbok/?page=2 which doesn’t exsist thou it should be http://seafarer.mine.nu/ola/textpattern/gastbok/?page=2

Offline

#92 2005-09-19 18:27:06

sderuiter
Plugin Author
From: Laren NH
Registered: 2004-02-24
Posts: 38
Website

Re: [archived] sdr_guestbook

zebreus, you installed txp in a subdomain? What does you site url look like (in edit preferences)?

Offline

#93 2005-09-19 18:46:46

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

Re: [archived] sdr_guestbook

Thanks (bedankt) Sander! :D

Edit: Still have some problems. When page-navigation is selected to both, the page doesn’t validates because the navigation id is appearing 2 times on the page. So I think that should be a class.
Another weird thing is that the plugin or TXP inserts an invalid <code><BR></code> tag between the comments and the form :S. I can’t see that <code><BR></code> in any of my forms or something.

Last edited by JoeyNL (2005-09-19 19:17:45)


Regards,

Joey

Offline

#94 2005-09-19 21:56:04

zebreus
New Member
From: Sweden
Registered: 2005-09-16
Posts: 9

Re: [archived] sdr_guestbook

my url is: seafarer.mine.nu/ola/textpattern

maybe this problem gets solved when i get a real domain, but is there anyway to get around this in the meen(spelling?) time ?

Offline

#95 2005-11-22 11:10:16

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [archived] sdr_guestbook

thanks for the plugin Sander

I have it running here http://www.pieman.net/clients/beatbreakaz/guestbook

One thing I can’t work out tho…
I have the ajw_comment_alt plugin also installed, which is great for styling alternate comments in normal situations.
Within the guestbook section however, it doesn’t seem to work properly. Instead of writing alternate clase names on the div it always writes the same one (even).

<code><ol> <li id=“c000019”> <div class=“comment even”></code>

Are the two plugins incompatible?

Last edited by pieman (2005-11-22 11:10:34)

Offline

#96 2005-11-22 13:45:47

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

Re: [archived] sdr_guestbook

pieman wrote:

Are the two plugins incompatible?

That’s a similar problem to mine I think. Sander, if you can find the time, will you also have a look at my post here, I think it’s related to pieman’s problem.

Thanks.

Offline

  1. Index
  2. » Archives
  3. » [archived] sdr_guestbook

Board footer

Powered by FluxBB