Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Profiles private?

Asked Modified Viewed 2,425 times
K
Kymmy
K
Kymmy 10
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

Hi everyone,

I run a support site that has a private memebership but also has public news.

One thing I have noticed is that any member posting/commenting on the news is really publishing direct link to thier profile.

Is there any way of restricting profile access to members only or is it possible to remove the hyperlink from members names to thier profiles.

Thanks Kymmy B)
0 replies

7 posts

W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Don't know if this is the smartest way to do it, but it seems to work.

In \profile.php find:

if (!isset($lookup) || !isNum($lookup)) fallback("index.php");


Replace with:

if (!isset($lookup) || !isNum($lookup) || !(iMEMBER)) fallback("index.php");
0 replies
K
Kymmy
K
Kymmy 10
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

@WEC.

Perfect. Works a treat.

I did try removing the hyperlinks from the news/comments files which pointed to the profiles but I couldn;t find the link which seems to be embedded in the news article.

Thanks :)

Kymmy B)
0 replies
S
Sbhedges
S
  • Member, joined since
  • Contributed 145 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Quote

Kymmy wrote:
@WEC.

Perfect. Works a treat.

I did try removing the hyperlinks from the news/comments files which pointed to the profiles but I couldn;t find the link which seems to be embedded in the news article.

Thanks :)

Kymmy B)

You mean when it comes up in their profile with : Comments Posted etc. Edit the profile for that just remove the field then the other pages will do the rest.
0 replies
F
f135ta
F
f135ta 10
Paid tha cost to be da bo$$

www.nutsaboutmotors.com/../../images/toplogo.jpg

Free Online Car Auctions


www.360giveaway.co.uk/../../images/360userbar.gif
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
answered
Junior Member

You can restrict the profiles so that each member can only view THEIR OWN profile too...

0 replies
K
Kymmy
K
Kymmy 10
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Sbhedges wrote:
You mean when it comes up in their profile with : Comments Posted etc. Edit the profile for that just remove the field then the other pages will do the rest.


Nope,

When I removed the HREF hyperlinks in News/comments files the only link not removed was the "posted by ******" link. I think it's worked into the news article itself as I couldn;t find the link anywhere in the normal PHP files. When I have time I'll look in the DB itself to see if I'm right.

Kymmy B)
0 replies
K
Kymmy
K
Kymmy 10
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

f135ta wrote:
You can restrict the profiles so that each member can only view THEIR OWN profile too...



HI,

Although it is a private support group I'm happy for members to know each other...otherwise I would have totally removed profile.php.

Mind you if you removed the ability to see each others profiles then why have profile.php in the first place :p

Kymmy B)
0 replies
F
f135ta
F
f135ta 10
Paid tha cost to be da bo$$

www.nutsaboutmotors.com/../../images/toplogo.jpg

Free Online Car Auctions


www.360giveaway.co.uk/../../images/360userbar.gif
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
answered
Junior Member

Yeah true... It was just a thought incase you didn't want each other viewing each others profiles.. but you still being able to collect info about your users..
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet