Coding-Spot

You are not connected. Please login or register

 
 

how to make forum statistic in FM??

Message (Page 1 of 1)


 
Senior Member

Posted on Sat May 25, 2013 6:56 am

 
hi all

I want to ask :D:

how to make forum statistic in FM??
more details you can see this image :):


how to be like that?
source:
http://www.duelacademy.net/forum

my forum:
http://astajim.indonesianforum.net/

please help me, thanks before ^_^



View user profile



 
Administrator
Administrator

Posted on Sat May 25, 2013 7:14 am

 
Find this part on your index_body and delete it:
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 -->

On your overall_footer_begin template, find this part:
Code:
<!-- BEGIN html_validation -->
<div>
   <div>
      <table>
         <tbody>
            <tr>
               <td>
<!-- END html_validation -->
               </td>
               <td valign="top" width="{C3SIZE}">
               <div id="{ID_RIGHT}">
                  <!-- BEGIN giefmod_index2 -->
                  {giefmod_index2.MODVAR}
                  <!-- BEGIN saut -->
                  <div style="height: {SPACE_ROW}px"></div>
                  <!-- END saut -->
                  <!-- END giefmod_index2 -->
               </div>
               </td>
            </tr>
         </tbody>
      </table>
   </div>
</div>

Now place this below it:
Code:
<div id="whoisonline"><div id="whoisonlinetitlediv"><span id="whoisonlinetitle" style="font-weight:bold; font-size:20px; font-family:HemiHead;">Forum Statistics</span></div><br><br>
<div id="whoisonline_1"><span id="whoisonlinesubtitle">General Information</span><br>
<hr size="10" width="98%" align="left">

<table><tbody><tr><td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}.<br />
{NEWEST_USER}</span></td></tr></tbody></table>
<br><br><br>
<span id="whoisonlinesubtitle">Online Users</span><br>
<hr size="10" width="98%" align="left">

  <table><tbody><tr><td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br/> {RECORD_USERS}<br /><br />
{LOGGED_IN_USER_LIST}</span></td></tr></tbody></table><br><br>

<span id="whoisonlinesubtitle">Chatbox</span><br><hr size="10" width="98%" align="left"><table><tbody><tr><td class="row1"><span class="gensmall">{TOTAL_CHATTERS_ONLINE} :  {CHATTERS_LIST}</span></td></tr></tbody></table></div>


<div id="whoisonline_2"><span id="whoisonlinesubtitle">User Online</span><br><hr size="10" width="98%" align="left"><table id="tableforsumof24"><tbody><tr></tr><tr><td class="row1"><span class="gensmall">{L_CONNECTED_MEMBERS}</span></td></tr></tbody></table>

<table><tbody><tr></tr></tbody></table><br><br>
<span id="whoisonlinesubtitle">User Birthdays</span><br>
<hr size="10" width="98%" align="left">

<table><tbody><tr></tr><tr><td class="row1"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}</span></td></tr></tbody></table>
<br><br>
<span id="whoisonlinesubtitle">Groups</span><br>
<hr size="10" width="98%" align="left">

<table><tbody><tr><td class="row1"><span class="gensmall">{LEGEND} :&nbsp;{GROUP_LEGEND}</span></td></tr></tbody></table></div></div>

Now add this one to your Homepage Message:
Code:
<style>
      #whoisonline {
      display: block !important;
      }
</style>

Then add this to your CSS:
Code:
#whoisonline{
  border:1px solid #292929;
  background: url('http://i46.servimg.com/u/f46/12/16/55/86/forums15.gif') repeat;
  padding: 9px;
  width:98%;
  font-size:12px;
  font-family:verdana;
  overflow:hidden;
  height:1%;
  margin:auto;
}
#whoisonline_1{
  float:left;
  width:24%;
  margin: 2px;
}
#whoisonline_2{
  float:left;
  width:75%;
  margin: 2px;
}
#whoisonline_3{
  float:left;
  width:100%;
}
#whoisonline{
  border:1px solid #1A1A1A;
  border-bottom:2px solid #1a1a1a;
  padding: 9px;
  width:inherit;
  font-size:12px;
  font-family:verdana;
  overflow:hidden;
  height:1%;
  margin:auto;
  margin-bottom:-5px;
}
.whoisonlinejustindex #whoisonline{
  display:none;
}
#whoisonlinetitlediv{
  position:relative;
  vertical-align:middle;
  background: #141414;
  width:inherit;
  height:20px;
  margin-top:-9px;
  margin-left:-9px;
  margin-right:-9px;
  padding:9px;
  color: #2cab58;
  border: 1px solid #000;
}

#whoisonlinesubtitle{
  font-weight:bold;
  font-size:14px;
  color:#2cab58;
}
#whoisonline hr{
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #1A1A1A;
  margin: 1em 0;
  padding: 0;

}
#whoisonline .row1 {
  background: transparent;
}
#whoisonline_1{
  float:left;
  width:24%;
  margin:2px;

}
#whoisonline_2{
  float:left;
  width:75%;
  margin: 2px;
}
#whoisonline {
  display: none;
}

:D:



View user profile http://coding-spot.darkbb.com



 
Advance Member

Posted on Sat May 25, 2013 8:00 am

 
When Using Ur Tutorial The FOrum Statistis I Try It Work But The Users Online ant See?


Thanks Mr.Mark :) Work Now



View user profile



 
Administrator
Administrator

Posted on Sat May 25, 2013 8:23 am

 
Set the Display list of connected members during last 24* hours to Yes. You can see them above the Homepage Message.



View user profile http://coding-spot.darkbb.com



 
Senior Member

Posted on Sat May 25, 2013 9:58 am

 
hello mr.mark :D:

i done try :):

but i found some border in inside forum statistic (grey color)
more details you can see this image :):


how to fix it mr.mark??
http://astajim.indonesianforum.net/

thanks before ^_^



View user profile



 
Administrator
Administrator

Posted on Sat May 25, 2013 1:25 pm

 
Use this one instead:
Code:
<div id="whoisonline"><div id="whoisonlinetitlediv"><span id="whoisonlinetitle" style="font-weight:bold; font-size:20px; font-family:HemiHead;">Forum Statistics</span></div><br><br>
<div id="whoisonline_1"><span id="whoisonlinesubtitle">General Information</span><br>
<hr size="10" width="98%" align="left">

<table><tbody><tr><td class="roww" width="100%"><span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}.<br />
{NEWEST_USER}</span></td></tr></tbody></table>
<br><br><br>
<span id="whoisonlinesubtitle">Online Users</span><br>
<hr size="10" width="98%" align="left">

  <table><tbody><tr><td class="roww"><span class="gensmall">{TOTAL_USERS_ONLINE}<br/> {RECORD_USERS}<br /><br />
{LOGGED_IN_USER_LIST}</span></td></tr></tbody></table><br><br>

<span id="whoisonlinesubtitle">Chatbox</span><br><hr size="10" width="98%" align="left"><table><tbody><tr><td class="roww"><span class="gensmall">{TOTAL_CHATTERS_ONLINE} :  {CHATTERS_LIST}</span></td></tr></tbody></table></div>


<div id="whoisonline_2"><span id="whoisonlinesubtitle">User Online</span><br><hr size="10" width="98%" align="left"><table id="tableforsumof24"><tbody><tr></tr><tr><td class="roww"><span class="gensmall">{L_CONNECTED_MEMBERS}</span></td></tr></tbody></table>

<table><tbody><tr></tr></tbody></table><br><br>
<span id="whoisonlinesubtitle">User Birthdays</span><br>
<hr size="10" width="98%" align="left">

<table><tbody><tr></tr><tr><td class="roww"><span class="gensmall">{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}</span></td></tr></tbody></table>
<br><br>
<span id="whoisonlinesubtitle">Groups</span><br>
<hr size="10" width="98%" align="left">

<table><tbody><tr><td class="roww"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td></tr></tbody></table></div></div>



View user profile http://coding-spot.darkbb.com



 
Senior Member

Posted on Sat May 25, 2013 1:39 pm

 
yeah, i done try mr.mark, :):
but still there are some border, which has not been lost. in user brithday
you can see this


http://budokai.indonesianforum.net/

how to fix it mr.mark, thanks before ^_^

------------------------

EDIT:
ok problem solved mr.mark :):

just add this code in my css

Code:
#whoisonline .row1 {
  border: 0 none;
}

problem solved mr.mark ^_^

thanks for help me mr.mark, :D:



View user profile



 
Administrator
Administrator

Posted on Sun May 26, 2013 6:22 am

 
Since the problem is now solved, i'll locked this and move to archive section. Happy
~ Locked and Moved



View user profile http://coding-spot.darkbb.com


#9

Sponsored content


 

Posted Today at 11:50 am

 





Message (Page 1 of 1)

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

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None