*Bug* SEO Rewrite Mod triggers to ban users

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

*Bug* SEO Rewrite Mod triggers to ban users

Postby mutank » Wed Mar 10, 2010 2:29 pm

I am currently setting up a site which uses the "Inactive and Banned Users` Custom Titles & Avatar" MOD

http://www.phpbb.com/community/viewtopi ... &t=1690975

When I activate the "Profiles ID removing" which changes userprofile's URL's to "testsite.com/mutank" for example, when you try to visit a profile, it shows that they were banned, the rank is changed to banned, and so is the avatar. Also the profile system my site has includes a "tumblog" system which is basically status updates, pictures, videos, and so forth, and that tumblog gets completely cleared out, further showing that the system is acting like the user was banned.

When I deactivate the "Profiles ID removing" option and update the .htaccess file, everything goes back to normal. So no data was really lost. Something is just triggering this to showup.
This only happens on the profile, around the forums avatar and ranks show fine as they are not really banned.
This only happens when "Profiles ID removing" is activated, all other settings are perfectly fine.

Where should I look to debug this issue?
mutank
 
Posts: 5
Joined: Wed Mar 10, 2010 2:23 pm

Advertisement

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby dcz » Fri Mar 12, 2010 1:33 pm

I would not call that a bug, but.
Profile id removing is not the easiest option to use, if you did not restricted your user names to alphanumeric characters, your should not use it, especially if it just fixes the matter.
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby mutank » Fri Mar 12, 2010 11:22 pm

dcz wrote:I would not call that a bug, but.
Profile id removing is not the easiest option to use, if you did not restricted your user names to alphanumeric characters, your should not use it, especially if it just fixes the matter.


I activated the alphanumeric option (not sure why it was off) and the same error occurs. No user in the entire site invalidates the alphanumeric system.
mutank
 
Posts: 5
Joined: Wed Mar 10, 2010 2:23 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby SeO » Fri Mar 12, 2010 11:34 pm

Hence :
install.xml wrote:__________________________________________________
NOTE: profile and user messages pages ID removing:
__________________________________________________

phpBB/member/nicknames VS phpBB/nicknames-uxx.html

If you use profile and / or user messages pages ID removing, you should know that a custom urlencode
will be used to circumvent a bug with mod_rewrite.
This imply that some chars like "&", "/", "#" and spaces will always be double encoded.
For example a user named rock&roll will require rock%2526roll (double urlencoded &) to be usable.
( http://www.php.net/urlencode => http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 )

There are other issues with custom characters, like accents, which will add some urlencoded chars in urls.
It's not an SEO issue, since bots knows about urlencoding, but it can end up building pretty long url with multi byte characters.
This does not concern the a-zA-Z0-9 chars, underscore ("_"), hyphen ("-") and dot (".") included.
In phpbb_seo/phpbb_seo_class.php, you will no longer see different methods.

This of course means that the ID removing on profile and user messages pages is more comfy and universally efficient
to use with alphanumeric chars user names (without accents).


Looks like you need to keep id for user urls for more than just to have the mod working.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby mutank » Sat Mar 13, 2010 12:51 pm

SeO wrote:Looks like you need to keep id for user urls for more than just to have the mod working.


Yes, but its strange asto why I can't remove the ID. Is there any file I should start looking into which could trigger this?
mutank
 
Posts: 5
Joined: Wed Mar 10, 2010 2:23 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby dcz » Sun Mar 14, 2010 1:02 pm

If you have some user with more than alphanumerical characters, then using the profile id removing option is just pointless.
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby mutank » Sun Mar 14, 2010 1:49 pm

dcz wrote:If you have some user with more than alphanumerical characters, then using the profile id removing option is just pointless.

But there is no user registered with more then alphanumeric charaxcters
mutank
 
Posts: 5
Joined: Wed Mar 10, 2010 2:23 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby dcz » Sat Mar 27, 2010 2:07 pm

mutank wrote:No user in the entire site invalidates the alphanumeric system.

This confuses me. Does 100% of your user names composed with theses characters (and no other of course) :
Code: Select all
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-.


If not, turn profile ID removing option off (and eventually turn on the virtual folder for profile one).
Also, if all your issue disappears with profile ID removing option deactivated, then, it may be a working solution not to activate it. We're only talking of profile pages here ...
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Re: *Bug* SEO Rewrite Mod triggers to ban users

Postby mutank » Mon Mar 29, 2010 12:23 pm

dcz wrote:
mutank wrote:No user in the entire site invalidates the alphanumeric system.

This confuses me. Does 100% of your user names composed with theses characters (and no other of course) :
Code: Select all
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-.


If not, turn profile ID removing option off (and eventually turn on the virtual folder for profile one).
Also, if all your issue disappears with profile ID removing option deactivated, then, it may be a working solution not to activate it. We're only talking of profile pages here ...


"_" isn't allowed since its considered a spacer.

I've disabled profile ID removing for now, and I've turned on virtual folders.

If I remove the custom avatar/group system, would profile ID removing work? I'm considering the idea.
mutank
 
Posts: 5
Joined: Wed Mar 10, 2010 2:23 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests