Topic-icon When clicking the user name in user map, open CB user instead?

Active Subscriptions:

None
Right now, even though we have told JFBConnecct to work with CB, when you go to the user map page, and click the user name, it takes you to the standard Joomla user manager. Is there a way to change JFBConnect to use the CB User manager instead?
File Attachment:
The topic has been locked.
Support Specialist
There's no built-in way to do that, though it's a good idea as a feature for a future release. If you really need, I should be able to help provide a code edit you could implement that would change the link from the Joomla user manager to CB. If interested, let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hey Alex, thanks for looking into this and with 30.000 users and growing, yes, this would be a great feature. If you could suggest some code, that would be great!
The topic has been locked.
Support Specialist
Webjive,
No problem for the help, and thanks for the suggestion. The edit you'll want to make is to the /administrator/components/com_jfbconnect/views/usermap/tmpl/list.php Around line 98, you'll see:
<td>
	<a target="_blank" href="<?php print JRoute::_("index.php?option=com_users&view=user&task=user.edit&id=".$row->j_user_id);?>">
            <?php print $user->name;?>
	</a>
        <a href="<?php print JRoute::_("index.php?option=com_comprofiler&task=edit&cid[0]=".$row->j_user_id);?>">(CB Link)</a> // ADD THIS
</td>
That's what's showing the name and generating the link you see now. Update it as below by adding the one line toward the bottom:
<td>
	<a target="_blank" href="<?php print JRoute::_("index.php?option=com_users&view=user&task=user.edit&id=".$row->j_user_id);?>">
            <?php print $user->name;?>
	</a>
        <a href="<?php print JRoute::_("index.php?option=com_comprofiler&task=edit&cid[0]=".$row->j_user_id);?>">(CB Link)</a> // ADD THIS
</td>
That will add new text "(CB Link)" next to the user's name which will go directly to their CB profile.

Hope that helps, but if you have any questions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks and SUPER easy one line of code solution until you build it in :)

If you decide to add this as a feature, I would also consider making that user window (maybe an option) to be modal for when your done with the edits for the user, your back on the user map page.
The topic has been locked.
Support Specialist
Making it a modal would be difficult because, when you save in CB, the modal would be redirected back to the CB User Manager.

You could add target="_BLANK" to the <a href ... so that at least the user manager opens in a new window.

Hope that helps,
Alex
The topic has been locked.