The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

"Who is online?" stuff

View previous topic View next topic Go down

Solved "Who is online?" stuff

Post by stelis on November 6th 2011, 4:49 pm

How to put "Who is online?" stuff in center? My forum version is phpBB2

stelis
Forumember

Posts : 46
Reputation : 1
Language : Lithuania

Back to top Go down

Solved Re: "Who is online?" stuff

Post by Guest on November 6th 2011, 4:57 pm

Do you mean the text of the table?

Guest
Guest


Back to top Go down

Solved Re: "Who is online?" stuff

Post by Shian on November 6th 2011, 4:59 pm

It should have came with your forum.

AT the bottom of your forum, does it have a "Who is online" Spot?

Shian
Forumember

Male Posts : 240
Reputation : 15
Language : English, French

http://overflowforum.com

Back to top Go down

Solved Re: "Who is online?" stuff

Post by Guest on November 6th 2011, 5:03 pm

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>

Guest
Guest


Back to top Go down

Solved Re: "Who is online?" stuff

Post by stelis on November 6th 2011, 5:14 pm

No, Gassy, I mean aaaaaaall stuff : in center.

stelis
Forumember

Posts : 46
Reputation : 1
Language : Lithuania

Back to top Go down

Solved Re: "Who is online?" stuff

Post by Guest on November 6th 2011, 5:23 pm

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

Guest
Guest


Back to top Go down

Solved Re: "Who is online?" stuff

Post by stelis on November 6th 2011, 6:10 pm

Thank u

stelis
Forumember

Posts : 46
Reputation : 1
Language : Lithuania

Back to top Go down

Solved Re: "Who is online?" stuff

Post by Guest on November 6th 2011, 6:44 pm

Glad to help you Wink

Guest
Guest


Back to top Go down

Solved Re: "Who is online?" stuff

Post by Base on November 6th 2011, 7:27 pm

Problem Solved:Glad your problem is solved; topic marked as solved and archived. Smile

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum