Version: 1.00, by Murphinator
Developer Last Online: Oct 2005
Version: 3.0.5
Rating:
Released: 01-18-2005
Last Update: Never
Installs: 2
Is in Beta Stage
No support by the author.
well this is my first modification so exciting :P
________________________________________________
what this modification will do is it will let you see who is listening to the jukebox in the whos online page, the jukebox this works for is here
now onto the hack, the instructions are below and in a txt file also.
There is one file to edit, and two edits total
There is one phrase to make.
_
|1| In ROOT/includes/functions_online.php find:
Code:
case 'online':
$userinfo['action'] = $vbphrase['viewing_whos_online'];
break;
under that add
Code:
case 'jukebox':
$userinfo['action'] = $vbphrase['jukebox'];
break;
Find:
Code:
case 'online.php':
$userinfo['activity'] = 'online';
break;
under that add
Code:
case 'vb_jukebox.php':
$userinfo['activity'] = 'jukebox';
break;
__________________________________
alright now go to your FORUMS-->ACP-->LANGUAGES & PHRASES--> PHRASE MANAGER
at the bottom of the page there is a button labled "add new phrase"
click it and follow these steps:
1. enter the varname as follows: "jukebox"
2. Enter the text as "listening to the jukebox"
3. Click save.
Hopefully youll understand this because i tried to make it as clear as possible!
Enjoy, please tell me how i did, it worked for me on 3.05, again this is my first modification so tell me what i could do better!
Click , please and thank you!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Listening to the<br><a href="vb_jukebox.php">Jukebox</a>
excuse me- I am an idiot- I pasted the wrong code- what I meant to post was a popup window:
try this:
Code:
<script>
function doPopUp(){
doPopUpWindow = window.open("vb_jukebox.php","jukepop","location=yes,directories=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,left=100,top=100,screenX=100,screenY=100");
}
</script>
listening to the Jukebox<br><a href="javascript:doPopUp()">JUKEBOX</a>
or for popping up the window on mouseover:
Code:
<script>
function doPopUp(){
doPopUpWindow = window.open("vb_jukebox.php","jukepop","");
}
</script>
listening to the Jukebox<br><a href="#" onmouseover="doPopUp()">JUKEBOX</a>
<script>
var popunder="vb_jukebox.php"
var winfeatures="width=800,height=510,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=1"
var once_per_session=0
function loadpopunder(){
win2=window.open(popunder,"",winfeatures)
win2.blur()
window.focus()
}
if (once_per_session==0)
loadpopunder()
else
loadornot()
</script>
listening to the Jukebox<br>
<a href="javascript:loadpopunder()">Jukebox</a>