MyBB Community Forums

Full Version: How to add a simple text link at top see image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I would like to add a simple clickable text link at top - [attachment=36522]


And check this image also and give me solution - [attachment=36523]


Thanks
In header template:

Find:

				<div class="wrapper">
					<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

and replace it with:

				<div class="wrapper">
					<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a><a href="{$mybb->settings['bburl']}/index.php" title="{$mybb->settings['bbname']}">Link</a>

You can add a class to the link afterward to style and position it with CSS.

If you want to remove the last poster link, goto forumbit_depth2_forum_lastpost and forumdisplay_thread:

<br>{$lastpost_date}<br>{$lang->by} {$lastpost_profilelink}
Great Ashley1

My first problem solved. But my second problem is not removing the last post. Problem is Year underlined by red. It shows two 2016 2016 i.e. 20162016

Thanks
How many languages are you running? Do you have that problem with all languages? Check the language definition {$lastpost_date}

Edit: Well it looks like you are using the default english language, so don't know what might be causing that.