Previous Thread
Next Thread
Print Thread
Hop To
#227695 07/17/2009 4:14 AM
Joined: Jan 2009
Posts: 22
W
stranger
stranger
W Offline
Joined: Jan 2009
Posts: 22
Hi

when viewing messages, users can send a PM to someone else by clicking on the username to the left of the post and then clicking on the "Send a PM" in the dropdown that appears.

I would like to get rid of that "Send a PM" link.

Can anyone tell me how I would do that?

Thank you


Currently the dropdown looks like:

View Profile
Edit User
Send a PM
Add to Watched Users
View Posts

Want to delete the Send a PM option

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This is actually in the scripts/showflat.inc.php script. About line 985 is where you'll see the line of code that has the SEND_PM link. You can just comment that out.

Joined: Jan 2009
Posts: 22
W
stranger
stranger
W Offline
Joined: Jan 2009
Posts: 22
Hi there

Thank you. I have looked but I don't seem to be able to find that. Can you elaborate a bit on what the actual code is?

Thanks

Joined: Jan 2009
Posts: 22
W
stranger
stranger
W Offline
Joined: Jan 2009
Posts: 22
OK OK got it sorted. Thanks smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 765 guests, and 175 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 20240506)