|
Post by SwordGrunt on Jan 4, 2008 1:04:08 GMT
A very simple code, it allows you to display an alert box to certain users. Place it in the Footer of the board you want the box displayed (an alert in every page is annoying ). The user can only close the alert. <script type="text/javascript"> if(pb_username.match == 'username'){ alert('Alert text here.') } </script>Change username to the username of the person you want the alert displayed to. If you want it to guests, edit it to Guest. If you want the alert displayed to more than one user, add ,'user2' before the ) (obviously, replacing user2 with the other username). I think you know what you should edit the green part to... anyways, just enter the alert text there. HTML will not work, it needs to be pure text.
|
|
|
Post by cody on Jan 4, 2008 3:34:48 GMT
Where do you put it?
|
|
|
Post by SwordGrunt on Jan 4, 2008 4:02:32 GMT
In the Footer of the board you want the alert to be displayed.
|
|