CSS who's online
2 posters
Page 1 of 1
CSS who's online
What is the CCS-code for the 'Who's online' table? I want to edit it.
To be more preciser I want to remove the table, so I only have the text, and add a image underneath it (like a footer).
To be more preciser I want to remove the table, so I only have the text, and add a image underneath it (like a footer).
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
Hi, for punBB? It combines three ID's:
They create this:
- Code:
#stats
- Code:
#onlinechat
- Code:
#onlinelist
They create this:
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: CSS who's online
Oh sorry, forgot to tell you. It's for a phpBB2 forum. ^^'
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
For template (index_body):
That will give you possiblity to work much easier with CSS selectors. Like:
- 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 -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<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>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<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}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" id="idforwhois" 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 -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<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>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<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}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
That will give you possiblity to work much easier with CSS selectors. Like:
- Code:
table#idforwhois{
...;
}
Guest- Guest
Re: CSS who's online
Thanks a lot for your help, but there are not templates on an phpBB2 forum. =(
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
Because you need to be the founder of the forum. The person who created the forum.
Guest- Guest
Re: CSS who's online
I see. Then I wil ask her if she wants to change it. Thanks a lot! =D
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
Okay, I believe I'm doing something wrong, but it's not working. It won't do anything, not even when I simply change the background or something like that. :S
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
Yup.
But isn't there some eh.. (jeez, how do you say this in english. ^^') solid CSS reference for the who's online table? Like there is for the punBB version.
But isn't there some eh.. (jeez, how do you say this in english. ^^') solid CSS reference for the who's online table? Like there is for the punBB version.
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
Hi,
PhpBB2 WIO has the .forumline class and shares it with lots of things on your forum and your changes would affect all those things. That's why you need to add a new class through templates for phpBB2 to get the effect only on your WIO part.
If you are stuck and you did all that Gassy told you please leave your forum URL with the template published so we can see the changes and help you out.
PhpBB2 WIO has the .forumline class and shares it with lots of things on your forum and your changes would affect all those things. That's why you need to add a new class through templates for phpBB2 to get the effect only on your WIO part.
If you are stuck and you did all that Gassy told you please leave your forum URL with the template published so we can see the changes and help you out.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: CSS who's online
I figured it out. I had to remove this:
to make it work. Thanks guys, wouldn't have done it without your help! =D
- Code:
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
to make it work. Thanks guys, wouldn't have done it without your help! =D
sun1994- Forumember
- Posts : 81
Reputation : 1
Language : dutch
Re: CSS who's online
Topic Solved & Locked |
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» Says 0 users online when i look at whos online.
» Whos Viewing What
» who is online
» Who is online pic...
» "Who is Online?" Map
» Whos Viewing What
» who is online
» Who is online pic...
» "Who is Online?" Map
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum