21: deny of "not-crossconnections" does not work

11 years 1 month ago #74606 by beat
Something there since CB 1.1:

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,43/id,51035/

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,50/id,64230/#64230

Fix is easy:

for bug "1" of that thread:

in comprofiler.class.php find:

[code:1] function denyConnection($userid,$connectionid)
[/code:1]

and in it change:
[code:1]
...
if ($this->getConnectionDetails($userid, $connectionid) === false) {
...
$this->_deleteConnection($userid, $connectionid);
...
[/code:1]

to:

[code:1]
...
if ($this->getConnectionDetails( $connectionid, $userid ) === false) {
...
$this->_deleteConnection( $connectionid, $userid );
...
[/code:1]

(the arguments were the wrong way.... :whistle: )

----

For bug "2" of the thread: see identified issue "22" here.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
11 years 2 weeks ago #76075 by beat
Thanks for reporting. :)

This issue has been addressed and fixed in Community Builder 1.2 RC 3, like all other known issues, and is available now for a last short rounds of live site testings, before CB 1.2 Stable release. :)

================= ISSUE FIXED ====================

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
Moderators: beatnantkrileon
Time to create page: 0.356 seconds
Facebook Twitter Google LinkedIn