Project

General

Profile

Actions

Bug #2932

closed

Email URL to updated profile not formed correctly

Added by nant over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
26 October 2011
Due date:
% Done:

100%

Estimated time:

Description

Looks like the

$_CB_framework->userProfileUrl( $pul_profileid )

function is returning a myprofile link if user is modifying his/her own profile.

Actions #1

Updated by nant over 12 years ago

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 ) )

Actions #2

Updated by nant over 12 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by nant over 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF