Quote:
Originally Posted by pumarjr
i installed this mod, everything works flawlessly, thank you, you should have a donate button!
PS: is there a way when viewing Music/Videos to force the media player local, instead of opening in a new window, so that when the file is played it is played in the vb page?
|
This is possible in principle, but I think it will need more work so that things behave sensibly (i.e. that you can get back to your forums, etc).
The trivial change is to edit includes/local_links_include.php. Find function get_linkslistbit, about 140 lines later, you will find these lines:
PHP Code:
if (isset($icon_cache[$urlType])) {
if ($is_musicbox and $links_permissions["can_play_musicbox"]) {
$linktypebit .= '<a href="'.$LINKS_SCRIPT.'.php?action=play&id='.$linkid.'" target="player" onclick="ldmpopup(this.href);return false;">';
and kill the sequence
PHP Code:
target="player" onclick="ldmpopup(this.href);return false;"
I'll give this some thought to see if there is a better approach.