The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Private Message Pop Up
How do I specify a full URL to the pop up page?
I have my main site in the default folder and the boards in a folder called board/ But if your at the frontpage and get a message the pop up javascript looks for the privatemessage script in the root folder and not in the board/ folder can i set this in the admin or do I have to hard code it. Cheers |
#2
|
||||
|
||||
I'm guessing you have either vBHome(lite)3.8 or vBindex2.1 installed
If it is, edit the head_newpm template... In it there are 2 references to private.php - Add $bburl/ in front of them... If you have $bburl defined in your vBulletin Options (which you should), then everything will be fine Satan |
#3
|
|||
|
|||
I don't have either installed I basically created my own index page using queries etc.
I just cant find where the PM javascript popup is so I want to refrence it by fulld domain. http://www.picturepoll.com my site http://www.picturepoll.com/board/ |
#4
|
||||
|
||||
It is in the head_newpm template
Find: Code:
if (second_box==true) { window.open('private.php?s=$session[sessionhash]','pmnew','width=600,height=500,menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=yes,top=50,left=50'); Code:
if (second_box==true) { window.open('$bburl/private.php?s=$session[sessionhash]','pmnew','width=600,height=500,menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=yes,top=50,left=50'); Code:
} else { window.location="private.php?s=$session[sessionhash]"; Code:
} else { window.location="$bburl/private.php?s=$session[sessionhash]"; Satan |
#5
|
|||
|
|||
worked a treat
thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|