dynamic meta tags v. 0.2.0

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators


dynamic meta tags v. 0.2.0

Postby tymoore » Tue Jan 08, 2008 4:20 pm

I have gone through and made all of the changes on my site as detailed in the install docs. Everything on the site seems to work, but when I view the source I do not see any meta tags. How do I know if it's working or how do I troubleshoot?
tymoore
 
Posts: 6
Joined: Tue Jan 08, 2008 3:57 pm

Advertisement

Postby TomaS » Tue Jan 08, 2008 4:40 pm

you will if is work when you look on source code and there will see any automatic changes
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
TomaS
PR2
PR2
 
Posts: 229
Joined: Fri Jun 08, 2007 1:22 am

Postby tymoore » Tue Jan 08, 2008 9:39 pm

I'm sorry I don't understand your response. Are you saying that everything will work properly? How will I know for sure?

Thank you for your help.
tymoore
 
Posts: 6
Joined: Tue Jan 08, 2008 3:57 pm

Postby TomaS » Tue Jan 08, 2008 11:59 pm

sorry for my bad english :roll:
So i was on your site and propably keyword dont show because you dont have any content.Keyword and other meta tags are extracted from 1. post and but you dont havy any posts there.Or other reason you did somethink bad, look on my site it worlk good
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
TomaS
PR2
PR2
 
Posts: 229
Joined: Fri Jun 08, 2007 1:22 am

Postby tymoore » Wed Jan 09, 2008 12:44 am

I do have one post for testing purposes at This Link. Still no meta tags showing in source.

There was one step in the installation that I think may be an issue.

This is an excert from includes/functions.php

Code: Select all
   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;


The documentation says it should like like this.

Code: Select all
   $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'];


Could this be an issue?
tymoore
 
Posts: 6
Joined: Tue Jan 08, 2008 3:57 pm

Postby dcz » Wed Jan 09, 2008 1:44 pm

Please, do not use fake signature.

Then, the install file tells you will find this code to explain how you could alter the default settings. It's not the full mod's code.

Then, about the meta on your forum's page, they do not show up at all actually, make sure you edited the required template and cleared the cache (all of it).

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby tymoore » Wed Jan 09, 2008 8:43 pm

I have edited everything as instructed in the documentation, as well as cleared the cache. All of the files I modified can be found at www.employerforums.net/files.zip. Can you see what I may have done wrong?
tymoore
 
Posts: 6
Joined: Tue Jan 08, 2008 3:57 pm

Postby dcz » Sun Jan 13, 2008 4:17 pm

From your online html source code :

Code: Select all
<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="" />


From the overall_header.html you sent :

Code: Select all
<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}



It really looks like you either did not uploaded the overall_header.tpl file in the right place or did not actually cleared the cache.

Try deleting all files in the cache/ dir except the .htaccess.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby tymoore » Mon Jan 14, 2008 1:20 pm

The cache is empty. This is the file I have stored at styles/prosilver/template.

Code: Select all
<!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} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
tymoore
 
Posts: 6
Joined: Tue Jan 08, 2008 3:57 pm

Postby dcz » Wed Jan 16, 2008 10:35 am

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.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby abcEzy » Wed Jan 16, 2008 1:08 pm

sorry to be a pain, I don't understand this part. I've got the seo mod installed for phpbb 3.0.0.

When trying to install this, the section below doesn't exist in the includes/functions.php file. :(

What am I missing here?

Thx in advance.
-------
________________________________________
>>>> INSTALLATION INSTRUCTION <<<<<
________________________________________

In in includes/functions.php, you'll find some pretty obvious code you may want to modify upon your needs :

$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'];
abcEzy
 
Posts: 12
Joined: Sat Oct 20, 2007 4:47 pm

Postby abcEzy » Wed Jan 16, 2008 1:23 pm

Never mind, excuse my post. I didn't clear the cache. my bad.

Hey guys, have you sorted out that paypal donation button I can send some money over to you as my sign of thanks for the effort you've put into your work? :)

Cheers.
abcEzy
 
Posts: 12
Joined: Sat Oct 20, 2007 4:47 pm

Postby dcz » Wed Jan 16, 2008 1:45 pm

abcEzy wrote:Hey guys, have you sorted out that paypal donation button


Not yet ;)

Happy you made it in the end :D

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 19911
Joined: Fri Apr 28, 2006 9:03 pm

Postby tymoore » Wed Jan 16, 2008 2:20 pm

I'm not sure what I did differently this time, but I cleared the cache again and everything worked properly. Thank you for your help!

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.

++
tymoore
 
Posts: 6
Joined: Tue Jan 08, 2008 3:57 pm


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: austin881 and 5 guests


 
cron