Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] req statísticas



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  destinyboy

destinyboy
V.I.P. Member
V.I.P. Member
  • Description:
[Solved] req statísticas BoIQyOQ

  • Information:
Forum:http://evolutioncommunity.forumotion.com/Version:PUNBB
Type:Request a codeTags:statísticas

Powered by PunBB
Currently 0 users have thanked destinyboy for this post:

2
Offline

  Shadow

Shadow
Administrator
Administrator
Put the following part in your [ic]index_body[/ic]

Code:
[panda=html] <li data-controller="core.front.widgets.block" data-blocktitle="Who's Online" data-blockid="app_core_whosOnline_m70h2vsxx" class="ipsWidget ipsWidget_horizontal ipsBox"><h3 class="ipsType_reset ipsWidget_title">
   Forum Affiliates
   
      &nbsp;&nbsp;<span class="ipsType_light ipsType_unbold ipsType_medium">(Free advertisement place for your forum)</span>
   
</h3>
<div class="ipsWidget_inner ">
   
<br>         <div id="quoterotator" style="display: block; opacity: 0.883750454440156;">
                    <a href="http://www.punbb.biz/t359-affilate-with-us-bann<div id="quoterotator" style="display: block; opacity: 0.883750454440156;">
                    <a href="http://www.punbb.biz/t359-affilate-with-us-banner-exchange"><img src="http://i57.servimg.com/u/f57/17/68/86/50/untitl13.jpg" alt="" /></a><a href="http://jangkeunsukmindanao.forums.fm" target="_blank"><img src="http://i58.servimg.com/u/f58/18/59/95/31/jksmin10.png" alt="" /></a><a href="http://fmotiongraphics.bulgarianforum.net/forum" target="_blank"><img src="http://i55.servimg.com/u/f55/18/84/19/28/affili10.png" alt="" /></a><a href="http://board.infinigame.net/" target="_blank"><img src="http://i.imgur.com/lZbmdwR.gif" alt="" /></a><a href="http://atlanta.forumid.net/" target="_blank" title="Atlanta - Indonesian web support (Forumotion, Blog)"><img src="http://i39.servimg.com/u/f39/16/49/10/98/afflia10.gif" title="Atlanta - Indonesian web support (Forumotion, Blog)" /></a><a href="http://informationforumgr.forumgreek.com/forum" target=" _blank"><img src="http://i1179.photobucket.com/albums/x392/PiklakiNye/ifgrpunbb-biz_zps70dab502.png" alt="" /></a>             
   </div>
         
      
   
</div></li>
     

CSS:

Code:
[panda=css]cWidgetContainer > ul > li:first-child {
    margin-top: 0;
}
.ipsBox:not(.ipsBox_transparent) {
    background-color: #fff;
}
.ipsWidget.ipsWidget_horizontal {
    padding: 10px;
}
.ipsBox {
    border-color: #f2f2f2;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
}
.ipsWidget {
    background: none repeat scroll 0 0 #fff;
    padding: 0;
    position: relative;
}
  .ipsWidget.ipsWidget_horizontal .ipsWidget_title {
    border-radius: 3px 3px 0 0;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}
 
.ipsType_medium:not(.ipsType_richText) {
    line-height: 20px;
}
.ipsType_light {
    color: #9c9c9c;
}
.ipsType_medium {
    font-size: 13px;
}
.ipsType_unbold {
    font-weight: normal;
}

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

3
Offline

  destinyboy

destinyboy
V.I.P. Member
V.I.P. Member
here my index body where do i put the code in my index body

Code:
<!-- BEGIN switch_user_logged_in -->
<link href="http://asusgames.esy.es/fonts/FontAwesome.css" rel="stylesheet">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<div id="pun-visit" class="clearfix">
  <ul>
        <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
      <li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
  </ul>
  <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
  <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->

<!-- BEGIN message_admin_index -->
<div class="main">
  <!-- BEGIN message_admin_titre -->
  <div class="main-head">
      <h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
  </div>
  <!-- END message_admin_titre -->

  <!-- BEGIN message_admin_txt -->
  <div id="pun-announcement">
      <p>{message_admin_index.message_admin_txt.MES_TXT}</p>
  </div>
  <!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
  <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label> 
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label> 
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> 
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
  </div>
