Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
XtraX
Hangin' Around



Joined: Nov 03, 2004
Posts: 43

PostPosted: Wed Nov 09, 2005 10:43 am Reply with quote

We are using CNB YA 4.0 Nuke 7.3 with chatserv Patches!

What were trying to attempt is a registration template but so far no luck, we been trying to use the example in the fancy newsletter that uses templates for sending users but seem to have run into a snag..

We created a regtemplate.php file, but are trying to figure out how to include it in the mail() function! and call the template so its included

In the new_finish2.php we added the $regtemplate to mail()

Code:
mail($ya_user_email, $subject, $regtemplate, $from);

            }


then why tryed to include the regtemplate.php like so

Code:
include("modules/$module_name/regtemplate.php");


It now sends the mail but the template is raw html...

So we still have no luck...

If anyone could help us this would be great.

xtrax
 
View user's profile Send private message
XtraX







PostPosted: Thu Nov 10, 2005 2:35 pm Reply with quote

Never mind I actually figured it out and it works great now!

Now when a user register's they dont recieve that plain email they recieve a nice custom template!

thanks anyway folks!

Xtrax!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©