Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Tomer on May 24, 2004, 06:00:42 AM

Title: Basic Graphic FAQ
Post by: Tomer on May 24, 2004, 06:00:42 AM
Basic FAQ for common Graphics questions.



Where can I get new themes?

Theme site: Link (http://themes.simplemachines.org)
List of themes: Link (http://www.simplemachines.org/community/index.php?topic=15620.0)
List of button sets: Link (http://www.simplemachines.org/community/index.php?topic=15621.0)
Other graphics (smiley sets, topic icons, other stuff): Link (http://www.simplemachines.org/community/index.php?topic=15622.0)


How do I Install new Themes?

There are two ways of doing it, but I suggest, make a new folder in your Themes directory named your theme name (eg. /Themes/Red/), secondly, copy all your new theme files to that directory, if the new theme files doesnt include certain files (eg the help files) you can just copy those files from the default theme into your theme folder.

After this enter Admin Center and go to "Theme and Layout Settings", on "Install a new theme" type in the path to your theme folder that you made (eg./home/legends/public_html/forum/Themes/red/) and press Install, after this you can enter that themes settings and change the name...etc


Where can I get new buttons?

As the themes, there is currently no official place to get SMF buttons, but as the themes, there is the "Graphics: Button Sets (http://www.simplemachines.org/community/index.php?topic=15621.0) that has some button sets that you can use.


How can I use new buttons on my forum?

To use your new button set in your forum, you simply enter the directory with the button images (themes/themeName/images/english/) and upload all the buttons there while overwriting the old buttons.


How can I change the banner of my forum?

This action can be simply done with the powerful template system, all you have to do is enter your theme directory (themes/Mytheme) and open index.template.php, then find this code


smflogo.gif


And replace the file name with your banner name that you uploaded to themes/Mytheme/images.


How can I replace the forum name with a banner?

In SMF 1.1, this should be as simple as going into your admin panel and going to the Current Theme page and entering the URL to the image you want to use under the setting Logo image URL.

This action can be simply done by finding the code that displays the forum name:

', $context['forum_name'], '



and replacing that part with a image script:


<img src="', $settings['images_url'], '/IMAGE.GIF" border="0" alt="" />


Note you have to change the image name in the code and place your image in your images folder of every theme because it will take the image from the users theme directory.

And some may want the banner clickable, to do that, use this instead of the above.


<a href="URL"><img src="', $settings['images_url'], '/IMAGE.GIF" border="0" alt="" /></a>


And if you want it aligned [center, left, right] use this code instead.


<div style="align: center;"><img src="', $settings['images_url'], '/smflogo.gif" alt="" /></div>



Where can I download this forum's theme?

The theme this forum is using [Simple Machines Theme] was designed specially for this forum, this includes smilies, buttons, images and everything else that this forum uses. Please do not steal any part of this artwork. For more information see this topic about The SMF Site Default Theme (http://www.simplemachines.org/community/index.php?topic=189786.0).


How to add new button to 1.1.x?

http://docs.simplemachines.org/index.php?topic=1032.0


How to add tabs to Core (NDT)?

http://docs.simplemachines.org/index.php?topic=564



Thank you for understanding.