Products
Demo
Forum
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 24, 2012, 19:35:14
Advanced search »»
JoomlaTune Support Forum
JComments component
General discussion
Topic:
Making New Comment Email Notification Be Anonymous
Pages: [
1
]
Go Down
Print
Author
Topic: Making New Comment Email Notification Be Anonymous (Read 608 times)
0 Members and 2 Guests are viewing this topic.
ncblazin247
Newbie
Karma: 0
Offline
Posts: 14
Making New Comment Email Notification Be Anonymous
«
on:
December 22, 2011, 13:27:06 »
Hello,
My Jcomments are currently anonymous but when a user subscribes to a comment wall, and a new comment comes in, the notification email contains the username of the poster. Can you please tell me how to fix this issue in the coding?
Thanks,
Nikolas
Logged
smart
Administrator
Hero Member
Karma: 160
Offline
Gender:
Posts: 2559
Re: Making New Comment Email Notification Be Anonymous
«
Reply #1 on:
December 22, 2011, 15:50:14 »
What are you mean when you say 'anonymous'? Are you allow comments posting for guests without registration?
BTW, you can change notification emails template and remove output user name in template (/components/com_jcomments/tpl/default/tpl_email.php)
Logged
If you use JComments, please post a rating and a review at the
Joomla! Extensions Directory
ncblazin247
Newbie
Karma: 0
Offline
Posts: 14
Re: Making New Comment Email Notification Be Anonymous
«
Reply #2 on:
December 22, 2011, 15:55:07 »
By anonymous I mean instead of the username showing up in the comments, the word "guest" shows up instead, Intentionally did this awhile back.
How would I make the poster username in the email notifications appear as "guest" as well?
Logged
smart
Administrator
Hero Member
Karma: 160
Offline
Gender:
Posts: 2559
Re: Making New Comment Email Notification Be Anonymous
«
Reply #3 on:
December 22, 2011, 16:34:09 »
Open file /components/com_jcomments/tpl/default/tpl_email.php and replace:
Code: (php)
$comment->author
with
Code: (php)
JText::_('Guest');
Logged
If you use JComments, please post a rating and a review at the
Joomla! Extensions Directory
ncblazin247
Newbie
Karma: 0
Offline
Posts: 14
Re: Making New Comment Email Notification Be Anonymous
«
Reply #4 on:
December 22, 2011, 16:54:53 »
Hmm I am not finding the "$comment->author" text in that file. Would it be called something else?
Logged
smart
Administrator
Hero Member
Karma: 160
Offline
Gender:
Posts: 2559
Re: Making New Comment Email Notification Be Anonymous
«
Reply #5 on:
December 22, 2011, 20:14:36 »
Oh, sorry! I've looked to my development version. In your version you should replace:
Code: (php)
$comment->name
with
Code: (php)
JText::_('Guest');
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:
Making New Comment Email Notification Be Anonymous
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
JComments component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Integration with third-party extensions
===> AlphaUserPoints
===> CommunityBuilder
===> K2 JComments
=> Translations
=> Bug-reports
-----------------------------
ProofReader component
-----------------------------
=> General discussion
=> Suggestions, Wishlists & Feature Requests
=> Translations
=> Bug-reports
-----------------------------
Other extensions
-----------------------------
=> Plugins
=> Modules
Loading...