The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Well I have it down to this now. I found the variables are all in global.php.
Code:
if ($shownewpm && $bbuserinfo['userid'] == 1) { $pmpopupurl = "http://www.veteransresources.org/forums/private.php?$session[sessionurl_js]do=showpm&pmid=$newpm[pmid]"; echo " <script type=\"text/javascript\">\n"; echo " <!--\n"; echo " // script to show new private message popup\n\n"; echo " if (confirm(\"You have a new private message.\n\nSender: $newpm[username]\nTitle: '$newpm[title]'\n\nClick OK to view it, or cancel to hide this prompt.\"))\n"; echo " {\n"; echo " // Output when OK is clicked\n"; echo " if (confirm(\"Open the message in a new window?\n\n(Press cancel to open in the current window.)\"))\n"; echo " {\n"; echo " var winobj = window.open(\"$pmpopupurl\", \"pmnew\", \"menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=yes,top=50,left=50\");\n"; echo " if (winobj == null)\n"; echo " {\n"; echo " alert(\"Unable to open a new browser window,\n This might be due to a 'popup blocker'\");\n"; echo " }\n"; echo " }\n"; echo " else\n"; echo " {\n"; echo " window.location = \"$pmpopupurl\";\n"; echo " }\n"; echo " }\n\n"; echo " // end pm popup script\n"; echo " //-->\n"; echo " </script>\n"; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|