How do I move 'Who is Online?'

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Registered User
Posts: 4
Joined: Thu Dec 09, 2004 1:38 pm
Location: Kingsport, Tennessee

How do I move 'Who is Online?'

Post by idav »

Merry Christmas everyone.

I'm considering moving the 'WHO IS ONLINE' display on the Cobalt template to the top of the page...

Can someone steer me to the right code to make this happen? I'm not real clear as to what is happening on the index.php page as I'm a novice phper, but would appreciate any direction...


User avatar
Registered User
Posts: 570
Joined: Sat Oct 11, 2003 7:51 am
Location: Arizona

Post by xdarkday »

I dont have that template so realise this is not exact.

in templates/yourtemplate/index_body.tpl

find that looks somthing clos to this

Code: Select all

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
	<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
	<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
you can move this table above the forums by finding the table with these values

Code: Select all

then pasting that fist table you found above the table with the values i just gave you. the tpl fils are mainly html, its not as hard as you think.

Return to “[2.0.x] Styles Development & Discussion”