Jump to content
MakeWebGames

Recommended Posts

  • 2 weeks later...
Posted

Re: mails

this is a easy fix :-P

open yourgang.php

Find:

 

function gang_staff_massmailer()
{
global $db,$ir,$c,$userid,$gangdata;
if($_POST['text'])
{
$subj="This is a mass mail from your gang";
$q=$db->query("SELECT * FROM users WHERE gang={$ir['gang']}");
while($r=$db->fetch_row($q))
{
$db->query("INSERT INTO mail VALUES('', 0, {$ir['userid']}, {$r['userid']}, unix_timestamp(),'$subj','{$_POST['text']}')");

 

Add After:

 

$db->query("UPDATE users SET new_mail=new_mail+1 WHERE userid={$r['userid']}");
Posted

Re: mails

wow man...please read the stuff I'm not bashing you but you have to help us help you. I told you how to fix it. If you do what I said to do everyone in the gang will get the mail alert just like if you was to send a mail to a person . same way...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...