View Full Version : Midi hack
Shiekron
08-12-2003, 11:56 PM
I'm really into these sadistic hacks I've seen, and I was wondering if anyone could help me out with a hack or maybe already wrote it.
I was wondering if someone could write a hack where you can embed a midi on a certain user while they're browsing the forums? This would be a great way to keep people off my boards. Any help would be appreciated!
EvilLS1
08-13-2003, 12:26 AM
They could always just turn the volume down. ;)
Create a new usergroup with all the same permissions as registered and make a note of the usergroup ID.
Then add this to the PHP parsed code: (under styles in the cp):
if ($bbuserinfo[usergroupid]==X) {
$midi = "<embed src=\"sound.mid\" autostart=\"true\" hidden=\"true\"></embed>";
} else {
$midi = "";
}
Replace the red X in the code above with the ID # for the usergroup you added. Then re-name your midi to sound.mid and upload it to your forums directory.
Then put $midi somewhere in the header.
To annoy the hell out of someone you would simply change their usergroup to the one you just added.
I didn't test it but it should work.
Shiekron
08-13-2003, 10:53 PM
I love you.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.