By Steve Mayes on Thursday, 31 December 2015
Posted in General
Replies 10
Likes 0
Views 796
Votes 0
This is the problem i have. I hide the members from the toolbar but if you navigate to http://mywebsite.com/profile/60-username.html you can see the users pages. The problem is google indexing this and i don't want that. My other question is i already change one username in Joomla but the URL in EasyDiscuss keep the old username URL http://mywebsite.com/profile/60-username.html. How to change this?
Hello Steve,

Please replace the attached file in: ../components/com_easydiscuss/views/users/view.html.php
·
Thursday, 31 December 2015 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
In other words I think if there is any way to make Super User Profile Pages available only for Super Users will fix all my problems
·
Thursday, 31 December 2015 08:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Or to disable them only for register people. This will work too. As soon as google can't indexing them
·
Thursday, 31 December 2015 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok. I fix the profile with this code

// If profile is invalid, throw an error.
if( !$profile->id || $guest->id == 0)
{


I add it inside view.html.php in view - users

Now i want to do the same thing to the Members page. What i need to do?
·
Thursday, 31 December 2015 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
One more request. When user is login from this form they are redirect to Joomla user page. I don't want this. I want them to be redirect to Easydiscuss profile page.
·
Thursday, 31 December 2015 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

You can use this in ../components/com_easydiscuss/views/users/view.html.php for the members page.

// Get current logged in user.
$my = JFactory::getUser();

if ($my->id == '0'){
}


When user is login from this form they are redirect to Joomla user page
- May I know which form you are referring to?
·
Thursday, 31 December 2015 12:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Where exactly i need to put this code? I put it on top of the php and is not working.

I'm talking about the login when user don't have permission to see the the profile page

http://prntscr.com/9kjcvc

So i want when someone login from here to be redirect to his profile page in Easydiscuss not Joomla Profile page
·
Thursday, 31 December 2015 12:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Any Help with be much appreciate
·
Thursday, 31 December 2015 14:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

You can add the code on line 23 in that file. As for the form, I believe it is a joomla form which is not controlled by Easydiscuss.
·
Thursday, 31 December 2015 15:06
·
0 Likes
·
0 Votes
·
0 Comments
·
The code is not working. I'm still seeing the Members page (and i'm not login)
·
Thursday, 31 December 2015 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post