How to change bbcode icons? 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

    How to change bbcode icons?

    TheNewBieber
    TheNewBieber
    Forumember


    Posts : 32
    Reputation : 11
    Language : English

    Solved How to change bbcode icons?

    Post by TheNewBieber Mon Mar 07 2011, 01:58

    Hello! I would like to change the BBcode icons when you quick reply / reply to a topic! I have nicer, sleeker buttons that I want on my forum! I was wondering if I can replace them with CSS or Jquery? I'm not very experienced in either one of those so I am asking is it possible to change the icons?

    This is what I'm talking about
    How to change bbcode icons? Icons_10

    Thanks in advance!
    ~TNB How to change bbcode icons? Hello
    TheNewBieber
    TheNewBieber
    Forumember


    Posts : 32
    Reputation : 11
    Language : English

    Solved Re: How to change bbcode icons?

    Post by TheNewBieber Tue Mar 08 2011, 02:17

    Bump.. How to change bbcode icons? 45347
    avatar
    -17emon.KiD-
    Forumember


    Posts : 58
    Reputation : 10
    Language : english

    Solved Re: How to change bbcode icons?

    Post by -17emon.KiD- Tue Mar 08 2011, 03:12

    i dont think you can change it
    TheNewBieber
    TheNewBieber
    Forumember


    Posts : 32
    Reputation : 11
    Language : English

    Solved Re: How to change bbcode icons?

    Post by TheNewBieber Tue Mar 08 2011, 04:49

    I've seen some forums have it and it really looks nice. I don't want to copy it exactly but just make some buttons look better.

    I know if people have the code they rather not share it How to change bbcode icons? 349163
    TheNewBieber
    TheNewBieber
    Forumember


    Posts : 32
    Reputation : 11
    Language : English

    Solved Re: How to change bbcode icons?

    Post by TheNewBieber Thu Mar 10 2011, 01:41

    Bump...I still need help D:
    TheNewBieber
    TheNewBieber
    Forumember


    Posts : 32
    Reputation : 11
    Language : English

    Solved Re: How to change bbcode icons?

    Post by TheNewBieber Fri Mar 11 2011, 06:15

    Bump...

    I still need help guys Sad
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1509
    Reputation : 144
    Language : Spanish & English
    Location : Mexico

    Solved Re: How to change bbcode icons?

    Post by YoshiGM Fri Mar 11 2011, 06:34

    Hi there !

    I Don't know if this works in your Forum Version.. Try this:

    Code:
    jQuery(document).ready(function() {
        jQuery('button img').each(function() {
            if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_bold.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/bold10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_italic.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/italic10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_underline.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/underl10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_strikethrough.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/strike10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_align_center.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/align_10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_align_left.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/align_11.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_align_right.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/align_12.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/page_white_code.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/code10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/i/smiles/icon_smile.gif') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/emotic10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/color_swatch.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/font_c11.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/help.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/help10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/link.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/link10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/film.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/media10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_list_numbers.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/ordere10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/picture.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/pictur10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/comments.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/quote10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/i/switch_wysiwyg.gif') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/remove12.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_list_bullets.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/unorde10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_align_justify.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/align_13.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/text_horizontalrule.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/text_h10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/table.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/table10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/picture_save.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/pictur11.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/page_white_flash.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/page_w10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/style.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/size10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/font.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/fon10.png');

     if(jQuery(this).attr('src') == 'http://2img.net/i/fa/wysiwyg/separator.png') jQuery(this).attr('src', 'http://i26.servimg.com/u/f26/12/56/56/12/separa10.png');
        });
    })

    1st: Paste this code in a NEW HTML Page..

    Modules> Management HTML Pages
    All options with "NO"

    and Save your changes..

    Then go to..

    General> Settings> Site Description

    And edit this:

    Code:
    <script src='LINK OF TH HTML PAGE HERE'></script>

    Edit the uppercase and paste the LINK of the HTML created with the Script..

    Regards,
    YoshiGM Very good
    TheNewBieber
    TheNewBieber
    Forumember


    Posts : 32
    Reputation : 11
    Language : English

    Solved Re: How to change bbcode icons?

    Post by TheNewBieber Sat Mar 12 2011, 03:45

    Thank you! I really appreciate it! Yes it did work Wink. I am really grateful. This topic is now solved and can be locked Wink
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17924
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: How to change bbcode icons?

    Post by Jophy Sat Mar 12 2011, 04:35

    How to change bbcode icons? Solved10Since this thread appears to be solved, I will lock this thread and mark it as solved now.

    Important: You can also help the moderators to know if your topic/problem is solved by EDITING your first post and marking the topic as solved. Thank you.