"Who is online?" stuff

stelis at 16h49
06
Nov
2011
How to put "Who is online?" stuff in center? My forum version is phpBB2
1 Guest, on 06/11/2011 at 16h57
Do you mean the text of the table?
2 MysteriousMagic, on 06/11/2011 at 16h59
It should have came with your forum.

AT the bottom of your forum, does it have a "Who is online" Spot?
3 Guest, on 06/11/2011 at 17h03
Go to Administration Panel => Display => Templates => General => index_body Edit
Replace:
Code:
   <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>

to this:
Code:
   <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow"><center>{L_WHO_IS_ONLINE}</center></a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
                  <span class="cattitle"><center>{L_WHO_IS_ONLINE}</center></span>
      <!-- END switch_viewonline_nolink -->
      </td>
   </tr>
4 stelis, on 06/11/2011 at 17h14
No, Gassy, I mean aaaaaaall stuff : in center.
5 Guest, on 06/11/2011 at 17h23
Replace:
Code:
   <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>

with this:
Code:
  <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"><center>{TOTAL_POSTS}</center><br />
      <center>{TOTAL_USERS}<br />
                  {NEWEST_USER}</center></span></td>
  </tr>
  <tr>
          <td class="row1"><span class="gensmall"><center>{TOTAL_USERS_ONLINE}</center><br />
                  <center>{RECORD_USERS}</center><br />
      <br />
            <center>{LOGGED_IN_USER_LIST}</center></span></td>
  </tr>
  <center><span style="text-align: center;">{L_CONNECTED_MEMBERS}</span></center>
  <center><span style="text-align: center;">{L_WHOSBIRTHDAY_TODAY}</span></center>
    <center>{L_WHOSBIRTHDAY_WEEK}</center>
  <tr>
          <td class="row1"><span class="gensmall"><center>{LEGEND} : {GROUP_LEGEND}</center></span></td>
  </tr>
   <!-- BEGIN switch_chatbox_activate -->
   <tr>
      <td class="row1">
                  <span class="gensmall"><center>{TOTAL_CHATTERS_ONLINE} :  {CHATTERS_LIST}</center><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>

Save template, then publish it. Wink
6 stelis, on 06/11/2011 at 18h10
Thank u
7 Guest, on 06/11/2011 at 18h44
Glad to help you Wink
8 Base, on 06/11/2011 at 19h27
Problem Solved:Glad your problem is solved; topic marked as solved and archived. Smile
Similar topics
US UK
How do I hide all this info? Forum is http://bitteranonymous.forumtl.com/ version phbb3
Category: Miscellaneous Forum name: Everyday Stuff Forum Description: Talk about anything, from the Internet, to carrots! Forum URL: http://www.everydaystuff.forumotion.com Forum Language: English Categories & Forums: [Legend] Green =
Replies 1 to 8 on 8 for ""Who is online?" stuff"
See also
more_less
Informations

8 Replies For the topic :
""Who is online?" stuff"

This topic has been viewed 573 times.

Last message :
06/11/2011 at 16h49 by "stelis"