The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
XEON Mp3 Player in vBadvanced Center Block Details »» | |||||||||||||||||||||||||||
XEON Mp3 Player in vBadvanced Center Block
Developer Last Online: Apr 2016
Adding the XEON Mp3 Player to vBadvanced CMPS Coded by Syrus XL MediaCenter Block Only CMPS Installation Digital Port UK Addon for the XEON Mp3 Player (vBulletin Integration version) These instructions are based on vBulletin 3.6.2 and using CMPS 2.2.x The template code uses the flashobject.js to call the xeon flash player, this fixes the issue with view the player in Internet Explorer 6.0 and above. There is some text in the code ?Warning!!! To view this XEON Player please enable JavaScript and Flash! ?, this will only display if a person views your site with javascript and flash disabled. You can change this line of text to what you would like to display to your visitors. The flashobject.js file will detect if the person has javascript and flash enabled, and will either display the text or the Xeon player automatically. [high]Note:[/high] These instructions assume you have installed the vBa CMPS in the Forum root. If you have installed outside the forum root, then the calls to the flashobject.js and the xeon.swf file will need updated relative paths. [high]Color Matching the background:[/high] You will see in the code a HEX value '#666666' this parameter determines the background color of the player. Change this to another value, if you require an alternative color background. Ideal program for color capture in HEX and RGB values is Color Cop (do a search on Google), this is a free little utility. [high]Creating the CMPS Block[/high] Login in to AdminCP -> vBa CMPS -> Add Module Select Module Type: ?Template? [high]Template details:[/high] Module Title: XEON Player (Change this if required) Column: Left or Right (Your preference) Display Order: (Your preference) Active: Yes Update All Pages: (Your preference) Template to Include: adv_portal_vbxeonplayer Style: (select your style you wish to add this module to) Template Content: Copy and paste all of the following code: Code:
<!-- Start XEON Player --> <tr> <script type="text/javascript" src="flashobject.js"></script> </tr> </thead> <tr> <td class="$getbgrow"> <!-- js flashobject --> <div align="center" width="100%" id="xeon_player"> Warning!!! To view this vbMp3 Player please enable JavaScript and Flash! </div> <script type="text/javascript"> var fo = new FlashObject("xeon_mp3_beta.swf", "xeon_player", "450", "400", "8,0,0,0", "#666666"); fo.addParam("quality", "high"); fo.write("xeon_player"); </script> <!-- js flashobject --> </td> </tr> <!-- End XEON Player --> Set Usergroups as you wish. Click Save and you are finished. If you wish to be kept up-to-date with new enhancements to this modification please click Install. This mod is supported only at vbulletin.org CMPS DEMO: No longer available for this modification Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
||||
|
||||
Doesn't work with or without a link in the navbar. I've tried that.
|
#13
|
|||
|
|||
Quote:
|
#14
|
|||
|
|||
go to www.vbadvanced.com site and you`ll find the software there
|
#15
|
|||
|
|||
Mine also does not show the mp3's on the portal but fine with original popup.
|
#16
|
||||
|
||||
Quote:
A NULL value in the player indicates that the player is not connecting to the database. Make sure you change the 'forum_root' in the code to your own forum directory name. If the code below doesn't work then I have another idea. [high]Try this code:[/high] Code:
<!-- Start XEON Player --> <tr> <script type="text/javascript" src="/forum_root/flashobject.js"></script> </tr> </thead> <tr> <td class="$getbgrow"> <!-- js flashobject --> <div align="center" width="100%" id="xeon_player"> Warning!!! To view this vbMp3 Player please enable JavaScript and Flash! </div> <script type="text/javascript"> var fo = new FlashObject("/forum_root/xeon_mp3_beta.swf", "xeon_player", "450", "400", "8,0,0,0", "#f7f8fa"); fo.addParam("quality", "high"); fo.write("xeon_player"); </script> <!-- js flashobject --> </td> </tr> <!-- End XEON Player --> |
#17
|
|||
|
|||
I think there is some kind of conflict with both versions installed. Both, the popup in navbar and the vbadvanced returned NULL value. When I disabled one of them, the other worked, and vice versa.
|
#18
|
||||
|
||||
Quote:
Lionel, I have disabled the original popup and tested but its still the same. It would be good to know whether the people here who have it working have their CMPS in the same directory as their forums. I suspect this is the case and why a couple of us who have their forums in a sub-directory are having problems. |
#19
|
||||
|
||||
Quote:
The actual launch link in the navbar for the main player was changed to a full url. It was showing a PHP error. Entering the full url inside the javascript popup code seemed to have cured the problem. |
#20
|
||||
|
||||
Hmm, I can't seem to get this to work in CMPS no matter what I do. I have tried placing absolute paths to all the files but alas I still get the null error.
|
#21
|
||||
|
||||
Quote:
It shouldn't cause problems, but sometimes its just simple things that are overlooked in most cases. But I will check your install for you. A 'null' or 'NaN' normally derives if the player is not reading data correctly from the database. If it's a 'NaN' error then it could be a mistype on track adding. A 'NULL' or undefined is usually a database read problem. Other errors occur from the way other addons have been installed, causing conflicts. One of which I had to fix with the flashobject.js file recently, that didn't like one of the vBulletin .js files. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|