I'm trying to make it work with Agora Olympus forum component.
It wasn't hard to fill correct Table Birthday settings and Table Users settings. DBirthdays module can show Agora Olympus users birthdays very good.
Okay - there is small problem. Send PM button. Currently it supporting Messaging and UddeIM. I'm a big fan of UddeIM, but on some sites i'm using Agora Olympus built-in PM System.
Is this possible to add support in DBirtdays module for Agora built PM system? Yes
Open modules\mod_dbirthdays\tmpl\default_items.php and find
- Code: Select all
case 'uddeim':
$pms_url = JRoute::_('index.php?option=com_uddeim&task=new&'.$params->get('extra_support_pms_user_identifier').'='.urlencode($item[$params->get('extra_support_pms_user_identifier_value', 'id')]).$pms_Itemid);
break;
then below paste this
- Code: Select all
case 'agora':
$pms_url = JRoute::_('index.php?option=com_agora&task=pms&page=compose&send_to='.urlencode($item[$params->get('extra_support_pms_user_identifier_value', 'id')]).$pms_Itemid);
break;
So it should looks like
- Code: Select all
case 'uddeim':
$pms_url = JRoute::_('index.php?option=com_uddeim&task=new&'.$params->get('extra_support_pms_user_identifier').'='.urlencode($item[$params->get('extra_support_pms_user_identifier_value', 'id')]).$pms_Itemid);
break;
case 'agora':
$pms_url = JRoute::_('index.php?option=com_agora&task=pms&page=compose&send_to='.urlencode($item[$params->get('extra_support_pms_user_identifier_value', 'id')]).$pms_Itemid);
break;
case 'messaging':
Now open modules\mod_dbirthdays\mod_dbirthdays.xml
find
- Code: Select all
<param name="extra_support_pms" type="list" default="none" label="DBd Support PMS" description="DBd Support PMS DESC">
<option value="none">DBd No PMS</option>
<option value="uddeim">DBd uddeIM</option>
Then paste this line below
- Code: Select all
<option value="agora">DBd Agora</option>
Last thing is open language\en-GB\en-GB.mod_dbirthdays.ini
find
- Code: Select all
DBD UDDEIM=uddeIM
and paste this line below
- Code: Select all
DBD AGORA=Agora Olympus PMS
I'm also suggesting You to use
- Code: Select all
components/com_agora/img/icons/pm.png
as a value for PMS icon URL
This is ready-to-use solution for Agora built-in PMS system. With a certain timidity i'm asking our dear author of DBirthdays... Is this possible to include Agora PMS support in next DBirtdays release?
Come on Darkick... more supported extensions = better
