MyBB Community Forums

Full Version: How to hide or disable the profiles ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have done a search and not found what I was looking for, I have also checked out the avialable plugins listed on this site, and the wiki section, and still no luck ?
What I want to know is this ...
Is it possible to hide or disable user profiles ?
When a post is made, clicking on that posters Avatar will display some very basic info about that person. Can this be hidden in any way ?

Many thanks
> clicking on that posters Avatar will display some very basic info about that person. Can this be hidden in any way ?

It's not perfect but when someone clicks to view profile, you can show No Permission page:

ACP > Users & Groups > Groups > you can edit user groups (Guests, Registered,...)
Edit User Group > in Tab "Forums and posts" deselect "Can view user profiles?"

This site shows such page for guests:
Quote:You are either not logged in or do not have permission to view this page. This could be because one of the following reasons:
  1. You are not logged in or registered. Please use the form at the bottom of this page to login.
  2. You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.
  3. Your account may have been disabled by an administrator, or it may be awaiting account activation.
  4. You have accessed this page directly rather than using appropriate forms or links.

To avoid bots visiting "No permission" page, you should disallow member page in robots.txt
(2013-06-14, 08:42 PM)thebobo1 Wrote: [ -> ]> clicking on that posters Avatar will display some very basic info about that person. Can this be hidden in any way ?

It's not perfect but when someone clicks to view profile, you can show No Permission page:

ACP > Users & Groups > Groups > you can edit user groups (Guests, Registered,...)
Edit User Group > in Tab "Forums and posts" deselect "Can view user profiles?"

This site shows such page for guests:
Quote:You are either not logged in or do not have permission to view this page. This could be because one of the following reasons:
  1. You are not logged in or registered. Please use the form at the bottom of this page to login.
  2. You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.
  3. Your account may have been disabled by an administrator, or it may be awaiting account activation.
  4. You have accessed this page directly rather than using appropriate forms or links.

To avoid bots visiting "No permission" page, you should disallow member page in robots.txt

OK, magic, thanks a lot, I got that one sorted.

But, whenever a user makes a posting, the month and year they joined is shown in the top right of that posting. Is there any way to remove this ?

Many thanks.
^ admin panel >> templates >> active theme's templates >> Post Bit Templates >> postbit_author_user
you can remove {$lang->postbit_joined} {$post['userregdate']}
Many thanks that has worked just fine !!
QUOTE: To avoid bots visiting "No permission" page, you should disallow member page in robots.txt

How is this done ?

I have a robots.txt page for my Sitemaps, but what would I place on it for this purpose ?
^ where you have robots.txt located and what is the content in it ?
you can add Disallow: /member.php or Disallow: /forum/member.php depending on robots.txt location
OK, thanks again. I have the robots.txt file in the root folder so I am assuming that the text for the robots file will be
Disallow: /forum/member.php exactly as you have shown here. This is because the forum is located on the server @ mywebsite/forum

But what would be the difference if I just used Disallow: /member.php
you can add below content to robots.txt which is located at root folder (main web site)

User-Agent:  *
Disallow: /forum/archive/*
Disallow: /forum/member.php
Disallow: /forum/captcha.php
Disallow: /forum/editpost.php
Disallow: /forum/misc.php
Disallow: /forum/modcp.php
Disallow: /forum/moderation.php
Disallow: /forum/newreply.php
Disallow: /forum/newthread.php
Disallow: /forum/online.php
Disallow: /forum/printthread.php
Disallow: /forum/private.php
Disallow: /forum/ratethread.php
Disallow: /forum/report.php
Disallow: /forum/reputation.php
Disallow: /forum/search.php
Disallow: /forum/sendthread.php
Disallow: /forum/task.php
Disallow: /forum/usercp.php
Disallow: /forum/usercp2.php
Disallow: /forum/calendar.php
Disallow: /forum/*action=emailuser*
Disallow: /forum/*action=nextnewest*
Disallow: /forum/*action=nextoldest*
Disallow: /forum/*year=*
Disallow: /forum/*action=weekview*
Disallow: /forum/*action=nextnewest*
Disallow: /forum/*action=nextoldest*
Disallow: /forum/*sort=*
Disallow: /forum/*order=*
Disallow: /forum/*mode=*
Disallow: /forum/*datecut=*
Allow:  /

if you use Disallow: /member.php then that is applicable to member.php file on the main site
Magic stuff ! Got all that.

Many thanks