Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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

Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Solved Sending emails when someone quotes on a post

More
12 years 4 months ago #149903 by sozzled
I didn't know the answer. I asked someone to tell me. Why didn't you tell us you found this? :S

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

More
12 years 4 months ago #149906 by perryworld
Hi Sozzled,

My apologies, after taking so long to find it I then had to get the hack in place as it had become quiet urgent.

Sorry about that.

Rich

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

More
12 years 4 months ago - 12 years 4 months ago #149908 by sozzled
Have you got a working solution? :dry:
Last edit: 12 years 4 months ago by sozzled.

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

More
12 years 4 months ago #150230 by perryworld
Hi Sozzled,

This was a quick and nasty hack but basically we accessed the message and checked for the following text

$findquote = strpos($this->message, "[quote");

if it did we just extracted the user name from the message then got their email address from the database and sent a custom email.

$finduser = substr($this->message, 8);
$finduser = str_replace('"',"~",$finduser);
$findend = strpos($finduser, "~");
$user = substr($finduser, 0, $findend);

// access user object to get users email address
$userobj = JFactory::getUser($user);
$useremail = $userobj->email;

Cheers
Rich
The following user(s) said Thank You: sozzled, ciacco

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

Time to create page: 0.533 seconds