Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Code Requests
  • Completed Requests
  • [Completed] [IF] Remove or Change Stats Title Rows
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:
Locked Topic
  • Pages:
  • 1
  • 2
[Completed] [IF] Remove or Change Stats Title Rows; [solved]
Topic Started: Nov 30 2009, 07:58 PM (115 Views)
bantymom Nov 30 2009, 07:58 PM Post #1


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
I would like
1) to either remove the first (or all) of the title rows in the Stats, or
2) be able to completely change the words to something without a count.

-- Search results concerning the changing of the text only addressed changing a word here and there and not removing the number or changing the entire thing

-- Search results concerning the removal of the title row completely returned a code by Ryan Fan, but it didn't work for me:
http://index.ifcode.com/advert_redirect.php?un=http://z9.invisionfree.com/iFusion/index.php?showtopic=453

I have used my AdminCP to turn of the 2nd and 3rd parts of the Stats so that only the first row is showing:
http://z10.invisionfree.com/ThePlayground/index.php?act=idx and I wonder if that could be part of the reason Ryan Fan's code isn't working for me.

I will be happy with either solution, though my 1st preference is to just remove the title row.
Edited by bantymom, Nov 30 2009, 07:59 PM.
Offline Profile Goto Top
 
Kitsueki Nov 30 2009, 10:31 PM Post #2
Member Avatar
♠ Aizu

Posts:
742
Group:
Dedicated
Member
#3,453
Joined:
Aug 31, 2009
Coding language
JavaScript
I just tested that code in my test forum, it's working fine.

It removes the three rows inside Stats, are you saying you want to completely remove stats?
Or maybe you want to Remove Stats' Header?

I see on your page it is working, and everything but the Detailed List area is gone.
Kingdom of Etruria
Spoiler: click to toggle
Kingdom of Etruria


Starring in the Medieval times, this Kingdom is an isolated territory not bothered by any other Kingdoms.
The military has recently caught on to something big, and its their job to stop it.
Will you walk your own path, or aid the Etrurian Military in exterminating the evil that is about to come forth?
It's Ready!

Kingdom of Etruria is a Roleplaying forum I created, also with the help of a few friends.
You can pick from many classes, fight any way you want, and gain rank in the military, or even start your own Faction.
It all starts with a Character Registration, if you're interested in taking part of this RP, PM me and I'll be sure to give you the link when I open it.
There are many things to do at Kingdom of Etruria, so be sure to find out for yourself
Thanks for reading!

Offline Profile Goto Top
 
Vitality Nov 30 2009, 10:39 PM Post #3
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Coding language
JavaScript
Looking at your board, Ryan Fan's code is working for you. Your active user(s) row is hidden, and since you've removed the other parts of your board statistics, they automatically won't show up since the entire block is hidden, and if the blocks were visible and Ryan Fan's code was still in your board wrappers, those rows would be hidden as well.

As far as I can see, the code is working fine and you have the results you're asking about.
Offline Profile Goto Top
 
bantymom Nov 30 2009, 11:57 PM Post #4


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
Completely confused, I couldn't believe it was just my imagination, and sure enough, it was still there for me. Here is a screenshot as it appears on my screen, in Safari:

Posted Image

I thought, hmm, maybe it's a browser thing?

So, I tried again in FF....

yep, you guessed it, no title row.

I never use FF, so it hadn't occurred to me that that was the problem. I promise to check both browsers next time.

Were either of you using IE 8? by any chance?

Thank you both for your patience and willingness to work with me on this.



Edited by bantymom, Dec 1 2009, 12:00 AM.
Offline Profile Goto Top
 
Kitsueki Dec 1 2009, 10:59 AM Post #5
Member Avatar
♠ Aizu

Posts:
742
Group:
Dedicated
Member
#3,453
Joined:
Aug 31, 2009
Coding language
JavaScript
Firefox for the win, lol.

Its because different browsers read coding differently.
So, do you still need a code? Or are you fine?
Kingdom of Etruria
Spoiler: click to toggle
Kingdom of Etruria


Starring in the Medieval times, this Kingdom is an isolated territory not bothered by any other Kingdoms.
The military has recently caught on to something big, and its their job to stop it.
Will you walk your own path, or aid the Etrurian Military in exterminating the evil that is about to come forth?
It's Ready!

Kingdom of Etruria is a Roleplaying forum I created, also with the help of a few friends.
You can pick from many classes, fight any way you want, and gain rank in the military, or even start your own Faction.
It all starts with a Character Registration, if you're interested in taking part of this RP, PM me and I'll be sure to give you the link when I open it.
There are many things to do at Kingdom of Etruria, so be sure to find out for yourself
Thanks for reading!

Offline Profile Goto Top
 
bantymom Dec 1 2009, 11:29 AM Post #6


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
It would be nice if I knew for sure that it worked on IE 8 (I don't think I can put that on my Mac to check it) and if I could get it to work in Safari, but if that isn't possible or would take a lot of work, then I guess I'm done.

<3

Offline Profile Goto Top
 
Kitsueki Dec 1 2009, 01:21 PM Post #7
Member Avatar
♠ Aizu

Posts:
742
Group:
Dedicated
Member
#3,453
Joined:
Aug 31, 2009
Coding language
JavaScript
I just tested it out in Safari and IE8, It seems to be working properly?
Have you done anything yet?
Attached to this post:
Attachments: IE8.bmp (2.25 MB)
Attachments: Safari.bmp (2.25 MB)
Edited by Kitsueki, Dec 1 2009, 01:23 PM.
Kingdom of Etruria
Spoiler: click to toggle
Kingdom of Etruria


Starring in the Medieval times, this Kingdom is an isolated territory not bothered by any other Kingdoms.
The military has recently caught on to something big, and its their job to stop it.
Will you walk your own path, or aid the Etrurian Military in exterminating the evil that is about to come forth?
It's Ready!

Kingdom of Etruria is a Roleplaying forum I created, also with the help of a few friends.
You can pick from many classes, fight any way you want, and gain rank in the military, or even start your own Faction.
It all starts with a Character Registration, if you're interested in taking part of this RP, PM me and I'll be sure to give you the link when I open it.
There are many things to do at Kingdom of Etruria, so be sure to find out for yourself
Thanks for reading!

Offline Profile Goto Top
 
bantymom Dec 1 2009, 02:18 PM Post #8


Posts:
24
Group:
Member
Member
#3,235
Joined:
Jun 18, 2009
Coding language
None
Thank you very much for going to that extra bit of trouble. I have done nothing to it. All I can think of is that after trying Safari 4, I went back to Safari 3 (With an iffy DSL connection that continually cuts out, I can't stand to give up my blue progress bar. With Safari 4, I can't tell if it's just long to load of if it's stuck), it must be a Safari 3 problem.

So, since I doubt that anyone else would want to keep Safari 3, I'm going stick a fork in it and call it done.

Thank you for all your help.

I'm sure I'll becoming up with another code I want.

:D


Offline Profile Goto Top
 
Kitsueki Dec 1 2009, 02:22 PM Post #9
Member Avatar
♠ Aizu

Posts:
742
Group:
Dedicated
Member
#3,453
Joined:
Aug 31, 2009
Coding language
JavaScript
No problem, if you need anything else feel free to post back here, we'll try our best to help~
:)
Kingdom of Etruria
Spoiler: click to toggle
Kingdom of Etruria


Starring in the Medieval times, this Kingdom is an isolated territory not bothered by any other Kingdoms.
The military has recently caught on to something big, and its their job to stop it.
Will you walk your own path, or aid the Etrurian Military in exterminating the evil that is about to come forth?
It's Ready!

Kingdom of Etruria is a Roleplaying forum I created, also with the help of a few friends.
You can pick from many classes, fight any way you want, and gain rank in the military, or even start your own Faction.
It all starts with a Character Registration, if you're interested in taking part of this RP, PM me and I'll be sure to give you the link when I open it.
There are many things to do at Kingdom of Etruria, so be sure to find out for yourself
Thanks for reading!

Offline Profile Goto Top
 
Vitality Dec 1 2009, 03:15 PM Post #10
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Coding language
JavaScript
Yeah, unfortunately codes won't always work in all browsers.

It seems to be working in FF (3.5.5), Safari 4, and IE 8 which are major browsers with their common versions.

If you wanted to do this through your CSS so it will work for everyone for sure. I would just be cautious because I don't know 100% that there isn't another .pformstrip on another page of the board, so while this will remove the one's on the index, I can't say there aren't more of these on other pages.

It's no big deal if there are more, you can always just replace the CSS with what you had before.

Find this in your CSS:
Code:
 
.pformstrip { background-color: #D1DCEB; color:#3A4F6C;font-weight:bold;padding:7px;margin-top:1px }

And replace it with this:
Code:
 
.pformstrip { display:none; }


Give that a try and if nothing is missing from that, use that method instead of the code. If something is, then revert back to using what you are using.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Completed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2

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