MyBB Community Forums

Full Version: Trying to add/sort out a box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I want to add a couple of boxes to the header in my forum.

If you access it (www.autosvezzamento.it/forum) you will see that I have a box (chat) that is not "round" (also see attached screenshot; had to zip it because the system wouldn't allow a .tiff file). Next to it there is another box that is almost invisible and is supposed to link to "blog" (but I have hidden it for now; that is not the issue), but it looks exactly like "Chat".

How can I make it rounder, like the others?

FYI here is the code that I am using (my lines are the ones with Chat e Blog) inside the "header" file:

<div id="header">
			<div class="logo">
<div class="float_left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<ul><!-- links are in reverse order -->
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><span>{$lang->toplinks_help}</span></a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><span>{$lang->toplinks_calendar}</span></a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><span>{$lang->toplinks_memberlist}</span></a></li>
<li><a href="{$mybb->settings['bburl']}/search.php"><span>{$lang->toplinks_search}</span></a></li>
<li><a  target="_blank" href="http://www.autosvezzamento.it/forum/chat/"><font color="white">Chat</font></a></li> 
<li><a  target="_blank" href="http://www.autosvezzamento.it/wordpress/"><font color="white">Blog</font></a></li> 
</ul>
</div>
<div class="menu">
<navigation>
</div>
have you tried placin ghte chat and wordpress elsewhere in the list?
Tried this second, but both the Chat and blog boxes still get "chopped" on the right had side.
For the last two links, you need to add a <span> tag in which to wrap them. You also don't need the font tag Wink

So the code would look like:
<div id="header">
            <div class="logo">
<div class="float_left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<ul><!-- links are in reverse order -->
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><span>{$lang->toplinks_help}</span></a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><span>{$lang->toplinks_calendar}</span></a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><span>{$lang->toplinks_memberlist}</span></a></li>
<li><a href="{$mybb->settings['bburl']}/search.php"><span>{$lang->toplinks_search}</span></a></li>
<li><a target="_blank" href="http://www.autosvezzamento.it/forum/chat/"><span>Chat</span></a></li>
<li><a target="_blank" href="http://www.autosvezzamento.it/wordpress/"><span>Blog</span></a></li>
</ul>
</div>
<div class="menu">
<navigation>
</div>

That should work just the way you want it. If you have any questions, I'll be happy to answer them.
Thanks. It works like a charmSmile

If I may be so bold... Smile can you have a look as well at the at the "USER CP", etc buttons? (Pannello Utente, Pannello Amministrazione, etc).

As you will see I have like 2 buttons overlapping.
I have always thought there was a problem with the Italian file, but have never managed to find out exactly what it was.

My forum again:
www.autosvezzamento.it/forum

Thanks again
Also... in your webpage
http://www.awesomestyles.com/mybb-themes...en&version=
I see you can have a forum "link" to redirect your viewers to a different page.
I have not been able to find any info on how to do it (i.e. I have had a look at the forumSmile ), can you tell me how to do it?
I think I know what the problem is with the buttons but to be sure, what resolution do you have? You can check at this site: http://www.whatismyscreenresolution.com/



*All Admin CP commands are in English here as I don't have an Italian version, but you should still be able to follow along with the images.

For the link, once you have added your forum and it shows up under Forums & Posts > Forum Management, click the options button on the right and click on 'Edit Forum'.
[Image: i1880y0WV8Siu.png]

Once on the edit forums page, scroll down a bit and you will see the 'Additional Forum Options' table with a 'Forum Link' option (second table in the list and first item.
[Image: iutIjNgFZ0S24.png]

Enter your link and click the button at the bottom of the page to save the changes. That should do it.
(2012-01-29, 10:52 PM)Ferron Wrote: [ -> ]I think I know what the problem is with the buttons but to be sure, what resolution do you have? You can check at this site: http://www.whatismyscreenresolution.com/
I see the same thing on the laptop, pc and mobile.
On my iMac the resolution is:
1680 X 1050
(2012-01-29, 10:52 PM)Ferron Wrote: [ -> ]

*All Admin CP commands are in English here as I don't have an Italian version, but you should still be able to follow along with the images.
...

Thanks for that. I have the admin panel in English anywaySmile
It works fine. I had even accessed that page earlier on, but never scrolled down Big Grin
Alas it didn't work after all... For some reason the link I enter gets changedSad
I have posted another question here:
http://community.mybb.com/thread-112609.html