Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
XEON Mp3 Player in vBadvanced Center Block Details »»
XEON Mp3 Player in vBadvanced Center Block
Version: 1.00, by syrus.xl syrus.xl is offline
Developer Last Online: Apr 2016 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.2 Rating:
Released: 10-30-2006 Last Update: Never Installs: 43
Template Edits
 
No support by the author.

Adding the XEON Mp3 Player to vBadvanced CMPS


Center Block Only CMPS Installation
Coded by Syrus XL Media
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 -->
Use Module Shell Template: Yes

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-31-2006, 05:46 PM
FFW's Avatar
FFW FFW is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work with or without a link in the navbar. I've tried that.
Reply With Quote
  #13  
Old 11-01-2006, 12:53 AM
ed146 ed146 is offline
 
Join Date: Oct 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
These instructions assume you have installed the vBa CMPS in the Forum root
Apologize in advance for asking a noob question but where do you download vba cmps? or does it come with 3.6 installation?
Reply With Quote
  #14  
Old 11-01-2006, 01:01 AM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go to www.vbadvanced.com site and you`ll find the software there
Reply With Quote
  #15  
Old 11-01-2006, 01:10 AM
PtP PtP is offline
 
Join Date: May 2004
Location: Gold Coast, Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine also does not show the mp3's on the portal but fine with original popup.
Reply With Quote
  #16  
Old 11-01-2006, 06:41 AM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FFW
This doesn't work for me. I get "null" on playlists. It doesn't find the MP3 files for some reason. Was/is working fine in using the original pop-up.
Hi FFW,

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 -->
Reply With Quote
  #17  
Old 11-01-2006, 06:45 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 11-01-2006, 03:42 PM
FFW's Avatar
FFW FFW is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by syrus.xl
Hi FFW,

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.
Hi syrus, I had already done that in my code -- my forum root is "forums/". Also tried an absolute path but still nothing.

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.
Reply With Quote
  #19  
Old 11-02-2006, 12:21 AM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FFW
Hi syrus, I had already done that in my code -- my forum root is "forums/". Also tried an absolute path but still nothing.

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.
I looked at one install this evening, where the vBa CMPS was installed outside the forum root, it is now working.

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.
Reply With Quote
  #20  
Old 11-02-2006, 08:46 PM
FFW's Avatar
FFW FFW is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 11-02-2006, 08:57 PM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FFW
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.
If you PM me your URL... I'll take a look tomorrow morning, getting pretty late here in the UK. Time I had a break.

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09319 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete