Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-05-26 06:02:11
- Sinsessa
- New Member
- Registered: 2009-03-08
- Posts: 9
multiply errors with my comment form
Hello!
Can someone please help me with my comment form?
You can check it out at ”Sinsessa”:http://www.sinsessa.se/Blogg
The webpage is in swedish but I hope you is able to help me with this technical problems anyway!
The problem I have with the comments system is:
1) It takes far to many steps before someone can post a comment and I just want it to take one step
( I have tried two solutions one for explorer and one for the firefox)
2) It doesn’t give an error message when people don’t fill in the comment form right (like forgetting the email adress), so people think they have posted a comment and they have not
3) I cant change the text on the submit and view buttons locally. I need my textpattern to be in English in order to work with itunes
4) I have used the plugin CBS_gravatar to make it possible for people using gravatars, but when people dont use a gravatar it shows up an ugly picture. Is it possible to get rid of that picture and view something else?
I know it’s a lot of questions but I’m so happy for every help I can get.
Offline
Re: multiply errors with my comment form
Sinsessa wrote:
1) It takes far to many steps before someone can post a comment and I just want it to take one step
( I have tried two solutions one for explorer and one for the firefox)
Preview is Textpattern’s anti-spam method. If you want to remove it, you will need to build/think a whole new anti-spam system (registering or a captcha for example). Plus most of current anti-spam plugins relie on the preview evulating too.
Sinsessa wrote:
It doesn’t give an error message when people don’t fill in the comment form right (like forgetting the email adress), so people think they have posted a comment and they have not
<txp:comments_error />
<txp:if_comments_error>
- Bookmark Tag Reference
Sinsessa wrote:
3) I cant change the text on the submit and view buttons locally. I need my textpattern to be in English in order to work with itunes
Those buttons are just XHTML. If you hand-code them, you can modify them as much you want.
<input type="submit" name="preview" value="Preview" class="button" id="txpCommentPreview" />
<input type="submit" name="submit" value="Submit" class="button"<txp:if_comments_preview><txp:else /> class="button disabled" id="txpCommentSubmit" disabled="disabled"</txp:if_comments_preview> />
Sinsessa wrote:
4) I have used the plugin CBS_gravatar to make it possible for people using gravatars, but when people dont use a gravatar it shows up an ugly picture. Is it possible to get rid of that picture and view something else?
There should be a default attribute for setting the default image.
Last edited by Gocom (2009-05-26 07:50:23)
Offline
#3 2009-05-26 08:02:33
- Sinsessa
- New Member
- Registered: 2009-03-08
- Posts: 9
Re: multiply errors with my comment form
Thank you Gocom for your very fast answer, but are you sure it really has to be tree steps before one can post a comment? Can’t you try to post a comment so you can see what I meen. The way it works now makes people think they have posted a comment and they have actually not.
Thanks in advance
Offline
Re: multiply errors with my comment form
Sinsessa wrote:
Thank you Gocom for your very fast answer, but are you sure it really has to be tree steps before one can post a comment? Can’t you try to post a comment so you can see what I meen. The way it works now makes people think they have posted a comment and they have actually not.
In Textpattern the inbuild comment system reliest the preview, so yes: it is two steps, preview and submit. Just like it is on your blog (minus your javascript and CSS hidings that are not so user friendly in the first place. For example it’s impossible to see form fields).
Last edited by Gocom (2009-05-26 08:43:35)
Offline
#5 2009-05-26 09:03:52
- Sinsessa
- New Member
- Registered: 2009-03-08
- Posts: 9
Re: multiply errors with my comment form
Smile thank you again for all your help, at least its good to know what one can do and what one can’t!
Offline
#6 2009-05-26 15:57:08
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: multiply errors with my comment form
Sinsessa wrote:
The way it works now makes people think they have posted a comment and they have actually not.
To avoid that you can make use of the txp:if_comments_preview tag to display a message.
Last edited by els (2009-05-26 15:58:49)
Offline
#7 2009-05-26 20:13:34
- Sinsessa
- New Member
- Registered: 2009-03-08
- Posts: 9
Re: multiply errors with my comment form
Thank you soo very much for all help!!! I think I have been able to make it pretty okey now!
I did put in a message also and I hope that will at least help people some :-)
I only have to find the last default thing to the gravatar :-)
Offline
#8 2009-05-26 20:18:49
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: multiply errors with my comment form
Sinsessa wrote:
I only have to find the last default thing to the gravatar :-)
From the plugin page:
default: Absolute URL of the default image to display when the commenter has no gravatar.
Offline
#9 2009-05-27 17:12:31
- Sinsessa
- New Member
- Registered: 2009-03-08
- Posts: 9
Re: multiply errors with my comment form
Thank you soo very much for all help!! Everything works as I want know!
Offline
Pages: 1