Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 Change Board Statistics Title [SOLVED]
#
Is there a way to change the board stats title? instead of "Board Statistics" i'd like to say something else.
PM
#
    If you want to keep the board statistics the same, you can put this into your HTML templates (if using the default skin):

    CODE
    <div id='quick-login'>
     <!-- |quick_login| -->
    </div>
       <br />
    <!-- |toplinks| -->
       <br />
    <div class="tableborder" id="boardstats">
     <div class="maintitle"><span class='bstats-text'>Board Statistics</span></div>
     <table cellpadding='4' cellspacing='1' border='0' width='100%'>        <tr>
              <td class='pformstrip' colspan='2'> <!-- |total_users| --> user(s) active in the past 60 minutes</td>
        </tr>
        <tr>
             <td width="5%" class='row2'><{F_ACTIVE}></td>
             <td class='row4' width='95%'>
      <span id='activeusers-stats'><b><!-- |total_guests| --></b> guests, <b><!-- |total_mems| --></b> members, <b><!-- |total_anons| --></b> anonymous members</span>
        <div class='thin'> <!-- |online_list| --></div>
               <span id='activeusers-links'>Show detailed by: <a href='index.php?act=Online&amp;CODE=listall&amp;sort_key=click'>Last Click</a>, <a href='index.php?act=Online&amp;CODE=listall&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg'>Member Name</a></span>
             </td>
           </tr>
             <tr>
              <td class='pformstrip' colspan='2'>Today's Birthdays</td>
        </tr>
        <tr>
             <td class='row2' width='5%' valign='middle'><{F_ACTIVE}></div></td>
             <td class='row4' width='95%'><b> <!-- |birthdays| --></b> members are celebrating their birthday today<br /> <!-- |birthdays_list| --></td>
           </tr>     <tr>
          <td class='pformstrip' colspan='2'>Board Statistics</td>
        </tr>
        <tr>
       <td class='row2' width='5%' valign='middle'><{F_STATS}></td>
       <td class='row4' width="95%" align='left'>Our members have made a total of <b><script>document.write(<!-- |total_posts| -->-forum_posts[4]);</script></b> posts<br />We have <b><!-- |total_mem_reg| --></b> registered members<br />The newest member is <b><!-- |newest_member| --></b><br />Most users ever online was <b> <!-- |most_online| --></b> on <b> <!-- |most_online_date| --></b></td>
        </tr> <tr>
     <td class='pformstrip' colspan='2'>Members Online Today:  <!-- |online_today| --> <span id='mot_explink' style='display:none'>[<a href='javascript:expand_mot()'>Expand</a>]</span><span id='mot_collink' style='display:inline'>[<a href='javascript:collapse_mot()'>Collapse</a>]</span></td>
    </tr>
    <tr id='mot' style='display:inline-compact'>
     <td class='row2' width='5%' valign='middle'><{F_STATS}></td>
     <td class='row4' width='95%'><span id='activeusers-mostevertxt'>Most members ever online in one day was <b><!-- |most_online_oneday| --></b>, last accomplished on <b><!-- |most_online_oneday_date| --></b></span><br /><br /><span id='activeusers-followingtxt'>The following members have visited today:</span><br />
    <!-- |online_today_list| -->
    </td>
    </tr>         </table>
     </div>


    Then just change where it says Board Statistics to whatever you want.

    If you are not using the default template and instead using CFS, please refer to these guides:

    http://jcink.com/main/wiki/jfh-html-templates
    http://jcink.com/main/wiki/jfh-converting-cfs-html-templates
PM
#
If you don't want to replace the entire template, just use this code:

CODE
<script>
replace_str = $('#boardstats').html().replace(/Board Statistics/gi,'Replacement Text');
$('#boardstats').html(replace_str);
<script>

signature
email: admin@jcink.com :: blog: John C.
#
You can also do it entirely with CSS, in case for some reason those other two fixes didn't suit you!

CODE

.bstats-text:after {
   content: "Hello!";
   font-size: 22px;
}
.bstats-text {
   color: transparent;
   font-size: 0px;
}
PM
#
^ better solution actually, thanks for that DustBucket

signature
email: admin@jcink.com :: blog: John C.
#
i actually went with DustBucket's suggestion, but thank you all for being so helpful!
PM
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll