My b2evolution Version: 1.9.x
I cannot insert code from blog directories I've registered with because i keep getting "bad syntax" errors when I put the code in "linkblog" posts or in sidebar fields. Very puzzling -- I can do text links, but not images!!
If I cannot post their links and images, they won't list my blog!!
With link code from several different sites, I get:
Parser error: mismatched tag: img near <img border="0" src= ...
Here is one such code from a blog directory:
<!-- Begin Topblogging tracking code -->
<a href="http://www.topblogging.com/"><img border="0" src="http://www.topblogging.com/tracker.php?id=904" width="80" height="15" alt="Arts Blogs"></a>
<!-- End Topblogging tracking code -->
<br />
<!-- Begin Topblogging voting code -->
<a href="http://www.topblogging.com/in.php?site=904" title="Arts Blogs" target="_blank">
<img src="http://www.topblogging.com/images/voting.gif" border="0" alt="Arts Blogs"></a>
<!-- End Topblogging voting code -->
Instead of trying to add it to a blog post why not simply edit your skins/your_skin/_main.php file and add those bits to your sidebar? You would probably want to put them between the appropriate DIV tags, and you'll see what they are when you edit your file. For example though they might be <div class="bSideItem"> followed by the code snippet you desire, then closed with </div>.