</form>
</div>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
 <div id="{ID_LEFT}" class="main">
  <div class="main-head">
      <div class="page-title">
        <h2>Latest Topic System v5</h2>
      </div>
  </div>
    <div class="main-content">
      <table cellspacing="0" class="table">
        <tbody class="statused">
            <!-- BEGIN giefmod_index1 -->
            {giefmod_index1.MODVAR}
            <!-- END giefmod_index1 -->
        </tbody>
      </table>
  </div>
  <script type="text/javascript">
      //<![CDATA[
      var versionMinor = parseFloat(navigator.appVersion),
        versionMajor = parseInt(versionMinor),
        IE = document.all && !window.opera && 7 > versionMajor,
        IE7 = document.all && !window.opera && 7 <= versionMajor,
        OP = window.opera,
        FF = document.getElementById,
        NS = document.layers;
 
      function get_item(a, c) {
        if (IE) return c ? window.opener.document.all[a] : document.all[a];
        if (FF) return c ? window.opener.document.getElementById(a) : document.getElementById(a);
        if (NS) return c ? window.opener.document.layers[a] : document.layers[a]
      }
 
      var current_tooltip;
 
      function show_tooltip(a, c) {
        var b = get_item("tooltip");
        b || (b = document.createElement("div"), b.setAttribute("id", "tooltip"), document.body.appendChild(b));
        b.style.zIndex = 1000;
        b.style.position = "absolute";
        b.innerHTML = "<p>" + c + "</p>";
        b.style.visibility = "visible";
        a.onmousemove = move_tooltip;
        a.onmouseout = function() {
            b.style.visibility = "hidden"
        };
        a.title = ""
      }
      var offsetxpoint = -60,
        offsetypoint = 20,
        real_body = document.compatMode && "BackCompat" != document.compatMode ? document.documentElement : document.body,
        real_body = document.documentElement ? document.documentElement : document.body;
 
      function move_tooltip(a) {
        var c = !IE ? a.pageX : event.clientX + real_body.scrollLeft,
            d = !IE ? a.pageY : event.clientY + real_body.scrollTop,
            b = IE && !window.opera ? real_body.clientWidth - event.clientX - offsetxpoint : window.innerWidth - a.clientX - offsetxpoint - 20,
            e = IE && !window.opera ? real_body.clientHeight - event.clientY - offsetypoint : window.innerHeight - a.clientY - offsetypoint - 20,
            f = 0 > offsetxpoint ? -1 * offsetxpoint : -1E3;
        current_tooltip = get_item("tooltip");
        current_tooltip.style.left = b < current_tooltip.offsetWidth ? IE ? real_body.scrollLeft + event.clientX - current_tooltip.offsetWidth + "px" : window.pageXOffset + a.clientX - current_tooltip.offsetWidth + "px" : c < f ? "5px" : c + offsetxpoint + "px";
        current_tooltip.style.top = e < current_tooltip.offsetHeight ? IE ? real_body.scrollTop + event.clientY - current_tooltip.offsetHeight - offsetypoint + "px" : window.pageYOffset + a.clientY - current_tooltip.offsetHeight - offsetypoint + "px" : d + offsetypoint + "px"
      }
      $("#recent_topics li a:first-child").mouseover(function() {
        show_tooltip(this, $(this).next().html())
      });
      $("#active_topics a, #viewed_topics a").mouseover(function() {
        show_tooltip(this, $(this).prev().text().replace(/(.*)\s-\s\d+.+/, "$1"));
      }).after(function() {
        return '<span class="lastRight">' + this.title.replace(/.*\s-\s(\d+.+)/, "$1") + '</span>'
      });
      $(".changeLast").change(function() {
        $(".half.group_" + $(this).data("group")).hide();
        $("#" + this.value).show();
      });
      //]]>
  </script>
