Recent Topics

1 Mar 22, 2007 11:16    

My b2evolution Version: 1.92

Hi, I'm a newbie to B2Evo, but can find my way around PHP/HTML/CSS, and have been impressed so far with the ease of use within B2, but I have a problem on one blog: http://combatwombat.7doves.com. It doesn't fire the comments area properly, even though everything appears correct in the skin,etc. The skin is a slightly modified nautica 2l. The skin works with new blogs just fine, as do the other blogs on our site. Even if I change the skin to the default, the comments will not work. In the admin, the settings are for all posts to allow comments, at level publish, and I have unset this, and re-set it. I have reset all user and group permisiions, to make sure they were a default level. In fact all the settings that are exposed by the admin control panel are exactly the same as known good blogs. The error logs don't show anything either........AAAAARGH >:-<

2 Mar 22, 2007 11:39

I can't see what's going on, but I'd say you deleted the comments from your skin so they won't show.
From the original Nautica 2l skin I found in the _main.php file from line 194 onward:

<div class="bSmallPrint">
	<a href="<?php $Item->permanent_url() ?>" title="<?php echo T_('Permanent link to full entry') ?>"><?php $Item->issue_time(); ?></a>&nbsp;.&nbsp;
	<?php $Item->issue_date(); ?>&nbsp;.&nbsp;
	<a href="<?php echo url_add_param( $Blog->get( 'blogurl', 'htmlattr' ), 'author='. $Item->get('creator_user_ID') ) ?>" title="<?php echo T_('Browse all posts by') ?> <?php $Item->author() ?>"><?php $Item->author() ?></a>&nbsp;
	<?php $Item->msgform_link( $Blog->get('msgformurl') ); ?>&nbsp;.&nbsp;
	<?php $Item->wordcount();
	echo ' ', T_('words');
	echo ' . ';
	$Item->views(); ?>
	<?php $Item->categories('Browse category', ' . ', '') ?>
	<?php $Item->feedback_link( 'comments' ) // Link to comments ?>
	<?php $Item->edit_link( ' . ' ) // Link to backoffice for editing ?>
	<?php $Item->trackback_rdf() // trackback autodiscovery information ?>
	</div>

<?php // -------- START OF INCLUDE FOR COMMENTS, TRACKBACKS, PINGBACKS ---------
$disp_comments = 1;      // Display the comments if requested
$disp_comment_form = 1;  // Display the comments form if comments requested
$disp_trackbacks = 1;    // Display the trackbacks if requested
$disp_trackback_url = 1; // Display the trackbal URL if trackbacks requested
$disp_pingbacks = 1;     // Display the pingbacks if requested * pingbacks are going away!
// now get the feedbacks
require( dirname(__FILE__).'/_feedback.php' );
// ------------- END OF INCLUDE FOR COMMENTS, TRACKBACKS, PINGBACKS ------------

locale_restore_previous(); // Restore previous locale (Blog locale) ?>

</div>

<?php } // --------------------- END OF POSTS LOOP -------------------------- ?> 


It's quite a piece of code but you should inspect your _main.php to see if there are differences.

Furthermore, for the comments to happen there should be a _feedback.php file in the folder of your skin and a larger one in the folder ../blogs/skins/

Good luck

4 Mar 22, 2007 11:58

Thanks for the reply, but, after reinstalling the default main.php for the skin, there are now no comments link displayed at all.
The install is a fresh one (new domain on bluehost, used cpanel install of 1.92). The feedback.php files are there, as expected.

Any more ideas?

5 Mar 22, 2007 12:05

given that other blogs work on the same engine and skin and site, how could i transfer all the blogs to a new blog, thereby rebuilding it?

6 Mar 22, 2007 12:06

I tried a fresh download of the skin (see link in previous post), installed it on my [url=http://blog.hemminga.net/a_stub.php?skin=nautica_2l]blog[/url] and it showed the comments link. You'd best try to update the complete skin, not only the _main.php file.
There are some major differences between a 1.8.x skin and a 1.9.x skin. I suspect part of your skin is old.

7 Mar 22, 2007 12:21

ok, it was a total reinstall of the skin,and is the version for 1.9.x but I'll try redoing it altogether. nautica info:
evoSkin: nautica_2l
Overall Skin Info:
nautica_2l 2 columns, fixed width, Colors: Blue Gray White
b2evolution Version: 1.9.* (skins are not expected to work with any version outside their own generation)
Skin design by: Studio 7 Designs
Other Design Credits:
Coded for b2evolution by: Danny Ferguson
Other Code Credits:
Updated for v1.9.2 by EdB
XHTML / CSS Validated? Valid XHTML 1.0 (Trans), Valid CSS2
Skin Features:
Archives Link? No.
Archives Listed (plugin)? Yes.
Blogslist? Yes - top.
Calendar Displayed (plugin)? No.
Categories Listed (plugin)? Yes.
Last Comments Link? No.
Linkblog? Yes.
Search Feature? Yes.
Skin Switching? Yes - list.
Who's Online? Yes.
XML Feeds? RSS 0.92, RSS 1.0 (RDF), RSS 2.0, ATOM 1.0 for posts and Comments, including inline RDF.

9 Mar 22, 2007 12:55

Ok, I deleted the stub altogether. I also tried another skin, reflection, without modification barring the image. Still no go. I also got into phpmyadmin, to see if there was an obvious setting difference between blogs. Nope. Maybe I should figure out howto backup the blogs from mysql, remove that blog, and recreate it?

10 Mar 22, 2007 13:09

EdB suggests a blog setting.

Go to your back office (log in as Admin) and tick the Blog Settings tab. Near the end it sais:

Feedback options
Allow comments:
Always on all postsAlways allow comments on every posts
Can be disabled on a per post basisComments can be disabled on each post separatly
No comments are allowed in this blogNever allow any comments in this blog


The first or the second should be checked.

You won't be able to get the comments link with posts that are already published, but when you 'edit' an existing post, you can check the 'Allow comment' radio button on that particular post.

11 Mar 22, 2007 13:31

That's the trick for newbies, eh? You cannot comment on a post previously submitted , or one without the appropriate settings from b2evo's comments selection.

All my previous posts were from a Linux app called BlogTK.

The new post from the admin screen.

12 Mar 22, 2007 13:39

I added the last line bacause somehow you did manage to get the comments link on your test post. Glad I did.

13 Mar 22, 2007 13:54

:D you guys rock!

I've submitted a bug report at blogtk's sourceforge.


Form is loading...