vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - vbMp3 & XEON vbMp3 Player (https://vborg.vbsupport.ru/showthread.php?t=125817)

lanc3lot 09-07-2006 01:30 PM

Ι will use this addon, not for popular songs that of course is illegal to download them, but for other purposes so really for me is legal :) I just asked if it can have a button (or an icon) like this, and use it for specific usergroups (for example i have a usergroup that ppl take it when they write more than 600 messages).

Hope it can be done:D

Cool Matty 09-07-2006 01:45 PM

Is this player capable of playing Shoutcast streams? I'd love ya to death if it did :D

elricstorm 09-07-2006 02:09 PM

I think I'm going to create a new module for cmps and incorporate this - it works fine externally. I'll post a link when I finish.

elricstorm 09-07-2006 02:50 PM

Okay I got it to work with CMPS even if the page is outside of the forum. Here's what I did. I'm using latest CMPS and vb 3.6.0.

I created a module template called adv_portal_ipod and you can use the following code:

Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
        <thead>
        <tr>
                <td class="tcat">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('ipod')"><img id="collapseimg_ipod"

src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_ipod.gif" alt="" border="0" /></a>
                <span class="smallfont"><strong>$vba_style[portal_blockbullet] IPOD</strong></span></td>
        </tr>
        </thead>
        <tbody id="collapseobj_ipod" style="$collapseobj_ipod">
        <tr>
                <td class="$getbgrow">
<!-- Custom Code Start -->
<div align="center">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="190" height="430" align="top">
    <param name="movie" value="vbPlayer.swf">
    <param name="quality" value="high">
    <embed src="vbPlayer.swf" width="190" height="430" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
  </object>
</div>
<!-- Custom Code End -->
                </td>
        </tr>
        </tbody>
</table>
<br />

I then placed the playlist and the vb player on my root and on my root/forum. This is because my cmps is not in the forum. It works great.

fyi.. :)

syrus.xl 09-07-2006 03:21 PM

Quote:

Originally Posted by elricstorm
Okay I got it to work with CMPS even if the page is outside of the forum. Here's what I did. I'm using latest CMPS and vb 3.6.0.

I created a module template called adv_portal_ipod and you can use the following code:

Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
        <thead>
        <tr>
                <td class="tcat">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('ipod')"><img id="collapseimg_ipod"

src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_ipod.gif" alt="" border="0" /></a>
                <span class="smallfont"><strong>$vba_style[portal_blockbullet] IPOD</strong></span></td>
        </tr>
        </thead>
        <tbody id="collapseobj_ipod" style="$collapseobj_ipod">
        <tr>
                <td class="$getbgrow">
<!-- Custom Code Start -->
<div align="center">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="190" height="430" align="top">
    <param name="movie" value="vbPlayer.swf">
    <param name="quality" value="high">
    <embed src="vbPlayer.swf" width="190" height="430" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
  </object>
</div>
<!-- Custom Code End -->
                </td>
        </tr>
        </tbody>
</table>
<br />

I then placed the playlist and the vb player on my root and on my root/forum. This is because my cmps is not in the forum. It works great.

fyi.. :)

Cool elricstorm - thanks!:D My coding is slightly different, and I've resized the actual player dimensions to fit the default side blocks of 175 px. I've also incorporated a javascript 'fix' when viewing flash objects in Internet Explorer 6.0 and above.

Would it be okay to modify your code, and add the javascript I've used in the new package?

Bit busy at the moment moving a website, but I could do this a little later.:)

elricstorm 09-07-2006 04:42 PM

sure thing mate. :)

syrus.xl 09-07-2006 05:01 PM

Quote:

Originally Posted by elricstorm
sure thing mate. :)

Cool!:D I'll modify the code and add the js so it's compliant with Internet Explorer, with installation instructions. There will not be much change, apart from a javascript call for the player, and a resized player.

I'll package the whole lot with the autoStart mp3 player swf.:)

hippsta 09-07-2006 05:01 PM

i have everything all in the same directory. Change the forum path in the CMPS file to "/" rename the index.php (forumhome) file to something else; i picked forum_index.php. Rename CMPS_index, to index.php. change the pathe to the cmps file in the forumhome/display options.

syrus.xl 09-07-2006 05:24 PM

Quote:

Originally Posted by hippsta
i have everything all in the same directory. Change the forum path in the CMPS file to "/" rename the index.php (forumhome) file to something else; i picked forum_index.php. Rename CMPS_index, to index.php. change the pathe to the cmps file in the forumhome/display options.

That does work!:)

What I'm going to do is stop the white outline showing up in Internet Explorer, when you hover your mouse over a flash embedded object, it normally says 'Click to activate and use this control'. It isn't so prominent in the popup, so I didn't add the javascript to disable it, but in a block it probably would be.

thedvs 09-07-2006 11:10 PM

questio: people will eventually try browsing to the xml file and find all your mp3 urls, so is there a way to stop that?


All times are GMT. The time now is 06:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01324 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete