MyBB Community Forums

Full Version: Remove Some Theme Elements...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I like this theme a little more than the default but it adds a few elements, and I am no good with CSS or PHP, so could someone help me remove the things in the black circles. The links that are underlined... why are there 2 of each? It would help immensely. Thanks a lot.

[Image: Untitled.jpg]
This is because you have wrong path to images directory.
"Search" and other are doubled because in theme is:
<img src="path_to_image/image.gif" alt="Search" />
please check in "Header" template, find:
<li><a href="..."><img src="..." />
there should be 4 <li> elements for menu items:
search, memberlist, calendar & help.
And when you find this, check the path to image in <img> tag. Maybe you need change this to current path.

Or maybe this image not exist
patrick_2007 Wrote:This is because you have wrong path to images directory.
"Search" and other are doubled because in theme is:
<img src="path_to_image/image.gif" alt="Search" />
please check in "Header" template, find:
<li><a href="..."><img src="..." />
there should be 4 <li> elements for menu items:
search, memberlist, calendar & help.
And when you find this, check the path to image in <img> tag. Maybe you need change this to current path.

Or maybe this image not exist

I couldn't find it... Sad
template 'header'
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
this is a link to images
{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif

1) {$mybb->settings['bburl']}/ - its path to your forum (http://..)
2) {$theme['imgdir']}/ - in your theme (theme editor) you can define path to images for example glossytheme (there are all your images)
3) toplinks -it's default folder with menu images.
If you have own menu images, then you need make folder glossytheme/toplinks

if you don't use own images, or you want use different folder and image_names, then you need set this folder & image_names in template above

for example:
if your images are in forder 'glossytheme' but you not use own menu images (like search.gif)
then you need set:
<img src="{$mybb->settings['bburl']}/images/toplinks/search.gif" alt="" />

if you have own menu images in folder 'glossytheme'
then set:
<img src="{$mybb->settings['bburl']}/glossytheme/search.gif" alt="" />