jweatherby1983 Posted December 29, 2010 Share Posted December 29, 2010 I don't know anything about php and I'm trying to fix these two links. One of which will bring the user to view's his/her profile to view it and the other will bring the user to his/her profile to edit. I'm sure it's just a matter of deleting a space or adding some sort of variable but I just don't know. <br><a href="http://mysailingconnection.com/using-this-website"><Font color="#000033"><b>Using This Website</b></font></a><br><br><a href="/members/<?php global $current_user; echo $current_user->user_login;?>/profile/">Click here to visit your profile.</a> </p><a href="/members/<?php echo $current_user->user_login;?>/profile/edit/">Click here to edit your personal profile.</a><br /> Link to comment https://forums.phpfreaks.com/topic/222933-redirect-to-username/ Share on other sites More sharing options...
daebat Posted December 29, 2010 Share Posted December 29, 2010 What CMS are you using? Link to comment https://forums.phpfreaks.com/topic/222933-redirect-to-username/#findComment-1152688 Share on other sites More sharing options...
jweatherby1983 Posted December 29, 2010 Author Share Posted December 29, 2010 Wordpress Link to comment https://forums.phpfreaks.com/topic/222933-redirect-to-username/#findComment-1152689 Share on other sites More sharing options...
daebat Posted December 29, 2010 Share Posted December 29, 2010 I'm not a big wordpress guy and you should have probably posted this in the CMS area where you'll probably get better answers but from what I can see there isn't really a built in functionality for editing profiles on the front-end but here is a plugin that allows for you to do so: http://wordpress.org/extend/plugins/frontend-edit-profile/ Link to comment https://forums.phpfreaks.com/topic/222933-redirect-to-username/#findComment-1152702 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.