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
  #32  
Old 12-21-2006, 02:12 AM
Stavs16 Stavs16 is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey syrus im getting this null problem too buddy, reuploaded everything again and still the same problem

do you think you can take a look at it
Reply With Quote
  #33  
Old 12-21-2006, 02:29 AM
Stavs16 Stavs16 is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will pm you when requested and will give you the info to my database
Reply With Quote
  #34  
Old 12-22-2006, 09:02 PM
Player-63's Avatar
Player-63 Player-63 is offline
 
Join Date: Mar 2005
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NIS 2007 Detected a virus in mp3player_admin.php

See Attachment
Reply With Quote
  #35  
Old 01-02-2007, 05:14 AM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well I cant get the playlists to work in the cmps. Made the urls absolute, which got rid of the java/flash errors.

any ideas on the playlist yet?
I have 2 songs in the first playlist.
Can be found in my sig.
Reply With Quote
  #36  
Old 01-02-2007, 09:32 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 loonytune15 View Post
well I cant get the playlists to work in the cmps. Made the urls absolute, which got rid of the java/flash errors.

any ideas on the playlist yet?
I have 2 songs in the first playlist.
Can be found in my sig.
Did you make the url to the Player.swf absolute? The player will only work if it is located in the same dir as the php files that populate the playlists.
Reply With Quote
  #37  
Old 01-02-2007, 03:09 PM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

both are absolute, but the playlists just done appear.
Reply With Quote
  #38  
Old 01-22-2007, 03:44 PM
afmarko99's Avatar
afmarko99 afmarko99 is offline
 
Join Date: Jan 2007
Location: Louisiana
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed = couldn't upload mp3s.
Re-installed = couldn't upload mp3s.

Error=

Database error in vBulletin 3.6.4:

Invalid SQL:
insert into mp3playlist values(

'','http://www.thepublicenemy.net/mp3/diaryofjane.mp3','true','5','',''

);

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, January 22nd 2007 @ 12:43:55 PM
Script : http://www.thepublicenemy.net/forum/..._add_playlist1
Referrer : http://www.thepublicenemy.net/forum/...o=addplaylist1
IP Address : 72.198.34.221
Username : EaglezEye
Classname : vb_database
Reply With Quote
  #39  
Old 02-08-2007, 10:40 AM
INTENSELIFE INTENSELIFE is offline
 
Join Date: Feb 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it and all i get is a big grey box
Reply With Quote
  #40  
Old 02-08-2007, 04:51 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 EaglezEye View Post
Installed = couldn't upload mp3s.
Re-installed = couldn't upload mp3s.

Error=

Database error in vBulletin 3.6.4:

Invalid SQL:
insert into mp3playlist values(

'','http://www.thepublicenemy.net/mp3/diaryofjane.mp3','true','5','',''

);

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, January 22nd 2007 @ 12:43:55 PM
Script : http://www.thepublicenemy.net/forum/..._add_playlist1
Referrer : http://www.thepublicenemy.net/forum/...o=addplaylist1
IP Address : 72.198.34.221
Username : EaglezEye
Classname : vb_database
This error refers to another version of the modification
Reply With Quote
  #41  
Old 02-08-2007, 06:27 PM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay since I've narrowed it down to the CMPS player...

Works fine as a standalone with the navbar link, however doesn't work in the CMPS. Not an issue with being in the navbar as I was attempting to get it to work in the CMPS before I added a navbar link...also I don't have a navbar link in my default custom style.

The issue is there isn't any mp3s listed in the playlists, they all just say 'undefined'. Permissions are all set up and works fine in the regular player...
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 04:46 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.09614 seconds
  • Memory Usage 2,316KB
  • 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
  • (1)bbcode_code
  • (2)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
  • (4)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