The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
anyone have any ideas?
--------------- Added [DATE]1266704962[/DATE] at [TIME]1266704962[/TIME] --------------- nevermind, I was able to accomplish this with a custom plugin. Here's my code if anyone is wondering: Hook: showthread_complete php: Code:
if ($vbulletin->userinfo['(Custom profile field number)'] == "No"){ $failcode = '<object type="application/x-shockwave-flash" data="/misc/audio-player/player.swf" id="audioplayer" height="24" width="290"> <param name="movie" value="/misc/audio-player/player.swf"> <param name="FlashVars" value="playerID=audioplayer&soundFile=(url of mp3)"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="wmode" value="transparent"> </object>'; } else { $failcode = '<object type="application/x-shockwave-flash" data="/misc/audio-player/player.swf" id="audioplayer" height="24" width="290"> <param name="movie" value="/misc/audio-player/player.swf"> <param name="FlashVars" value="autostart=yes&playerID=audioplayer&soundFile=(url of mp3)"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="wmode" value="transparent"> </object>'; }; $postbits = str_replace("[fail]", $failcode, $postbits); $postbits = str_replace("[FAIL]", $failcode, $postbits); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|