DBirthdays + Agora Olympus

DBirthdays module (mod_dbirthdays) shows nearest birthdays (future or past) of your site users.

DBirthdays + Agora Olympus

Postby rosciak » Sun Jun 27, 2010 11:13 am

First of all - nice work wirh your DBirthday module !

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 :D

rosciak
 
Posts: 4
Joined: Sun Jun 27, 2010 10:27 am
Location: Poland

Re: DBirthdays + Agora Olympus

Postby Darkick » Tue Jun 29, 2010 8:45 pm

Excellent work, rosciak!
After my vacation ends I'll realize your solution in the next releases.

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg

Re: DBirthdays + Agora Olympus

Postby Baer » Sun Aug 15, 2010 7:49 pm

german:

Das funktioniert leider bei der Version Agora 3.0.137 nicht mehr. Was muß geändert werden ? Kann vieleicht jemand helfen ?

english:

This works, not with the version 3.0.137 Agora no more. What needs to be changed? can everybody help ?

Greet Baer

Baer
 
Posts: 2
Joined: Sat Nov 07, 2009 1:46 am

Re: DBirthdays + Agora Olympus

Postby rosciak » Sun Aug 15, 2010 8:36 pm

It still works for me in version 3.0.137

There is my working version: http://agora.org.pl/index.php/forum Module DBirthdays is placed above Forum footer, and yes, the code is modified a little.

rosciak
 
Posts: 4
Joined: Sun Jun 27, 2010 10:27 am
Location: Poland

Re: DBirthdays + Agora Olympus

Postby Baer » Mon Aug 16, 2010 7:21 pm

Thank you for Help rosciak.

Baer
 
Posts: 2
Joined: Sat Nov 07, 2009 1:46 am


Return to DBirthdays

Who is online

Users browsing this forum: No registered users and 1 guest