Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Username used in subscription emails instead of real name
Pages: [1]   Go Down
  Print  
Author Topic: Username used in subscription emails instead of real name  (Read 1470 times)
0 Members and 1 Guest are viewing this topic.
padavis
Newbie
*

Karma: 0
Offline Offline

Posts: 18


« on: June 10, 2010, 11:49:29 »

Hello,

Hope you can help here as its a bit of a security issue on a site of ours. What needs to be changed to make the username appear instead of the real name in emails sent to comment subscribers?

Many Thanks!

Paul
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: June 10, 2010, 15:06:25 »

Yes, you're right. It will be fixed in next release. You also could fix it in your JComments template by editing files:

/components/com_jcomments/tpl/default/tpl_email.php
/components/com_jcomments/tpl/default/tpl_email_administrator.php
/components/com_jcomments/tpl/default/tpl_email_report.php

And replace code:
Code: (php)
<?php echo $comment->name?>
with
Code: (php)
<?php echo $comment->author?>

Thank you for your bug report!
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
padavis
Newbie
*

Karma: 0
Offline Offline

Posts: 18


« Reply #2 on: June 10, 2010, 17:07:58 »

Magic stuff again Smart!

Thanks!  Cheesy
Logged
padavis
Newbie
*

Karma: 0
Offline Offline

Posts: 18


« Reply #3 on: October 21, 2010, 14:30:16 »

Hi Smart,

Just upgraded to the latest version and the fix above doesn't seem to have been included as members are now seeing real names again.

Can you please add it to the next release?

Rgds

Paul
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #4 on: October 21, 2010, 18:57:57 »

Can you please add it to the next release?
It would be included in next major update (JComments 2.3), two latest versions 2.2.0.1 and 2.2.0.2 were security releases and contain only security fixes.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Username used in subscription emails instead of real name
 
Jump to: