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  
 
   
Member pages not showing correctly

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
tybi



Joined: 04 Nov 2007
Posts: 28

Member pages not showing correctlyPosted: Wed Nov 14, 2007 8:33 am    Post subject: Member pages not showing correctly

Hello there,

does anyone have an idea why the member pages does not use CSS files?

The pages show as plain text...

Here is an example: http://forum.seochat.sk/member2/

Thanks for help.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Member pages not showing correctlyPosted: Sun Nov 18, 2007 7:17 pm    Post subject: Re: Member pages not showing correctly

This come from the base href to only be output under some specific circumstances.
In your case it looks like it's because you are not using the virtual folder option, and actually, I did not think about virtual folders for profile urls.

So, in phpbb_seo/phpbb_seo_class.php, you can replace :

Code:
      if ( ($this->seo_opt['virtual_folder'] || $this->seo_opt['virtual_root'] || ( $this->seo_ext['forum'] == '/' ) ) && in_array($this->seo_opt['req_file'], $this->seo_opt['file_hbase'])) {
         $this->seo_opt['seo_base_href'] = '<base href="' . $this->seo_path['phpbb_url'] . '">';
      }


with :

Code:
      if (  in_array($this->seo_opt['req_file'], $this->seo_opt['file_hbase'])) {
         $this->seo_opt['seo_base_href'] = '<base href="' . $this->seo_path['phpbb_url'] . '">';
      }


Should do the trick for now.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
MewsicLovr



Joined: 20 Nov 2007
Posts: 4

Member pages not showing correctlyPosted: Tue Nov 20, 2007 2:45 am    Post subject: Re: Member pages not showing correctly

I'm also having this problem, but the supplied fix does not appear to work. Am I missing something else?
Back to top
MewsicLovr



Joined: 20 Nov 2007
Posts: 4

Member pages not showing correctlyPosted: Fri Nov 23, 2007 8:37 am    Post subject: Re: Member pages not showing correctly

I found the solution. In addition to the code change dcz provided, you have to do this as well:

Find this line in phpbb_seo_class.php:

Code:
$this->seo_opt['file_hbase'] = array('viewtopic', 'viewforum');


Replace it with:

Code:
$this->seo_opt['file_hbase'] = array('viewtopic', 'viewforum', 'memberlist');
Back to top
tybi



Joined: 04 Nov 2007
Posts: 28

Member pages not showing correctlyPosted: Fri Nov 23, 2007 10:52 am    Post subject: Re: Member pages not showing correctly

Thank you guys, this works wonderfully... Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: