Jump to content

Recommended Posts

Posted

Thats because we reset the emails back to default

We had our own customised on which seemed to have been causing the issues, I will re-upoload them, then re-register, I have deleted your other account

  • Moderators
Posted

and the second email

Dear Joeri Test, Your registration for Futura Airways Virtual was accepted! Please visit us at Futura Airways Virtual to login and complete your registration Thanks! Futura Airways Virtual Staff

working file with the standard tpl so i think something is wrong with your skinned email tpl

  • Moderators
Posted

first email

Dear joeri luckermans,

Your Futura Virtual account will shortly activated when a member of staff from our Human Resources department reviews it. This email is simply to let you know we have recieved your application and are delighed that you have decided to give us a chance - You wont regret it!

If you feel you have been waiting for too long then dont be shy to get in touch via our website and we will try to speed up the process

Again, thanks!

Best regards,

Paul Craven

Futura Virtual Airways - Human Resources

  • Moderators
Posted

and here is the lastone

Dear ,

We are delighted to inform you that your application has been successful. You are now a fully fledged Futura Virtual Pilot!

with no name so there is something wrong

plz post the part i just showed you in code see whats going one

Posted

Accepted looks like this (and there should be more missing code throughout the email)

<center><div id="wrap">
<div id="content"><div align="left">
 <h3><img src="http://www.futura-va.co.uk/images/LOGO.png" alt="" width="183" height="54" align="right" /></h3>
 <p><br />
   <br />
 </p>
 <p>Dear <?php echo $firstname .' '. $lastname; ?>,<br/>
 </p>
 <p>We are delighted to inform you that your application has been successful. You are now a fully fledged Futura Virtual Pilot!</p>
 <p>Here is some help to get you on your way:</p>
 <table width="700" border="0" cellspacing="0" cellpadding="2">
   <tbody>
     <tr>
       <td><strong>Membership Details</strong></td>
     </tr>
     <tr>
       <td><p>All of our operations are conducted from the Flight Operations area of our web site. To log into your account you will need the following information:</p></td>
     </tr>
     <tr>
       <td> </td>
     </tr>
     <tr>
       <td><table width="548" border="0" cellspacing="0" cellpadding="0">
         <tbody>
           <tr valign="top">
             <td width="172"><strong>Web site Address:</strong></td>
             <td width="376"><a href="http://www.futura-va.co.uk" target="_blank">http://www.futura-va.co.uk</a></td>
           </tr>
           <tr valign="top">
             <td><strong>Pilot Id:</strong></td>
             <td><?php echo $pilotcode; ?></td>
           </tr>
           <tr valign="top">
             <td><strong>Password:</strong></td>
             <td>The password you entered on your application form.</td>
           </tr>
           <tr valign="top">
             <td><strong>Starting Rank:</strong></td>
             <td><?php echo $userinfo->rank;?></td>
           </tr>
         </tbody>
       </table></td>
     </tr>
     <tr>
       <td> </td>
     </tr>
     <tr>
       <td><strong>Forum Membership</strong></td>
     </tr>
     <tr>
       <td><p>You have automatically been given an account on the Futura Virtual Forum. This is a closed forum. Viewing and posting is only allowed by Futura Virtual members. To access the forum you will need the following information:</p></td>
     </tr>
     <tr>
       <td> </td>
     </tr>
     <tr>
       <td><table width="548" border="0" cellspacing="0" cellpadding="0">
         <tbody>
           <tr valign="top">
             <td width="172"><strong>Web site Address:</strong></td>
             <td width="376"><a href="http://www.community.futura-va.co.uk" target="_blank">http://www.community.futura-va.co.uk</a></td>
           </tr>
           <tr valign="top">
             <td><strong>Forum Id:</strong></td>
             <td><font color="#FFF"><strong><?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?></strong></font> <?php echo $pilotcode; ?></td>
           </tr>
           <tr valign="top">
             <td><strong>Password:</strong></td>
             <td>The password you entered on your application form.</td>
           </tr>
         </tbody>
       </table></td>
     </tr>
     <tr>
       <td><p><strong>NOTICE: </strong>There is a slight chance your forum account may not yet be activated automatically, this sometimes happens and is nothing to worry about. At the very latest your account should be active within a few hours from this email.</p></td>
     </tr>
     <tr>
       <td> </td>
     </tr>
     <tr>
       <td><strong>Teamspeak Account</strong></td>
     </tr>
     <tr>
       <td><p>You want to meet new people and socialise right? Why not hop on to our Teamspeak 3 server!</p></td>
     </tr>
     <tr>
       <td><table width="548" border="0" cellspacing="0" cellpadding="0">
         <tbody>
           <tr>
             <td width="150"><strong>Server Address:</strong></td>
             <td width="630">65.75.245.108:8767</td>
             </tr>
           </tbody>
         </table></td>
     </tr>
     <tr>
       <td> </td>
     </tr>
     <tr>
       <td><strong>Flight Policy</strong></td>
     </tr>
     <tr>
       <td><p><strong>We would like to remind all pilots that you must complete your first flight within 7 days of joining and then one flight every 28 days thereafter. Failure to meet this requirement will result in the closing of your account. Please note that our shortest flight is around 20 minutes.</strong></p></td>
     </tr>
     <tr>
       <td> </td>
     </tr>
     <tr>
       <td><strong>Thanks!</strong></td>
     </tr>
     <tr>
       <td><p>Thanks for joining Futura Virtual. We hope that you enjoy flying with us. Please check our NOTAMS for details of regular flyin's and group flights performed on VATSIM, IVAO or Virtual Skies. If you require training please don't hesitate to contact our training department to organise mentoring and/or training. This can be done via the forums.</p></td>
     </tr>
   </tbody>
 </table>
 <p>Hope to see you in the skies, they are what you make them...</p>
 <p>Best regards,</p><p>Paul Craven <br />
   Futura Virtual Airways - Human Resources</p>
 </div><br />
 <div class="footer" style="font-size:9px" align="left"><strong>
   Notice: This email transmission contains information that is intended only
     for the individual or entity named in the email address and may be
     confidential.

     If you are not the intended recipient, you are hereby notified that any
     disclosure, copying, distribution, or reliance upon the contents of this
     email message is strictly prohibited. If you have received this email
     transmission in error, please reply to the sender so that proper delivery
      can be arranged, and please delete the message from your in-box
 </strong></div></div>
</div>
</div>
</center>

  • Moderators
Posted

tru this

<?php echo $pilot->firstname.' '.$pilot->lastname ?>

instead of

<?php echo $firstname .' '. $lastname; ?>

see how that goes

  • Moderators
Posted

Could this any be possabiltily that it might be the problem, something wrong with it?

From The PilotAdmin.php

protected function ApprovePilot()
{
	PilotData::AcceptPilot($this->post->id);
	RanksData::CalculatePilotRanks();

	$pilot = PilotData::GetPilotData($this->post->id);

	# Send pilot notification
	$subject = Lang::gs('email.register.accepted.subject');
	$this->set('pilot', $pilot);
	$message = Template::GetTemplate('email_registrationaccepted.tpl', true, true, true);

	Util::SendEmail($pilot->email, $subject, $message);

	LogData::addLog(Auth::$userinfo->pilotid, 'Approved '.PilotData::getPilotCode($pilot->code, $pilot->pilotid).' - ' .$pilot->firstname.' ' .$pilot->lastname);
}

  • Moderators
Posted

nope its schould be in his reg accpted.tpl because when he sends it via the tpl in the core/templates its working so i think best for him to do is loss all the stuff in there and start from scratch without all that code in there :-)

  • Moderators
Posted
  On 4/1/2011 at 3:17 PM, joeri said:

nope its schould be in his reg accpted.tpl because when he sends it via the tpl in the core/templates its working so i think best for him to do is loss all the stuff in there and start from scratch without all that code in there :-)

Yeah I guess.

I think that's the way.

  • Moderators
Posted

connor you can pull aal these things from active tpl files but i suggest to first redesign the page layout lose all the exxes code and then start to implement the php

  • Moderators
Posted

Ok the php you have is correct in the right templates, just remove all you html formatting, if i remember right you dont need any html.

start off with,

<img src="http://www.futura-va.co.uk/images/LOGO.png"/>

Dear <?php echo $firstname .' '. $lastname; ?>,

We are delighted to inform you that your application has been successful. You are now a fully fledged Futura Virtual Pilot!

Here is some help to get you on your way...... etc etc just remove all the formatting if any the only thing needed is the br br tags

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.   Restore formatting

  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...