sun1994 at 21h14
20
Dec
2011
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).
1 Nera., on 21/12/2011 at 12h09
Hi, for punBB? It combines three ID's:
They create this:

- Code:
#stats
- Code:
#onlinechat
- Code:
#onlinelist
They create this:

2 sun1994, on 21/12/2011 at 16h51
Oh sorry, forgot to tell you. It's for a phpBB2 forum. ^^'
3 Guest, on 21/12/2011 at 17h35
For template (index_body):
You can replace that code with this:
Save, then publish!
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 -->
You can replace that code with this:
- 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 -->
Save, then publish!
That will give you possiblity to work much easier with CSS selectors. Like:
- Code:
table#idforwhois{
...;
}
4 sun1994, on 21/12/2011 at 18h04
Thanks a lot for your help, but there are not templates on an phpBB2 forum. =(
5 Guest, on 21/12/2011 at 18h08
Because you need to be the founder of the forum. The person who created the forum. 
6 sun1994, on 21/12/2011 at 18h09
I see. Then I wil ask her if she wants to change it. Thanks a lot! =D
7 Guest, on 21/12/2011 at 18h17
Glad I could help. 
8 sun1994, on 21/12/2011 at 18h27
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
9 Guest, on 21/12/2011 at 18h49
- Code:
table#idforwhois td.row1{
background: url(imagelink);
}
10 sun1994, on 21/12/2011 at 19h04
Still not working. =(
11 Guest, on 21/12/2011 at 19h15
Hmm, have you replaced the index_body codes by me?
12 sun1994, on 21/12/2011 at 19h36
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.
13 Nera., on 21/12/2011 at 21h26
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.
14 sun1994, on 22/12/2011 at 19h13
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
15 Nera., on 22/12/2011 at 19h13
| Topic Solved & Locked |
Similar topics
Pada jaman dahulu kala, Biksu Tong Sam Cong berkelana ke arah Barat untuk mendapatkan Kitab Suci Budha. Dalam perjalanannya Biksu Tong Sam Cong menyelamatkan Sun Go Kong yang telah dipenjara selama kurang lebih 500 tahun di atas gunung lima jari. Setelah
Thân chào tất cả các bạn ^^~
PARUCE SHOPPING ONLINE tự hào là website đầu tiên kết hợp giữa K-pop, Fashion và là trung gian mang thế giới Korean Idol đến với các cộng đồng fans Việt Nam.
Trong quãng đường suốt gần 2 năm qua, đã có rất nhiều việc xảy
get paid to be online -tickerbar
No need to be "Actively" surfing
No need to "Click" banners
No limit to how many hours
Just build your downline and watch for checks in your mailbox!!!
How does it work? Very easy!!
Step 1. Join
Replies 1 to 15 on 15 for "CSS who's online"
Search
Informations
15 Replies For the topic :
"CSS who's online"
This topic has been viewed 976 times.
Last message :
20/12/2011 at 21h14 by "sun1994"





