is this a bug?

is this a bug or am i not setting something up correctly? 

when i create a group (and an event etc), because i created the group and am the admin i can see and use the Invite button, when i make someone an admin of the group, they can see the invite button but when they click on it, it comes up as Page Not Found, now here's the bit i really can't get my head around, when i look at the url, they are both exactly the same, how can they both have the exact same url but one shows the Invite page correctly, but the other shows it as Page Not Found, i really need help on this one because if i (or my members) can't add someone as an admin to a group that they can then send invites to, i am completely ...... (screwed is the nicest way i can think of putting it)

Quote · 13 Feb 2014

http://www.boonex.com/trac/dolphin/ticket/3372

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 13 Feb 2014

many thanks HL

Quote · 13 Feb 2014

Until this bug is resolved, you can use the fix below. I have implemented this in my Premium Groups and Premium Events modules.

In inc/classes/BxDolTwigModule.php , find the _actionInvite function :

In the function, find the block of code,

        if (!($aDataEntry = $this->_oDb->getEntryByIdAndOwner($iEntryId, $this->_iProfileId, $this->isAdmin()))) {
            $this->_oTemplate->displayPageNotFound ();
            return;
        }

Replace with :


        if (!($aDataEntry = $this->_oDb->getEntryById($iEntryId))) {
            $this->_oTemplate->displayPageNotFound ();
            return;
        }

        if (!$this->isAllowedSendInvitation($aDataEntry)) {
            $this->_oTemplate->displayAccessDenied ();
            return;
        }

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 13 Feb 2014

works perfectly, many thanks modzzz, i can stop having a panic attack now

Quote · 13 Feb 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.