May I know on which place you want to replace the view URL?
I have tried to apply it on the 'Profile' sideblock in my mahara site, by changing in following code.
I changed in the file mahara//theme/raw/templates/sideblocks/profile.tpl and replace the line <a href="{$WWWROOT}user/view.php?id={$sbdata.id}"> for the link with '<a href="{$WWWROOT}user/view.php?username={$sbdata.username}">' in the first div and it is working. You can try at the place where you want to use it in your mahara system.
Hope that Help.
Regards..
Siddharth
Mahara generated View URL automatically.
Does anyone know how to change it from
http://mahara.org/user/view.php?id=3 to
http://mahara.org/user/view.php?user=johnpower
where johnpower is the user login name to Mahara system?
Best Rgds,
Rocky.
]]>