Moderator: Moderators


function seo_meta_tags() {
global $config;
$this->meta['meta_tpl'] = '<meta name="title" content="%s" />' . "\n" . '<meta name="description" lang="%s" content="%s" />' . "\n" . '<meta name="keywords" content="%s" />' . "\n" . '<meta name="category" content="%s" />' . "\n" . '<meta name="robots" content="%s" />'. "\n" . '<meta name="distribution" content="%s" />' . "\n" . '<meta name="resource-type" content="%s" />' . "\n" . '<meta name="copyright" content="%s" />';
// Here you can hard code a static default title, description and keywords
// As is, the mod will return information based on the phpbb config
$this->meta['meta_title_def'] = $config['sitename'];
$this->meta['meta_desc_def'] = $config['site_desc'];
$this->meta['meta_keywords_def'] = $config['site_desc'];
$this->meta['meta_lang'] = $config['default_lang'];
$this->meta['meta_cat'] = 'general';
$this->meta['meta_robots'] = 'index,follow';
$this->meta['meta_distrib'] = 'global';
$this->meta['meta_restype'] = 'document';
$this->meta['meta_copy'] = $config['sitename'];
return; $seo_meta['meta_title_def'] = $config['sitename'];
$seo_meta['meta_desc_def'] = $config['site_desc'];
$seo_meta['meta_keywords_def'] = $config['site_desc'];
$seo_meta['meta_lang'] = $config['default_lang'];
$seo_meta['meta_cat'] = 'general';
$seo_meta['meta_robots'] = 'index,follow';
$seo_meta['meta_distrib'] = 'global';
$seo_meta['meta_restype'] = 'document';
$seo_meta['meta_copy'] = $config['sitename'];

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en-gb" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" /><meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
{META_TAG}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
{META_TAG}
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<meta name="copyright" content="2002-2006 phpBB Group" />
abcEzy wrote:Hey guys, have you sorted out that paypal donation button

dcz wrote:Well, the code is correct, but unless you configured you forum sitename to "2002-2006 phpBB Group", there is just no way you'll see :
- Code: Select all
<meta name="copyright" content="2002-2006 phpBB Group" />
on -www.employerforums.net with this mode installed and cache cleared.
You must be doing something wrong, which most likely will look obvious once you'll have find it.
++
Users browsing this forum: austin881 and 5 guests