| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
tybi
Joined: 04 Nov 2007 Posts: 28
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14327
|
Posted: 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 |
|
 |
MewsicLovr
Joined: 20 Nov 2007 Posts: 4
|
Posted: 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
|
Posted: 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
|
Posted: Fri Nov 23, 2007 10:52 am Post subject: Re: Member pages not showing correctly |
|
|
Thank you guys, this works wonderfully...  |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |