cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Comment appearing problem

Add a New Topic Reply to Post
Post

Beny - Guest

4:33 pm - May 16, 2008

Hi. I'm trying use your plugin. And it's work. But I have a problem. When i'm trying to enable ajax the comment not appear. Only success text above appearing. And then when i disabled ajax feature, the comment is appear but message not appearing. Only author and post title appear. What happens?

Oliver - Admin

9:15 pm - May 16, 2008

posts 3906

There is a reason I ask for basic information, such as cforms version, browser, your URL? Why? Because it makes troubleshooting easier.

Beny - Guest

5:07 am - May 17, 2008

Sorry, because of that. My url is <a href="http://www.arenabeny.co.cc">http://www.arenabeny.co.cc</a>

My cform version is 8.4.2

Browser is mozilla firefox 2.0.0.14


Beny - Guest

10:51 am - May 17, 2008

thanks for trying. I've found my problem by myself. and now it works. I'm very happy. Thanks for your quick response...Laughing

Oliver - Admin

11:05 am - May 17, 2008

posts 3906

Glad it works now!

Mind me asking what the issue was?

Beny - Guest

2:24 pm - May 17, 2008

I want to ask again. When I submit the contact form nothing happened. Only "thanks for comment" text appear. What happened? I'm using AJAX too.

Beny - Guest

2:29 pm - May 17, 2008

I want to ask again. When I submit the contact form nothing happened. Only "thanks for comment" text appear. What happened? I'm using AJAX too.

My url is http://www.arenabeny.co.cc/?page_id=4

Oliver - Admin

4:01 pm - May 17, 2008

posts 3906

So this is regarding the actual contact form (not comment form, right?):

I just tested it, and it seems to work just fine.

  • Did you get the email?
  • Can you enable tracking and see if the submissions are being tracked?

Beny - Guest

5:46 am - May 18, 2008

It's work! thanks.

Justin Alex - Guest

3:50 pm - August 10, 2008

Site: http://www.jusuchin85.com

Browser: Firefox 3.0.0.1

Wordpress: 2.6

cformsII: 8.6


Thanks for the excellent plugin!


I'm having a small problem with the plugin on my site. Whenever a visitor comments on a particular post, the comment doesn't appear automatically. The visitor has to refresh the page for the new comment to appear. I'm guessing it's the AJAX problem. Can you help me with this?


Thanks!

Oliver - Admin

3:57 pm - August 10, 2008

posts 3906

First I recommend you upgrade to 8.6.1 it comes with a ton of enhancements in the cforms comment feature area.

Also, did you follow the steps on the HELP page and read the notes and hints under global-settings->comment feature settings?

Hint: the comment parent container must be rendered at all times (with it's proper ID!) otherwise cforms can't insert the new comment if no comments have been made yet.

Justin Alex - Guest

4:26 pm - August 10, 2008

Oliver said:

First I recommend you upgrade to 8.6.1 it comes with a ton of enhancements in the cforms comment feature area.

Also, did you follow the steps on the HELP page and read the notes and hints under global-settings->comment feature settings?

Hint: the comment parent container must be rendered at all times (with it's proper ID!) otherwise cforms can't insert the new comment if no comments have been made yet.


Hi Oliver,


Thanks for the idea. But, I'm currently lost a little. Where do I change the parent ID for the comments? In the comments.php file or the single.php file?


Also, my comments do insert. Just not shown after the visitor posts a comment. Visitor needs to refresh.

Oliver - Admin

4:31 pm - August 10, 2008

posts 3906

Looking at your single page, this is your comment parent container (probably in comments.php):


<ol class="commentlist">...

which needs to be:

<ol class="commentlist" id="mycommentlist">...

and it needs to render (even if empty!) at all times.

make sure you configure your ajax settings to reflect mycommentlist as your parent container.

The template (start with the default one) you need to tweak to match your theme's.


Justin Alex - Guest

4:41 pm - August 10, 2008

Oliver said:

Looking at your single page, this is your comment parent container (probably in comments.php):


<ol class="commentlist">...

which needs to be:

<ol class="commentlist" id="mycommentlist">...

and it needs to render (even if empty!) at all times.

make sure you configure your ajax settings to reflect mycommentlist as your parent container.

The template (start with the default one) you need to tweak to match your theme's.



Okay, thanks for that. Now the refresh works, but the comment form still shows "One Moment Please". any workaround for this?

Oliver - Admin

4:57 pm - August 10, 2008

posts 3906

Looks like it is working fine now, 'One moment please...' wasn't staying when I tried.

Also, in your new comment template you want to change the <li> opening tag from:

<li id="alt"

to

<li class="alt">

Justin - Guest

5:10 pm - August 10, 2008

Oliver said:

Looks like it is working fine now, 'One moment please...' wasn't staying when I tried.

Also, in your new comment template you want to change the <li> opening tag from:

<li id="alt"

to

<li class="alt">


Thanks Oliver! I've tried what I can, but it still shows "One Moment Please" after I click the submit button.


And I've already changed the <li> tag to class element.

Oliver - Admin

5:34 pm - August 10, 2008

posts 3906

Just tried again and it worked fine.

Do you see this error on a post with no comments perhaps?

Did you make sure that the parent container gets rendered then as well (comments.php)?

Justin - Guest

12:23 am - August 11, 2008

Oliver said:

Just tried again and it worked fine.

Do you see this error on a post with no comments perhaps?

Did you make sure that the parent container gets rendered then as well (comments.php)?


Oh, cos' I tried myself, and the "One moment please" is still there, even after Submitting the comment as well as after the comment re-appearing.


Um, yeah. I've already change the id tag of the parent container. But how do i make sure that it gets rendered? Where do i check this? Embarassed

Oliver - Admin

7:10 am - August 11, 2008

posts 3906

You need to look at how comments.php is structured. There is an IF clause that either renders the container (if comments are there) or doesn't -> now that ELSE you need change/add and make sure an empty container is at least displayed:

<ol...></ol>


The hanging on submit I can't replicate, it works 100% here. Can you try a different browser?

Are you logged in?

Justin - Guest

4:52 pm - August 11, 2008

Oliver said:

You need to look at how comments.php is structured. There is an IF clause that either renders the container (if comments are there) or doesn't -> now that ELSE you need change/add and make sure an empty container is at least displayed:

<ol...></ol>


The hanging on submit I can't replicate, it works 100% here. Can you try a different browser?

Are you logged in?


Well, I did try both ways; both when I'm logged in and when I'm off it. Also, I've tried on IE, Opera and Safari (all for Windows), and the results are the same.

Add a New Topic Reply to Post


Reply to Topic: Comment appearing problem
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 9 + 3        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)