Topic in "Who is online" mod help

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators


Topic in "Who is online" mod help

Postby Stokerpiller » Tue Jul 08, 2008 8:40 pm

Hello

I was just wondering if anybody has this mod working with advanced seo:
http://www.phpbb.com/community/viewtopi ... &t=1055645

I have installed it and it is not working.
Any help?
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Advertisement

Postby dcz » Wed Jul 09, 2008 3:54 pm

There is no URL rewriting on viewonline.php with our mods.

Could you tell us a bit more about what is not working, is it only unrewritten links ?
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby Stokerpiller » Wed Jul 09, 2008 4:52 pm

Okay, I just assumed it was because og the SEO :oops:

It is supposed to show which topic the user is reading.
But it doesn't
When a user reads a topic it shows that the user is on board index.
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby Stokerpiller » Wed Jul 09, 2008 5:54 pm

Now I have testet it with the SEO Premod without any extra mods.
It doesnt work with SEO.
I also have testet it on a vanilla board and there it works fine.
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby Stokerpiller » Thu Jul 10, 2008 9:52 pm

Did some more testing.

Installed the Mod again on one of my SEO boards.
It didn't work.
Deactivated URL rewriting and then it did work.

BUT I dont want to deactivate then SEO because it is the ultimative MOD :)
BUT I still like to get the other mod working with SEO.

So please, somebody help me.
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby dcz » Fri Jul 11, 2008 7:05 am

So, there is one limitation with forum tracking when using mod rewrite, it will only work for topics when the forum id is provided, eg, when you are using the virtual folder trick.

If you are not using virtual folder, I assume that the topic tracking mod fails because it does not have the forum id in session table.

It's no big deal, and could be fixed (for topics), could you confirm you do not use the virtual folder mode of the mod rewrite ?
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby Stokerpiller » Fri Jul 11, 2008 7:07 am

Yes, I can confirm that virtual folder is not in use.
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby dcz » Fri Jul 11, 2008 7:12 am

Since 3.0.2 was just released today, I suggest you (and us since we'll update the SEO mod accordingly) first update and we'll see from there ;)

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

Postby Stokerpiller » Fri Jul 11, 2008 7:19 am

Sounds like a good idea :)
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby Stokerpiller » Fri Jul 18, 2008 6:56 pm

Board is now updated to 3.0.2 and this mod still doesn't work.
I would really appreciate help to solv this.
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby dcz » Sat Jul 19, 2008 6:42 am

Try replacing :

Code: Select all
   preg_match('#^([a-z/]+)#i', $row['session_page'], $on_page);
   if (!sizeof($on_page))
   {
      $on_page[1] = '';
   }
   if (!in_array($on_page[1], array('viewtopic', 'posting')))
   {
      continue;
   }


with :

Code: Select all
   /*preg_match('#^([a-z/]+)#i', $row['session_page'], $on_page);
   if (!sizeof($on_page))
   {
      $on_page[1] = '';
   }
   if (!in_array($on_page[1], array('viewtopic', 'posting')))
   {
      continue;
   }*/


and then all occurrences of :
Code: Select all
t=([0-9]+)


with :

Code: Select all
(t=|' . $phpbb_seo->seo_delim['topic']. ')([0-9]+)


all occurrences of :

Code: Select all
p=([0-9]+)


with :

Code: Select all
(p=|' . $phpbb_seo->seo_static['post']. ')([0-9]+)


then all occurrences of :
Code: Select all
$on_page[1]


with :
Code: Select all
$on_page[2]


and all occurrences of :
Code: Select all
$on_page_p[1]

with :
Code: Select all
$on_page_p[2]


Should be enough ;)
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby Stokerpiller » Sat Jul 19, 2008 7:41 am

Thoose changings give me this error:
Code: Select all
[phpBB Debug] PHP Notice: in file /viewonline.php on line 278: Undefined offset: 2
[phpBB Debug] PHP Notice: in file /viewonline.php on line 278: Undefined offset: 2
[phpBB Debug] PHP Notice: in file /viewonline.php on line 278: Undefined offset: 2
[phpBB Debug] PHP Notice: in file /viewonline.php on line 278: Undefined offset: 2
[phpBB Debug] PHP Notice: in file /viewonline.php on line 278: Undefined offset: 2
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3616: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3003)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3618: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3003)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3619: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3003)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3620: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3003)
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby dcz » Sat Jul 19, 2008 7:56 am

Sorry, there is a piece of code you do not want to change :

Code: Select all
   preg_match('#^([a-z/]+)#i', $row['session_page'], $on_page);
   if (!sizeof($on_page))
   {
      $on_page[1] = '';
   }

   switch ($on_page[1])


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

Postby Stokerpiller » Sat Jul 19, 2008 7:57 am

Sorry, wrong edits by me :oops:
But it still doesn't work.
Kind Regards
Stokerpiller
Stokerpiller
PR1
PR1
 
Posts: 124
Joined: Thu May 24, 2007 6:46 pm

Postby dcz » Sat Jul 19, 2008 8:05 am

what happens ?
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Next

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 33 guests


 
cron