vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   tcat in members' profiles (https://vborg.vbsupport.ru/showthread.php?t=180483)

Arkidas 05-25-2008 05:59 PM

tcat in members' profiles
 
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

Quote:

Originally Posted by Opserty (Post 1531861)
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 [DATE]1211822574[/DATE] at [TIME]1211822574[/TIME] ---------------

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 )

Code:

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

(B,"tborder tcat
Code:

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

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

Lynne 05-27-2008 04:19 PM

Quote:

Originally Posted by Arkidas (Post 1532926)
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?


All times are GMT. The time now is 04:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01001 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete