2012-07-26, 11:41 PM
Pages: 1 2
2012-07-27, 01:06 AM
You'll need to edit the theme's templates, and it should be in the header > header template. Then you'll use the <img> HTML code and add it before the text and it'll add a image there for you.
2012-07-27, 01:17 AM
(2012-07-27, 01:06 AM)Known Wrote: [ -> ]You'll need to edit the theme's templates, and it should be in the header > header template. Then you'll use the <img> HTML code and add it before the text and it'll add a image there for you.nothing there ??
2012-07-27, 01:23 AM
Are you going to the AdminCP > Templates & Styles > Templates (left-hand side) > Theme Name Expand All > Header Templates > Header (Edit) ?
2012-07-27, 01:27 AM
(2012-07-27, 01:23 AM)Known Wrote: [ -> ]Are you going to the AdminCP > Templates & Styles > Templates (left-hand side) > Theme Name Expand All > Header Templates > Header (Edit) ?
yes here is the code
<div class="page" id="page">
<a name="top" id="top"></a>
<div id="header">
<span class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></span>
<div id="panel" class="menu"><ul>
<li><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
<li><a href="#">{$lang->toplinks_search}</a>
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php">Advanced search</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>
</ul></li>{$welcomeblock}
</ul>
</div>
<span class="tools">
<a href="#" id="separator" style="width: auto; height:auto;">
<img src="{$theme['imgdir']}/tools_sidebar.png" alt="sidebar" title="collapse / expand sidebar"/>
</a>
<a href="#" id="toggler">
<img src="{$theme['imgdir']}/tools_change_bg.png" alt="change background" title="change background image"/>
</a>
<a class="changewidth original" href="#" title="switch to fixed page width">page</a>
<a class="changewidth wide" href="#" title="switch to full page width">page_wide</a>
<a href="#" title="toggle text and links color" id="textchange"><img src="{$theme['imgdir']}/tools_textcolor.png" alt="text color" /></a>
</span>
</div>
<div id="container" class="forum_sidebar sidebar_right">
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
2012-07-27, 01:54 AM
So for example you'll add your image before this:
Heres an example:
<li><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
Heres an example:
<li><img src="url.to.image.here><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
2012-07-27, 02:16 AM
ik know this.... i want to add it to the username its not in the code
2012-07-27, 02:41 AM
(2012-07-27, 02:16 AM)3Gnoob Wrote: [ -> ]ik know this.... i want to add it to the username its not in the code
i think this is the solution you are looking for
ACP > templates and themes > tepmplates > "theme name " templates > expand > header templates > header > options > edit template > add code1 after code 2
code 1:
Quote:<li><a href="{$mybb->settings['bburl']}/search.php">Advanced search</a></li>code 2:
Quote:<li><img src=""><a href="{$mybb->settings['bburl']}/member.php?">UserProfile</a></li>if not then please explain.
2012-07-27, 02:47 AM
(2012-07-27, 02:41 AM)illusionalp Wrote: [ -> ]Okay as You See here :(2012-07-27, 02:16 AM)3Gnoob Wrote: [ -> ]ik know this.... i want to add it to the username its not in the code
known gave you the solution OP but it seems that this is not your problem
can you please explain more what is your problem.
i want it like this....
but then i want it to where if you click on the image it redirects it to the profile of the user
2012-07-27, 02:54 AM
(2012-07-27, 02:47 AM)3Gnoob Wrote: [ -> ]i see your problem OP you want the start image and the username under it(2012-07-27, 02:41 AM)illusionalp Wrote: [ -> ]Okay as You See here :(2012-07-27, 02:16 AM)3Gnoob Wrote: [ -> ]ik know this.... i want to add it to the username its not in the code
known gave you the solution OP but it seems that this is not your problem
can you please explain more what is your problem.
i want it like this....
but then i want it to where if you click on the image it redirects it to the profile of the user
amaright?
will here is the solution
1- cut the star image and delete the username and re size it
2-
ACP > templates and themes > templates > "theme name " templates > expand > header templates > header > options > edit template > add code1 after code 2
code 1:
Quote:<li><a href="{$mybb->settings['bburl']}/search.php">Advanced search</a></li>code 2:
Quote:<li><img src="your image link in here"><a href="{$mybb->settings['bburl']}/member.php?">{$mybb->user['username']} Profile</a></li>now it will show the star then after the start this text
username profile
username = if you are logged in as illusion
it will display illusion,etc..
Pages: 1 2