1
harlis
Mail Template
  • 2005/10/29 0:29

  • harlis

  • Just popping in

  • Posts: 44

  • Since: 2004/3/24


Hi All...

I'm using XOOPS 2.2.2
I've change the content of user activation mail template. It works.....
But I'm still confuse about How to change the subject of the email ? The registered-user receive the email with subject "_US_YOURACCOUNT"

I can't find those entry in the language section of profile module, nor in system module. Anyone know how to change it ?

Another question, I want to send mass-email message to all of my registered-user through menu "Mail Users". But I want to add an image on my email. Is it possible ? If yes, how to do it ? Because I've tried using "" tag or BBCode tag.....but it didn't work. Any clue ???

Regards,

Andy Harlis Saputra
http://www.ikast3.org
[size=x-small]When you stop learn, you've already dead[/size]......

2
brash
Re: Mail Template
  • 2005/10/29 1:20

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Check out lines;

131 user.php

74 /language/english/user.php
IT Headquarters
Innovative IT Solutions

3
harlis
Re: Mail Template
  • 2005/10/29 17:12

  • harlis

  • Just popping in

  • Posts: 44

  • Since: 2004/3/24


Which version of XOOPS that you talking about ?
I'm using XOOPS 2.2.2 and there's only 46 lines in /language/english/user.php

and again, there's no "_US_YOURACCOUNT" entry on it.

Confusing....
[size=x-small]When you stop learn, you've already dead[/size]......

4
TottoBG
Re: Mail Template
  • 2005/10/29 19:17

  • TottoBG

  • Not too shy to talk

  • Posts: 111

  • Since: 2005/8/18


Hi harlis,
The language files ('/language/english/user.php' in your case) are where some text value is assigned to the language constants and _US_YOURACCOUNT is right such as constant. So when you see the constant name itself and not a text value there should be that could be because there's no text assigned to it - just as you say there's no such entry there. So add a line like

define('_US_YOURACCOUNT','text you want here to be on the place of this constant');

to that /language/english/user.php and it should find it and replace it then.

5
harlis
Re: Mail Template
  • 2005/10/29 22:21

  • harlis

  • Just popping in

  • Posts: 44

  • Since: 2004/3/24


Okay then, Thanks TottoBG !

It works now, when I add your suggestion entry.

But as long as I know, since XOOPS 2.2.x for user registration, it will use translation file on /modules/profile/language/englih/main.php and not /language/english/user.php ---> please CMIIW

Because I've searched on /language/english/user.php and there's the entry that I'm looking for, but with different constant. The constant is not _US_YOURACCOUNT but _PROFILE_MA_YOURACCOUNT.

Why my XOOPS 2.2.2 doesn't point to the right translation file ? Will it be fixed in the XOOPS 2.2.3 ???
[size=x-small]When you stop learn, you've already dead[/size]......

6
TottoBG
Re: Mail Template
  • 2005/10/30 18:23

  • TottoBG

  • Not too shy to talk

  • Posts: 111

  • Since: 2005/8/18


I'd say I'm not well familiar with 2.2.x translation files using so let the devs say.

Login

Who's Online

243 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits