Archive for myfreeforum.org Before posting please check the "stickies" in the support forums. Please ask questions in real English and not "txt". You will get a better response. Please do not ask support questions via PMs.
|

Daniel(u1bd2005)
|
New Style Who's Online BoxPlease remember to use editor and a backup template for template edits.
OLD
NEW
______________________________
1. Goto Admin Panel > Styles > Edit Templates/Logos
2. Select your choosen template and edit index_body.tpl
3. Find and delete the following (or similar).
| Code: | <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/myff_custombbcodes2/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} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table> |
4. Goto Styles > Portal Settings
5. Choose BLANK portal
6. Call the portal ONLINEBODY and set showtitle to NO
7. Click Update
8. Goto Styles > Edit Template/Logos > Select your choosen template.
9. Edit index_body.tpl and look for
| Code: | <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table> |
10. After add
11. Click SAVE AND EXIT
12. Now under "Choose Portal template File to Edit" look for cms_onlinebody.tpl
13. Paste the following code.
| Code: | <table width="100%" cellpadding="3" cellspacing="1" border="1" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28" align="center"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">Online Members</a></span></td>
</tr>
<tr>
<td class="row3" align="center">
<span class="gensmall">
{TOTAL_USERS_ONLINE}
<br />
[ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]
<br />
{LOGGED_IN_USER_LIST}
</span>
</td>
<td class="row3" align="center">
<span class="gensmall">
{NEWEST_USER}
<br />
{TOTAL_USERS} - {RECORD_USERS}
<br />
{TOTAL_POSTS}
</span>
</td>
</tr>
</table> |
|
Nick(NR)
|
swap border="1" to border="0"
borders should always be styled through use of css, or just pop in style="border: 1px solid #000000;" as the table already has a class in use.
Nice job
|
|
|
|