Recent Topics

1 Aug 16, 2004 21:03    

I just installed b2evo and i think its great! One problem I am having is that I can't figure out how to remove the referring web sites from the front page of the blog. it takes up too much space and i am happy with such statistics being on a seperate page. any suggestions?

thanks :D

2 Aug 16, 2004 23:06

What skin are you using?

open up skins/skin_name/_main.php in your favorite text editor, and look for the sideitems after the main blog loop. Delete or comment it.

3 Aug 17, 2004 16:47

I am using "custom"- Every time I try to delete the referring links display on the front page, I get a php error. I know alittle php but how to remove this is beyond me.

4 Aug 17, 2004 20:39

also, while im asking about how to remove stuff, how do i remove any link to a login page from the front of the blog?

thank you :D :D

5 Aug 17, 2004 23:58

in your skins/custom folder, open _main.php

find this code and delete it


	<?php if ($disp != 'stats') 
	{ ?>
	<div class="bSideItem">
		<h3><?php echo T_('Recent Referers') ?></h3>
			<?php refererList(5, 'global', 0, 0, 'no', '', ($blog > 1) ? $blog : ''); ?>
			<ul>
				<?php if( count( $res_stats ) ) foreach( $res_stats as $row_stats ) { ?>
					<li><a href="<?php stats_referer() ?>"><?php stats_basedomain() ?></a></li>
				<?php } // End stat loop ?>
				<li><a href="<?php $Blog->disp( 'blogstatsurl', 'raw' ) ?>"><?php echo T_('more...') ?></a></li>
			</ul>
		<br />
		<h3><?php echo T_('Top Referers') ?></h3>
			<?php refererList(5, 'global', 0, 0, 'no', 'baseDomain', ($blog > 1) ? $blog : ''); ?>
			<ul>
				<?php if( count( $res_stats ) ) foreach( $res_stats as $row_stats ) { ?>
					<li><a href="<?php stats_referer() ?>"><?php stats_basedomain() ?></a></li>
				<?php } // End stat loop ?>
				<li><a href="<?php $Blog->disp( 'blogstatsurl', 'raw' ) ?>"><?php echo T_('more...') ?></a></li>
			</ul>
	</div>

	<?php } ?>

and for the login links,
delete this code


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

6 Aug 18, 2004 00:24

thank you so much! :yes:


Form is loading...