Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2008, 11:18 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Combo BB Codes

Is it possible to make these, if so I would like them but just wondering if it's possible.

I want a

Bold + Size "4" BB Code = Header Text

a

Bold + Color "Red" BB Code = Moderated Text

and if possible

Select All or Control + A BB Code = Select All Text In Box

Can these be done?

(( meaning the top two here, are a one button solution to a commonly used combination of BB Codes ))
Reply With Quote
  #2  
Old 04-15-2008, 12:51 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by legionofangels View Post
Is it possible to make these, if so I would like them but just wondering if it's possible.

I want a

Bold + Size "4" BB Code = Header Text

a

Bold + Color "Red" BB Code = Moderated Text

and if possible

Select All or Control + A BB Code = Select All Text In Box

Can these be done?

(( meaning the top two here, are a one button solution to a commonly used combination of BB Codes ))
When you create a custom bbcode put this in replacement
Header: <b><font size="4">{param}</font></b>
Moderator Text: <b><fontcolor="Red">Moderated Text</font>]</b>

The last one you is easy enough to do. There's probably a javascript that can select all text and apply the bold tag around it but I'm not going to bother looking.
Reply With Quote
  #3  
Old 04-15-2008, 01:19 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<span style="font-wieght:bold; font-size: 14px;">{param}</span>

<span style="font-wieght:bold; color: red;">{param}</span>

Is what you really want to use
Reply With Quote
  #4  
Old 04-15-2008, 01:46 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would you add italics to that?
Reply With Quote
  #5  
Old 04-15-2008, 06:48 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
font-style: italic;
Reply With Quote
  #6  
Old 04-15-2008, 05:22 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harmor19 View Post
The last one you is easy enough to do. There's probably a javascript that can select all text and apply the bold tag around it but I'm not going to bother looking.
Actually I just bolded that for that post ONLY.

I only want the Select All to Select All, that's it, no other coding or text definitions. Just Select All BB Code. I'll look around but if anyone knows, greatly appreciated, would love to add it.
Reply With Quote
  #7  
Old 05-20-2008, 12:25 AM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by harmor19 View Post
When you create a custom bbcode put this in replacement
Header: <b><font size="4">{param}</font></b>
That worked.

Quote:
Originally Posted by harmor19 View Post
Moderator Text: <b><fontcolor="Red">Moderated Text</font>]</b>
That did not work. It made the text bold, but did not make it red.

Quote:
Originally Posted by FRDS View Post
<span style="font-wieght:bold; color: red;">{param}</span>

Is what you really want to use
That did not work either. It made the text red but it did not make it bold.

Anyway those two can be combined? lol, then it will prolly work.

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

<span style="color: red;"><b>{param}</b></span>

That did work.

Thank you people.

L E G I O N
Reply With Quote
Reply


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 07:20 AM.


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.04406 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_code
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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