vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Username Markup.. Possible? (https://vborg.vbsupport.ru/showthread.php?t=229539)

smooth-c 12-04-2009 11:18 PM

Username Markup.. Possible?
 
I currently have certain staff usergroups bolded in the HTML markup - normal members, non bolded. It looks good on the "Currently Active Users" table but looks kind of ugly everywhere else i.e. profiles, postbits etc.

Is it possible to just display it as bold on the "Currently Active Users" and that's it?
Thanks

Greg

ChopSuey 12-05-2009 01:20 AM

Edit [musername] to [username] in the templates?

smooth-c 12-05-2009 01:45 AM

What do you mean?

ChopSuey 12-05-2009 01:51 AM

It postbit template search [musername] and try changing it to [username]
ALSO with the memberinfo template

smooth-c 12-07-2009 01:50 PM

Hm, I tested and that works but unfortunately stops other html username markups i'd like to work in them places (such as colour etc.)

Is it possible to bolden certain usergroups name in certain places? I understand this may take some template editing.

Lynne 12-07-2009 02:16 PM

You can bold it just in some areas. As you said, it would require template editing so just edit that particular template to make them bold.

To find the template to modify, do this - 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. Sometimes the template is the one mentioned at the very top of the page source.


All times are GMT. The time now is 12:57 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.03799 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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