Ejemplo n.º 1
0
 function plgCommunityPlg_RSMembership(&$subject, $config)
 {
     $this->_path = JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_rsmembership' . DS . 'helpers' . DS . 'rsmembership.php';
     $this->_user =& CFactory::getActiveProfile();
     $this->_my =& CFactory::getUser();
     parent::__construct($subject, $config);
 }
Ejemplo n.º 2
0
 function plgCommunityJreviews_myfavorites(&$subject, $config)
 {
     $this->_path = JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_jreviews';
     $this->_user = CFactory::getActiveProfile();
     $this->_my = CFactory::getUser();
     parent::__construct($subject, $config);
 }
Ejemplo n.º 3
0
 function plgCommunityMyArticles($subject, $config)
 {
     parent::__construct($subject, $config);
     $this->section = trim($this->params->get('section'), ',');
     $this->_path = JPATH_ROOT . '/administrator/components/com_myblog';
     $this->db = JFactory::getDbo();
 }
Ejemplo n.º 4
0
 function plgCommunityNinjaBoard(&$subject, $config)
 {
     $this->_user =& CFactory::getActiveProfile();
     $this->_my =& CFactory::getUser();
     $this->db = JFactory::getDBO();
     $this->_path = JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_ninjaboard';
     parent::__construct($subject, $config);
 }
Ejemplo n.º 5
0
 function plgCommunityKunena(&$subject, $config)
 {
     //from Kunena v1.6.3, table prefix has been changed
     $db = JFactory::getDBO();
     $sql = 'show tables like ' . $db->Quote('%_kunena_users');
     $db->setQuery($sql);
     $userTable = $db->loadObject();
     if ($userTable) {
         $this->db_prefix = "kunena";
     }
     parent::__construct($subject, $config);
 }
Ejemplo n.º 6
0
 function plgCommunityMyArticles($subject, $config)
 {
     parent::__construct($subject, $config);
     $this->section = trim($this->params->get('section'), ',');
     $this->db = JFactory::getDbo();
 }
Ejemplo n.º 7
0
 function plgCommunityxipt_community($subject, $params)
 {
     parent::__construct($subject, $params);
     $this->_pluginHandler = XiptFactory::getPluginHandler();
 }
Ejemplo n.º 8
0
 function plgCommunityMutualFriends(&$subject, $config)
 {
     $this->_user = CFactory::getRequestUser();
     parent::__construct($subject, $config);
 }
Ejemplo n.º 9
0
 function plgCommunityRaidplanner(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Ejemplo n.º 10
0
 function plgCommunityActivityComment(&$subject, $config)
 {
     $this->_user =& CFactory::getActiveProfile();
     $this->_my =& CFactory::getUser();
     parent::__construct($subject, $config);
 }
Ejemplo n.º 11
0
 function plgCommunityKunenaMenu(&$subject, $config)
 {
     //Load Language file.
     JPlugin::loadLanguage('plg_community_kunenamenu', JPATH_ADMINISTRATOR);
     parent::__construct($subject, $config);
 }
Ejemplo n.º 12
0
 public function plgCommunityAECSubscription(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Ejemplo n.º 13
0
 function plgCommunityWordfilter(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Ejemplo n.º 14
0
 /**
  *
  * @param type $subject
  * @param type $config
  */
 public function plgCommunityLatestPhoto(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->db = JFactory::getDbo();
     $this->_my = CFactory::getUser();
 }
Ejemplo n.º 15
0
 function plgCommunityEvents(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Ejemplo n.º 16
0
 function plgCommunityKunenaMenu(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Ejemplo n.º 17
0
 function plgCommunityInvite(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
Ejemplo n.º 18
0
 function plgCommunityMyVideos(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->db = JFactory::getDbo();
     $this->_my = CFactory::getUser();
 }
Ejemplo n.º 19
0
 function plgCommunityJsSurveyResponses($subject, $config)
 {
     parent::__construct($subject, $config);
 }