MyBB Community Forums

Full Version: Change the description
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I know this was asked here, but from other posts i didn't find the solution, so please help me to change the description on the forum. I have tried on

Index Page Templates > Index , but nothing, anyone have idea where it is?Undecided
forumbit_depth1_cat
Do you mean the description of the forums/categories?
Admin CP -> Forums & Posts -> Forum Management -> *Forum* -> Edit Forum Settings -> Edit Forum -> Description
(2013-03-15, 08:27 PM)effone Wrote: [ -> ]forumbit_depth1_cat

I have this code inside, i see the voice description, but are not text or something to change..

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

(2013-03-15, 09:19 PM)JordanMussi Wrote: [ -> ]Do you mean the description of the forums/categories?
Admin CP -> Forums & Posts -> Forum Management -> *Forum* -> Edit Forum Settings -> Edit Forum -> Description

I need to change simple the description of the forum

Title ' forum '

description ' ?????? '

keywords ' forum, mybb... '

So the description it show me another old one, and i want to change it, so how to do this?
Description that's in the meta tags? You'd do that in the headerinclude template, which was in Ungrouped I think.
Admin CP -> Templates & Style -> Templates -> *Theme* -> Ungrouped Templates -> headerinclude
Note that those will be displayed on every page on your forum. Generic descriptions can be bad for SEO.
Thanks Jordan, so how i can now to display it only for the forum page, and for other pages to have a custom description, this will help a lot. And will be nice to have it working
In most templates there will be {$headerinclude} add your meta description for that page just below it.

For example the index template:
Admin CP -> Templates & Style -> Templates -> *Theme* -> Index Templates -> index
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
{$boardstats}

<dl class="forum_legend smalltext">
	<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
	<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>

{$headerinclude}
You would add your meta description here.

You could achieve this more easily with the Google SEO plugin.
And how to set this with the google seo plugin? + I can't activate it completely. it says: Add to .htaccess:
# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /forums/

I am adding but it say again this to me
I've never used the plugin. Try replying to the official support thread.
Pages: 1 2