Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2006
Posts: 195
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 195
Likes: 1
How can I disable the viewing of profiles and the ability to view profiles please?

I don't mind if administrators can view profiles but I want to deny all registered, non registered and moderators from viewing profiles and sending private messages.

Thankyou!

Joined: Jul 2006
Posts: 51
journeyman
journeyman
Joined: Jul 2006
Posts: 51
Thats one point of my wishlist smile

I think that many features that were supported by ubb.c are a must-have for ubb.t. But, well, that's just my opinion wink

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
In scripts/showprofile.inc.php:
Find:
Code
		"admin_only" => 0,
		"admin_or_mod" => 0,

Replace With:
Code
		"admin_only" => 1,
		"admin_or_mod" => 1,

That should restrict "view profiles" to admin's only.

You can do the same in scripts/sendprivate.inc.php to restrict usage of sending pm's.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 51
journeyman
journeyman
Joined: Jul 2006
Posts: 51
Cool, it works, thanks! smile

But i think it would be better to have a select/deselect function in the cp instead the "modify the file" option

Joined: Jun 2006
Posts: 16,533
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,533
Likes: 150
Such a page would have too many ticks imo... Theres what, 113 pages, thats a lot of possible ticks wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 298 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)