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  
 
   
Mark topics in viewforum do not work

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
Xabi
PR0
PR0


Joined: 20 Jun 2007
Posts: 52

Mark topics in viewforum do not workPosted: Thu Aug 16, 2007 8:52 am    Post subject: Mark topics in viewforum do not work

Marking topics as read in viewforum does not work with Advanced Mod. Maybe we have to tweak this line in viewforum.php?

Code:

'U_MARK_TOPICS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id&mark=topics") : '',



In my forum, the mark topics link appears like this:

http://www.hispasonic.com/comunidad/viewforum.php?f=30&mark=topics

But I need it to appear like this to work:

http://www.hispasonic.com/comunidad/charla-general-f30.html?mark=topics
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Mark topics in viewforum do not workPosted: Thu Aug 16, 2007 9:49 am    Post subject: Re: Mark topics in viewforum do not work

What do you mean exactly ?

The mark topic links are left untouched by the rewriting for you to be able to disallow them by robots.txt.

It's only the zero dupe to http 301 redirect them in case the user is not registered. Registered user can mark topics.

++

_________________
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
Xabi
PR0
PR0


Joined: 20 Jun 2007
Posts: 52

Mark topics in viewforum do not workPosted: Thu Aug 16, 2007 10:05 am    Post subject: Re: Mark topics in viewforum do not work

I log in to my forums as a registered users, then click on "mark topics" and it does nothing. I have to put the another URL by hand ( comunidad/charla-general-f30.html?mark=topics instead of comunidad/viewforum.php?f=30&mark=topics )
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Mark topics in viewforum do not workPosted: Sun Aug 19, 2007 11:55 am    Post subject: Re: Mark topics in viewforum do not work

It's the zero duplicate, in viewforum.php find :
Code:
   $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'watch=') === FALSE) );

After add:
Code:
   $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'mark=') === FALSE) );

Find :
Code:
      $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'watch=') !== FALSE), false, 'do');

After add :
Code:
      $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'mark=') !== FALSE), false, 'do');


++

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: