Recent Topics

1 Jul 20, 2007 01:40    

My b2evolution Version: Not Entered

First, my categories view doesn't show anything, i don't know what's wrong

Second, added an adsense link list unit to my sidebar and it doesn't seem to be showing the links vertically. It generally shows the first one and half of the second one cut off.

Here you can see what i'm talking about at my blog (note I modded the sidebar to be on the left and flipped the background images):

Any suggestions on how to fix one or both of these problems? Your help will be greatly appreciated!

I looked through the code again, especially the categories stuff and it seems fine to me. No idea what's wrong there but the adsense formatting probably has something to do with how the styles are set up by default for all sidebar items.

2 Jul 20, 2007 04:03

As with almost all rendering issues, the first thing to check is validation, and your page has 38 errors on it. Most of them are simple.. deprecated line-break format, etc... .But two of them are more interesting... You've got a closing Unordered List tag where it shouldn't be, and more importantly/interestingly you've got an opening BODY tag near the end of the page. I'd take care of those errors first and see how your rendering changes once they're gone.

Oh, and I'm not sure what you mean by your categories view not displaying properly. I'm seeing it just fine in Firefox That reminds me, was just released. Must upgrade.


3 Jul 20, 2007 07:39

lol... I didn't even bother to check his meta tags... he's running wordpress.


4 Jul 20, 2007 12:17

Are you sure you're looking at the right site?
I'm running b2evo 1.10.2
I also ran a search and see only 2 body tags there and they're where they should be. (ran a search just to make sure).

You weren't looking at my site :P It's not Wow, pretty stupid typo but you got directed to my hosts blog so it looked like there was no mistake.

Tried your validator. Only saw a 3 little errors, one is a missing ALT tag that isn't there but w3 thinks should be.

5 Jul 20, 2007 13:37

For the categories: check the code in the _main.php fram another skin ('custom' is your best choice) and copy this code in your skin, or at least compare the code from both skins.
For the ads: 1) place the code in a div and 2) your width is 468 and your height is 15. That's not typically vertical, is it.

Keep up with the good work.

6 Jul 20, 2007 13:43

your width is 468 and your height is 15. That's not typically vertical, is it.

Lol, how could I have missed that :P


I've tried the other code and everything else I can think of, but there's still nothing showing under the categories heading?!

7 Jul 20, 2007 16:04

Yeah well, I was just copy/pasting the URL from your original post... :)


8 Jul 20, 2007 16:39

Try re-uploading the categories plugin


9 Jul 20, 2007 16:56

Didn't work for me. Here's some stuff about my setup I don't know if it will help:

I deleted all the blogs except blog all and renamed it to be my main blog (might have screwed something up)
I do have a bunch of categories but only one post so far
I tried reinstalling the categories plugin, no luck

Here's the sidebar code in case it helps:

<!-- =================================== START OF SIDEBAR =================================== -->

<div class="bSideBar">

	<div class="bSideItem">
		<h3><?php $Blog->disp( 'name', 'htmlbody' ) ?></h3>

		<?php form_formstart( $Blog->dget( 'blogurl', 'raw' ), 'search', 'SearchForm' ) ?>
			<input type="text" name="s" size="30" value="<?php echo htmlspecialchars($s) ?>" class="SearchField" />
			<input type="submit" name="submit" class="search_submit" value="Go" />

		<p><?php $Blog->disp( 'longdesc', 'htmlbody' ); ?></p>
		<p class="center"><strong><?php
			posts_nav_link( ' | ',
				/* TRANS: previous page (of posts) */ '< '.T_('Previous'),
				/* TRANS: next page (of posts) */ T_('Next').' >' );
		<ul class="main_nav_links">
			<li><a href="<?php $Blog->disp( 'dynurl', 'raw' ) ?>"><strong><?php echo T_('Recently') ?></strong></a></li>
			<li><a href="<?php $Blog->disp( 'lastcommentsurl', 'raw' ) ?>"><strong><?php echo T_('Last comments') ?></strong></a></li>
<script type="text/javascript"><!--
google_ad_client = "pub-9961298526542945";
google_ad_width = 160;
google_ad_height = 90;
google_ad_format = "160x90_0ads_al_s";
//2007-07-20: FreeSite
google_ad_channel = "8485651604";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
<script type="text/javascript"
		// -------------------------- CATEGORIES INCLUDED HERE -----------------------------
		// Call the Categories plugin:
		$Plugins->call_by_code( 'evo_Cats', array(	// Add parameters below:
			) );
		// -------------------------------- END OF CATEGORIES ----------------------------------

		// -------------------------- ARCHIVES INCLUDED HERE -----------------------------
		// Call the Archives plugin:
		$Plugins->call_by_code( 'evo_Arch', array(	// Add parameters below:
			) );
		// -------------------------------- END OF ARCHIVES ----------------------------------

	<?php if( ! $Blog->get('force_skin') )
	{	// Skin switching is allowed for this blog: ?>
		<div class="bSideItem">
			<h3><?php echo T_('Choose skin') ?></h3>
				<?php // ------------------------------- START OF SKIN LIST -------------------------------
				for( skin_list_start(); skin_list_next(); ) { ?>
					<li><a href="<?php skin_change_url() ?>"><?php skin_list_iteminfo( 'name', 'htmlbody' ) ?></a></li>
				<?php } // ------------------------------ END OF SKIN LIST ------------------------------ ?>
	<?php } ?>

		// -------------------------- LINKBLOG INCLUDED HERE -----------------------------
		require( dirname(__FILE__).'/_linkblog.php' );
		// -------------------------------- END OF LINKBLOG ----------------------------------

	<div class="bSideItem">
		<h3><?php echo T_('Misc') ?></h3>
				user_login_link( '<li>', '</li>' );
				user_register_link( '<li>', '</li>' );
				user_admin_link( '<li>', '</li>' );
				user_profile_link( '<li>', '</li>' );
				user_subs_link( '<li>', '</li>' );
				user_logout_link( '<li>', '</li>' );

	<div class="bSideItem">
		<h3><img src="<?php echo $rsc_url ?>icons/feed-icon-16x16.gif" width="16" height="16" class="top" alt="" /> <?php echo T_('XML Feeds') ?></h3>
					RSS 0.92:
					<a href="<?php $Blog->disp( 'rss_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_rss_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
					RSS 1.0:
					<a href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_rdf_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
					RSS 2.0:
					<a href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_rss2_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
					<a href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_atom_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
			<a href="" title="External - English" class="gray"><?php echo T_('What is RSS?') ?></a>

10 Jul 20, 2007 17:18

Ok, where to start?

Blog All is an aggregator blog that is only meant to be used to pull all posts from all blogs for a cool homepage on a multiblog system and isn't meant to be used as a blog in itself.

So, what you should do is create yourself a brand new blog to be your real blog instead of blog all and then either move your categories across or, as you've just started, recreate them on your shiny new blog.

If you want to move your categories instead of recreating them then you need to crack open /conf/_admin.php and change $allow_moving_chapters = false; to true, then meander over to admin and edit each category and move it to the new blog.

After you've done all that you probably want to meander to admin > app settings, and change the "default blog to display" to your shiny new blog.

Hopefully, once you've done all that, your categories will then appear :D

If not then try grabbing a fresh copy of the zip and re-uploading the categories plugin ;)


Form is loading...