Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Disable Send PM button when user is not accepting PM's Details »
Disable Send PM button when user is not accepting PM's
Mod Version: 1.00, by Protoman (Member) Protoman is offline
Developer Last Online: May 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 2
Released: 19 Jul 2005 Last Update: Never Downloads: 1
Not Supported Code Changes  

Simple mod I thought I'd share. :bunny:
This removes the line that says 'Send user a PM' when viewing a profile if the user has chosen to not receive PM's

In private.php

Find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below Add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Upload the new private.php and you're finished! ^_^

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pmdisabled.jpg
Views:	38
Size:	34.5 KB
ID:	32199   Click image for larger version

Name:	pmenabled.jpg
Views:	34
Size:	45.9 KB
ID:	32200  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 20 Jul 2005, 12:14
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
corollasbest,

What you posted doesn't seem to work correctly.
First off, $bbuserinfo['receivepm'] will check if the viewing user, and not the user being viewed has receivepm set to on/off.
Second, you're checking in the private.php, so how should that be able to remove a link on a different page?
Thirdly, just posting exit; will display a blank page. You should try to post an error message or so. A blank page will leave a lot of your users clueless...
__________________
Reply With Quote
  #3  
Old 20 Jul 2005, 16:18
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
works for me. you can move it to betas if you want.
Reply With Quote
  #4  
Old 20 Jul 2005, 17:02
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
works great for me on 3.0.7 too! Thanks, nice and simple little mod that proves useful
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:03.

Layout Options | Width: Wide Color: