![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Disable Send PM button when user is not accepting PM's
![]() Developer Last Online: May 2011 ![]() ![]() ![]() This modification is in the archives.
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
Below Add
Upload the new private.php and you're finished! ^_^ Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
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...
__________________
![]() No members have liked this post.
|
#3
|
||||
|
||||
works for me. you can move it to betas if you want.
No members have liked this post.
|
#4
|
||||
|
||||
works great for me on 3.0.7 too! Thanks, nice and simple little mod that proves useful
![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:30.