logo

Member
Member
Offline Offline
Posts: 392
james.patten@hotmail.co.uk
email for new version of eoCMS

as on the demo site it allows you to get a email for a new update on eocms this should also be a option on eocms for when you join the site or in the profile page.
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: email for new version of eoCMS

Thats entirely possible but of course there would need to be an opt out option, this is quite a good suggestion actually, maybe add a feature to eoCMS enabling admins to send an email to all of its users

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 392
james.patten@hotmail.co.uk
Re: email for new version of eoCMS

but wouldnt there then need to be a tick box or something in the users profile asking if they would like a email before it was sent out to them without there permision?
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: email for new version of eoCMS

Well yes, probably "Receive emails from site admins" or something similar. Hmm it would also need to have a queue system to prevent going over any sendmail limits specified by the host

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 392
james.patten@hotmail.co.uk
Re: email for new version of eoCMS

this would also be good if someone has sent you a pm on the site or if someone has made a post in your catagory?
Member
Member
Offline Offline
Posts: 392
james.patten@hotmail.co.uk
Re: email for new version of eoCMS

but then also you would need to have a way to stop email injections and emails being sent back to eocms e.g.

Code:

<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>
Last Edit: 31st May, 2009, 08:27:51 AM by Jake
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 291
haz_pwnd_u@yahoo.com
Re: email for new version of eoCMS

There is such a thing as a code bbcode tag.
Member
Member
Offline Offline
Posts: 392
james.patten@hotmail.co.uk
Re: email for new version of eoCMS

haha lol
Member
Member
Offline Offline
Posts: 392
james.patten@hotmail.co.uk
Re: email for new version of eoCMS

also this has nothing to do with emails but why dont you have a flag of what country the person comes from in there profile so it is easyer to find out were they are from for example some one from france sets there flag on there profile as they join up on the site Smile also if u need the flags i have a whole load of them and they are all small so they could be used they are about the size of the quick edit button
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 242
banancanardbanancanard@live.com
Re: email for new version of eoCMS

That would be more of a mod rather then a default.  If you want to make the mod feel free.

"Control yourself. Take only what you need from it"
http://mrrsm.com
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 909
Re: email for new version of eoCMS

another plugin (profile-flag), but its not as easy as it sound, unless you let the user choose, automated country identification is an industry unto its self..

eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: email for new version of eoCMS

Hmmm... maybe user-selectable is the route to go down for the time being then.

Seen a bug? Report it!
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 909
Re: email for new version of eoCMS

yeah.. when the changes are done for plugins, I think and "update_service" plugin maybe an opion here to, that can do only related checks, email or PM generation, etc

It could also allow for actual updates to be done, not just notification.


Jump to:


0.1 seconds Queries: 13