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

15 years 6 months 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

Please Log in to join the conversation.

15 years 5 months 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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.146 seconds

Facebook Twitter LinkedIn