Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Email for new Messages and so on

12 years 2 weeks ago
  • ewebs's Avatar
    Topic Author
  • ewebs
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

i wanna set mails to user like
that ...

Hello ( Username | mail reciever ) <<< it is {target}
you have a new mail from ( Username | mail sender ) << it is {actor}

In Language file i have
COM_COMMUNITY_EMAIL_INBOX_SENT_TEXT="Liebe {target},\n\n{actor}, hat Dir gerade eine neue Nachricht geschickt.\n\nTitel:\n%1$s\n\n\n\n%2$s\n\n\n\nDu kannst die neue Nachricht auch hier lesen:\n\n{url}\n\n\nViele liebe Grüsse und einen schönen Tag :-)."

But when i get the mail i have ... ( you see mail sender is not there )
Liebe michael,

hat Dir gerade eine neue Nachricht geschickt.

Betreff:
test1


Du kannst die neue Nachricht hier lesen:

sisterand.me/index.php?option=com_commun...x&task=read&msgid=29

can i see somwhere all shortcuts / or placeholders i can use ?

12 years 2 weeks ago
Licenses:

Hi.

Yes, you can see what variables are used. Taking your example here COM_COMMUNITY_EMAIL_INBOX_SENT_TEXT.
It's in:

ROOT/components/com_community/templates/default/email.inbox.sent.text.php

You can see inside:

<?php echo JText::sprintf('COM_COMMUNITY_EMAIL_INBOX_SENT_TEXT', $title , $message); ?>

This means that:

%1$s = $title
%2$s = $message

No other variables can be used. Tags like {actor} or {target} will not work here as they are used on stream ONLY.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW