New Custom bbCode button with simple function Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    New Custom bbCode button with simple function

    avatar
    Codi
    Forumember


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

    Solved New Custom bbCode button with simple function

    Post by Codi 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
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New Custom bbCode button with simple function

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




    New Custom bbCode button with simple function Slgray10

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


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

    Solved Re: New Custom bbCode button with simple function

    Post by Codi 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.
    avatar
    Codi
    Forumember


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

    Solved Re: New Custom bbCode button with simple function

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

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


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

    Solved Re: New Custom bbCode button with simple function

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

    Topic Solved & Locked