Announcement

Collapse
No announcement yet.

Looking for a template but can't find...:(

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JohnM
    replied
    Even better:

    Code:
      if ($newuseremail!="") {
        eval("\$message = \"".gettemplate("newmembermail")."\";");
        eval("\$subject = \"".gettemplate("newmembersubject")."\";");
        mail ($newuseremail,$subject,$message,"From: \"$bbtitle User Manager\" <$webmasteremail>");
      }
    Just make a template called newmembersubject and put whatever you want...

    Leave a comment:


  • JamesUS
    replied
    Cool thanks for that Wayne...I'll give it a try in the morning
    chrispadfield ---> I want to change it to include various bits of profile info about the user...myself and the other admins are trying to contact some of the users and get their opinions on the board etc...will hopefully promote the community feel a bit

    Leave a comment:


  • Wayne Luke
    replied
    • Make a template and call it newmembermail
    • Put whatever code you want into it.
    • Change the following code:
      Code:
        if ($newuseremail!="") {
          $message="There is a new user, $username, at $bbtitle. To view their profile, go here:\n$bburl/member.php?action=getinfo&userid=$userid";
          mail ($newuseremail,"New User at $bbtitle",$message,"From: \"$bbtitle User Manager\" <$webmasteremail>");
        }
      TO:
      Code:
        if ($newuseremail!="") {
          eval("\$message = \"".gettemplate("newmembermail")."\";");
          mail ($newuseremail,"New User at $bbtitle",$message,"From: \"$bbtitle User Manager\" <$webmasteremail>");
        }


    Voila, it is in a template.

    Leave a comment:


  • chrispadfield
    replied
    guessing it is not a template because it is an admin only option, what are you planning to change it to?

    Email features of the board need work though and better templates for email sent and easiser customization of them is a must for 2.5 if not 2.0 !

    Leave a comment:


  • JamesUS
    replied
    Thanks John ...yes that really does need to be a template.
    John/James --> Will it be a template in v2?

    Leave a comment:


  • JohnM
    replied
    That's not a template

    You can edit the message in member.php, where it says this:

    Code:
      if ($newuseremail!="") {
        $message="There is a new user, $username, at $bbtitle. To view their profile, go here:\n$bburl/member.php?action=getinfo&userid=$userid";
        mail ($newuseremail,"New User at $bbtitle",$message,"From: \"$bbtitle User Manager\" <$webmasteremail>");
      }
    Suggestion for v2.0: why isn't this a template??

    Leave a comment:


  • JamesUS
    started a topic Looking for a template but can't find...:(

    Looking for a template but can't find...:(

    Hey all,

    I have my board set up to email me when there is a new registration...is the email that gets sent a template, and if so what is it called?

    Thanks in advance!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X