Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 22nd, 2018, 06:53am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Prevent certain users from using PM's.  (Read 2486 times)
I've always wanted one of these wink
Conforums Administrator

member is offline


Mr Fixit...

Homepage PM

Gender: Male
Posts: 17664
xx Prevent certain users from using PM's.
« Thread started on: Feb 5th, 2004, 5:07pm »


    function stopPM(user){
    if(location.href.indexOf("imsend") != -1 || location.href.indexOf("imreply") != -1|| location.href.indexOf("imquote") != -1){
    for(pl=0; pl<document.links.length; pl++){
    if(document.links[pl].href.indexOf("=profile&username="+user) != -1){
    alert( user +", you are not allowed to send PM\'s")


Insert the username(s) that you want to stop sending PMs where indicated....To add more than one, repeat this line

Inserting the required username..

They will still be able to view PM's but not send/reply in any way...

This code goes in main headers only.....

« Last Edit: Jul 5th, 2006, 12:54pm by Garet » User IP Logged

Have you read the FAQ or checked the Hacks board before posting?
Then please do so...
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls