Creating a CUSTOM URL for users/members

17 years 7 months ago #20391 by doctorlife
Replied by doctorlife on topic Re:Creating a CUSTOM URL for users/members
Thinking on my roadmap thread
I think this is a very good feature to include into next CB Release

Please Log in to join the conversation.

17 years 7 months ago #20396 by tony31
Replied by tony31 on topic Re:Creating a CUSTOM URL for users/members
Thanks Nick :)

I will try this now.

nant wrote:

tony31 wrote:

Can anyone post the complete htaccess file and instructions to get this working? OR better post an article on main website so that new users can see clear instructions on how to use this feature.

Thanks,
Tony


www.joomlapolis.com/content/view/1235/37/

Please Log in to join the conversation.

17 years 7 months ago #21025 by shinden101
Replied by shinden101 on topic Re:Creating a CUSTOM URL for users/members
Thanks for the code. It works great.

However, I ran into a problem where I have many username that are in Chinese Big5 character. It works if I turn those character into standard western europe (ISO).

If I literally paste the Chinese character into the URL domain.com/chineseword it would get a profile does not exist.

I don't suppose there's a way is there?

Thanks.

Please Log in to join the conversation.

17 years 7 months ago #21514 by gypsydogg
Replied by gypsydogg on topic Re:Creating a CUSTOM URL for users/members
I've tried all of this already and it still doesn't work :angry: I'd love to get this to work but so far no luck!!!

gypsydogg

Please Log in to join the conversation.

17 years 7 months ago #21584 by DeanMarshall
Replied by DeanMarshall on topic Re:Creating a CUSTOM URL for users/members
Hi all,

I must admit to struggling with this one.
Forgetting the mod rewrite angle for now, the direct url quoted doesn't work for me.

This simply doesn't work.
index.php?option=com_comprofiler&task=userProfile&user=DeanMarshall

Just in case it is the 'name' rather than 'user name' I tried this:
index.php?option=com_comprofiler&task=userProfile&user=Dean%20Marshall

In either case I get the same error message:
"This profile does not exist or is no longer available"

Community Builder 1.0.1

My question therefor is - is this a feature that was lost in a point upgrade?
Is there a specific module or file that I need to upgrade?
Is there an error in the query string I am trying to use?

Any help very much appreciated.

Dean

Post edited by: DeanMarshall, at: 2006/09/27 03:28

Dean Marshall
Managing Director and Lead Consultant
Dean Marshall Consultancy Limited
Five member strong team of Joomla CMS website developers
www.deanmarshall.co.uk/

Please Log in to join the conversation.

17 years 7 months ago #21585 by DeanMarshall
Replied by DeanMarshall on topic Re:Creating a CUSTOM URL for users/members
Phew!

Us JoomlaShack lads don't struggle for long.

User error - please insert new user!

Here was my error - I spotted whilst looking at the htaccess mod rewrite rule:

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

Notice those apostrophes.

So the correct url is:
index.php?option=com_comprofiler&task=userProfile&user='DeanMarshall'

Now with that sorted - I can do the mod rewrite stuff.
Thank you for reading.

One question for any passing dev - apostrophes in an url?
What were you thinking? ;)

Dean

Post edited by: DeanMarshall, at: 2006/09/27 10:38

Dean Marshall
Managing Director and Lead Consultant
Dean Marshall Consultancy Limited
Five member strong team of Joomla CMS website developers
www.deanmarshall.co.uk/

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.275 seconds

Facebook Twitter LinkedIn