1

Topic: Disallow users to view The Profile!

Hi,
i was just wondering if is there any way to do that a user could not be able to view a amembers profile until the user became a registerd user?
Thanks alot.

2

Re: Disallow users to view The Profile!

you can go into the user group settings and change the option for allowing guests to search userlist to "No".
if you dont want users to see forum at all until they r registered you can also do this from the user group section in the guest option like you do the search user list option.

3

Re: Disallow users to view The Profile!

Mark wrote:

you can go into the user group settings and change the option for allowing guests to search userlist to "No".

If i do this, than guests can still view the profile.php

Does anybody have a clue how I can make profile.php not visible for guests?

4 (edited by Jarkko 2006-11-16 16:01)

Re: Disallow users to view The Profile!

An easy hack would be to add something like this at around line 39 in profile.php:

if ($pun_user['is_guest'])
    message($lang_common['No permission']);

Should show a "permission denied" message if a guest attempts to view it.