MyBB Community Forums

Full Version: Path of the images?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there, I'm looking to remake every single button for mybb in an upcoming theme I'm using.
Altho, I can't seem to find the url of my images in my UCP, I don't know where those urls are?
Same question with code buttons, attachtypes images, topic icons?

Thanks guys n' gals Smile
The path for the buttons is {$theme['langdir']}

That means if your theme image directory is 'abcd' and you are using English Language board then the path of the buttons will be:

http://yoursite.com/images/abcd/english

(considering the forum is in root).
The question was where are the templates I need to edit to be able to change that url?
The answer is:
The "Post Bit Templates" group

You will find individual templates for individual buttons. Like:
postbit_edit, postbit_find etc.


EDIT: OK. got your question now.

For link to the UCP images, find:
Themes > Theme Name > usercp.css

attachtypes images are called through a variable {$attachment['icon']} found at template 'postbit_attachments_attachment'. Making it theme specific is a little tricky.

If code buttons means editor then it comes from "toolbar.gif" under your editor theme's image folder and linked through 'stylesheet.css' of your editor theme.
Awesome, tyvm!