Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2006
Posts: 191
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 191
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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, Scouters World
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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, Scouters World
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Nightcrawler), 963 guests, and 210 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)