Change Default BBcode buttons 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.
4 posters

    Change Default BBcode buttons

    !_NICK_!
    !_NICK_!
    Active Poster


    Male Posts : 1505
    Reputation : 69
    Language : English, HTML, and CSS
    Location : In the middle of no return.

    Solved Change Default BBcode buttons

    Post by !_NICK_! Mon 3 Dec - 8:17

    I'd like to know how to change the default bbcode icons and add my own. How do I do this with css, or maybe even templates?


    Last edited by slg on Wed 5 Dec - 5:31; edited 2 times in total (Reason for editing : Marked as solved)
    avatar
    Back!
    New Member


    Male Posts : 2
    Reputation : 1
    Language : Germany
    Location : Berlin..

    Solved Re: Change Default BBcode buttons

    Post by Back! Mon 3 Dec - 8:20

    It`s not posible..
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Change Default BBcode buttons

    Post by nextlevelgaming Mon 3 Dec - 18:56

    Bbcode icons? Like on the text edits buttons? It truly is possible, either a) css for all. Or Templates . though Templates I believe will not effect the quick edit buttons so you'd either have to use CSS or javascript. It truly isn't hard, I've added buttons to the Quick Reply Form. Also changed them up a bit.

    for Regular Reply go to::
    CSS3=

    Code:
    #text_editor_controls .button2{}

    Change it to what you want, remember this changes all of them

    or go to

    ACP>DISPLAY>GENERAL>POST AND PRIVATE MESSAGES>posting_body

    search for :: <div id="text_editor_controls">

    Change/Add Classes to these buttons below that div, you can also change the <img src=""> code to have different images. Need more help, just ask.
    !_NICK_!
    !_NICK_!
    Active Poster


    Male Posts : 1505
    Reputation : 69
    Language : English, HTML, and CSS
    Location : In the middle of no return.

    Solved Re: Change Default BBcode buttons

    Post by !_NICK_! Mon 3 Dec - 22:50

    @back - I know it's possible. Wink

    @nextlevelgaming - Thank you, I have one more question for you or anyone. How could I add a new BBCode button. Like for my warning bars? To display to my moderators and above only? I still need to know how to create a BBCode button to, just for moderators and above also.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Change Default BBcode buttons

    Post by nextlevelgaming Mon 3 Dec - 22:58

    Yeah if you want to create a button for moderators only well its really not possible, you can add it to your DELETE THREAD buttons that moderators and admin see on the bottom.

    then again that would look silly. Or you could make a js code to .remove() that button to all users except you and your moderators.

    Now to add a new button go to--

    ACP>DISPLAY>TEMPLATES>POST & PRIVATE MESSAGES, look for the code above like i said, and create a new button.

    Though like I've stated you can not do this with the quick reply.

    To add buttons to quick reply please visit http://easybbtutorials.forumotion.com/t61-add-quick-reply-buttons

    that gives full information.
    Gives the codes that you need for all buttons, and where to put them

    NICK I am headed out, if you need more help, I'll be on later. We can discuss more information. Right now I am working on some tutorials, so just be patient with me when I get back if i seem ya know everywhere haha. I'll help you get exactly what you want my friend
    !_NICK_!
    !_NICK_!
    Active Poster


    Male Posts : 1505
    Reputation : 69
    Language : English, HTML, and CSS
    Location : In the middle of no return.

    Solved Re: Change Default BBcode buttons

    Post by !_NICK_! Tue 4 Dec - 0:28

    How do I change the smiley icon?
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Change Default BBcode buttons

    Post by nextlevelgaming Tue 4 Dec - 1:05

    _NICK_ I am back now, I had to go watch my sons baseball game. Do you still want my help?
    !_NICK_!
    !_NICK_!
    Active Poster


    Male Posts : 1505
    Reputation : 69
    Language : English, HTML, and CSS
    Location : In the middle of no return.

    Solved Re: Change Default BBcode buttons

    Post by !_NICK_! Tue 4 Dec - 1:22

    Yeah, just call me Nick. How do I change the smiley?
    !_NICK_!
    !_NICK_!
    Active Poster


    Male Posts : 1505
    Reputation : 69
    Language : English, HTML, and CSS
    Location : In the middle of no return.

    Solved Re: Change Default BBcode buttons

    Post by !_NICK_! Tue 4 Dec - 2:30

    Rideem, that code doesn't seem to work.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Change Default BBcode buttons

    Post by nextlevelgaming Tue 4 Dec - 2:47

    Nick the code I provided for you on the site works, just letting you know. Its the javascript above your last post on the site. I checked it on the console and all is working fine Smile
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Change Default BBcode buttons

    Post by nextlevelgaming Tue 4 Dec - 5:17

    yes which I provided him the code to change the image like he wanted on my site. He just missed it after I posted Smile
    !_NICK_!
    !_NICK_!
    Active Poster


    Male Posts : 1505
    Reputation : 69
    Language : English, HTML, and CSS
    Location : In the middle of no return.

    Solved Re: Change Default BBcode buttons

    Post by !_NICK_! Wed 5 Dec - 5:00

    Okay, marked this as solved. I'm getting help on his forum.

    Thanks Rideem3 though!

    Another thanks to nextlevelgaming as well!
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Change Default BBcode buttons

    Post by SLGray Wed 5 Dec - 5:31

    Topic Solved & Locked



    Change Default BBcode buttons Slgray10

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