MyBB Community Forums

Full Version: Changing the template (Justin S)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I'm using the Apart theme by Justin S and I don't like the header. I've always liked Afresh when I modified it my way, but I just never liked the header. On 1.4 I used to just copy and paste the header from another theme, but now that doesn't work.

I want the header to have the same welcomeblock as MyBB community boards and have the icons, search,memberlist,etc in the same place as the mybb community boards as well.

Can anyone help me with this?

Thanks, http://thediscussionzone.com
bumpl
Have you sorted out your issue?
No, still want to know how.
Do you want to keep the title part part? [attachment=19197]

Or do you want everything from the top down to the content to be default?
I too was using the Apart theme or I was until I found this to be a problem. I wanted to add two links to the top links, one to my game-section and the other to my Wordpress board which is an arcade. I tried it and there was not enough space.. and then when I removed the calendar and the members links and added the ones I wanted in place.. it threw the entire thing off. I do not have that skin up..I am using blazebb because of that.
How can I fix that issue?
(2010-08-07, 07:45 PM)quacktacular Wrote: [ -> ]Do you want to keep the title part part?

Or do you want everything from the top down to the content to be default?

I want to have the toplinks in the center and have the default welcomeblock and header layout the same as MyBB.com. I'm currently not using the theme as it looked a mess when the header wasn't how I liked it.
(2010-08-08, 05:57 AM)Starnova Wrote: [ -> ]I too was using the Apart theme or I was until I found this to be a problem. I wanted to add two links to the top links, one to my game-section and the other to my Wordpress board which is an arcade. I tried it and there was not enough space.. and then when I removed the calendar and the members links and added the ones I wanted in place.. it threw the entire thing off. I do not have that skin up..I am using blazebb because of that.
How can I fix that issue?

I too would like to add some links to the Apart them.

I tried Menu Manager but it doesn't work.

It would be nice to be able to add a few links.
(2010-08-12, 07:02 PM)IdiotDomainer Wrote: [ -> ]
(2010-08-08, 05:57 AM)Starnova Wrote: [ -> ]I too was using the Apart theme or I was until I found this to be a problem. I wanted to add two links to the top links, one to my game-section and the other to my Wordpress board which is an arcade. I tried it and there was not enough space.. and then when I removed the calendar and the members links and added the ones I wanted in place.. it threw the entire thing off. I do not have that skin up..I am using blazebb because of that.
How can I fix that issue?

I too would like to add some links to the Apart them.

I tried Menu Manager but it doesn't work.

It would be nice to be able to add a few links.

I managed to add links, but It's not much better.

Here's the original header template, just change the images, names, and links,etc. to what you want:

<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div id="logo">
				<div class="wrapper">
					<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
				</div>
			</div>
			<div id="panel">
				<div class="upper"><!-- This div(class="upper") is closed in the header_welcomeblock_member and header_welcomeblock_guest templates -->
					<div class="wrapper">
				<ul class="menu top_links">
							<a href="{$mybb->settings['bburl']}/index.php"><img src="images/toplinks/home.png" alt="" title="" /> Home</a>
<li></li> 
                                                        <a href="{$mybb->settings['bburl']}/search.php"><img src="images/toplinks/search.png" alt="" title="" /> Search</a>
<li></li>
                                                        <a href="{$mybb->settings['bburl']}/memberlist.php"><img src="images/toplinks/memberlist.png" alt="" title="" /> Members</a>
<li></li>
                                                        <a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="images/toplinks/help.png" alt="" title="" /> Help</a>
<li></li>
                                                        <a href="{$mybb->settings['bburl']}/contact.php"><img src="images/toplinks/contact.png" alt="" title="" /> Contact</a>
<li></li>
                                                        
						</ul>
						{$welcomeblock}
			</div>
		</div>
		<div id="content">
			<div class="wrapper">
				{$pm_notice}
				{$bannedwarning}
				{$bbclosedwarning}
				{$unreadreports}
				{$pending_joinrequests}
				<navigation>
				<br />

I want to change the template so its like the one at MyBB Community forums with the welcome block in the same position and the icons in the same position, please help.
You need to place your links inside the <li></li> tags like this:

Quote:<li><a href="{$mybb->settings['bburl']}/index.php"><img src="images/toplinks/home.png" alt="" title="" /> Home</a></li>

This will align them in the center :

Quote:<ul class="menu top_links">

<div align="center">
<li><a href="{$mybb->settings['bburl']}/index.php"><img src="images/toplinks/home.png" alt="" title="" /> Home</a></li>

<li><a href="{$mybb->settings['bburl']}/search.php"><img src="images/toplinks/search.png" alt="" title="" /> Search</a></li>

<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="images/toplinks/memberlist.png" alt="" title="" /> Members</a></li>

<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="images/toplinks/help.png" alt="" title="" /> Help</a></li>

<li><a href="{$mybb->settings['bburl']}/contact.php"><img src="images/toplinks/contact.png" alt="" title="" /> Contact</a></li>
</div>

</ul>