|
Post by Nightwalker on Aug 16, 2010 15:21:55 GMT -6
I know this code is already out there but i tried it a little different. Description: This code makes it so that when you click the PM link in someones profile you will get a popup message making sure you want to PM. Global Footer:<script type="text/javascript"> /* Alert before PMing by Nightwalker Please do not edit or repost without permission for support go to joemaggio.proboards.com */ if(/^(search2|display|viewprofile|members)$/.test(pb_action)) { // Edit Here var nopming=[ ["admin", "Please do not message the admin for support"], ["username", "message"], ["username", "message"] //No comma on last line ]; // No More Editing var i = document.links; for(k=0;k<nopming.length;k++){ for(var x = 0; x < i.length; x ++){ if(i[x].href.indexOf("action=pmsend&to=" + nopming[k][0] ) > -1) i[x].onclick = new Function("return confirm('" + nopming[k][1] + "')"); } } } </script>
|
|
|
Post by Nightwalker on Aug 17, 2010 14:54:13 GMT -6
I am not forcing anything. Alot of the coders put their website in their code. I think it is helpful sometimes...
|
|
Ajay
Daywalker
[M:0]
Posts: 31
|
Post by Ajay on Aug 19, 2010 20:02:46 GMT -6
It's such a simple code yet so much advertising on it.
|
|
|
Post by Nightwalker on Aug 19, 2010 20:49:34 GMT -6
All code headers have around three lines. The first line is the name of the code. The second is the notice. The third is the forums to best get support at. Most of the codes do it and i don't see why i shouldn't.
|
|
Ajay
Daywalker
[M:0]
Posts: 31
|
Post by Ajay on Aug 20, 2010 11:18:03 GMT -6
Well if it's a simple script, you could go anywhere for Support. It wouldn't be much of a hassle.
|
|
|
Post by Nightwalker on Aug 20, 2010 12:17:15 GMT -6
Yes i know but i still don't see the problem in having the link in the code.
|
|
Ajay
Daywalker
[M:0]
Posts: 31
|
Post by Ajay on Aug 22, 2010 16:49:28 GMT -6
Yes i know but i still don't see the problem in having the link in the code. Also btw, you spelt Description wrong in your first post.
|
|
|
Post by Nightwalker on Aug 22, 2010 17:08:22 GMT -6
Thanks for pointing that out.
|
|
|
Post by Ooop on Sept 30, 2010 20:34:40 GMT -6
Nice code Night, thanks for posting, it might come in handy for me It's his code, he can put whatever he wants :3
|
|
luke
Daywalker
[M:0]
Posts: 22
|
Post by luke on Nov 1, 2010 23:40:25 GMT -6
If he made it he can do ANYTHING to his code, he can post a link to his forum if he wants I don't see any rule saying you can't
|
|