By Jared Hungerford on Friday, 07 August 2015
Replies 3
Likes 0
Views 1.1K
Votes 0
I am using the latest EasyDiscuss Version: 3.2.9676 on Joomla 3.3.6.

I have found in the backend where access can be restricted for the discussions and categories sections to non-registered users but cannot seem to find where the settings are to restrict the same for Tags & Members.

I have attached two screenshots for reference navigation of main toolbar.

Please advise.
Hey Jared,

Unfortunately that was not possible in current system.

But you can download my attached file and extract it then replace into :
- tags folder (inside the file) -> JoomlaFolder\components\com_easydiscuss\views\tags\view.html.php
- users folder (inside the file) -> JoomlaFolder\components\com_easydiscuss\views\users\view.html.php

And see how it goes.
·
Friday, 07 August 2015 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Arlex,

This would be a useful option for other subscribers, like me, as well. The file for Tags works. Nevertheless, the file for User List does not work; as it stands, not even Super Users would be allowed to access the User List.

IMHO, it would appear, based on my experiment, that we only need to add the following lines to call the User ID to make it work -
		
$user = JFactory::getUser();
$id = JRequest::getInt( 'id' );


These lines would need to be inserted before the following lines, which test the User ID -
$app = JFactory::getApplication();
if ($user->id == 0) {


You may want to feature this or include the hacks in the Download section for others to reference.

Thanks!
·
Sunday, 09 August 2015 06:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Opps, you're right.

Seems like I missed up this line of code for get current user id.
 $user = JFactory::getUser();	


By the way, thanks for your helps
·
Sunday, 09 August 2015 10:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post