vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Additional emphasis method for posts (_word_ becomes italic word) (https://vborg.vbsupport.ru/showthread.php?t=48197)

KuraFire 01-26-2003 10:00 PM

Additional emphasis method for posts (_word_ becomes italic word)
 
HACK: Additional emphasis method for posts (_word_ becomes italic word)
BY: KuraFire [www.kurafire.com]
DESCRIPTION: If users use _underscores_ to emphasize words (old skool italic), it will make those words italic in posts
DIFFICULTY: Easy
INSTALL-TIME: 20 seconds
STEPS: 1


EXTENDED DESCRIPTION:
I know plenty of people (myself included) who use _underscores_ when they emphasize words. This is mostly with people who use IRC a lot, which lacks italic words, so people use _these_ to emphasize instead. And sicne _underscores_ are a lot faster than typing [i]blabla[/i] or using the button (if you speedtype, going to your mouse is just sooooo slow ^_^), I figured people might want to have this on their board as well. :)
It will parse words with lowercase, uppercase, numbers and/or - or _ inside them. However, it won't take multiple words at once (ie. no spaces in-between) for then you couldn't use a normal _ without causing the rest of the text to become italicized. (not that I can really see people put a random underscore in a sentence, but still...)

It's _the_ easiest hack ever, to install ^_^

See attachment for instructions :)

Xyphen 01-27-2003 10:36 AM

Nice hack, but i don't need it since I am not a speed typer, plus I am waiting for vb3.0 so I am not installing any hacks at all no more.

KuraFire 01-27-2003 10:54 AM

No, but don't you have any people on your board? They might type fast and enjoy it. And it's not like adding 1 single line of code (that's all!) is gonna be a big problem for when you upgrade to vB 3, now is it? :D

Floris 01-27-2003 10:59 AM

I personally have never seen users use this and complain it won't go italic
;D
But a nice addition though :>

KuraFire 01-27-2003 11:37 AM

Quote:

Originally posted by xiphoid
I personally have never seen users use this and complain it won't go italic
;D
But a nice addition though :>

That's cos nobody is used to this ever becoming italic, since no program or anything still uses _this_ method, but a lot of people _do_ use it :)

Personally, I do it incredibly much, but I never realized that with a small regex I could make it go italic (the way it used to) on my board, so when I did I made the hack ^_^

xxxsaint 01-27-2003 01:54 PM

nice hack - I don't see why you guys insist on posting comments about a hack in a negative manner - hey , if you don't want to use it , or find it's not useful for you , how about just continuing on to the next hack to see if it fits your needs instead of posting needless , worthless comments ? It would make these forums a much nicer place to visit and seem less filled with egotistical asses.

INSTALLED.

Vile 01-28-2003 03:15 AM

Nice little addition :)
Thanks for sharing.

KuraFire 01-28-2003 01:43 PM

xxxsaint: I agree :)

Glad you guys like ^_^

Overgrow 01-29-2003 07:35 PM

Installed.. I hate going [ i ]... for some reason brackets always confuse my typing fingers.

Bison 01-30-2003 05:35 AM

Quote:

Originally posted by xxxsaint
nice hack - I don't see why you guys insist on posting comments about a hack in a negative manner - hey , if you don't want to use it , or find it's not useful for you , how about just continuing on to the next hack to see if it fits your needs instead of posting needless , worthless comments ? It would make these forums a much nicer place to visit and seem less filled with egotistical asses.


INSTALLED.

You're "Politically Correct!" :D

*INSTALLED*


All times are GMT. The time now is 08: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.01107 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete