MyBB Community Forums

Full Version: How can I add an image on header?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My new mybb forum is BlogDips.com. I am very satisfy with mybb!
I have 2 questions.............
1. How I can add an images on header?
2. On footer where it says, "" users active in the past 15 minutes!
Here how I can change the minute option. I would like to made it last 24 hours instead 15 MinutesSmile
Please help meSmile
1. You can simply add it, just edit your header template add simple html code for image and that's it.
2. Admin CP -> Configuration -> Settings -> Who's Online -> Cut-off Time (mins) -> Set how much minutes you want.

(1440 minutes = 24 hours)
(2012-12-16, 05:02 PM)JovanJ. Wrote: [ -> ]1. You can simply add it, just edit your header template add simple html code for image and that's it.
2. Admin CP -> Configuration -> Settings -> Who's Online -> Cut-off Time (mins) -> Set how much minutes you want.

(1440 minutes = 24 hours)
Thanks for your informative and helpful reply. Number 2 question answer I have understood and also have solved. But will you please guide me more specifically how I can edit html to add the images?
Step to step?
Please....
ThanksSmile
<a href="http://blogdips.com"><img src="http://thelinktoyourimage.jpg" /></a>

Something like that, but obviously you'd change the image link to the one you want.
(2012-12-16, 05:16 PM)Xanth Wrote: [ -> ]
<a href="http://blogdips.com"><img src="http://thelinktoyourimage.jpg" /></a>

Something like that, but obviously you'd change the image link to the one you want.

On my template header I have found this code:
<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<navigation>
			<br />

Now which change do I need to change to add a header image? Please step to step guide would be helpfulSmile
<img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>


Edit {$theme['logo']} to the link to the image you want.
(2012-12-16, 05:43 PM)Xanth Wrote: [ -> ]
<img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>


Edit {$theme['logo']} to the link to the image you want.

Thank you Xnath, and JovanJ. Now it is ok when need I will comeback on this community againSmile