SEF Advance extension for Community Builder

18 years 4 weeks ago #415 by Saka
Having it in form www.mydomain.com/username would cause unneccessary high load because SEF would need to check wheter "username" is a component, section, static page or username, going through the whole userlist (imagine 100.000 users).

How did you achieveit without SEF Advance? Using mod_rewrite? In that case it may work with SEF Advance installed. All you need to do is to download the free trial and test.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

18 years 3 weeks ago #416 by illPhever
i'm currently using [url=http://"http://mike.simbunch.com/index.php?option=com_docman&task=doc_details&gid=4&Itemid=42"]Mike's Profile URL plugin v1.1.2[/url], but i'm not opposed to using something else that works

Please Log in or Create an account to join the conversation.

18 years 3 weeks ago #433 by Fersac
After 2 days of problem I had to remove the extension....

I put the debug on and I realize that all the link started to redirect to one link only. The link to edit the profile.
When I click on the member list it redirects to members profile.
When I create account, it redirects to members profile.
So I get always you are not authorized to see this page...
Did anyone have this kind of problem???
Saka do you know why this is happening?

Please Log in or Create an account to join the conversation.

18 years 3 weeks ago #436 by Saka
No, I don't. I will have to see it in action. Send me an email.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

18 years 2 weeks ago #473 by illPhever

Having it in form www.mydomain.com/username would cause unneccessary high load because SEF would need to check wheter "username" is a component, section, static page or username, going through the whole userlist (imagine 100.000 users).

How did you achieveit without SEF Advance? Using mod_rewrite? In that case it may work with SEF Advance installed. All you need to do is to download the free trial and test.

I downloaded the trial version of SEF Advance to test it with the modrewrite code i'm using to redirect user profiles.  I haven't been successful yet.  Mike's rewrite doesn't work at all with SEF Advance, so I tried Trail's suggestion from the CB forums, which adds the following to .htaccess:
RewriteEngine On
DirectoryIndex index.php
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L]

I haven't been able to successfully incorporate this into the default SEF Advance .htaccess file. It appears that these 2 rewrite rule lines are stepping on each other:

  RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L]

and

  RewriteRule ^(.*) index.php

Any suggestions to get these to play nicely together so that I can use SEF Advance?

Please Log in or Create an account to join the conversation.

18 years 2 weeks ago #474 by Saka
Again having it in form:
mydomain.com/username
even if it could be achieved would cause unneccessary load and many problems.

I suggest you drop that idea, install CB extension and settle on:
mydomain.com/profile/username

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch