Simple machine test next to shrink header

Started by mickjav, August 05, 2021, 01:20:57 PM

Previous topic - Next topic

mickjav

Am I allowed to remove the simple machines forum text next to the shrink header, If I am without another payment where can I find it.

thanks mick

shadav

I don't understand what you mean, maybe take a screenshot of it?
and which version of smf is this for?

I'm assuming you mean like here on this site in the top left hand corner where it says simple machines

in your admin under server settings did you put in your forum title?
in your admin under current theme did you put in the url to your logo and/or did you put in your site slogan?

these 3 things will replace the default smf text/logo/images/ect

mickjav


mickjav

I've found where the code is but still not sure about what to do any help would be appreciated.

// the upshrink image, right-floated
echo '
<img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';
echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '
</div>
<div id="upper_section" class="middletext"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<div class="user">';

Kindred

yes, you can remove that.

there is no need to modify code....    that text will be replaced by the "Site Slogan" setting

...index.php?action=admin;area=theme;sa=settings

(it might be a setting option for each theme)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

mickjav

My site doesn't use a slogan I was thinking of just adding a . But would prefer to remove it as would drive my OCD nuts lol

mickjav

In the end I just decided to remove the whole line as I don't use Slogans so don't need that bit.

', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '

I did also read up on Ternary Operator But messed my first try up lol

mick

Advertisement: