The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

New Custom bbCode button with simple function

View previous topic View next topic Go down

Solved New Custom bbCode button with simple function

Post by Codi on September 27th 2012, 2:36 am

I'd like to add a new button, so that whenever one clicks on it, it shows the following code:


Code:
[center][size=1][spoiler=<img src="IMAGEM" />]<font size="2">

And when one clicks on it again (closing the tag) it shows as follows:

Code:
</font>[/spoiler][/size][/center]

I'd also like to know if there is a way that I can choose the group of colors that will show at the presets in the bbcode formatting bar. My forum is an RPG, an there are four "clans" that have four different colors (hexadecimal) that are very frequently used throughout the forum and that'd be really cool if we could just have them one click away.

Obrigado! Thanks!


Last edited by Codi on October 5th 2012, 9:14 am; edited 1 time in total

Codi
Forumember

Male Posts : 30
Reputation : 2
Language : English
Location : Manaus, Brazil

Back to top Go down

Solved Re: New Custom bbCode button with simple function

Post by SLGray on September 27th 2012, 2:41 am



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36747
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: New Custom bbCode button with simple function

Post by Codi on October 4th 2012, 8:31 am

It's helpful, but it's now exactally what I was looking for... it doesn't add the button, and the drop down list won't be together with the other buttons in the editing box, as I see.

Codi
Forumember

Male Posts : 30
Reputation : 2
Language : English
Location : Manaus, Brazil

Back to top Go down

Solved Re: New Custom bbCode button with simple function

Post by Codi on October 5th 2012, 9:03 am

That's right, I'm sorry. So, Solved it is! Wink

Codi
Forumember

Male Posts : 30
Reputation : 2
Language : English
Location : Manaus, Brazil

Back to top Go down

Solved Re: New Custom bbCode button with simple function

Post by Sanket on October 5th 2012, 9:19 am

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum