phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Special Keywords and Descriptions

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
Ghadam



Joined: 15 Apr 2008
Posts: 6

Special Keywords and DescriptionsPosted: Wed Sep 03, 2008 6:01 am    Post subject: Special Keywords and Descriptions

Hi there,
I have installed phpBB3 Seo Dynamic Meta Tags.
It works very well and is very nice !
Special Thanks to phpbb-seo .

I need some things more.
in overall_header.html , there is a code called "{META_TAGS}" , It will print Keywords, Descriptions , ... of every page together.
I need when I add this code : "{KEYWORDS}" in index body, It prints Keyword of the page and when I do it for "{DESCRIPTIONS}" , It will print the descriptions of the page.
For Example, In "http://www.phpbb-seo.com/boards/" , we have :

{KEYWORDS} = phpBB SEO, Search Engine Optimization Forum, google, yahoo, msn search, solutions

{DESCRIPTIONS} = phpBB SEO Forums : Search Engine Optimization Solutions, google, yahoo, msn search


phpBB has done this for {title} code, when I enter {title} , it prints Title of the page.
Is it possible ?

Regards
Back to top
IPB_Refugee



Joined: 24 Jul 2008
Posts: 47

Special Keywords and DescriptionsPosted: Wed Sep 03, 2008 12:55 pm    Post subject: Re: Special Keywords and Descriptions

Hi,

try this in index.php instead of the piece of code you added while installing the Seo Dynamic Meta Tags MOD:

Code:
// www.phpBB-SEO.com SEO TOOLKIT BEGIN - META
$seo_meta->meta['meta_desc'] = "Your own description."; //$seo_meta->meta_filter_txt($config['sitename'] . ': ' .  $config['site_desc']);
$seo_meta->meta['keywords'] = "Your keyword1, your keyword2, your keyword3 etc."; //$seo_meta->make_keywords($seo_meta->meta['meta_desc']);
// www.phpBB-SEO.com SEO TOOLKIT END - META


Regards
Wolfgang
Back to top
Ghadam



Joined: 15 Apr 2008
Posts: 6

Special Keywords and DescriptionsPosted: Wed Sep 03, 2008 1:37 pm    Post subject: Re: Special Keywords and Descriptions

Thanks ! Embarassed

But, I want {KEYWORDS} produce keywords of every page dynamically.

{META_TAGS} prints everything together. I want to use Keyword and Description of every page in footer of that page.
Back to top
IPB_Refugee



Joined: 24 Jul 2008
Posts: 47

Special Keywords and DescriptionsPosted: Wed Sep 03, 2008 1:46 pm    Post subject: Re: Special Keywords and Descriptions

I'm not sure if I understand you correctly.

Do you want to print the description and keywords readable for everyone? E.g.:

Description of this page: xxx
Keywords of this page: yyy

Powered by phpbb 2000, 2002,.....
Back to top
Ghadam



Joined: 15 Apr 2008
Posts: 6

Special Keywords and DescriptionsPosted: Wed Sep 03, 2008 3:04 pm    Post subject: Re: Special Keywords and Descriptions

Yes !
You are right.
But Please do not ask why !
Back to top
IPB_Refugee



Joined: 24 Jul 2008
Posts: 47

Special Keywords and DescriptionsPosted: Wed Sep 03, 2008 7:06 pm    Post subject: Re: Special Keywords and Descriptions

Okay, try this:

In includes/functions.php FIND:

Code:
      // www.phpBB-SEO.com - META
      'META_TAG' => $seo_meta->build_meta($page_title),


AFTER, ADD:

Code:
      'METADESCRIPTION'   => (defined('METADESCRIPTION')) ? METADESCRIPTION : '',
      'METAKEYWORDS'   => (defined('METAKEYWORDS')) ? METAKEYWORDS : '',


FIND:

Code:
      return sprintf( $this->meta['meta_tpl'],


Please note, that this is an INLINE FIND. The whole line is longer.

BEFORE, ADD:

Code:
      define('METADESCRIPTION', '<p>Description: ' . $this->meta['meta_desc'] . '</p>');
      define('METAKEYWORDS', '<p>Keywords: ' . $this->meta['keywords'] . '</p>');


Please note, that there is some HTML and hard coded language in these two lines. Adapt it to your needs.

Now you can put

Code:
{METADESCRIPTION}


and

Code:
{METAKEYWORDS}


somewhere into your overall_footer.html or a different template file.

Regards
Wolfgang
Back to top
Ghadam



Joined: 15 Apr 2008
Posts: 6

Special Keywords and DescriptionsPosted: Thu Sep 04, 2008 12:52 am    Post subject: Re: Special Keywords and Descriptions

Special Thanks !
It works !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: