Skip to Content Skip to Menu

ProfileBook 1.0 default notification

14 years 8 months ago #126458 by umbriamusica
ProfileBook 1.0 default notification was created by umbriamusica
I'am reading the post about this problem but I'm not finding the solution.

I want to set in default the email notification. Is that possible?
Thank You

Please Log in or Create an account to join the conversation.

14 years 8 months ago #126500 by umbriamusica
Replied by umbriamusica on topic Re:ProfileBook 1.0 default notification
this is the code in xml file
[code:1]<field type="radio" title="_pb_NotifyMe" name="cb_pb_notifyme" description="_pb_NotifyMe_Desc" registration="1" readonly="1" profile="1" >
<fieldvalue title="_UE_YES" ordering="1" sys="0" />
<fieldvalue title="_UE_NO" ordering ="2" sys="0" />
</field>[/code:1]

this in the php file

[code:1]$notify = strtolower($userConfig->cb_pb_notifyme);

if($notify=='_ue_yes'){
$cbNotification = new cbNotification();
$res=$cbNotification->sendFromSystem($id,sprintf(_pb_MSGSUB,getLangDefinition($tab->title)),sprintf(_pb_MSGBODY,$postername,getLangDefinition($tab->title)).sprintf($autoPublish?_pb_MSGBODYAUTOAPPROVED:_pb_MSGBODYREVIEWAPPROVE, getLangDefinition($tab->title),$this->_getAbsURLwithParam(array())));

}
}
}[/code:1]

I don't find a solution, somebody can help me?

Please Log in or Create an account to join the conversation.

14 years 8 months ago #126602 by umbriamusica
Replied by umbriamusica on topic Re:ProfileBook 1.0 default notification
nothing? :(

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum