Nice one. I'm going to try it. Much simpler than the other method that was posted.
|
Also does this regex support numbers? It appears it only supports a-z as the first character of the user name.
Try changing it to: Code:
RewriteEngine on |
Quote:
|
Here is the code I'm currently using (I have other stuff in it but this will pertain to this article):
Code:
Options +FollowSymLinks If you are using 3.7.0 beta 4 and want to change the url in member profiles to reflect their new profile url so they know what it is... Edit the template "memberinfo_block_contactinfo" and find this code: Code:
<dd><a href="$prepared[profileurl]">$prepared[profileurl]</a></dd> Code:
<dd><a href="http://www.yoursite.com/$userinfo[username]">http://www.yoursite.com/$userinfo[username]</a></dd> |
I would suggest using:
RewriteEngine on RewriteRule ^(.*)/?$ member.php?username=$1 [L] When you have (.*), that can stand for any letter, number, or symbol. |
Quote:
|
This works for most people on my forum, but not for any with special characters in their name, like myself. Any way to fix this?
|
Quote:
|
I do, because one of the supporters of this, Zamurick, actually fixed the problem for me. I'll ask if it can be posted here.
|
Quote:
|
All times are GMT. The time now is 01:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|