PDA

View Full Version : tcat in members' profiles


Arkidas
05-25-2008, 05:59 PM
How can I modify this? ( I don't mean through CSS, I want to add images on each side of the tcat there ).

http://img176.imageshack.us/img176/1747/15892574rq1.gif

Dismounted
05-26-2008, 06:11 AM
Look at the code that is used to display them.

Arkidas
05-26-2008, 01:24 PM
I can't find the code in the new 3.7 templates, that is the problem.

Calricdal
05-26-2008, 01:52 PM
I would ALSO like to know how and where to modify these tabs. Specifically, I'd like to know how to change the order so Visitor Messages is not the first tab. I'm also using 3.7 Thanks in adbvance for the help.:D

SEOvB
05-26-2008, 02:02 PM
They are defined in an memberinfo_css template and clientscript/vbulletin_tabctrl.css file

Opserty
05-26-2008, 02:04 PM
The new profile layouts are quite complex so the best thing is to just look for yourself and go by trial and error. It was quite a chore when I came to editing it for the first time so be prepared for a long night when you start ;)

Anyway, all the profile page consists of memberinfo templates, there is the main MEMBERINFO template which contains the main structure & layout of the profile page. It does have a few comments to say where things are so you might be able to use those. Each of the little sections on the Profile page are knowns as "Blocks".

I found it quite difficult to edit the tab menu as it consists of a mix of HTML Javascript and CSS so I gave up in the end.

For Calricdal, to edit the order of the you will need to change the order of the "$block_data" variables (I think thats what they are called) and place the visitor message block lower down in the list. This is all in the memberinfo template, I think.

Arkidas
05-26-2008, 03:07 PM
Thank you for your comments.
I just want to add very tiny side images to the tcat so it looks better. I do it in other areas around the forum and I'd really like to do it there. Would that be so difficult?

Lynne
05-26-2008, 03:39 PM
To find the template used for a particular part of the part, go to vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

Calricdal
05-26-2008, 04:00 PM
The new profile layouts are quite complex so the best thing is to just look for yourself and go by trial and error. It was quite a chore when I came to editing it for the first time so be prepared for a long night when you start ;)

Anyway, all the profile page consists of memberinfo templates, there is the main MEMBERINFO template which contains the main structure & layout of the profile page. It does have a few comments to say where things are so you might be able to use those. Each of the little sections on the Profile page are knowns as "Blocks".

I found it quite difficult to edit the tab menu as it consists of a mix of HTML Javascript and CSS so I gave up in the end.

For Calricdal, to edit the order of the you will need to change the order of the "$block_data" variables (I think thats what they are called) and place the visitor message block lower down in the list. This is all in the memberinfo template, I think.

Thanks. But I'm still having a problem finding where to actually edit that. :eek:

--------------- Added 1211822574 at 1211822574 ---------------

Thanks. :) I was able to find it and have it all edited the way I like. :up:

Arkidas
05-26-2008, 09:46 PM
I still can't find the part where it says 'tcat' for activated tabs :(.

Lynne
05-27-2008, 02:21 AM
Putting the template name in my source code tells me that the template is memberinfo_block. Also looking at the source code tells me the css class being used. You should take a look at the css. However, if I recall, a lot of that is javascript (selecting the tabs).

Arkidas
05-27-2008, 01:22 PM
It's in the vbulletin_tabctrl.js file. How can I add side ( left and right ) images to them? ( tcats )

om.addClass(M,"tborder tcat");if

(B,"tborder tcat

this.tabs[C],"tcat");YAHOO.util.Dom[(B

");YAHOO.util.Dom.removeClass(E,"tcat");YAHOO.util.Dom.removeClass(E,"thead")

Lynne
05-27-2008, 04:19 PM
It's in the vbulletin_tabctrl.js file. How can I add side ( left and right ) images to them? ( tcats )
Sorry, I can't help with that. Javascript is not something I can 'code'.

Arkidas
05-27-2008, 05:05 PM
Well maybe I can make it use a tcat clone and add the side images in CSS, is that possible?