2024-04-26, 09:50 PM
2024-04-26, 10:28 PM
In your case, I would recommend to edit the Template "header":
Replace the logo-variable {$theme['logo']} by the absolute path of the file of your main site.
You also can use a relative path instead like this: "../../mysite/logo.png" - depending on the location of your forum and the root page.
I guess, you are going to use your dedicated logo for both the main page and the forum. So, better use an absolute path to the dedicated logo file.
[ETS]
Replace the logo-variable {$theme['logo']} by the absolute path of the file of your main site.
You also can use a relative path instead like this: "../../mysite/logo.png" - depending on the location of your forum and the root page.
I guess, you are going to use your dedicated logo for both the main page and the forum. So, better use an absolute path to the dedicated logo file.
[ETS]
2024-04-29, 07:18 PM
(2024-04-26, 10:28 PM)[ExiTuS] Wrote: [ -> ]In your case, I would recommend to edit the Template "header":
Replace the logo-variable {$theme['logo']} by the absolute path of the file of your main site.
You also can use a relative path instead like this: "../../mysite/logo.png" - depending on the location of your forum and the root page.
I guess, you are going to use your dedicated logo for both the main page and the forum. So, better use an absolute path to the dedicated logo file.
[ETS]
Thanks for the feedback. I'm very new to mybb,
are you speaking of:
./install/resources/mybb_theme.xml
<a href="www.domain.com"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
It appears it's pointing where I want, but the url for the logo is pointing to: http://domain.com/forum/mybb/Upload/index.php
Thanks the only reference I can find to logo.png.
2024-04-29, 08:29 PM
you can edit the template header in ACP --> Templates --> Choose your Style-Templatepack --> Category Header --> Header
search for this line or similar if you use not the MyBB-Default-Style
Change to what you want it to link
search for this line or similar if you use not the MyBB-Default-Style
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
You see the a-tag points to index.phpChange to what you want it to link