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
  #42  
Old 02-08-2007, 06:29 PM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 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
see this thread and make the appropriate changes:
https://vborg.vbsupport.ru/showpost....&postcount=473
Reply With Quote
  #43  
Old 07-10-2007, 04:16 PM
Whitey193 Whitey193 is offline
 
Join Date: Mar 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TeknoSounds View Post
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...
I know this is a very old post but I have tried everything listed here to no effect. The navbar works perfectly with the playlists and adding MP3's. Althought the approve button doesn't seemt o work and I;ve had to turn it off otherwise I just can;t get the file authorised, I have to delete it, turn it off and then addd it again and It's fine.

One other point is that the flashobject.js file is actually located in the ..forum/clientscript/ folder as per the instructions to upload the file.

I've tried changing the path to this folder, absolute path and even copying the file across to the forum directory knowing it wouldn;t work but just in case.. Stranger things have happened.

I will say that this is an awesome mod and to be honest I;m not all that bothered if I can;t get it working on the CMPS.

i haven't tried it, but I would suggest that if it is re-installed in the root directory and not the forumm directory it would work in CMPS and you'd have to change the path on the navbar to get it to work. Not going to try to try it tho.

Whitey..
Reply With Quote
  #44  
Old 11-18-2007, 02:40 AM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had follow the instruction exactly but my center block doesn't show. Is there anything's els I need to check?
Reply With Quote
  #45  
Old 12-05-2007, 11:52 AM
Sean James's Avatar
Sean James Sean James is offline
 
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 895
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, installed it for a client

Is there going to be a smaller version created so we can add it to the left or right columns?
Reply With Quote
  #46  
Old 12-05-2007, 12:16 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

There is a smaller version, but I never got around to releasing it. It looks similar to an iPod in style but is only around 190 pixels wide.

I'll see if I can find the source file, and update it before posting it as a release.

Reply With Quote
  #47  
Old 02-17-2008, 12:03 PM
bostton1 bostton1 is offline
 
Join Date: Jun 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by syrus.xl View Post
There is a smaller version, but I never got around to releasing it. It looks similar to an iPod in style but is only around 190 pixels wide.

I'll see if I can find the source file, and update it before posting it as a release.


did you ever find and update the smaller version?

thanks
Reply With Quote
  #48  
Old 02-21-2008, 12:30 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

I haven't updated it yet, mainly because of updating mods to work under 3.7
Reply With Quote
  #49  
Old 03-07-2008, 05:30 AM
volitian volitian is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic work matey thankyou!!
Reply With Quote
  #50  
Old 07-25-2008, 12:42 AM
Bustah Bustah is offline
 
Join Date: Jul 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its saying enable Javascript and Flash, but those are already enabled.

All I did was make the module, is there more to it from the original hack that I'm missing?

My forums are stored in the /boards directory.
Reply With Quote
  #51  
Old 07-25-2008, 07:59 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

Hi,

Check this post to see if it helps.

http://www.digitalport.co.uk/digital...tml#post197906

If that doesn't solve the issue then get back to me.
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:43 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.09183 seconds
  • Memory Usage 2,315KB
  • 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
  • (3)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