1
mike67
userinfo.php
  • 2014/1/27 8:16

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


hello.
I have a small problem. (Version 2.5.6)
I have a website that is accessible only to registered users. (This is an intranet for a company)
that's mean that without login there is no news, empty site.
My problem is that when you access the site without being connected via userinfo.php? uid = 27
like the exemple here on xoops
https://xoops.org/modules/profile/userinfo.php?uid=18803
the site displays the real name of the user in question.
and this is not good for the use that I did.

Someone has an idea, how to do that it is nothing to display, when not connected.

In advance thank you
mike67

2
Tampeko
Re: userinfo.php
  • 2014/1/27 9:37

  • Tampeko

  • Just popping in

  • Posts: 13

  • Since: 2014/1/14


I'm not sure if is that what you mean but if so, set the right permissions in userprofile.
Admin - Userprofile - Permissions - choose: Profile accessible by these groups

3
mike67
Re: userinfo.php
  • 2014/1/27 11:35

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


Quote:

Tampeko wrote:
I'm not sure if is that what you mean but if so, set the right permissions in userprofile.
Admin - Userprofile - Permissions - choose: Profile accessible by these groups

Sorry but as anonynous all input are uncheck.
I found a solution !! in "system_userinfo.html" i put all the code in one test
<{if $user_ownpage || $xoops_isadmin}>
system_userinfo original code
<{/if}>

i think this could be an option in the core, that Anonymous could not see information about registred users.

Mike



4
mike67
Re: userinfo.php
  • 2014/1/28 9:11

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


sorry my fault.
since i came from xoops 2.0.16 i did not see this module. (userprofile).
2.5.6 is just amazing, i discover xoops for the second time.
Thanks.

Mike

Login

Who's Online

186 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits