Author Topic: HTML Tags for Forum  (Read 833 times)

This isn't too big of a problem, but sometimes I run into a problem where I accidentally use HTML tags (<b></b>), instead of , and have to edit it. I code with HTML at school, and use the forums at home, so I'm constantly switching between the two when it comes to tags. Is there some sort of way to add a feature for HTML tags?

not with the forum itself. I mean, it's possible, but it's not gonna happen
you could use AutoHotkey to change any html tags you type into BBC instead. but that's kind ridiculous, I think. it would be better to just learn to type the right one all the time. I don't have that problem

not with the forum itself. I mean, it's possible, but it's not gonna happen
you could use AutoHotkey to change any html tags you type into BBC instead. but that's kind ridiculous, I think. it would be better to just learn to type the right one all the time. I don't have that problem
I did think about using AHK for that, but idk that much about it.

bbcode has html tags but i'm p sure they were intentionally removed here

or maybe it doesn't huh

Probably disabled so that people can't embed full videos and other flash games.

Probably disabled so that people can't embed full videos and other flash games.
nope. BBC has codes for that. badspot did disable those particular codes, but they're still part of the original bulletin board code
BBC is a replacement for HTML. I'm not sure why, exactly. I guess it seemed easier to completely disallow all HTML codes and create a new markup language, than it would be to just prevent people from using some specific HTML codes. maybe whoever made it assumed it'd be more user-friendly
I did think about using AHK for that, but idk that much about it.
it's pretty easy to learn, you should be able to make what you want in like fifteen minutes if you try
« Last Edit: December 19, 2014, 07:32:27 PM by Foxscotch »

I got bored so I did it for you

Code: [Select]
#Hotstring *

::<b>::[b]
::</b>::[/b]
::<strong>::[b]
::</strong>::[/b]
::<i>::[i]
::</i>::[/i]
::<em>::[i]
::</em>::[/i]
::<u>::[u]
::</u>::[/u]
::<s>::[s]
::</s>::[/s]
::<strike>::[s]
::</strike>::[/s]
::<img>::[img]
::</img>::[/img]
::<url>::[url]
::</url>::[/url]

just open notepad and save that as an .ahk file, then, assuming you have AutoHotkey installed, double click the file
if you need to add anything it should be pretty easy to do. probably don't need to say this, but you can edit it with notepad or notepad++ or any other text editor you wanna use. I only included tags I figured you'd use pretty often, and some of the HTML alternatives to those same tags

« Last Edit: December 20, 2014, 12:09:42 AM by Foxscotch »

I got bored so I did it for you

just open notepad and save that as an .ahk file, then, assuming you have AutoHotkey installed, double click the file
if you need to add anything it should be pretty easy to do. probably don't need to say this, but you can edit it with notepad or notepad++ or any other text editor you wanna use. I only included tags I figured you'd use pretty often, and some of the HTML alternatives to those same tags


thanks man!