Hello, is a very good hack,
but i have some problems with the inclution of some code in members.php and index.php. All of this code i don't finde in the two files. waths happends???
PHP Code:
then find this:
$pmpopup=iif($pmpopup=="yes",1,0);
and after it add this
$receivebulletin=iif($receivebulletin=="yes",1,0);
and finally find this
$DB_site->query("UPDATE user
SET ".$updatestyles."adminemail='$adminemail',
and replace it with this:
$DB_site->query("UPDATE user
SET ".$updatestyles."adminemail='$adminemail', receivebulletin='$receivebulletin',
--------------------------------------------------------------------------------
admin/index.php
You will need to make the following alterations to your admin/index.php file:
After this:
<a href="email.php?s=<?php echo $session[sessionhash]; ?>"> Email users </a><br>
add this:
<a href="commbull.php?s=<?php echo $session[sessionhash]; ?>"> Send Community Bulletin </a><br>
I hope you can help me.
PS. I can open the file commbull.php an send mails to all users, but i didn't see the link in the cp.