Possible to display only part of Who Is Online information box at bottom?
3 posters
Page 1 of 1
Possible to display only part of Who Is Online information box at bottom?
I was just wondering if its possible to show only part of the information that is in the Who Is Online box. Rather than disable the whole box, i would rather it show:
Our users have posted a total of XXX messages
We have XXX registered users
The newest registered user is XXX
And not have any of the rest of the information displayed. Its just to much of a big box at the bottom of my forum and i think it would be better to just have that top part. Is there a CSS code or something i can to do this?
Thanks
Our users have posted a total of XXX messages
We have XXX registered users
The newest registered user is XXX
And not have any of the rest of the information displayed. Its just to much of a big box at the bottom of my forum and i think it would be better to just have that top part. Is there a CSS code or something i can to do this?
Thanks
Re: Possible to display only part of Who Is Online information box at bottom?
there is a way hold on and ill get it for you
FIND THIS IN
ACP>DISPLAY>GENERAL>INDEX_BODY
FIND
REPLACE WITH
That should work, you can delete certain things if you want. That is what you requested so that is the code you get
FIND THIS IN
ACP>DISPLAY>GENERAL>INDEX_BODY
FIND
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" colspan="2" height="28">
<!-- BEGIN switch_viewonline_link -->
<span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<center><span class="cattitle">{L_WHO_IS_ONLINE}</span></center>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<center>
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" rowspan="6" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</center>
</tr>
<tr>
<center><td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br /></center>
<br />
<center> {LOGGED_IN_USER_LIST}</center></span>
</td>
</tr>
<center> {L_CONNECTED_MEMBERS}</center>
<center> {L_WHOSBIRTHDAY_TODAY}</center>
<center>{L_WHOSBIRTHDAY_WEEK}</center>
<tr>
<center><td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td></center>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<center><span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br /></center>
<!-- BEGIN switch_chatbox_popup -->
<center><div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</center>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
REPLACE WITH
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" colspan="2" height="28">
<!-- BEGIN switch_viewonline_link -->
<span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<center><span class="cattitle">{L_WHO_IS_ONLINE}</span></center>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<center>
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</center>
</tr>
</table>
<!-- END disable_viewonline -->
That should work, you can delete certain things if you want. That is what you requested so that is the code you get
Last edited by nextlevelgaming on November 25th 2012, 12:32 am; edited 2 times in total
Re: Possible to display only part of Who Is Online information box at bottom?
Use a widget using the PHP Variable to make sure that the thing you want to bi visible is the only one.
Re: Possible to display only part of Who Is Online information box at bottom?
Um what dude? He wants to keep the box, the php variables you do not need to place in a widget. In fact that is a waste of space honestly. OP do what I told you to do and you will be fine
Re: Possible to display only part of Who Is Online information box at bottom?
Excellent! Thanks nextlevelgaming! Exactly what i was looking for.
Could you give me the code that would include the legend also?
So that it would display:
Our users have posted a total of XXX messages
We have XXX registered users
The newest registered user is XXX
Legend: [ Administrator ] [ Staff ] [ Supporter ] [ Member ] [ Newbie ]
thanks and that should be all!
________________
It worked except the legend is all scrunched up together at the far end, instead of being just a line across, i left it up you can look at it www.InformationKeptQuiet.com/forum
Could you give me the code that would include the legend also?
So that it would display:
Our users have posted a total of XXX messages
We have XXX registered users
The newest registered user is XXX
Legend: [ Administrator ] [ Staff ] [ Supporter ] [ Member ] [ Newbie ]
thanks and that should be all!
________________
It worked except the legend is all scrunched up together at the far end, instead of being just a line across, i left it up you can look at it www.InformationKeptQuiet.com/forum
Last edited by becomeelite on November 25th 2012, 1:03 am; edited 1 time in total
Re: Possible to display only part of Who Is Online information box at bottom?
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" colspan="2" height="28">
<!-- BEGIN switch_viewonline_link -->
<span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<center><span class="cattitle">{L_WHO_IS_ONLINE}</span></center>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<center>
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" rowspan="4" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</center>
</tr>
<tr>
<center><td class="row1" rowspan="2"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td></center>
</tr>
</table>
<!-- END disable_viewonline -->
Let me know if that helps ya
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum