1
baraxas
XOOPS 2.0.10 Beta 2 who's online block bug + fix
  • 2005/3/28 1:10

  • baraxas

  • Just popping in

  • Posts: 12

  • Since: 2005/3/28


Clicking on "more" to see a list of online users open the popup but in the parent page appears the message:

[object Window]

and the url point to

javascript:openWithSelfMain('http://localhost/~franz/xoops-2.0.9.2/html/misc.php?action=showpopups&type=online','Online',420,350);


both with fiefox and IE.
Solution: modify the file xoops.js in include dir, at line 32 substitute this:

function openWithSelfMain(url,name,width,height) {

    var 
options "width=" width ",height=" height ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no";



    var 
new_window window.open(urlnameoptions);

    
window.self.name "main";

    
new_window.focus();

    return 
new_window;

}


with this:

function openWithSelfMain(url,name,width,height) {

    var 
options ",width=" width ",height=" height ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no";



    
new_window window.open(urlnameoptions);

    
window.self.name "main";

    
new_window.focus();

}

Login

Who's Online

98 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 98


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits