vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Code not working anymore - View Topic
Topic Rating: *****
Printable View
This topic was locked 21st Mar 08 at 11:41pm by Michael
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
[F] Code not working anymore (21st Mar 08 at 10:46pm UTC)
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:
 
  1. <script>
  2. function pm_user(member, message){
  3. if(location.href.match(/\/pm_send\//) && location.href.match(member)){
  4. alert(message);
  5. }
  6. }
  7.  
  8. 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');
  9. 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.');
  10. 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.');
  11. pm_user('lordvader','Please do not pm me regarding support issues. All support issues go in the support board./n Thanks.');
  12. </script>
 

Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Code not working anymore (21st Mar 08 at 11:06pm UTC)
<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.
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Code not working anymore (21st Mar 08 at 11:29pm UTC)
Nope, still nuttin.

Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Code not working anymore (21st Mar 08 at 11:32pm UTC)
<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.
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Code not working anymore (21st Mar 08 at 11:37pm UTC)
It works.

Thanks Wrighty

Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Code not working anymore (21st Mar 08 at 11:38pm UTC)
No problem! {Smile}
 Printable View

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