News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

The "New Topic" "No New Topic" Logo

Started by Revolation, December 15, 2007, 10:51:24 PM

Previous topic - Next topic

Revolation

How do I change the Logo?

Can someone give me the Location to it? Like where it is in the Package? Like is it in the Index.php? Or Display? Someone help me out please?

Lilac

It's easiest to just overwrite the actual graphics files themselves. They are mostly called in Boardindex.template.php unless you have child boards, however.
Elliquiy Adult Role playing is a mature roleplaying community with some 500,000 posts in over 100 boards.

I don't know everything.  Please ask questions in the support forums instead of PMing me!


Lilac

They are, they're just hiding.

Why not just replace them? Much easier and you won't have to make changes each time the template does.
Elliquiy Adult Role playing is a mature roleplaying community with some 500,000 posts in over 100 boards.

I don't know everything.  Please ask questions in the support forums instead of PMing me!

Revolation

Ok well I played around with it a bit, and this is what i have(Before Playing around):

Quote// If the board is new, show a strong indicator.
            if ($board['new'])
               echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
            // This board doesn't have new posts, but its children do.
            elseif ($board['children_new'])
               echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
            // No new posts at all! The agony!!
            else
               echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';

And I kept messing around with the
Quote['images_url']
And when i changed it, the logo for the No New posts changed and it said "No New Posts" Instead of the Logo being there... This is probably it, but I dont know which Text Tile I should use, Should I use the [IMG] Code? Or the Embed Code of the Logo I want?

Lilac

...no, I meant replace on.gif, on2.gif, and off.gif themselves. You don't need to edit the file to change them. Just overwrite them with your own versions.

If you want, you can make them your own like myon.gif, myon2.gif, and myoff.gif.  Don't change $settings['images_url'], obviously.
Elliquiy Adult Role playing is a mature roleplaying community with some 500,000 posts in over 100 boards.

I don't know everything.  Please ask questions in the support forums instead of PMing me!

IchBin™

You should get the terminology straight on a few things first. First, a logo is an image that is usually at the top of a theme, and it usually is a short description and depicts what you're site is about. What you are referring to are just plain images, and not logo's. If you text is appearing and the image is not, its probably because you messed up the code for the path by changing the $settings['images_url'] code. You cannot use BBC code ([img]) in themes.

Lilac is right, you don't need to change the code for the images. Just make/edit your own images and replace the existing ones.
IchBin™        TinyPortal

Advertisement: