Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
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
10 years 4 months ago #11
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Sending emails when someone quotes on a post
Try looking in ../libraries/kunena/forum/message/message.php
Blue Eagle vs. Crypsis reference guide
Read my blog and
The following user(s) said Thank You: perryworld
Please Log in or Create an account to join the conversation.
- perryworld
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 126
- Thank you received: 3
10 years 4 months ago #12
by perryworld
Replied by perryworld on topic Sending emails when someone quotes on a post
Hi Sozzled,
Thanks for the reply.
We did eventually find it after looking in Kunena Admin and the Front End code we decided to download the whole site and using NotePad++ we searched and found it where you have said to look.
Your support is really appreciated.
Thanks
Rich
Thanks for the reply.
We did eventually find it after looking in Kunena Admin and the Front End code we decided to download the whole site and using NotePad++ we searched and found it where you have said to look.
Your support is really appreciated.
Thanks
Rich
Please Log in or Create an account to join the conversation.
10 years 4 months ago #13
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Sending emails when someone quotes on a post
I didn't know the answer. I asked someone to tell me. Why didn't you tell us you found this? :S
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- perryworld
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 126
- Thank you received: 3
10 years 4 months ago #14
by perryworld
Replied by perryworld on topic Sending emails when someone quotes on a post
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
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.
10 years 4 months ago - 10 years 4 months ago #15
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Sending emails when someone quotes on a post
Have you got a working solution? :dry:
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 10 years 4 months ago by sozzled.
Please Log in or Create an account to join the conversation.
- perryworld
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 126
- Thank you received: 3
10 years 4 months ago #16
by perryworld
Replied by perryworld on topic Sending emails when someone quotes on a post
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, ;
$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
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, ;
$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
Please Log in or Create an account to join the conversation.
Time to create page: 0.423 seconds