Thread: Mini Mods - vbMp3 & XEON vbMp3 Player
View Single Post
  #91  
Old 09-07-2006, 06:32 AM
hippsta's Avatar
hippsta hippsta is offline
 
Join Date: Mar 2006
Location: Las Vegas, N.V.
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hiya, i've read this whole forum fairly well and i just figured i'd mention that i've got this running with vbadvanced CMPS already. I did it like so:

In the "vBa CMPS" control panel in the admincp, add a new page, and have it be the html file page type. Add whatever other modules you like + Custom Page Content.

Now create and html file that explains a little, like "'hi listen to some groovy tunes lol'" here's mine:

Quote:
<html>
<body>
<table width="60%" align="center">
<p><h4><b>hippsta's Music Archive</b></h4></p><br/>

<p>Welcome to the hippsta.com Music Archive. Here are contained a large portion of my personal music and / or collaborations with my wife. Some were actual audio, and others the MIDIs i created of yesteryear.</p>

<tr align="left"><ul><hr>
<i>i.<b> Astrabella, hippsta</b></i>
<br/>
<li>1 The Pot Song - (3:47) ~ 2002
<li>2 Numbers - (3:45) ~ 2003
<li>3 Tempest - (3:43) ~ 2003
<hr>
<i>ii.<b> Some Classical hippsta</b></i>
<br/>
<li>4 Rhapsody in D " Spirit of the East" - (2:57) ~ 2000
<li>5 Suite for a Sextext of Strings - (2:22) ~ 1999
<li>6 Overture - (2:23) ~ 1998
<li>7 Piano Sonata no.2 - (1:30) ~ 1997
<li>8 Piano Sonata no.3 - (1:58) ~ 1999
<hr>
<i>iii.<b> ElectroSymphonica</b></i>
<br/>
<li>9 Blues Theme in C minor - (1:19) ~ 1999
<li>10 Jammin' - (1:49) ~ 1999
<li>11 Necro IV - (1:50) ~ 1996
<li>12 Ragnarok - (2:24) ~ 1998
<hr></ul></tr>

<!-- vbMp3 Player Start -->
<if condition="$show['member']">
<script type="text/javascript">
<!--

function OpeniPod(){

iPod =

window.open('ipod.htm','iPod','directories=no,heig ht=430,width=190,location=no,menubar=no,resizable= no,

status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return OpeniPod()">Click Here to Listen</a></td>
</if>
<!-- vbMp3 Player End -->

<br/>

</table>
<br/>
<br/>
</body>
</html>
then just upload the html file along with the other files and point the 'html file page options' to it. I'm not a good coder, but i manage to frankenstein some interesting stuff together lol. I sincerely hope this helps someone, and thank you for a great mod. (b'-')b

btw the conditional <if> statements don't work for me in this situation, tho
^.~

you can see it here if u want....

edit: oO dumb. I see now that it could have been more easily added as a Module in vBa CMPS, but then it would reset between pages >.<
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01340 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete