780
I am a bit confused.
So what I've got to do is to add ghia's code first
$sql = '
SELECT * FROM '.$this->db->prefix('xoopsnotifications').'
LEFT JOIN '.$this->db->prefix('user_profile').'
ON not_uid = profileid
WHERE
not_modid = '.$mod_id.' AND
not_itemid = '.0.' AND
not_category = '."'global'".' AND
not_event = '."'ads_submit'".' AND
((source_language <> '.$ads->getVar('ads_lang1').') OR
(target_language <> '.$ads->getVar('ads_lang2').'))';
then the one provided by trabis
$user_list = array('1','23','134');//do this your way
$notification_handler->triggerEvent('global', 0, 'ads_submit', $tags, $user_list);
but im not sure what i've got to write in
array('1','23','134')
Mind anchors