Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #2  
Old 10-30-2006, 10:02 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

*Reserved*
Reply With Quote
  #3  
Old 10-30-2006, 11:44 PM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first post .... *installed*
Reply With Quote
  #4  
Old 10-31-2006, 06:54 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woot! now I can upgrade! thanks and great job...will let you know how it goes. ^^

<< install
Reply With Quote
  #5  
Old 10-31-2006, 07:13 AM
natralis natralis is offline
 
Join Date: Mar 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, great Job.
Reply With Quote
  #6  
Old 10-31-2006, 12:14 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the release!
Reply With Quote
  #7  
Old 10-31-2006, 01:03 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks A Million
Reply With Quote
  #8  
Old 10-31-2006, 05:03 PM
FFW's Avatar
FFW FFW is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.



My template code:

HTML Code:
<!-- Start XEON Player -->
<tr>
<script type="text/javascript" src="forums/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("forums/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
  #9  
Old 10-31-2006, 05:11 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working fine wit me
Reply With Quote
  #10  
Old 10-31-2006, 05:33 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will not work if you also have a link in the navbar. This is why you are getting a Null message
Reply With Quote
Reply

Thread Tools

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 12:00 AM.


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.12675 seconds
  • Memory Usage 2,297KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (1)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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