News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Editing board bar / bbc images.

Started by Malibuz0r, April 27, 2012, 08:56:08 PM

Previous topic - Next topic

Malibuz0r

1st question:
How can I edit the following bars?:

^ Displaying topics in a board

and

^ Topic


2nd question:
How do I edit the bbc images?
I tried setting a new "Image" for the bbc "i" italic, but I got this instead:

As you can see, behind the red image I replaced there, there is that square background, how can I get rid of it?

Thanks.

Malibuz0r

Bump!


Also, I might as well just ask here instead of making a new topic.

How can I delete/disable the Underline bb code?

MrPhil

QuoteHow can I delete/disable the Underline bb code?

First, try going into Admin to the BBCode section and uncheck the "u" code. If that doesn't work,
in Sources/Subs.php, function parse_bbc(), find
array(
'tag' => 'u',
'before' => '<span class="bbc_u">',
'after' => '</span>',
),


and change it to
/* array(
'tag' => 'u',
'before' => '<span class="bbc_u">',
'after' => '</span>',
),  */


You could probably do something with the "disabled" list, but this is just as easy.

Malibuz0r

Thanks it worked. I would appreciate if someone could answer at least the second question!

Arantor

Well, actually easier than disabling it via code would be disabling it via the admin panel in Admin > Posts and Topics > Bulletin Board code.

Removing the background of just one item is a bit complicated because they're all generated programmatically in code.

Advertisement: