change links to author/username/ – UserPro Forums https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/feed/ Sat, 04 May 2024 02:41:37 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16546 <![CDATA[change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16546 Tue, 07 Jan 2014 22:38:26 +0000 parmenti Hello.. I don’t want to change the actual pages of userpro.. but I want to change what the userpro templates internal links point to.. changing it to

author/username/
instead of
profile/username/

Where can I do this? Can this be done simply?
Again.. the author/username/ page is a page outside of userpro so I’m not just looking to change the userpro “profile” slug. Thanks.. how you can help 🙂

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16549 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16549 Wed, 08 Jan 2014 00:06:04 +0000 keyhanjun Hi parmenti,

please try this:

1. manually move all 6 WP pages UserPro has created to the trash, also your already created “author” page (page outside of userpro), make a backup of the content of this page somewhere e.g. in a text file for later reuse
2. go to your trash & delete all pages permanently
3. go to UserPro -> Page Setup
4. change “Profile Slug” from “profile” to “author”
5. click on “Save Changes”
6. now click on “Rebuild UserPro Pages”

Best regards,
keyhanjun

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16712 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16712 Wed, 08 Jan 2014 23:01:07 +0000 parmenti I don’t want to change the profile slug because that changes those pages over to userpro profile pages instead of the content that I already have on those pages.. I just want to change the links within userpro templates.. I hope that makes sense..

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16723 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16723 Thu, 09 Jan 2014 10:18:05 +0000 keyhanjun Wish there was an easier way but right now this seems to be the only workaround I have found.

Feel free to request this feature:

To link a single custom changed page slug to an already created WP page via the “Check / Rebuild Profile Pages” section – without forcing you to recreate all UserPro pages by clicking on the “Rebuild UserPro Pages” button which unfortunately creates a mess – doubled pages, etc. ;)) here on the request section:

http://userproplugin.com/userpro/forums/forum/feature-requests-suggestions/

PS: @centralgeek Feel free to move this thread to the request section, thanks! 😉

Best regards,
keyhanjun

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16860 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16860 Sat, 11 Jan 2014 15:24:05 +0000 parmenti ok.. I solved this with hard edits..

I just went to all applicable files (view.php,logout.php)
and changed
permalink($user_id); ?>”>
to
user_login; ?>”>

Would be nice if there was a cleaner way of doing it, but it works for me for now.

Should I still include this as a feature request?? Seems like it could be easily added, no?

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16861 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16861 Sat, 11 Jan 2014 15:26:15 +0000 parmenti hmm.. that doesn’t work on the logout.php because it shows the current page’s username instead of the logged in persons username.. any idea what link I could use there? I’ll play with it a bit myself also and let you know if I figure it out.

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16862 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16862 Sat, 11 Jan 2014 15:32:55 +0000 parmenti I guess I need to know how to get the logged in users username…

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16864 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16864 Sat, 11 Jan 2014 15:34:34 +0000 keyhanjun Yes, please add it to the request list.

http://userproplugin.com/userpro/forums/forum/feature-requests-suggestions/

It would be nice to have it natively included without having to change it’s core files each time UserPro gets updated – and it’s getting updated a lot! 😉

Best regards,
keyhanjun

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16867 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16867 Sat, 11 Jan 2014 15:54:34 +0000 parmenti for now.. how can I get the current logged in users username?

]]>
https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16868 <![CDATA[Reply To: change links to author/username/]]> https://forum.userproplugin.com/forums/topic/change-links-to-authorusername/#post-16868 Sat, 11 Jan 2014 15:57:57 +0000 parmenti ok.. I found it in the integration guide.. should have looked there first
it’s
<?php $profile_url = $userpro->permalink( get_current_user_id() ); ?>

]]>