sitemap  |  contact

Sakic.Net Forum
08 January 2009, 19:30 *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Introducing AJAX Scroller - Joomla News Slider Module: http://www.sakic.net/news/introducing_ajax_scroller/
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: SEF Advance extension for Community Builder  (Read 12490 times)
illPhever
Newbie
*
Posts: 9


View Profile
« Reply #15 on: 11 March 2007, 00: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?

Logged
Saka
Administrator
Hero Member
*****
Posts: 1,352


View Profile WWW
« 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/
Logged

illPhever
Newbie
*
Posts: 9


View Profile
« Reply #17 on: 18 March 2007, 09:02 »

Shucks  Sad. 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 Cool ). From all that I read, it appears that I will loose this functionality when SEF Advance is installed.

Any suggestions?

illPhever
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,352


View Profile WWW
« 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.
Logged

illPhever
Newbie
*
Posts: 9


View Profile
« 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
Logged
Fersac
Newbie
*
Posts: 13


View Profile
« 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?
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,352


View Profile WWW
« Reply #21 on: 22 March 2007, 21:09 »

No, I don't. I will have to see it in action. Send me an email.
Logged

illPhever
Newbie
*
Posts: 9


View Profile
« 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:
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?
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,352


View Profile WWW
« 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
Logged

illPhever
Newbie
*
Posts: 9


View Profile
« Reply #24 on: 29 March 2007, 02:11 »

Bummer  Sad  ...but okay. 

btw, I forgot to mention that I was testing it with the CB extension installed.
Logged
Pages: 1 [2]
  Print  
 
Jump to: