Coding-Spot

You are not connected. Please login or register

 
 
 

how to make forum statistic in FM??

Message (Page 1 of 1)

#1

weeknight

weeknight
 
Senior Member

Posted May 25th 2013, 1:56 pm

 
hi all

I want to ask :D:

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

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

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

please help me, thanks before ^_^





#2

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 2:14 pm

 
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:



https://coding-spot.darkbb.com


#3

refresh101

refresh101
 
Advance Member

Posted May 25th 2013, 3:00 pm

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


Thanks Mr.Mark :) Work Now





#4

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 3:23 pm

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



https://coding-spot.darkbb.com


#5

weeknight

weeknight
 
Senior Member

Posted May 25th 2013, 4:58 pm

 
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 make forum statistic in FM?? Image_000_copy

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

thanks before ^_^





#6

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 8: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>



https://coding-spot.darkbb.com


#7

weeknight

weeknight
 
Senior Member

Posted May 25th 2013, 8: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
 how to make forum statistic in FM?? 1dhaMvV

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:





#8

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 1:22 pm

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



https://coding-spot.darkbb.com


#9

Sponsored content


 

Posted

 





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