CB 2.0 username profile url missing

1 year 10 months ago #287840 by krileon
The profile URL to CB profiles is missing when setting the linking to use Community Builder 2.0+. Specifically the issue is as follows.

IN: components/com_uddeim/getpiclink.php
ON: Line 137
FROM:
$url=""; //$url = $_CB_framework->userProfileUrl( (int)$ofanid );
TO:
$url = $_CB_framework->userProfileUrl( (int)$ofanid );

I'm unsure why it's commented out, but a better fix is to utilize getField API as follows to grab the formatname field.

ON: Line 136 - 138
FROM:
		// cbimport( 'cb.html' );
		// cbimport( 'language.front' );

		global $_CB_framework;
		$url=""; //$url = $_CB_framework->userProfileUrl( (int)$ofanid );
		$gimmeback = "<a href='".$url."'>".$ofaname."</a>";
TO:
		$gimmeback = CBuser::getInstance( (int) $ofanid, false )->getField( 'formatname', null, 'html', 'none', 'list', 0, true );


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
1 year 10 months ago #288255 by slabbi
Hi Kyle,

thanks, missed that. Its fixed now.

Slabbi

uddeIM & uddePF Development
Google+ profile: plus.google.com/u/0/b/117839921924782901705/
CB Language Workgroup
CB 3rd Party Developer
The following user(s) said Thank You: krileon
1 year 9 months ago #288358 by boyjahq
How can we get the fixed version of uddeIM? I just installed the newest version plus the hotfix files but still username link to user profile does NOT work using the setting Community Builder 2.0+. It only works if I choose Community Builder. I do not want to make line adjustments to existing files.
1 year 9 months ago #288396 by slabbi
I have released Hotfix 3 now.

uddeIM & uddePF Development
Google+ profile: plus.google.com/u/0/b/117839921924782901705/
CB Language Workgroup
CB 3rd Party Developer
The following user(s) said Thank You: boyjahq
1 year 9 months ago #288397 by boyjahq
WORKS! THANK YOU!!!!!
Moderators: beatnantslabbikrileon
Time to create page: 0.387 seconds
Facebook Twitter Google LinkedIn