Related topics and rewrite

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

Related topics and rewrite

Postby sceltic » Sun Jun 11, 2006 6:33 am

Is it possible to get this mod to work with the advanced rewrite



I have tested it but they all show only the same injected topic title as the page they are onhttp://www.phpbbhacks.com/download/2237
sceltic
PR0
PR0
 
Posts: 55
Joined: Thu May 04, 2006 4:07 pm

Advertisement

Postby dcz » Sun Jun 11, 2006 5:32 pm

I'd say :

Open :

Code: Select all
includes/function_related.php


Find :

Code: Select all
function get_related_topics($topic_id)
{
   global $board_config, $db, $lang, $template, $theme, $images, $phpEx;
   global $userdata, $HTTP_COOKIE_VARS;


After add :
Code: Select all
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   global $seo_topic_name;
   // www.phpBB-SEO.com SEO TOOLKIT END


Find :

Code: Select all
      $template->assign_block_vars('topicrow', array(


Before add :
Code: Select all
      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
      $seo_topic_name  = $topic_title;
      // www.phpBB-SEO.com SEO TOOLKIT END




There should be no need to add anything to this mod to work together with the mixed or simple phpBB SEO mod Rewrites.

++

[EDIT]
small typo fixed[EDIT]
Last edited by dcz on Sun Dec 03, 2006 5:05 pm, edited 1 time in total.
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: 21428
Joined: Fri Apr 28, 2006 9:03 pm

Postby sceltic » Mon Jun 12, 2006 11:00 am

thanks i will test this later
sceltic
PR0
PR0
 
Posts: 55
Joined: Thu May 04, 2006 4:07 pm

Postby dcz » Mon Jan 29, 2007 5:53 pm

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: 21428
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB2 Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests