Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • InvisionFree and Zetaboards Support
  • [IF] Newest Member in Stats Missing [Solved]
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Add Reply
[IF] Newest Member in Stats Missing [Solved]; thank you :)
Topic Started: Nov 29 2009, 10:18 PM (312 Views)
bantymom Nov 29 2009, 10:18 PM Post #1


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
The last part of my Stats Board, the part where it tell you who the newest member is, is missing. Is there a way I might have accidentally turned it off in the Admin CP? I have set it so that while members will show up in the member list, I have also set it so that only the Admin can view profiles or the Member List. Could that have anything to do with it?
Offline Profile Quote Post Goto Top
 
Vitality Nov 29 2009, 10:42 PM Post #2
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Coding language
JavaScript
Is it the entire section, or just that one line? If it's just the one line there is no admin option to hide a single piece of the board stats like that.

It would then either be a code (if you have any codes in your template that have anything to do with the board statistics, please post them so we can try and debug it) or something that would be better suited for the staff at the official support boards to handle as it may be something with the board itself; beyond your capabilities to fix.
Offline Profile Quote Post Goto Top
 
bantymom Nov 30 2009, 12:06 AM Post #3


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
Thank you for having a go at it so far.

It's the whole bottom section of the stats board, not just the line of text.

Also, since the first post, in my Admin CP under Calendar and Birthday, I set it to not display any calendar events or birthdays, so that section of the Stats Board is now gone as well (on purpose). All that is currently showing is the top section that displays the active users information.

Header:
Code:
 
<table class="maintable" align="center">
<tr><td colspan="2">

<% BOARD HEADER %>

<script>
// Hide Hack
// (C) Copyright http://forums.distantstarz.net
// Copyright may not be removed or editted.
// No additions to the copyright may be added
ul = document.getElementById('userlinks');
member = ul.innerHTML.match(/Logged in as/i)
guest = ul.innerHTML.match(/guest/i)
if (guest) {
document.write("<style> .member {display:none;}</style>");
}
if (member) {
document.write("<style> .guest {display:none;}</style>");
}
</script>

<span class="guest">Welcome Guest</span>
<DIV class=tableborder id=showGuest style="display:none">
<TABLE cellSpacing=1 cellPadding=4 width="100%" align=center border=0>
<TR><TH class=maintitle align=left width="59%"><p align="center"><border="0" alt="">
</p></TH></TR>
<TR><TD class=row4><P align=center>
<BR>
<span style='color:#000000'>
<br>If you have been invited to join,
<br>you can log in now
<br>with the name and password you were given.<br>
<br>After you log in,
<br>please read the "Welcome Forum"
<BR><BR></span>
</P></TD></TR>
</TABLE>
</DIV>

<% NAVIGATION %>
<% BOARD %>
<% STATS %>


Footer:
Code:
 
</td></tr></table>

<script type='text/javascript'>
/*Online/Offline legend that actually works!
Code written by Duveaux
You can find this and more codes@ http://www.phantom-designs.net
leave in © :)
*/

on=" <font color='green'>(online)</font>";
off=" <font color='lightblue'>( )</font>";

var boardurl = navstrip.getElementsByTagName('A')[0].href.split("?")[0];
if (location.href.match("showtopic")){
document.write("<iframe src="+boardurl+" name='DX' id='DX' onload='checkOnline()' style='border:none' height='0' width='0'></iframe>")}

function checkOnline(){

online=self.DX.document.getElementsByTagName('DIV')
for (i=0;i<online.length;i++){
if (online[i].className=='thin'){
navstrip.innerHTML+="<div id='OnlineU' style='display:none'>"+online[i].innerHTML+"</div>"}
}
online=OnlineU.innerHTML
span=document.getElementsByTagName('span')
for (i=0;i<span.length;i++){
if (span[i].className=='normalname'){
id=span[i].innerHTML.split("showuser=")[1]
if (online.match(id)){
span[i].innerHTML+=on}
else{
span[i].innerHTML+=off}}}
}
</script>

<script type="text/javascript">
//Box for guests only
for(x=0;x<document.links.length;x++){
if(document.links[x].href.match("act=Login&CODE=00") != null){
document.getElementById('showGuest').style.display=""
}}
</script>

<script>//New PM Flasher - By Markup
userLinks=document.getElementById('userlinks');
if(userLinks.innerHTML.match("Inbox"))
{
newMsg=false;
a=userLinks.getElementsByTagName("A");
for(i=0;i<a.length;i++)if(a[i].innerHTML.match(/Inbox\s\([0-9]+\)/)&&a[i].innerHTML.match(/[0-9]+/)>0)newMsg=i;
if(newMsg)
{
inbox=a[newMsg];
inbox.style.fontWeight="Bold";
inbox.style.color="Red";
flash();
}
}
function flash()
{
if(inbox.style.visibility=="hidden")inbox.style.visibility="visible";
else inbox.style.visibility="hidden";
setTimeout("flash()",500)
}
</script>

<script type="text/javascript">
// Disable Navibar for Guests
// created by Ryan Fan
// http://www.ifsz.com , 2005
if(document.getElementById('userlinks').innerHTML.match(/Welcome Guest/i) != null)
{
document.getElementById('submenu').rows[0].cells[0].innerHTML ="<div align='center'></div>"
document.getElementById('submenu').rows[0].cells[1].style.display = 'none'
}
</script>

<script>
<!--//
function addColorOpt(Name,Value){ //Merc
if(!document.REPLIER||!document.REPLIER.fcolor){return;}
var c=document.REPLIER.fcolor.options;
c[c.length]=new Option(Name,Value);
c[c.length-1].style.color=Value;
}
function addFontOpt(Name,Value){ //Merc
if(!document.REPLIER||!document.REPLIER.ffont){return;}
var f=document.REPLIER.ffont.options;
f[f.length]=new Option(Name,Value);
f[f.length-1].style.fontFamily=Value;
}

addColorOpt("white","white");
addColorOpt("Grape","#CC00FF");
addColorOpt("Bright Pink","#FF00CC");
addColorOpt("Hot Pink","hotpink");
addColorOpt("Lime Green","Limegreen");
addColorOpt("Rosy Brown","#BC8F8F");
addColorOpt("Dark Orange","#CC3300");
addColorOpt("Black","#000000");

addFontOpt("Sand","Sand");
addFontOpt("Wingdings","Wingdings");
addFontOpt("Comic Sans MS","Comic Sans MS");
addFontOpt("Lucida HI","Lucida Handwriting Italic");
addFontOpt("Apple Chancery ","Apple Chancery");
// -->
</script>

<script>
var tCell = document.getElementsByTagName('TD')
for (n=0;n<tCell.length;n++){
if (tCell[n].innerHTML.match(/BB Code Help/i)){
tCell[n].innerHTML+="<br /><b><a href='http://www.spellcheck.net' target='_blank'>Spell Check</a></b>"
}}
</script>

Edited by bantymom, Nov 30 2009, 12:10 AM.
Offline Profile Quote Post Goto Top
 
Vitality Nov 30 2009, 03:34 PM Post #4
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Coding language
JavaScript
Since it's the whole block, log in to your Admin CP and under the System Settings category, click General Configuration. Under the second section there will be an option entitled Show Board Totals?; make sure that is set to yes.

Forthcoming calendar events and birthdays are a different section, so opting those out in the Admin CP won't remove the bottom block of your board stats. Follow the instructions I've written and see if that solves the problem.
Offline Profile Quote Post Goto Top
 
bantymom Nov 30 2009, 07:08 PM Post #5


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
Yes!

Thank you very much for solving this riddle for me. I must have read that section over and over again looking for what it might me and just missed it every time.

Your gracious help is immensely appreciated.

I hope it's ok that I added "solved" to the end of my title. I didn't want to bother anyone else with it.
Edited by bantymom, Nov 30 2009, 07:18 PM.
Offline Profile Quote Post Goto Top
 
Vitality Nov 30 2009, 10:25 PM Post #6
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Coding language
JavaScript
No problem, it's why we're here :) Glad we could be of assistance.

And no I don't mind.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · InvisionFree and Zetaboards Support · Next Topic »
Add Reply

Track Topic · E-mail Topic Time: 4:43 PM Sep 3
Hosted for free by ZetaBoards