Icy Phoenix

     
 

SOLVED How To Add Custom BBCodes?

SOLVED How To Add Custom BBCodes?

Article
Reply with quote    Download Post  
Post 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  

I've looked around the search, but I didn't find the way to add my custom BBCodes...

This is the page:
5152411826

I added at the first space a BBCode code like this:
Code: [Download] [Hide] [Select]
[table border="1"][tr][td][/td]
[td][/td]
[/tr]
[tr][td][/td]
[td][/td]
[/tr]
[/table]

And added this code at the second one:
Code: [Download] [Hide] [Select]
<table border="1">
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>


When I pick "Send", this is the result
Quote:
Información
Debe especificar la etiqueta de BBCode

« Volver a Pagina previa

It means:
Quote:
information
You must specify the BBCode tag

«Back to previous page

I have no idea what is "BBCode Tag"  



 
Cristianita - View user's profile Send private message  
Cristianita [ Sat 23 Sep, 2017 00:48 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


SOLVED How To Add Custom BBCodes?

Comments
Reply with quote    Download Post  
Post Re: How To Add Custom BBCodes? 
 
The bbcode tag is the "name" of the bbcode, in the brackets, i.e.:

[the name is here]



 
Informpro - View user's profile Send private message  
Informpro [ Tue 26 Sep, 2017 11:46 ]
Reply with quote    Download Post  
Post Re: How To Add Custom BBCodes? 
 
Informpro wrote: [View Post]
in the brackets, i.e.:

[the name is here]
I'm so sorry   what is "the brackets"? I don't know where should I write this tag  



 
Cristianita - View user's profile Send private message  
Cristianita [ Tue 26 Sep, 2017 18:54 ]
Reply with quote    Download Post  
Post 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: [Download] [Hide] [Select]
BBCODE: [background={COLOR}]{TEXT}[/background]
HTML: <span style=\"background-color: {COLOR};\">{TEXT}</span>




 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 01 Oct, 2017 11:49 ]
Reply with quote    Download Post  
Post 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  



 
Cristianita - View user's profile Send private message  
Cristianita [ Mon 02 Oct, 2017 07:18 ]
Reply with quote    Download Post  
Post 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.



 
Informpro - View user's profile Send private message  
Informpro [ Mon 02 Oct, 2017 11:49 ]
Reply with quote    Download Post  
Post 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...



 
Cristianita - View user's profile Send private message  
Cristianita [ Mon 02 Oct, 2017 20:01 ]
Reply with quote    Download Post  
Post Re: How To Add Custom BBCodes? 
 
You can enable HTML only for administrators. Then it's not much of an issue.



 
Informpro - View user's profile Send private message  
Informpro [ Mon 02 Oct, 2017 22:59 ]
Reply with quote    Download Post  
Post Re: How To Add Custom BBCodes? 
 
Yes, I can do that, and I will... Thanks, Informpro  



 
Cristianita - View user's profile Send private message  
Cristianita [ Tue 03 Oct, 2017 01:20 ]
Reply with quote    Download Post  
Post 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...  



 
Cristianita - View user's profile Send private message  
Cristianita [ Tue 10 Oct, 2017 20:25 ]
Reply with quote    Download Post  
Post 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?



 
Informpro - View user's profile Send private message  
Informpro [ Wed 11 Oct, 2017 11:38 ]
Reply with quote    Download Post  
Post Re: How To Add Custom BBCodes? 
 
Quote:
but you can also just change the size?
Is this a question?  

If yes... Well, I don't know how can I do that, but I guess you could help me  



 
Cristianita - View user's profile Send private message  
Cristianita [ Fri 13 Oct, 2017 02:16 ]
Reply with quote    Download Post  
Post 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:

g13g2km

To make text big, here's how you do it:
jpq8vae9yd



 
Informpro - View user's profile Send private message  
Informpro [ Fri 13 Oct, 2017 09:06 ]
Reply with quote    Download Post  
Post 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...



 
Cristianita - View user's profile Send private message  
Cristianita [ Sat 14 Oct, 2017 04:15 ]
Reply with quote    Download Post  
Post Re: How To Add Custom BBCodes? 
 
Ok, I see what you mean. Do you want them to output actual <h2>, or something with a different size and color?



 
Informpro - View user's profile Send private message  
Informpro [ Wed 18 Oct, 2017 12:50 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next