</div>
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<script>
  $(document).ready(function(){
var rdtOn = $('.rdtOn strong').html();
var lastUser = $('.lastUser strong').html();
var totalUser = $('.totalUser strong').html();
var totalPost = $('.totalPost strong').html();
 
 
$('ul.statsPers').prepend('
<li><span>'+totalPost+'</span> Total Posts</li>
<li><span>'+totalUser+'</span> Total members</li>
<li><span>'+lastUser+'</span> Newest member</li>
<li><span>'+rdtOn+'</span> Most online</li>
');
 
 
});
</script>
 <div id="statistics">
                  <br />
                  <ul class="statsPers">
                    <li class="statHide rdtOn">Most online: {RECORD_USERS}</li>
                    <li class="statHide lastUser">Newest member: {NEWEST_USER}</li>
                    <li class="statHide totalUser">Total members: {TOTAL_USERS}</li>
                    <li class="statHide totalPost">Total Posts: {TOTAL_POSTS}</li>
                  </ul>
              <br />
       
          </div>
<div id="pun-info" class="main">
  <div class="main-content">
      <div id="stats">
                  <div class="onlinemeet">Estatísticas</div>
        <div id="classeperson"><p class="right">{TOTAL_POSTS}</p>
        <p>{TOTAL_USERS}</p>
        <p>{NEWEST_USER}</p>
                  </div>
      </div>
      <div id="onlinelist">
        <img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
        <p class="right">
            <!-- BEGIN switch_viewonline_link -->
            <a href="{U_VIEWONLINE}" rel="nofollow"></a>
            <!-- END switch_viewonline_link -->
            <!-- BEGIN switch_viewonline_nolink -->
            {L_WHO_IS_ONLINE}
            <!-- END switch_viewonline_nolink -->
        </p>
        <p>{TOTAL_USERS_ONLINE}<br />
        {RECORD_USERS}

        <br />
        {LOGGED_IN_USER_LIST}

        {L_ONLINE_USERS}
        {L_CONNECTED_MEMBERS}<br /></p>
        <div class="clear"></div>
                      </div>
<!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
        <p class="page-bottom">
        <!-- BEGIN switch_chatbox_popup -->
        <!-- END switch_chatbox_popup -->
        </p>
      </div>
      <!-- END switch_chatbox_activate -->
  </div>
</div>
     
<!-- END disable_viewonline -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
  <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label> 
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label> 
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> 
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
  </div>
</form>
<!-- END switch_user_login_form_footer -->

{CHATBOX_BOTTOM} 
<!-- BEGIN switch_legend -->   
<ul id="pun-legend">
  <li>
      <img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /> {L_NEW_POSTS}
      <img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /> {L_NO_NEW_POSTS}
      <img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />&nbsp;{L_FORUM_LOCKED}
  </li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
  appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->

Powered by PunBB
Currently 0 users have thanked destinyboy for this post:

4
Offline

  Shadow

Shadow
Administrator
Administrator
Replace this part of your template with the one I posted in https://punbb-design.forumotion.com/t1050-req-statisticas#6972

Code:
[panda=html]<div id="pun-info" class="main">
  <div class="main-content">
      <div id="stats">
                  <div class="onlinemeet">Estatísticas</div>
        <div id="classeperson"><p class="right">{TOTAL_POSTS}</p>
        <p>{TOTAL_USERS}</p>
        <p>{NEWEST_USER}</p>
                  </div>
      </div>
      <div id="onlinelist">
        <img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
        <p class="right">
            <!-- BEGIN switch_viewonline_link -->
            <a href="{U_VIEWONLINE}" rel="nofollow"></a>
            <!-- END switch_viewonline_link -->
            <!-- BEGIN switch_viewonline_nolink -->
            {L_WHO_IS_ONLINE}
            <!-- END switch_viewonline_nolink -->
        </p>
        <p>{TOTAL_USERS_ONLINE}<br />
        {RECORD_USERS}
        <br />
        {LOGGED_IN_USER_LIST}
        {L_ONLINE_USERS}
        {L_CONNECTED_MEMBERS}<br /></p>
        <div class="clear"></div>
                      </div>

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

5
Offline

  destinyboy

destinyboy
V.I.P. Member
V.I.P. Member
all done thxs bro

Powered by PunBB
Currently 0 users have thanked destinyboy for this post:

6
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
[sucesso="Marked as Solved"]The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been marked as Solved.

If you have further questions, please open a new topic.[/sucesso]

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

7
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

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