Recent Topics

1 Jun 19, 2008 14:58    

My b2evolution Version: Not Entered

Hi,

I'm very new to this. Been using it about a week. I am trying to put some affilaite style adverts, banner and text into my posts but they don't seem to be appearing. I have checked all the allow javscript type options in the settings but it doesn't work.

Can anyone help? :-/

2 Jun 19, 2008 15:46

hi bjoshi,

Welcome to the forums.
For Google adsense you can use the plugin.
Other things like something personalized should be added to the post and that should either work or give an error like No Valid XHTML. This depends a bit, Flash things are often <embedded> and that will never validate.

You could also hack your skin. Find skins/YOURSKIN/index.main.php or skins/YOURSKIN/posts.main.php depending on the skin and search for the posts loop that starts like this:

		while( $Item = & mainlist_get_item() )
		{	// For each blog post, do everything below up to the closing curly brace "}"
		?>


and ends like this:

		</div>
		<?php
		locale_restore_previous();	// Restore previous locale (Blog locale)
		}
	?>


You can add a banner at the beginning or at the end and it will show up in every post.

Good luck

3 Jun 19, 2008 17:33

Thanks for that.
I'm not getting any errors at present. It saves normally, just doesn't show it.
What if I want to have different banners etc in different posts? using the index.php file I can only ever have one banner right?


Form is loading...