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.
The forum of the forums
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_! December 3rd 2012, 8:17 am

    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 December 5th 2012, 5:31 am; 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! December 3rd 2012, 8:20 am

    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 December 3rd 2012, 6:56 pm

    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_! December 3rd 2012, 10:50 pm

    @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 December 3rd 2012, 10:58 pm

    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_! December 4th 2012, 12:28 am

    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 December 4th 2012, 1:05 am

    _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_! December 4th 2012, 1:22 am

    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_! December 4th 2012, 2:30 am

    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 December 4th 2012, 2:47 am

    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 December 4th 2012, 5:17 am

    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_! December 5th 2012, 5:00 am

    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 : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Change Default BBcode buttons

    Post by SLGray December 5th 2012, 5:31 am

    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.

      Current date/time is November 11th 2024, 9:03 pm