template not wowrking

This mod, will add the ability to make "newsletters" and other customised mass emails, status is showen while sending mass email
It will also be posible to grant other users permissions to send mass email to a specific usergroup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

template not wowrking

Postby macman on Wed 10. Dec, 2003 02:13

the templates don't seem to be working.

template set to this:

Hello {USERNAME_LIST}

News from {SITENAME}

{MESSAGE}

----------------------------------------------------
You are registed to have this {GROUPNAME} news letter,
if you do not wish to recive this in the future then clik this link to unsubscribe
{UNSUBSCRIBE}


{BOARD_EMAIL}



email looks like this:

Content-type: text/html; charset=iso-8859-1 From: "bac | life" <XXXXXXX@XXXXXXX.net>
X-AntiAbuse: Board servername - www.XXXXXXX.net X-AntiAbuse: User_id - 1 X-AntiAbuse: Username - webmaster X-AntiAbuse: User IP - XXXXXXX

The following is an email sent to you by an administrator of "bac | life". If this message is spam, contains abusive or other comments you find offensive please contact the webmaster of the board at the following address:

XXXXXXX@XXXXXXX.net

Include this full email (particularly the headers).

Message sent to you follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

testing


Why is it doing that?

using phpbb 2.0.6 and mod version 1.0.12
macman
Poster
Poster
 
Posts: 12
Joined: Mon 02. Jun, 2003 03:56

Postby macman on Wed 10. Dec, 2003 02:48

just found this in mass_email.php

$template->set_filenames(array(
"body" => "admin/user_email_body.tpl")
);


is that why it isn't using the custom email templates?
macman
Poster
Poster
 
Posts: 12
Joined: Mon 02. Jun, 2003 03:56

Postby the menace on Fri 19. Dec, 2003 18:55

I'm having the same problem.

My custom template for Admins and Moderators works fine but not for "All Users".

In my language/english/email, I have custom_email.tpl and custom_email_Admin.tpl .The template for admin works but not for the users. The information in both files are the same.

I did a test file with "All users" and it ended up same as what he said.
Hello {USERNAME_LIST}

News from {SITENAME}

{MESSAGE}

----------------------------------------------------
You are registed to have this {GROUPNAME} news letter,
if you do not wish to recive this in the future then clik this link to unsubscribe
{UNSUBSCRIBE}


{BOARD_EMAIL}


So how do I fix this? Please help!
the menace
Poster
Poster
 
Posts: 2
Joined: Tue 21. Oct, 2003 11:07


Return to Custom mass email [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron