MyBB Community Forums

Full Version: simplest thing in the world- logo in header, can't seem to do it.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm setting up a forum, using the default template atm, and want to put a logo at the top, in the header,  of each page.
HOW?!?!

I'm a meathead, i admit. The logo file is either on apicsart server online,  or in the sd card of my android- that's all i have.  Is this a possibility?  Or do i have to host the images on a computer hard drive?  

The template code Sad which line do i change, to what? ) i mean,  if i need to put the url in where do i? I wouldn't think Id be able to use a mobile device as an image server,  idk. Thanks for helping anoob:<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>
<ul class="menu top_links">
{$menu_portal}
{$menu_search}
{$menu_memberlist}
{$menu_calendar}
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>
</div>
</div>
<div id="panel">
<div class="upper">
<div class="wrapper">
{$quicksearch}
{$welcomeblock}
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
</div>
</div>
<div id="content">
<div class="wrapper">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers}
<navigation>
<br />

The forum:http://forum.n2npdx.com/
Go into admin cp > theme > default theme > scroll down for field that says "board logo" > insert the image link
Okay, duh. Thanks, in just getting the hang of this, my braille method is slow but sure.

Now, next dumb? ?
I'm basically admining from my mobile Android device. I was planning to use images i make with the picsart app and link to them, alahttp://picsart.com/i/165106030001202.
Now, i puthttp://picsart.com in the 'image Directory' and linked as above in the place for the logo but only see a broken link. What did i do wrong?

Thanks again.
The link isn't an image. You're actually linking to a web page, that's why the image shows up broken on your board.
Use this instead: http://cdn42.picsart.com/165106030001202.jpeg
The link I gave is the direct link to the image instead of a web page.

Since you're on an Android device, I don't think you'll be able to get the direct link to the image unless they actually give you the link somewhere. (If there is a way, I haven't found it yet). The links usually have to end with gif, bmp, jpg, or png (for the most common ones). However if you ever use a computer and you have access to Chrome, you can right-click on the image and then left-click on "Copy image URL" and you'll get the direct link to the image hosted on picsart (copied to clipboard of course). (Other browsers may or may not be similar in steps).
Great! Thank you!

Now, when i copy the url from picsart, the cdn42 part isn't there. What does that refer to, and what do i change to use a different one?
The cdn42 is the server (one of many it seems), this may vary from time to time. cdn42 may become cdn26, which means the image was stored on a different server and that's alright. Just ensure that the direct link from the image ends with an extension such as: bmp, jpg, jpeg, gif, or png. If picsart is giving you the same type of link as earlier in your support request, you will need to right click directly onto the image and click on "Copy image URL" (Chromium-based browsers only). Some android browsers may or may not have a similar function. If you use Chrome on Android: touch the image and hold your finger there for about 1 - 2 seconds and a menu should pop up. You will tap "Copy image URL". The other one you can use is "Open the image in a new tab", this too will be in the right-click/touch menu.

And to reiterate what to change in the theme, you will change the Board Logo field, located in (as Patchy the Pirate has explained earlier):
Admin CP > Theme > Default Theme > Board Logo
Replace "http://picsart.com/i/165106030001202" with "http://cdn42.picsart.com/165106030001202.jpeg" and viola. Save the theme. If you have multiple themes, you can use the same image (by using the same link) or by providing a new link to a different picture. Replace "Default Theme" in the navigation steps with the name of the theme you wish to change the logo for.