Coding-Spot

You are not connected. Please login or register

 
 
 

Need make the static tabs(online, Birthday etc) like this forum

Message (Page 1 of 1)

#1

ashik4u

ashik4u
 
Advance Member

Posted May 26th 2013, 5:30 pm

 
I want to make my forum's static tabs(online, Birthday etc) like this forum. I have changed my forum's static tab before, so I am giving the index_body

Code:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<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}
{BOARD_INDEX}

<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
  <div class="main-content">
     
     
                  <div id="tabs_container">
    <ul id="stabs">
        <li class="active"><a href="#tab1">Online List</a></li>
      <li><a href="#tab2">Statistics</a></li>
        <li><a href="#tab3">Birthday List</a></li>
      <li><a href="#tab4">Chatbox</a></li> </ul>
</div>
                 
                  <div id="tabs_content_container">
    <div id="tab1" class="tab_content" style="display: block;">
<p>{TOTAL_USERS_ONLINE}<br />
        <br />
        {LOGGED_IN_USER_LIST}

        {L_ONLINE_USERS}
        {L_CONNECTED_MEMBERS}<br/>
{LEGEND} : {GROUP_LEGEND}</p>
     
    </div>
    <div id="tab2" class="tab_content">
      <p>We have <strong><span class="FORUMCOUNTUSER"></span></strong> registered user<br/>
  The newest registered user is <strong><span class="FORUMLASTUSERLINK"></span></strong><br/><br/>
        {RECORD_USERS}<br/>{TOTAL_POSTS}<br/><br/>
  </p>
    </div>
    <div id="tab3" class="tab_content">
<p>{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
    </div>
    <div id="tab4" class="tab_content">
        <object data="/chatbox/index.forum?page=front&" id="frame_chatbox" scrolling="yes" width="100%" height="300" type="text/html"></object>
    </div>
</div>
     
      <!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
        <p class="page-bottom">
        {TOTAL_CHATTERS_ONLINE} :
        {CHATTERS_LIST}<br />
        <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
              insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            </script>
        <!-- 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}" /> {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 -->

Forum Url: http://www.bdtipsntricks.com/
Version: PunBB



Last edited by ashik4u on May 26th 2013, 5:43 pm; edited 1 time in total



http://www.bdtipsntricks.com/


#2

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 5:39 pm

 
What do you mean by static tab? Oh my



https://coding-spot.darkbb.com


#3

ashik4u

ashik4u
 
Advance Member

Posted May 26th 2013, 5:41 pm

 
Mark wrote:What do you mean by static tab? Oh my

This one
Need make the static tabs(online, Birthday etc) like this forum Captur13



http://www.bdtipsntricks.com/


#4

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 5:44 pm

 
So what can i help for you? Since you already have the statistic tabs Oh my.



https://coding-spot.darkbb.com


#5

ashik4u

ashik4u
 
Advance Member

Posted May 26th 2013, 5:46 pm

 
Oh my God, I want to make it like this forum. Is it possible?



http://www.bdtipsntricks.com/


#6

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 5:51 pm

 
I want to make my forum's static tabs(online, Birthday etc) like this forum.

... Ninja
Can you please explain properly. What are you referring with your statement "like this forum"?



https://coding-spot.darkbb.com


#7

refresh101

refresh101
 
Advance Member

Posted May 26th 2013, 5:56 pm

 
I Didnt See Statistics Tabs Here -_-





#8

ashik4u

ashik4u
 
Advance Member

Posted May 26th 2013, 6:16 pm

 
like this

Need make the static tabs(online, Birthday etc) like this forum Captur14



http://www.bdtipsntricks.com/


#9

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 6:20 pm

 
You want the same statistics to your forum?

In total there are...
Registered Users...
Bots...

Members connected...
Legends...

In that order?



https://coding-spot.darkbb.com


#10

ashik4u

ashik4u
 
Advance Member

Posted May 26th 2013, 6:21 pm

 
yes, of course



http://www.bdtipsntricks.com/


#11

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 6:25 pm

 
Ok, i'm confuse because i thought you want the 967 total post... etc.
Maybe next time define them well or just provide a screenshot.
Atleast you made it clear. Ok. Wink

Use this one as the template:
Code:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<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}
{BOARD_INDEX}

<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
  <div class="main-content">
     
     
                  <div id="tabs_container">
    <ul id="stabs">
        <li class="active"><a href="#tab1">Online List</a></li>
      <li><a href="#tab2">Statistics</a></li>
        <li><a href="#tab3">Birthday List</a></li>
      <li><a href="#tab4">Chatbox</a></li> </ul>
</div>
                 
                  <div id="tabs_content_container">
    <div id="tab1" class="tab_content" style="display: block;">
         <p>{TOTAL_USERS_ONLINE}<br />
         {LOGGED_IN_USER_LIST}<br />
                         
         {L_ONLINE_USERS}
         {L_CONNECTED_MEMBERS}<br /></p>
         <div class="clear"></div>

         <p>{GROUP_LEGEND}</p>
     
    </div>
    <div id="tab2" class="tab_content">
      <p>We have <strong><span class="FORUMCOUNTUSER"></span></strong> registered user<br/>
  The newest registered user is <strong><span class="FORUMLASTUSERLINK"></span></strong><br/><br/>
        {RECORD_USERS}<br/>{TOTAL_POSTS}<br/><br/>
  </p>
    </div>
    <div id="tab3" class="tab_content">
<p>{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
    </div>
    <div id="tab4" class="tab_content">
        <object data="/chatbox/index.forum?page=front&" id="frame_chatbox" scrolling="yes" width="100%" height="300" type="text/html"></object>
    </div>
</div>
     
      <!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
        <p class="page-bottom">
        {TOTAL_CHATTERS_ONLINE} :
        {CHATTERS_LIST}<br />
        <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
              insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            </script>
        <!-- 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}" /> {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 -->



https://coding-spot.darkbb.com


#12

ashik4u

ashik4u
 
Advance Member

Posted May 26th 2013, 7:26 pm

 
solved



http://www.bdtipsntricks.com/


#13

Mark

Mark
 
Administrator
Administrator

Posted May 26th 2013, 7:27 pm

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



https://coding-spot.darkbb.com


#14

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