StackIdeas
Restrict "Who Is Viewing" to logged in users
By
Justin
on Wednesday, 19 November 2014
Posted in
General Issues
Likes
0
Views
536
Votes
0
Is it possible to restrict the "Who Is Viewing" section to only users that are logged in?
Thanks
Hello Justin,
Please replace the attached file in:
../components/com_easydiscuss/themes/simplistic/post.php
. Hope this helps.
Nik Faris
·
Wednesday, 19 November 2014 10:53
·
0 Likes
·
0 Votes
·
0 Comments
·
#178643
Hi Nick,
I've added the new post.php file but am seeing "int(0)" when viewing a post as a guest, and "string(3) "723"" when viewing as a logged in user. I've attached two images...
Justin
·
Wednesday, 19 November 2014 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
#178742
Hello Justin,
I'm sorry. I missed the debug code inside. Can you please replace it with the attached instead?
Nik Faris
·
Thursday, 20 November 2014 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
#178756
Perfect! Thanks Nick.
Justin
·
Thursday, 20 November 2014 00:13
·
0 Likes
·
0 Votes
·
0 Comments
·
#178759
Hello Justin,
You're welcome.
Nik Faris
·
Thursday, 20 November 2014 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
#178761
View Full Post