https://www.icyphoenix.com/viewtopic.php?f=2&t=9785 ----------------------------------- Cristianita Sat 23 Sep, 2017 00:48 How To Add Custom BBCodes? ----------------------------------- I was posting a topic in my forum needed to add a table, and noticed that are not those bbcodes :shock: I've looked around the search, but I didn't find the way to add my custom BBCodes... This is the page: [img]http://easycaptures.com/fs/uploaded/1165/5152411826.png[/img] I added at the first space a BBCode code like this: [code linenumbers=false][table border="1"][tr][td][/td] [td][/td] [/tr] [tr][td][/td] [td][/td] [/tr] [/table][/code] And added this code at the second one: [code linenumbers=false]
[/code] When I pick "Send", this is the result [quote]Información Debe especificar la etiqueta de BBCode « Volver a Pagina previa[/quote] It means: [quote]information You must specify the BBCode tag «Back to previous page[/quote] I have no idea what is "BBCode Tag" :oops: ----------------------------------- Informpro Tue 26 Sep, 2017 11:46 Re: How To Add Custom BBCodes? ----------------------------------- The bbcode tag is the "name" of the bbcode, in the brackets, i.e.: [the name is here] ----------------------------------- Cristianita Tue 26 Sep, 2017 18:54 Re: How To Add Custom BBCodes? ----------------------------------- [quote user="Informpro" post="61314"]in the brackets, i.e.: [the name is here][/quote]I'm so sorry :oops: what is "the brackets"? I don't know where should I write this tag :shock: ----------------------------------- Mighty Gorgon Sun 01 Oct, 2017 11:49 Re: How To Add Custom BBCodes? ----------------------------------- You cannot add multiple tags like you did... Anyway TABLES are not part of standard BBCodes for a reason! It's not easy to create cells within tables making sure you close all tables correctly... Follow the examples on that page... here is another one: [code linenumbers=false]BBCODE: [background={COLOR}]{TEXT}[/background] HTML: {TEXT}[/code] ----------------------------------- Cristianita Mon 02 Oct, 2017 07:18 Re: How To Add Custom BBCodes? ----------------------------------- Well, I know how to make tables using BBCode and HTML also... but I think is not a good idea to allow HTML in my forum, am I right? That's why I want to add this BBCode :roll: ----------------------------------- Informpro Mon 02 Oct, 2017 11:49 Re: How To Add Custom BBCodes? ----------------------------------- The issue is that, if someone doesn't properly close a table or a cell, the whole forum will look bad... And you can't easily check if they did a table properly or not. ----------------------------------- Cristianita Mon 02 Oct, 2017 20:01 Re: How To Add Custom BBCodes? ----------------------------------- oooh, I got it! So, the only option is to use HTML, right? Is not a risk to the forum? Because I have to make tables sometimes... ----------------------------------- Informpro Mon 02 Oct, 2017 22:59 Re: How To Add Custom BBCodes? ----------------------------------- You can enable HTML only for administrators. Then it's not much of an issue. ----------------------------------- Cristianita Tue 03 Oct, 2017 01:20 Re: How To Add Custom BBCodes? ----------------------------------- Yes, I can do that, and I will... Thanks, Informpro :mryellow: ----------------------------------- Cristianita Tue 10 Oct, 2017 20:25 Re: How To Add Custom BBCodes? ----------------------------------- I used to use a big titles in the beginning or my posts. There are some BBCodes (h1, h2, h3...) that make bigger the titles, and I'd like to know how can I add this BBCode to the forum. Because they are not dangerous to the forum, right? Not like tables, for example... :roll: ----------------------------------- Informpro Wed 11 Oct, 2017 11:38 Re: How To Add Custom BBCodes? ----------------------------------- Nope, these aren't dangerous :). You can add those as bbcode, but you can also just change the size? ----------------------------------- Cristianita Fri 13 Oct, 2017 02:16 Re: How To Add Custom BBCodes? ----------------------------------- [quote]but you can also just change the size?[/quote]Is this a question? 8) If yes... Well, I don't know how can I do that, but I guess you could help me :roll: ----------------------------------- Informpro Fri 13 Oct, 2017 09:06 Re: How To Add Custom BBCodes? ----------------------------------- Definitely! When you post a full message, you see a bot to select font / size / color right under the subject: [img]https://imgur.com/g13G2Km[/img] To make text big, here's how you do it: [img]http://g.recordit.co/Jpq8VaE9yD.gif[/img] ----------------------------------- Cristianita Sat 14 Oct, 2017 04:15 Re: How To Add Custom BBCodes? ----------------------------------- Oh, I understood!! Sorry... Yes, I know how to make the text bigger applying BBCode size and bold, and everything else... But if I had a BBCode h1, h2, or h3, with different sizes and color, it could be easier and faster to post a message... ----------------------------------- Informpro Wed 18 Oct, 2017 12:50 Re: How To Add Custom BBCodes? ----------------------------------- Ok, I see what you mean. Do you want them to output actual

, or something with a different size and color? ----------------------------------- Cristianita Wed 18 Oct, 2017 20:25 Re: How To Add Custom BBCodes? ----------------------------------- [quote user="Informpro" post="61413"]Ok, I see what you mean. Do you want them to output actual

, or something with a different size and color?[/quote]Well, actually I want two of them:

and

. Usually the first one font is bigger than the second one, about 18px and 14px respectively. But I notice that you refer to HTML code, not BBCode :?: ----------------------------------- Informpro Tue 24 Oct, 2017 15:24 Re: How To Add Custom BBCodes? ----------------------------------- Yes, because HTML comes with title tags I wanted to know if you wanted these tags, or if you wanted your own versions with different mesurements? ----------------------------------- Cristianita Tue 24 Oct, 2017 19:49 Re: How To Add Custom BBCodes? ----------------------------------- [quote]Yes, because HTML comes with title tags [/quote]I don't know what are you talking about... I wrote

TITLE

but it shows as a code, not a title... So I don't know what are you talking about definitely :oops: [quote]I wanted to know if you wanted these tags, or if you wanted your own versions with different mesurements?[/quote]Due I'm not sure what do you mean, I have to explain what I want to. For example: [h1] = Color red, bold, 18px [h2] = Color black, bold, 14px Does it answer your question? :roll: But if this matter is very difficult or not convenient, better if I keep going without this tags. It's not a big deal, actually :mryellow: ----------------------------------- Informpro Wed 25 Oct, 2017 11:15 Re: How To Add Custom BBCodes? ----------------------------------- I wanted to ask if you wanted [h1] to translate to html

or not, but now you've explained it. The HTML h1/h2/... are not coloured, so you don't want to use them. I need to check if you can replace a bbcode template with another bbcode template. ----------------------------------- Cristianita Wed 25 Oct, 2017 18:14 Re: How To Add Custom BBCodes? ----------------------------------- [quote user="Informpro" post="61431"]I wanted to ask if you wanted [h1] to translate to html

or not, but now you've explained it. The HTML h1/h2/... are not coloured, so you don't want to use them. I need to check if you can replace a bbcode template with another bbcode template.[/quote] Thank you, Informpro... I hope this is not much problem. :oops: ----------------------------------- Mighty Gorgon Sat 04 Nov, 2017 10:17 Re: How To Add Custom BBCodes? ----------------------------------- [user]11561[/user], here is an example to get what you need: In field [b]BBCode usage[/b], input this: [codeblock][t1]{TEXT}[/t1][/codeblock] In field [b]HTML replacement[/b], input this: [codeblock]{TEXT}[/codeblock] And when you use [c][t1]MY TITLE[/t1][/c] you will get something like this: [size=18][color=red][b]MY TITLE[/b][/color][/size] ----------------------------------- Cristianita Sun 05 Nov, 2017 05:54 Re: How To Add Custom BBCodes? ----------------------------------- [img]http://elcaminocorrecto.com.mx/images/smiles/aplauso.gif[/img] Thanks, [user]2[/user]