Bug #2932
closed
Email URL to updated profile not formed correctly
Added by nant about 13 years ago.
Updated about 13 years ago.
Start date:
26 October 2011
Description
Looks like the
$_CB_framework->userProfileUrl( $pul_profileid )
function is returning a myprofile link if user is modifying his/her own profile.
Feedback from Kyle:
working as intended, it doesn't add &user= unless your on a profile other then your own
[26/10/11 8:25:46 μ.μ.] Kyle (krileon): below will construct direct profile URL regardless
cbSef( 'index.php?option=com_comprofiler&task=userprofile&user=' . (int) $user->id . getCBprofileItemid( false ), false )
[26/10/11 8:26:06 μ.μ.] Nicholas G. Antimisiaris: oki
[26/10/11 8:26:18 μ.μ.] Kyle (krileon): it's not htmlspecialed though, remove the last false if you're displaying in html
[26/10/11 8:26:36 μ.μ.] Kyle (krileon): otherwise if storing to database, etc.. don't htmlspecial it
[26/10/11 8:26:37 μ.μ.] Nicholas G. Antimisiaris: i will be putting in an email
[26/10/11 8:26:46 μ.μ.] Kyle (krileon): ah ok, then remove the last false
[26/10/11 8:26:52 μ.μ.] Kyle (krileon): cbSef( 'index.php?option=com_comprofiler&task=userprofile&user=' . (int) $user->id . getCBprofileItemid( false ) )
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF