Problem going to ACP after update from 5a to 7

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

Postby evacoven » Sun Oct 21, 2007 3:11 pm

thanks you once again :)
evacoven
 
Posts: 16
Joined: Mon Oct 08, 2007 1:54 pm

Advertisement

Postby evacoven » Sun Oct 21, 2007 3:29 pm

sorry to bother u again... where can i find {SEO_BASE_HREF} to edit the tag?
evacoven
 
Posts: 16
Joined: Mon Oct 08, 2007 1:54 pm

Postby dcz » Sun Oct 21, 2007 3:55 pm

:lol: So it's one more error to validate XHTML !

in phpbb_seo_class.php :

Code: Select all
      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']) && !defined('ADMIN_START')) {   
         $this->seo_opt['seo_base_href'] = '<base href="' . $this->seo_path['phpbb_url'] . '">';
      }


=>

Code: Select all
      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']) && !defined('ADMIN_START')) {   
         $this->seo_opt['seo_base_href'] = '<base href="' . $this->seo_path['phpbb_url'] . '" />';
      }


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

Postby evacoven » Sun Oct 21, 2007 4:04 pm

nearly valid xhtml, only after u changed this:

Code: Select all
      if ($img) {
         $output = '<div style="padding-top:5px; text-align: middle"><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false  ?  'Optimisation du R&eacute;f&eacute;rencement' : 'Search Engine Optimization') . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="phpBB SEO"/></a></div>';
      } else {
         $output = '<div style="padding-top:5px" text-align: middle"><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false  ?  'Optimisation du R&eacute;f&eacute;rencement' : 'Search Engine Optimization') . '">phpBB SEO</a></div>';
      }
inside phpbb_seo_class.php. I changed the align to text-align

Cheers. we are valid xhtml
evacoven
 
Posts: 16
Joined: Mon Oct 08, 2007 1:54 pm

Postby dcz » Sun Oct 21, 2007 4:17 pm

Thanks for contributing ;)

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

Postby evacoven » Sun Oct 21, 2007 4:22 pm

it's nothing. cheers :)
evacoven
 
Posts: 16
Joined: Mon Oct 08, 2007 1:54 pm

Previous

Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 13 guests