Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   [SOLVED] BUGFIX - 3.4.1->3.4.6 - Comment form will not show up after first comment on (http://forum.bytesforall.com/showthread.php?t=5031)

LauriePK Jan 28, 2010 03:52 PM

Yes, both blogs are on the same host.

Both blogs have the same plugins, but none are security-minded.

Before I installed atahualpa on this troublesome blog, I used a theme that came with post thumbnails. I can't see how those posts with thumbnails would affect the comments on pages, but... ???

Maybe I'll try deleting and re-installing all the comments php files......I can't think of anything else to do! Do you think that might work?

Thanks for your help,
Laurie

LauriePK Jan 28, 2010 08:34 PM

Jeepers, now my comments are closed on a post -- and the "close comments on articles older than..." box is NOT checked off in the Discussion settings in this blog. What's up with that? Is it related to not being able to get comments on pages?

juggledad Jan 29, 2010 09:38 AM

The way I understand it You can have wordpress automatically close discussions after a certain number of days so by having that option NOT checked, the discuession on posts will remain open forever...unless
there is a setting on each post that allows discuession for a post to be allowed or not. It comments are allowed, you should be able to comment on that post.

Reinstalling the theme shouldn't effect either of these settings

LauriePK Jan 30, 2010 07:38 AM

I fixed it! :-)

juggledad Jan 30, 2010 10:04 AM

What did you do?

LauriePK Jan 30, 2010 10:16 AM

I made a mistake the first time I copied the comment.php file to my FTP -- I copied the folder, not the file. Not sure why I made this mistake when I did it correctly the first time....I'm chalking it up to a long day :-)

So, I just followed your original instructions again (the next day, when I was fresh), and voila! Comments on pages -- yay.

Still don't know why one of my posts doesn't allow comments, though. The correct boxes are checked....

http://seejanesoar.theadventurouswri...nality-traits/

This is an odd one.

Laurie

juggledad Jan 30, 2010 11:26 AM

try taking out the related posts and share this to see if that changes things

nello Feb 3, 2010 10:31 AM

Thanks for the fix.
BTW, this bug is still in 3.4.5 and this should be fixed before the next release, since your fix is good

griffinjay Feb 4, 2010 07:38 AM

Yep, the fix worked for me, too. I'm using Atahualpa 3.4.4.

It would good to have a comment posted here when this glitch is fixed with a new version.

babak Feb 12, 2010 04:03 PM

Quote:

Originally Posted by juggledad (Post 21593)
==================
Update: Grab the comment.zip in post#8 to fix this
==================

There is a bug in the comment code which causes the comment form not to show up after the first comment is made on a 'PAGE' page. To fix this bug do the following

Edit comment.php and find line 79-80 (versions 341/344) which should be
HTML Code:

<?php // If comments are open
if ('open' == $post->
comment_status) : ?>

and replace them with the following
HTML Code:

<?php // If comments are open
if ( ('open' == $post->
comment_status)
OR ( is_page() and ('Yes' == $bfa_ata[comments_on_pages]) and ('open' == $post->comment_status) )) : ?>

save the file to the host and you should be all set.

Hi,
I'm having the same problem.

I did replace the code in comment.php, but I'm still experiencing the same problem. Only one comment is accepted on pages.

juggledad Feb 13, 2010 05:24 AM

1 Attachment(s)
NOTE: There are two parts to fix this problem

1) replace comment.php in the atahualpa folder with the attached file (unzip it first) and
2) fix the WordPress code described in post 14

Attachment 392

Hamlet Mar 5, 2010 04:14 PM

Thank you man my comment box is now back!:)

alamperti Mar 6, 2010 05:41 AM

@juggledad comments on pages restored! thanks, donation sent.

cheers from Italy :)

lmt Apr 7, 2010 01:57 AM

Quote:

Originally Posted by juggledad (Post 25477)
NOTE: There are two parts to fix this problem

1) replace comment.php in the atahualpa folder with the attached file (unzip it first) and
2) fix the WordPress code described in post 14

Attachment 392

Hi Juggledad:

I am trying to fix this bug but having problems.

1. I cannot unzip the file because it says I do not have the program on my computer to open the attached file for comment.php What file can I download to unzip the comment.php file?

2. I am having problems finding the file you mentioned in post 14. Is it the same as the comment.php file or in the FTP files? :confused:

juggledad Apr 7, 2010 04:14 AM

1) do a google search for 'unzip programs' and download one for your operating system

2) this is one of WordPress's files
Quote:

...edit comment-template.php (it's in the wp-includes folder) and find the function...

Grum Apr 28, 2010 03:53 AM

Hi Juggledad;
Thanks for this bugfix. I managed to get it working yesterday after a bit of fiddling about, and I have now got multiple comments on single pages. That had been annoying me for a while.
However, I am finding that the 'highlight author comments in different colour' option in ATO > 'style and configure COMMENTS' doesn't seem to work on the single pages. I think it's still OK on the multi-post pages, but single-post comment replies all seem to be in the default comment colour, e.g. here.

I'm using WP 2.9.2 and Ata 3.4.6.

Mz More May 30, 2010 10:13 PM

Can someone please help me. I am very new to all of this. My comments were working before but now comments are producing 404 errors. Every time someone tries to submit a comment, the page refreshes and it doesn't go through. I even tested it myself. Please help, I am missing out on all of my comments.

www.theglamorousgleam.com

juggledad May 31, 2010 04:21 AM

see http://forum.bytesforall.com/showthread.php?t=6606

willwork Jun 28, 2010 02:25 PM

I replaced the comments.php file and added:
$post = get_post($comment->comment_post_ID);
where I thought it should go -the lines numbered didn't match up

My blog is now blank when I load it up.
I tried to put the original comments.php file back - still blank
I also put the original comment-template.php - No Joy - blank blog - any ideas?
I'm using Atahualpa 3.5.1
Wordpress 3.0

willwork Jun 28, 2010 02:27 PM

Even worse - I can't even log in to the blog - everything is a blank white page. Anybody help me on this one?? nightmare

juggledad Jun 28, 2010 03:14 PM

download a fresh copy of the Atahualpa (version of you are using) unzip it and ftp a fresh copy of comments.php to the theme folder.

Did you make the change to the wordpress code along with the change to coment.php?

willwork Jun 28, 2010 03:21 PM

Thanks - that got it back up.

With the latest version of Atahualpa - what is necessary to have comments appear on a static page that's set as the homepage?
Reading Settings:
Front Page displays a static page
Front Page: Home

In the Loop, I've included this conditional:
Code:

<?php if ( is_front_page() ) {
query_posts('posts_per_page=1');
} ?>


Misa Jul 29, 2010 04:52 PM

I'm sure this is a really stupid question but here goes...

We normally have comments turned off on our site's pages. I've just gone back in and tried to turn comments back on within one particular page that had them previously turned off (Allow Comments box unticked, re-ticked the box). After updating and refreshing, the comment box isn't displaying. (Dumb question part!) Will the fixes listed above help in this particular scenario? Sorry and thanks in advance.

I'm using WP 2.9.2
Atahualpa 3.4.6

EDIT: Went in and made the Wordpress code update and replaced the comments.php listed above in the theme folder. That pesky comment box still isn't appearing. Grrr. This is the page in question: http://www.selfdirectedsupportideasf...tival-of-ideas

I guess I could always try remaking the page? Bleh.

lmilesw Jul 29, 2010 05:19 PM

Check and make sure ATO>Style & configure comments>Allow comments on "Page" pages, too? is set to yes.

Misa Jul 29, 2010 06:01 PM

No wonder! *smacks forehead*

I didn't think to check anywhere else as I've consistently made new posts and forgot to untick the "Allow comments" and had to go back in to change it. Never thought it was any different for pages.

You guys rock, as always. We need to clone you and Juggledad. ;)


All times are GMT -6. The time now is 08:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.