Template "Headinclude"
</style>
$headnewmsg
$headnewpm<font color="#6F6660"></font>
bewteen style and $headnewpm
in the global.php after
PHP Code:
$headnewpm='';
if ($checknewpm and $bbuserinfo['userid']!=0 and $bbuserinfo['pmpopup']==2) {
if ($noshutdownfunc) {
$DB_site->query("UPDATE user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]";
}
$newpmmsg=1;
eval("\$headnewpm = \"".gettemplate('head_newpm')."\";");
}
add
PHP Code:
if ($checkmessages and $bbuserinfo['userid']!=0 and $bbuserinfo['messagepopup']==2) {
$popupmessages = $DB_site->query("SELECT * FROM popupmsgs WHERE userid=$bbuserinfo[userid] ORDER BY nummessages DESC");
while ($popmsg = $DB_site->fetch_array($popupmessages)) {
$popmessage .= "Von:$popmsg[sender]\\n";
$popmessage .= "Nachricht:$popmsg[message]\\n\\n";
$DB_site->query("DELETE FROM popupmsgs WHERE nummessages=$popmsg[nummessages] AND userid=$bbuserinfo[userid]");
}
$DB_site->query("UPDATE user SET messagepopup=1 WHERE userid=$bbuserinfo[userid]");
eval("\$headnewmsg = \"".gettemplate('head_newmsg')."\";");
}
this code follows
PHP Code:
$header='';
$footer='';
// parse header ##################
eval(gettemplate('phpinclude',0,0));
the both addings in the /mod/index.php and /admin/index.php are simply Links an can be created somewhere in the Nav
but basicly they are after
PHP Code:
<a href="email.php?s=<?php echo $session[sessionhash]; ?>&action=genlist"> Generate mailing list </a><br>
in the admin/index.php
and after
PHP Code:
<a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=find"> View </a>|
in the mod/index
thats all start install.php and update cp and it works..