By Robgunner on Saturday, 16 September 2017
Posted in Technical Issues
Likes 0
Views 627
Votes 0
Hi

Sorry to raise a ticket at the weekend and please get to when you can.

If you see in the screenshots that on a pc/laptop you can see the profile bar of non friends to add etc, but on mobile it's not their and you can't add anyone.
I have had to put the permission onto registered users to get round this but really want the permission on friends only can view my profile

Kind Regards
Rob
Hi there,

It seems that, it is coded that those mini header will be hidden if those private profiles were viewed on mobile currently.

Thanks for your understanding
·
Saturday, 16 September 2017 16:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul

Thanks for your reply and would you know how to resolve this, theme or permissions?

Thanks
Rob
·
Saturday, 16 September 2017 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

Hm, we actually hid the mini header on mobile devices because it is taking up quite a bit of space but here's what you could do, edit the file /administrator/components/com_easysocial/includes/template/helpers/html.php and remove the block of codes below at line 150

[gist]
// We should hide mini header on mobile devices #525
if ($theme->isMobile()) {
return;
}
[/gist]
·
Saturday, 16 September 2017 19:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

First I appreciate your time at the weekend, It worked great but the text is slightly off, is that the mobile size?

Thanks
Rob
·
Saturday, 16 September 2017 20:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah yes, that was the problem because if we make it fall into the next line, it would look really awkward. I would strongly suggest that you hide these items on the mobile device,

[gist]
#es .es-mini-header__ft nav {
display: none;
}
[/gist]

This way, at least the user's details would be visible.
·
Saturday, 16 September 2017 23:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Thank you for your reply and sorry for the late response, was my birthday yesterday so out with family.
Okay what line does that need to go on, and will this hide the user nav bar again?
Is there any theme that works on the mobile with the user bar visible but the layout is all inline?

Kind Regards
Rob
·
Sunday, 17 September 2017 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

The css code which I have provided would only hide the footer line. By the way, there's really no template that could fix this because there are just too many links in the footer.

You could try to add the codes into /templates/protostar/css/user.css
·
Sunday, 17 September 2017 15:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

I will test tomorrow and let you know and thanks for your time and response.

Kind Regards
Rob
·
Sunday, 17 September 2017 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Rob
·
Sunday, 17 September 2017 17:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

I think I will hide and work on this when we have 2.1 release, have a great weekend.

Thanks
Rob
·
Saturday, 30 September 2017 14:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Thanks for the wishes, and have a great weekend too

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Saturday, 30 September 2017 14:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post