Strona 1 z 1

SEO Dynamic Meta tags

: 12 grudnia 2008, 20:51
autor: Rocky
Witam, zależy mi aby zainstalować w swoich forach modyfikację "SEO Dynamic Meta tags" niestety, instrukcja jest jak dla mnie bardzo nie jasna.

Mógłby mi ktoś po polsku wyjaśnić instalację tego skryptu?

"You'll as well find some setting you may want to change (default are good) :"

i tutaj rozumiem(?), ustawiam jak chcę, ale gdzie później to wklejam ...

ogólnie nie kumam w tym modzie modyfikacji pliku includes/functions.php, dalej już sobie poradzę :P

z góry tnx za pomoc :)

Re: SEO Dynamic Meta tags

: 12 grudnia 2008, 22:29
autor: hemi

Re: SEO Dynamic Meta tags

: 12 grudnia 2008, 22:50
autor: Rocky
Może ja wkleje fragment instrukcji :)
In in includes/functions.php, you'll find some pretty obvious code you may want to modify upon your needs :

$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_def'] = 'index,follow';
$this->meta['meta_distrib'] = 'global';
$this->meta['meta_restype'] = 'document';
$this->meta['meta_copy'] = $config['sitename'];

You'll as well find some setting you may want to change (default are good) :

/**
* Some config :
* => keywordlimit : number of keywords (max) in the keyword tag,
* => wordlimit : number of words (max) in the desc tag,
* => wordminlen : only words with more than wordminlen letters will be used, default is 2,
* => bbcodestrip : | separated list of bbcode to fully delete, tag + content, default is 'img|url|flash',
* => ellipsis : ellipsis to use if clipping,
* => topic_sql : Do a SQL to build topic meta keywords or just use the meta desc tag,
* => check_ignore : Check the search_ignore_words.php list.
* Please note :
* This will require some more work for the server.
* And this is mostly useless if you have re-enabled the search_ignore_words.php list
* filtering in includes/search/fulltest_native.php (and of course use fulltest_native index).
* => bypass_common : Bypass common words in viewtopic.php.
* Set to true by default because the most interesting keywords are as well among the most common.
* This of course provides with even better results when fulltest_native is used
* and search_ignore_words.php list was re-enabled.
* => disallowed : Disallow tag based on GET var used : varname => 1|0, 1 will through a disallow meta tag.
* Some default values are set bellow in the seo_meta_tags() method
**/
var $mconfig = array('keywordlimit' => 15, 'wordlimit' => 25, 'wordminlen' => 2, 'bbcodestrip' => 'img|url|flash|code', 'ellipsis' => ' ...', 'topic_sql' => true, 'check_ignore' => false, 'bypass_common' => true,
// Consider adding ", 'p' => 1" if your forum is no indexed yet or if no post urls are to be redirected
// to add a noindex tag on post urls
'disallowed' => array('style' => 1, 'hilit' => 1, 'print' => 1, 'sid' => 1),
);

Re: SEO Dynamic Meta tags

: 12 grudnia 2008, 23:02
autor: Rocky
sorry, za post pod postem, ale chyba już coś jarze /** ...... **/ no tak komentarz to jest :oops: jutro spróbuję :)