Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 27, 20186 yr I need to be able to link to the profile edit. We would like to use it registration page for the product. So if the member disabled the profile completion then its no longer comes back. Now I would like to add a tab at the top "Register your product". I need to be able to bring the member back to edit his/her profile page again. Like I demo'ed the idea and the dismissed the profile completion now I can't get it to start back up.
August 13, 20186 yr https://invisioncommunity.com/profile/197048-mopar1973man/edit/ https://invisioncommunity.com/profile/155222-ohio-riders/edit/ ?
August 21, 20186 yr Author Thank you. But I need it for whom ever the user is. Without having to plant the user name.
August 21, 20186 yr Why? If you're putting this in a block you have access to the currently logged in member object. Getting their profile URL is just a function call away, then append the 'edit/' to it... Give a little context of what you're doing and why you need a member agnostic URL for profile edit.
August 21, 20186 yr I also don't get where exactly you want to display it. {{$currentMember = \IPS\Member::loggedIn();}} {{if $currentMember->member_id }} <a href='{url="app=core&module=members&controller=profile&do=edit&id={$currentMember->member_id}" base="front" seoTemplate="edit_profile" seoTitle="$currentMember->members_seo_name"}'>edit profile</a> // or before somebody complains, this would too;) <a href='{$currentMember->url()->setQueryString("do", "edit")}'}>edit profile</a> {{endif}} will create a link to the edit profile page ?
August 22, 20186 yr Author If some cancels out of the profile setup I'm trying to get them go back and finish filling in there profile. I one site I manage we use the member's profile for capturing product details, warranty information. So if they opt to cancel out how do you get them back to their profile to finish filling in the details? So I would like to have placed in the navbar and possibly as free link I can toss in a sidebar. "register your product here" type of thing.
Archived
This topic is now archived and is closed to further replies.