Jump to content
Sign in to follow this  
[Deleted User]

Comments on Pages?

Recommended Posts

[Deleted User]

Even though I enable comments for pages the comment box is not showing up?

Share this post


Link to post
Share on other sites
scotmanfrontiernetnet

The comment box will not show up till a comment is in their.

Share this post


Link to post
Share on other sites
bryan-hadaway

Could you provide a link to one of your pages. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns

I think you may have to set the option both in SETTINGS > DISCUSSION and also on each page itself via PageLines Page options.

Share this post


Link to post
Share on other sites
[Deleted User]

Yes but it is enabled also on the page options? Thanks

Share this post


Link to post
Share on other sites
cmunns

Try going into _post.php. Find this line ` <?php if(!VPRO || !is_page() || (is_page() && pagelines('pagecomments', $post->ID))) include(THEME_LIB.'/_commentsform.php');?> ` and make it like this ` <?php if(is_page() && pagelines('pagecomments', $post->ID)) include(THEME_LIB.'/_commentsform.php');?> `

Share this post


Link to post
Share on other sites
[Deleted User]

Thanks I tried to replace the line but I can still not have comments enabled on pages. I have tried to disable and enable etc... still no comment box?

Share this post


Link to post
Share on other sites
[Deleted User]

OK solved now :) For iBlogPro had to add this to _post.php:

<?php if(is_page() || pagelines('pagecomments', $post->ID)) include(THEME_LIB.'/_commentsform.php');?>
instead of
<?php if(!VPRO || !is_page() || (is_page() && pagelines('pagecomments', $post->ID))) include(THEME_LIB.'/_commentsform.php');?>

For the EcoPro I had to add the above _theloop.php. Thanks Martin

Share this post


Link to post
Share on other sites
[Deleted User]

Just one more "small" thing. In the process I have got two horizontal lines on the bottom of the pages.. see here: http://imagesbybay.com/contact/ One on top of the comment box and one below. Removing the comment box leave me with two lines - how do I remove those? Thanks Martin

Share this post


Link to post
Share on other sites
cmunns

Glad you got it, I guess my conditional was off "&&" instead of "||" For the lines, those are actually normal but to get rid of them you can add some CSS `.hentry {border-bottom:none;}`

Share this post


Link to post
Share on other sites
[Deleted User]

Thanks for the effort. Cheers, Martin

Share this post


Link to post
Share on other sites
cbitner

Hey Martin - I used the same method you did in iBlogPro 4 to add comments to pages. However, when I did that I lost the ability to have comments on my BLOG posts. Are you finding the same thing with your site? Or is that the functionality you wanted?

Share this post


Link to post
Share on other sites
cbitner

I am double posting this from another post, but if you want comments on pages on iBlogPro4, here's how you do it: (1) Edit the iBlogPro theme file called: _posts.php (2) Find the following line: <?php if(!VPRO || !is_page() || (is_page() && pagelines('pagecomments', $post->ID))) include(THEME_LIB.'/_commentsform.php');?> (3) Replace it with this line: <?php if(is_page() || is_single() || pagelines('pagecomments', $post->ID)) include(THEME_LIB.'/_commentsform.php');?> All will work properly.

Share this post


Link to post
Share on other sites
[Deleted User]

Thanks I just realized this. Im sure it worked on the 3.1.2/3.1.3 version of iBlogPro but in 3.1.5 comment box went of post pages!? Im not completely sure though. Thanks Cory! Martin

Share this post


Link to post
Share on other sites
alpavicunagmailcom

I cannot find the _post.php in order to replace the code. where can i find the file? Thanks Sven

Share this post


Link to post
Share on other sites
cmunns

Sven, if you have ecopro it will be _theloop.php instead of _posts.php

Share this post


Link to post
Share on other sites
alpavicunagmailcom

Thanks, but I am using iBlogPro. I have downloaded the whole theme on my notebook and searched it for the "_post.php". Unfortunately, this file does not exist. Any idea? Sven

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×