Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Customized email subscription

More
16 years 6 months ago #31344 by dirtydoug
Hi i want to start a thread which will benefit the others. What i want to do is a simple newsletter type for every email sent to subscribed users. I want to add on the subscription email the following:

The date it was last replied.
The avatar of the user who has last replied.

I hope someone can start a reply here to tell me or us what certain code to add on components/com_kunena/template/default/post.php in order for this to work.

The default email is (to be honest) kinda boring (maybe its because its default my apology) which is something like this.
Code:
$mailsender = stripslashes($board_title)." "._GEN_FORUM; $mailsubject = "[".stripslashes($board_title)." "._GEN_FORUM."] " . stripslashes($messagesubject) . " (" . stripslashes($catName) . ")"; $msg = "$subs->name,\n\n"; $msg .= trim($_COM_A_NOTIFICATION1)." ".stripslashes($board_title)." "._GEN_FORUM."\n\n"; $msg .= _GEN_SUBJECT.": " . stripslashes($messagesubject) . "\n"; $msg .= _GEN_FORUM.": " . stripslashes($catName) . "\n"; $msg .= _VIEW_POSTED.": " . stripslashes($fb_authorname) . "\n\n"; $msg .= "$_COM_A_NOTIFICATION2\n"; $msg .= "URL: $LastPostUrl\n\n"; if ($fbConfig->mailfull == 1) { $msg .= _GEN_MESSAGE.":\n-----\n"; $msg .= stripslashes($mailmessage); $msg .= "\n-----"; } $msg .= "\n\n"; $msg .= "$_COM_A_NOTIFICATION3\n"; $msg .= "\n\n\n\n";

and the output is a simple email. :) i want to give extra life to it by adding avatar and date.

Thanks in advance.

Please Log in or Create an account to join the conversation.

More
16 years 6 months ago #32096 by dirtydoug
sorry for the BUMP but i am really in need of help/ its almost 2 weeks now and i havent seen even a hi from others.

Please Log in or Create an account to join the conversation.

More
16 years 6 months ago #32114 by Matias
I have never sent html emails from php, so I do not know the answer. We are using Joomla email function, so maybe you can find something from Joomla forums/documentation.

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds