Quote:
question I kinda feel dumb for asking this, but is there a way I can make it so I receive an email when I get a pm?
Any easy solutions?
question I kinda feel dumb for asking this, but is there a way I can make it so I receive an email when I get a pm?
<body>
<div class="wrapper">
<table class="toptable" cellspacing="0">
<tr>
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.gif" width="148" height="80" title="<{$smarty.const._YOURHOME}>" alt="<{$smarty.const._YOURHOME}>" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
if ($op == 'editprofile') {
include_once XOOPS_ROOT_PATH.'/header.php';
include_once XOOPS_ROOT_PATH.'/include/comment_constants.php';
echo '<a href="userinfo.php?uid='.$xoopsUser->getVar('uid').'">'. _US_PROFILE .'</a> <span style="font-weight:bold;">»»</span> '. _US_EDITPROFILE .'<br /><br />';
$form = new XoopsThemeForm(_US_EDITPROFILE, 'userinfo', 'edituser.php', 'post', true);
$uname_label = new XoopsFormLabel(_US_NICKNAME, $xoopsUser->getVar('uname'));
$form->addElement($uname_label);
$name_text = new XoopsFormText(_US_REALNAME, 'name', 30, 60, $xoopsUser->getVar('name', 'E'));
$form->addElement($name_text);
$email_tray = new XoopsFormElementTray(_US_EMAIL, '<br />');
if ($xoopsConfigUser['allow_chgmail'] == 1) {
$email_text = new XoopsFormText('', 'email', 30, 60, $xoopsUser->getVar('email'));
} else {
$email_text = new XoopsFormLabel('', $xoopsUser->getVar('email'));
}
$email_tray->addElement($email_text);
$email_cbox_value = $xoopsUser->user_viewemail() ? 1 : 0;