Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2005-09-22 23:27:21
- zebreus
- New Member
- From: Sweden
- Registered: 2005-09-16
- Posts: 9
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
It solved my problem sderuiter, thanks! great script!
Offline
#14 2005-09-22 23:54:22
- joana
- Member
- Registered: 2005-09-16
- Posts: 11
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Mine too, thanks!
PS: I loved Olivier’s website.
Offline
#15 2005-10-14 15:04:45
- 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)
I would like to get the ajw_if_comment_owner plugin, that I use to style my own comments differently, to work with sdr_guestbook.
Right now I have this comment form (which is used by both the regular comments and the guestbook):
<code><txp:ajw_if_comment_owner name=“Els”>
<div class=“commenterme”><else /><div class=“commenter”>
</txp:ajw_if_comment_owner>
<strong><txp:comment_name /></strong> · <txp:comment_time />
</div>
<txp:ajw_if_comment_owner name=“Els”>
<div class=“messageme”><else /><div class=“message”>
</txp:ajw_if_comment_owner><txp:message />
</div></code><br />
In regular comments it’s working fine, but the guestbook comments always output the div class that comes after <else />
, so there is no different styling.
Now because it does recognise the tag after <else />
, I assume it’s something in the first part, <txp:ajw_if_comment_owner name="Els">
, that is not recognised by the sdr_guestbook code. So I thought it might be possible to add ‘something’ to the code to make it recognise whatever it is that ajw_comment_owner is using.
Please bear in mind that I’m a complete php illiterate, so if I’m talking absolute nonsense here, just tell me so. But if there is a way to do this I’d be very happy if someone can tell me how, what and where.
Last edited by doggiez (2005-10-14 15:06:47)
Offline
#16 2005-10-20 09:01:27
- starzabove
- Member
- Registered: 2004-04-13
- Posts: 76
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Just a note – bug report of sorts – the help for this plug-in says:
commentsul: id for comments, which are outputted as an unordered list
but here on this forum entry the instructions say:
commentsid: id for comments, which are outputted as an unordered list.
I went round and round with commentsul doing nothing, but changing it to commentsid and voila!
Thanks for a great plug-in.
Last edited by starzabove (2005-10-20 09:01:55)
90+ Textpattern installs and still going…
Offline
#17 2005-11-12 14:37:13
- Konijn
- Member
- Registered: 2005-06-18
- Posts: 33
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
I used this plugin, i created the section guestbook and the article guestbook.
The plugin is active but I dont see anything.
I used this code on my page:
<code>
<txp:sdr_guestbook section=“guestbook” pagelimit=“10” articletitle=“Guestbook” / >
</code>
I can insert or see anything.
What should I do?
Offline
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Hi konijn,
can we see your page?
Offline
#19 2005-11-19 13:32:55
- systrum
- Member
- Registered: 2004-08-28
- Posts: 44
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Hi, I like the plugin. I just wondering if it is possible to modify the code for the ‘preview’ option so that users can post comments directly without having to preview their message before it is displayed?
Offline
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
I would think this is possible, however maybe not advisable. But do post your results if you succeed!
Offline
#21 2005-11-19 16:16:14
- systrum
- Member
- Registered: 2004-08-28
- Posts: 44
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Actually, my only attempts at doing this were to attack the comment_form and remove txp:comment_preview … leaving only txp:comment_submit . This didn’t work so i assume that i need to venture into the actual plugin code. can anyone advise me of what part of the code i might need to look at more closely?
Offline
#22 2006-01-02 11:58:34
- -P-
- Member
- From: Finland
- Registered: 2005-09-10
- Posts: 211
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Has anybody had problems with this plugin since upgrading to 4.0.3? Mine seem to be broken now.
edit: My fault. Dunno what happened but after cleaning the comment_form back to default and reinstalling plugin everything is okay.
Last edited by -P- (2006-01-04 17:56:02)
Offline
Re: [plugin] [ORPHAN] sdr_guestbook v4.0 (as in comp. with 4.0.1)
Oops. Will look into this.
Offline