vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Alert When PMing Staff - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Alert When PMing Staff (15th Mar 08 at 10:24pm UTC)
This will popup a message when someone tries to PM a member of staff.

<script>
function pm_user(member, message){
    if(location.href.match(/\/pm_send\//) && location.href.match(member)){
        alert(message);
    }
}

pm_user('admin', 'Please Do Not PM the Admin!');
pm_user('god','I really am not God!');
</script>


Main Header

This line: pm_user('god','I really am not God!');
should be repeated.
replace 'god' with the name of the member/staff member and then the other part: 'I really am not God!' with the message you want to display.
 Printable View

All times are GMT+0 :: The current time is 3:48pm
Page generated in 0.0561 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums