Author Topic: SEF Advance extension for Community Builder  (Read 27470 times)

illPhever

  • Newbie
  • *
  • Posts: 9
    • View Profile
profile redirect?
« Reply #15 on: 11 March 2007, 01:27 »
Is possible to change to put the name and last name instead of username. Could You make an option in the sef extension file?

You mean in the URL? No, just username, the name would not be unique.


so does this mean that with this extension a url like "www.mydomain.com/username" will redirect to a member's CB profile page?


Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: profile redirect?
« Reply #16 on: 11 March 2007, 05:31 »
so does this mean that with this extension a url like "www.mydomain.com/username" will redirect to a member's CB profile page?

The URLs will be like:
http://www.domain.com/profile/username/

illPhever

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: profile redirect?
« Reply #17 on: 18 March 2007, 09:02 »
The URLs will be like:
http://www.domain.com/profile/username/

Shucks  :(. Are you aware of or has anyone been successful with using Community Builder and SEF Advance and providing links to user profiles in the form of "www.mydomain.com/username"?  I would prefer not to have to use /profile/username b/c I am currently using /username successfully without SEF Advance (and it's shorter 8) ). From all that I read, it appears that I will loose this functionality when SEF Advance is installed.

Any suggestions?

illPhever

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for Community Builder
« Reply #18 on: 18 March 2007, 10:41 »
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.

illPhever

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SEF Advance extension for Community Builder
« Reply #19 on: 18 March 2007, 15:51 »
i'm currently using Mike's Profile URL plugin v1.1.2, but i'm not opposed to using something else that works

Fersac

  • Newbie
  • *
  • Posts: 13
    • View Profile
Still Have a problem...
« Reply #20 on: 22 March 2007, 14:34 »
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?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for Community Builder
« Reply #21 on: 22 March 2007, 21:09 »
No, I don't. I will have to see it in action. Send me an email.

illPhever

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SEF Advance extension for Community Builder
« Reply #22 on: 28 March 2007, 15:48 »
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:

Code: [Select]
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?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for Community Builder
« Reply #23 on: 28 March 2007, 17:02 »
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

illPhever

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SEF Advance extension for Community Builder
« Reply #24 on: 29 March 2007, 02:11 »
Bummer  :(  ...but okay. 

btw, I forgot to mention that I was testing it with the CB extension installed.