Recent Topics

1 Jan 01, 2007 12:11    

After some things i changed in my skin,main.php i have 2 problems

1) Who is online function is gone in my sideblog

2) I have a error below the sidebar says

Notice: Undefined variable: sponsored_links in /home/joniesamateurs.nl/public_html/skins/nifty_corners/_main.php on line 288

Please help me , i prommise not to touch the script again :)

gr

2 Jan 01, 2007 13:11

1)Add the following code in your sidebar :

	<?php
	if( empty($generating_static) && ! $Plugins->trigger_event_first_true('CacheIsCollectingContent') )
	{ // We're not generating static pages nor is a caching plugin collecting the content, so we can display this block
		// TODO: when this gets a SkinTag plugin this check should get done by the Plugin
		?>
	<div class="bSideItem">
		<h3 class="sideItemTitle"><?php echo T_('Who\'s Online?') ?></h3>
		<?php
			$Sessions->display_onliners();
		?>
	</div>
	<?php } ?>

2) Find a section of code that looks like this ( near the bottom ) :

display_list( $sponsored_links, T_('Credits').': ', ' ', '|', ' ', ' ' ); 


Change the $sponsored_links to $credit_links

;)

¥

3 Jan 01, 2007 13:22

thx man

i backed up the main.php , so that mistake i do not make anymore

Gr


Form is loading...