Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 02-01-2010, 06:11 AM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to make my prefixes look like this?

How can i make my prefixes look like this
- little blocks with a fixed width
- background filled up

I don't use much prefixes on my board but in one forum I do and this seems like a nice way to organize it.

If it is done with html mark up, what should be the code?
Reply With Quote
  #2  
Old 02-01-2010, 02:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's all just CSS. Get firebug for firefox and you can see the css needed right there. Copy it to your site.
Reply With Quote
  #3  
Old 02-01-2010, 05:27 PM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"if" i find it, where do i put that code?
Reply With Quote
  #4  
Old 02-01-2010, 06:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's just CSS, so you could just add it to additional.css or to another css template called on that page.
Reply With Quote
  #5  
Old 02-01-2010, 08:52 PM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, its very helpful that you always reply so soon, but the vb.org and vb.com staff sometimes seems to forget that their user base are not always professional programmers

People like myself have a hard time trying to understand what is very logical for you wizards, and takes us hours or days what is a piece of cake for you

Anyways, thanks and I am gonna see how far i get

--------------- Added [DATE]1265076108[/DATE] at [TIME]1265076108[/TIME] ---------------

Thanks again Lynne! We succedeed: http://www.racedepartment.com/racing-club/
Reply With Quote
  #6  
Old 02-02-2010, 05:18 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you will have to put something like this in the Title (Rich Text) field:

HTML Code:
<span style="background: none repeat scroll 0% 0% rgb(255, 105, 0);" class="prefix">Overclocking</span>
Then in your Admin CP go to style manager > style > all style options and in the additional CSS definitions box at the end put

HTML Code:
.prefix {
color:#ffffff;
font-size: 0.85em;
font-weight: normal;
padding: 3px 10px;
text-align: center;
}
Change the values as needed.
Reply With Quote
  #7  
Old 03-29-2010, 08:33 AM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ur genies, very nice , Thanx a lot

--------------- Added [DATE]1269855227[/DATE] at [TIME]1269855227[/TIME] ---------------

Quote:
Originally Posted by vijayninel View Post
you will have to put something like this in the Title (Rich Text) field:

HTML Code:
<span style="background: none repeat scroll 0% 0% rgb(255, 105, 0);" class="prefix">Overclocking</span>
Then in your Admin CP go to style manager > style > all style options and in the additional CSS definitions box at the end put

HTML Code:
.prefix {
color:#ffffff;
font-size: 0.85em;
font-weight: normal;
padding: 3px 10px;
text-align: center;
}
Change the values as needed.
ur genies, very nice , Thanx a lot
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04405 seconds
  • Memory Usage 2,216KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete