Reply
Thu 30 Jun, 2005 10:45 am
Is there anyway I could change the users's profile address from
..../phpBB/profile.php?mode=viewprofile&u=180834
to
.../phpBB/profiles/weeble?
Thanks
Yes, I don't have time to do it for you but here are the basic steps.
1) phpBB does not use the username to query the profile infomation, it uses the member id.
You will need to write queries that accept a username.
2) Links to member profiles throughout phpbb use member ids. This is a problem that can't easily be solved with a closing find/replace function as each find/replace would need an additional query to match the replace (username) to the find (id).
So you need to modify this in various places in phpbb.
3) Lastly, you just need to use mod_rewrite to pass the /foo to your query that selects a user record based on username.
If you try it post code and I may be able to help you, but I don't have time to write it for you.
Well if anyone is interested, I am willing to pay.