Jump to content




Automatic email to new members of ssc rules

coaster roller

  • Please log in to reply
7 replies to this topic

#1 Cardsandcoasters

Cardsandcoasters

    Frission Is Here

  • 1537 posts

Posted 04 March 2008 - 10:50 PM

I have noticed that many ssc veterans/elites (too many to name) and mods (CC10 + more) are getting tired of so many n00bs who are double posting, bumping threads, and posting huge pics. I think that ther should be anautomatic email that is sent, with the rules in it (a breif email, not one that takes an hour to read), and the concequences of breaking the rules. I already made a new account that I called: me_me_me to know for sure that this hasn't already been done, and I don't get yelled at.

You gotta love my new ssc name :P. btw, I'll never use it again.

Anyone want to back me up? Thanks
-CAC

Posted Image

Posted Image

Thanks Rollerdude!


#2 lazor 22

lazor 22

    Enter The Rage

  • 5967 posts

Posted 05 March 2008 - 03:03 PM

This is a good idea. Also put it in the Agrement you have to read before you can join, for those that do read it (because some don't.......sorry).

LAZOR22SIG2.png
I305, El Toro, Goliath (SFoG), Time Machine, Talon, Apollo, Griffon, Georgia Scorcher, Nitro, Manta
Coaster Count: 77


#3 DJMK

DJMK

    Lead Engineer

  • 1604 posts

Posted 05 March 2008 - 05:39 PM

Well, Since the forum was made by a seperate company (vBulletin), who ever has ftp access probably won't know how to create such a thing. (being automatic) And knowing php, i know how hard that would be to set up and find out where to put in the code. Making a website isnt always just click a button and theres the best website on earth. Real websites are hard work. And Freewebs Easy builder does not give you a real website, Just to clear that up with everyone who calls it a website, It is a folder on the freewebs.com server that someone else made for you.


Sorry for the rant that got very off topic. lol

Posted Image
Posted Image


#4 moosey124

moosey124

    Construction Foreman

  • 227 posts

Posted 05 March 2008 - 08:17 PM

This is a good idea, especially because I used to be one of those noobs and people got really angery with my lol(they still do....jks).

[SIGPIC][/SIGPIC]
^^thanks a buunch CC10!!!^^

He who makes a beast out of himself, gets rid of the pain of being a man-Dr. Samuel Johnson[/FONT]

#5 Jogumpie

Jogumpie

    Living through the great Gump hiatus...

  • 13586 posts

Posted 06 March 2008 - 02:07 AM

Yes, would be a good idea. Moosey, your signature is getting way too big.


SSCoasters Administrator
The SSCoasters Forum Rules
DD_signature.jpg
YoutubeButton.pngFacebookButton.png


#6 TripleHelix

TripleHelix

    Do a barrel roll!

  • 2241 posts

Posted 06 March 2008 - 07:00 AM

Moosey, there isn't much special about having SSC veteran pop up. You could have that with one post.


I'd like to see this, too, but is it really possible? DJMK made it sound complicated.

[SIGPIC][/SIGPIC]
Posted Image
Coaster Count: 79

Posted ImagePosted ImagePosted ImagePosted Image
Posted Image
Posted ImagePosted ImagePosted Image


THIS TEXT IS A LIE!


#7 Cardsandcoasters

Cardsandcoasters

    Frission Is Here

  • 1537 posts

Posted 06 March 2008 - 10:38 AM

I have no idea, really, what DJMK said, and i'm not a computer geek :P. I just kinda threw this idea out to see if others agreed, so we could do it (if possible). I don't know what needs to be done or anything.
-CAC

Posted Image

Posted Image

Thanks Rollerdude!


#8 DJMK

DJMK

    Lead Engineer

  • 1604 posts

Posted 07 March 2008 - 03:18 PM

Hehe, I always confuse people.

I do like the idea though.

Basically, this is the simplest code for sending an automatic email in php:

<?php

$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";

?>


But thats the easiest part. Finding where to insert that code out of about a hundred web files necessary for this forum, would be the hard part. Plus it may be illegal since vBulliten wrote the programming for everything.

Thats a bit easier to understand.


And here is the more secure way to send an automatic email in php:

<html>
<body>
<?php
function spamcheck($field)
{
//filter_var() sanitizes the e-mail
//address using FILTER_SANITIZE_EMAIL
$field=filter_var($field, FILTER_SANITIZE_EMAIL);

//filter_var() validates the e-mail
//address using FILTER_VALIDATE_EMAIL
if(filter_var($field, FILTER_VALIDATE_EMAIL))
{
return TRUE;
}
else
{
return FALSE;
}
}

if (isset($_REQUEST['email']))
{//if "email" is filled out, proceed

//check if the email address is invalid
$mailcheck = spamcheck($_REQUEST['email']);
if ($mailcheck==FALSE)
{
echo "Invalid input";
}
else
{//send email
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail("someone@example.com", "Subject: $subject",
$message, "From: $email" );
echo "Thank you for using our mail form";
}
}
else
{//if "email" is not filled out, display the form
echo "<form method='post' action='mailform.php'>
Email: <input name='email' type='text' /><br />
Subject: <input name='subject' type='text' /><br />
Message:<br />
<textarea name='message' rows='15' cols='40'>
</textarea><br />
<input type='submit' />
</form>";
}
?>

</body>
</html>


Posted Image
Posted Image