I'm using the code so when a member pms a staff they get an alert box, and now it's not working. I tested it using the test account.
Code:
- <script>
- function pm_user(member, message){
- if(location.href.match(/\/pm_send\//) && location.href.match(member)){
- alert(message);
- }
- }
- pm_user('admin', As the main Admin, I get very busy, so please only PM me if theres a problem with a member or of something eles of urgency, but make sure you post all site problems in Support.. /n DLG');
- pm_user('masonfett',Please do not pm me a graphic request, all request go in the requesting area. Also, do not pme me asking if your request is done, when it's done it'll be posted./n Thanks.');
- pm_user('shadowclaw','Please do not pm me regarding support issues or to request a graphic. All graphic and support issues/request go in there respective area./n Thanks.');
- pm_user('lordvader','Please do not pm me regarding support issues. All support issues go in the support board./n Thanks.');
- </script>
<script>
function pm_user(member, message){
if(location.href.match(/\/pm_send\//) && location.href.match(member)){
alert(message);
}
}
pm_user('admin', 'As the main Admin, I get very busy, so please only PM me if theres a problem with a member or of something eles of urgency, but make sure you post all site problems in Support.. /n DLG');
pm_user('masonfett','Please do not pm me a graphic request, all request go in the requesting area. Also, do not pme me asking if your request is done, when it's done it\'ll be posted./n Thanks.');
pm_user('shadowclaw','Please do not pm me regarding support issues or to request a graphic. All graphic and support issues/request go in there respective area./n Thanks.');
pm_user('lordvader','Please do not pm me regarding support issues. All support issues go in the support board./n Thanks.');
</script>
Try that.
Nope, still nuttin.
<script>
function pm_user(member, message){
if(location.href.match(/\/pm_send\//) && location.href.match(member)){
alert(message);
}
}
pm_user('admin', 'As the main Admin, I get very busy, so please only PM me if theres a problem with a member or of something eles of urgency, but make sure you post all site problems in Support.. /n DLG');
pm_user('masonfett','Please do not pm me a graphic request, all request go in the requesting area. Also, do not pme me asking if your request is done, when it\'s done it\'ll be posted./n Thanks.');
pm_user('shadowclaw','Please do not pm me regarding support issues or to request a graphic. All graphic and support issues/request go in there respective area./n Thanks.');
pm_user('lordvader','Please do not pm me regarding support issues. All support issues go in the support board./n Thanks.');
</script>
Try that.
It works.
Thanks Wrighty
No problem!![]()