-
Posts
26 -
Joined
-
Last visited
Apocalyptical's Achievements
Newbie (1/14)
1
Reputation
-
mccode-v2 Mass Emailer [ADVANCED]
Apocalyptical replied to Apocalyptical's topic in Free Modifications
So long as you are NOT spamming people and its not solicitations they can't do anything. How else does every single online game that has a newsletter send them out? Its all got to start somewhere. -
mccode-v2 Mass Emailer [ADVANCED]
Apocalyptical replied to Apocalyptical's topic in Free Modifications
Actually, the email isn't going through the host, so it doesn't count. I tested it with over 200+ users, quick, simplistic, no issues what so ever. The sent emails don't show up on your host email at all, so doesn't go towards "sent" mails from that email, but it will let you know if there was an sending failure, and people can send replies to it. Its a user-friendly, lightweight, mailer, you really can't go wrong. -
You can select all users or different groups of users, and send a mass message to the email they signed up with. Fully customize-able. First In staff_special.php Find: case 'massmailer': massmailer(); break; Below It Insert: case 'massemailer': massemailer(); break; Next, Find: print "<b>Mass Mailer</b><br /> <form action='staff_special.php?action=massmailer' method='post'> Text: <br /> <textarea name='text' rows='7' cols='40'></textarea><br /> <input type='radio' name='cat' value='1' /> Send to all members <input type='radio' name='cat' value='2' /> Send to staff only <input type='radio' name='cat' value='3' /> Send to admins only<br /> OR Send to user level:<br /> <input type='radio' name='level' value='1' /> Member<br /> <input type='radio' name='level' value='2' /> Admin<br /> <input type='radio' name='level' value='3' /> Secretary<br /> <input type='radio' name='level' value='5' /> Assistant<br /> <input type='submit' value='Send' /></form>"; Below It Insert: } } function massemailer() { global $db,$ir,$c,$userid; if($_POST['text']) { $_POST['text']=($_POST['text']); $subj="Insert Subject-Line"; if($_POST['cat']==1) $q=$db->query("SELECT * FROM users "); else if($_POST['cat']==2) $q=$db->query("SELECT * FROM users WHERE user_level > 1"); else if($_POST['cat']==3) $q=$db->query("SELECT * FROM users WHERE user_level=2"); else $q=$db->query("SELECT * FROM users WHERE user_level={$_POST['level']}"); while($r=$db->fetch_row($q)) { $to = "{$r['email']}"; $mess = "This message is from the Mailing system of Game Name. This message is for {$r['username']}. ---------------------------------------------------------------------------------------- {$_POST['text']} ---------------------------------------------------------------------------------------- If you think this email is spam, please email the staff back about the message. Thanks, Game Name Staff"; $headers ="From:[email protected]"; mail($to,$subj,$mess,$headers); print "Mass mail sent to {$r['username']}.<br />"; } print "Mass mail sending complete!<br /> <a href='staff_special.php?action=massemailer'>> Back</a>"; } else { print "<b>Mass E-Mailer</b><br /><br> <form action='staff_special.php?action=massemailer' method='post'> Text: <br /><br> <textarea name='text' rows='7' cols='40'></textarea><br /><br> <input type='radio' name='cat' value='1' /> Send to All Members <input type='radio' name='cat' value='2' /> Send to Staff Only <input type='radio' name='cat' value='3' /> Send to Admins Only<br /> <br>Send to User Level:<br /><br> <input type='radio' name='level' value='1' /> Member<br /> <input type='radio' name='level' value='2' /> Admin<br /> <input type='radio' name='level' value='3' /> Secretary<br /> <input type='radio' name='level' value='5' /> Assistant<br /><br> <input type='submit' style='color:black; background:gray' value='Send' /></form>"; } } Finally, In smenu.php, Find: <a href='staff_special.php?action=massmailer'>Mass Mailer</a> Below It Insert: <a href='staff_special.php?action=massemailer'>Mass Emailer</a>
-
Ok well I have it basically all the way done, there's just something I must be missing in the schooling.php and the edureset.php. The pages are just not loading, the staff side is fine, have the separate database for courses, everythings good. Just the display of those 2 pages. Would you mind taking a quick look for me? I'm thinking I'm just missing one little thing, just been staring at it for hours and can't think of anything else.
-
[mccode v2] Player of the week...
Apocalyptical replied to shaved92bravada's topic in Free Modifications
Has anyone found any updates of this? I have been searching all over and can't seem to find any threads on it. -
Hey illusions, I'm actually trying to do something similar to what you have there, having basic education and then an academy separate, but for a donator only feature. I have the staff side of it working but schooling.php and edureset.php are a no go. I guess it was made as a replacement for regular education and so trying to combine it has clashed. I changed all the table prefixes in the database to be separate and changed all the corresponding parts in the codes. Been messing around with the schooling.php and edureset.php for a bit now and can't seem to get either pages to even load let alone getting an error. I know it can't be that difficult, considering this is how I made the staff codes all work, but for some reason I'm missing something here. Anyway you could shoot me yours? Or perhaps have a look over mine? Whichever you feel will be easier. I would appreciate your help here, this is definitely a mod worth using. :)
-
Richards Business Mod--Fixed With a few Things added.
Apocalyptical replied to Joshua's topic in Free Modifications
Yea I tried that, on page 4, page 3 is just the code to make it so you can add the specials through staff panel. Have the page 4, still same thing, which queries do you mean? As far as I can tell the continuity is there, I can't be certain though. Obviously. -
Richards Business Mod--Fixed With a few Things added.
Apocalyptical replied to Joshua's topic in Free Modifications
Ya I've read through the entire thing, tried the compspecial.php and companyspecial.php updates. Have specials showing in database, just doesn't display them on the companyspecials.php page. And yes it may be old but its obviously workable, considering everything else works except that. -
Richards Business Mod--Fixed With a few Things added.
Apocalyptical replied to Joshua's topic in Free Modifications
Everything works except company specials...any ideas? -
Hmm, all of my item functions seem to be screwy, haven't done any major editing to any of them that should cause it, but seems like I'm having an issue with item market now too, among I don't know what yet, going to have to investigate further. It all just started happening all of a sudden, I'm completely out of ideas as to why it would do this.
-
Ya, it doesn't seem to be reloading, but its always a possibility. Either way, brainstorming is good. Thank you SomeRandomBastard.
-
No problem illusions. Take your time. :)
-
like internet explorer? im using google chrome at the moment...any suggestions or ideas will be a huge help though, like i was tellin somerandombastard, i've been searching forums, messing around with it and racking my brain for so long, any new thoughts or new things to try are more than worth hearing.
-
Hmm, still seems to be doing the same thing, removing two of an item at one time, any more suggestions? Could the randomizer item code be interfering? That's all i can think of otherwise... http://makewebgames.io/showthread.php/38890-Randomizer-Item That or the fishing mod, which does same thing, but with hooks, removes 2 when should be only using 1 per click.
-
Well that would def explain it, makes a lot of sense, ill try it now and let you know how it goes, thanks bud!