
05-07-2006, 01:20 PM
|
 |
|
|
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by RMS-Chef
This might be worth mentioning for others who run into the same problem.
I have vBAdvanced as my index.php and FORUMHOME is forum.php. The player popups were failing and simply loading my index.php home page into the small popup generated. Took me a while to figure it out but the forumhome_shoutcast template at the top has index.php hardcoded into the javascript popup code here:
Code:
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
I had to edit the index.php in each instance to forum.php in order to get the popup media players to function properly.
EDIT:
Perhaps replace the "index.php" with "$vboptions[forumhome].php" in the three locations in that portion of the template on your next update release? That is what I just did and it seems to work fine. Thanks a bunch for a great hack sir!
|
Good idea
|