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.
Locked
idav
Registered User
Posts: 4
Joined: Thu Dec 09, 2004 1:38 pm
Location: Kingsport, Tennessee
Contact:

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...
http://www.gotricities.com/thebuzz

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...

Thanks.

David
User avatar
xdarkday
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">
  <tr> 
	<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr> 
	<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>
  </tr>
  <tr> 
	<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>
  </tr>
</table>
you can move this table above the forums by finding the table with these values

Code: Select all

{L_FORUM}
{L_TOPICS}
{L_POSTS}
{L_LASTPOST}
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.
Locked

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