MyBB Community Forums

Full Version: Putting a Banner in the Forum Header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'd like to display a different banner for each forum I have. I've looked at: Custom Header Logo for Forums, but I can't get it to work.

So I need an easy way to replace the "Forum Name" with a banner.
You mean different banner each forum?
Maybe this
http://mods.mybb.com/view/custom-header-logo-for-forums
As I originally stated "I've tried: Custom Header Logo for Forums"

Although I finally DID get it to work, it isn't what I wanted. That puts the logo in the page header, not what I am calling the Forum header.

I want the logo to go under the breadcrumbs on the page, not replace my overall forum's logo.
You can always make a copy of the master theme you have set, edit the templates in the forumdispay templates to include the new header under the global header but before the threads.
Then go to the forum settings, set the options to override the user's selected theme and use the new copy you just made.
OK -that's the part I'm asking help as to where - exactly - I need to do this.

I am using the Apart Flame theme.
1. Exprot the theme: ACP ->Templates & Style -> Your Theme -> Options -> Export
2. Import the theme with a small change to the name, anything will do: ACP -> Templates & Style ->Import a theme -> Fill in the deails, and browse for the XML file -> Save the theme
3. Edit the Global header to include a forum name or image: ACP -> Templates & Style -> Templates ->Select Your theme -> Header Templates -> Header
4. Find:
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
5. Replace with:
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /><center><h1>Your Forum Name Here</h1></center></a></div>
6. Save the changes.
7. Set the theme to override the user's selection for that forum only: ACP: Forums & Posts -> Select Forum -> Edit Forum Settings
8. Scroll to Additional Forum Options to a section called style options. Select the checkbox and select the new theme you imported earlier.

That should do the trick. You can always replace
Quote:<center><h1>Your Forum Name Here</h1></center>
With and image code or anything like that.
EDIT: I forgot to mention, after importing the theme, you're gonna have to upload the images into a separate directory and edit the new theme settings to the new directory name. Then edit the theme templates as I said above.
Did you try what I posted on the banner thing? Let me know if you need anymore help on it.
Sorry it's taken so long to get back with you. Life got, well, life. Smile

Anyway. This would require me to constantly be making a modification for each forum I create.
Basically, as our community grows - we are a gaming community - we will be getting a new forum for each new group, what we call a Brigade.

I'd like something similar to the Custom Header Logo for Forums plugin where I can set, int he ACP Forum Management what that logo would be. And so we have out main logo at the very top of the page, but the Brigade logo would be directly under the breadcrumbs.
(2011-11-21, 09:54 PM)db phantom cm Wrote: [ -> ]Sorry it's taken so long to get back with you. Life got, well, life. Smile

Anyway. This would require me to constantly be making a modification for each forum I create.
Basically, as our community grows - we are a gaming community - we will be getting a new forum for each new group, what we call a Brigade.

I'd like something similar to the Custom Header Logo for Forums plugin where I can set, int he ACP Forum Management what that logo would be. And so we have out main logo at the very top of the page, but the Brigade logo would be directly under the breadcrumbs.
try putting the board logo before the container div eg
<center>
<img src="logo.png"  alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />
</center>
<div id="container">
then perhaps add the following below
<div id="header">
			<div class="logo">
<img src="{$theme['logo']}"  alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />
                         </div>
which will nearly fix it using the plugin, the only thing left to do is to produce a transparent image image for your default logo and set it as the board logo ...job done
example no forum logo

example of a forum with a logo
Wouldn't this put the exact same "logo.png" on every forum, and not a unique one per forum?

What file is this that you are showing the mod for?
Pages: 1 2