vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Embedded MP3 Attachment Player (https://vborg.vbsupport.ru/showthread.php?t=240671)

Pashaali 07-02-2010 05:09 AM

everything is done but when im click on play batten song not play , how i fix it . my hosting supported mp3 file http://www.desifunbox.com/thread12.html

SGoogle 07-03-2010 06:01 AM

Tag and Thank you Very Much

DAMINK 07-03-2010 06:24 AM

Got me stumped at the second. I added the code to postbit attachment and edited it to reflect my urland uploaded the attached file to root of my server. I have allowed for .mp3 to be allowed as attachments. I have uploaded a couple and no luck. It just comes up as a link.
http://www.ftw.net.au/fileuploads2/1...34_Capture.png
url is http://www.ftw.net.au/showthread.php...an-test-thread!
Small word of warning. Its an over 18 site i guess. Content can get a bit racey so dont look around just stick to thread at hand :)

AURFSCAN 07-03-2010 06:27 AM

You dont upload file to server, you attach file in post

DAMINK 07-03-2010 06:35 AM

I did attach file to post.
That is the result.

I also uploaded the .swf player my server to play it from there.
Thats the file i pointed at in the postbit hack.

AURFSCAN 07-03-2010 07:47 AM

get rid of everthing you did to install this and use this https://vborg.vbsupport.ru/showthread.php?t=242738

If you still want to use this google one , post the code that you put in your postbit attach template

DAMINK 07-03-2010 08:10 AM

Tried that AURFSCAN and still the same result.
I must be missing something.
I see in that thread you got it going well.
SO just edit specific themes postbit attachement adding the supplied code then upload the player and javascript. Should be a no brainer. Yet its not working for some reason.
I will persist however. This is somethin i really need.

AURFSCAN 07-04-2010 02:27 AM

yep thats it, might be the links in your code are not pointing correctly to the player files ??

post the code your using

DAMINK 07-04-2010 02:35 AM

Certainly mate.
In postbit / postbit_attachment above existing code i placed this.

Code:

<!-- Embed Player -->

<script src="./clientscript/audio/audio-player.js" language="JavaScript"></script>

<object style="vertical-align: middle;" id="./attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" width="290" height="24" data="./clientscript/audio/player.swf" type="application/x-shockwave-flash">
<param value="./clientscript/audio/player.swf" name="movie"/>

<param value="playerID=1&soundFile=./attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" name="FlashVars"/><param value="high" name="quality"/>

<param value="false" name="menu"/>
<param value="transparent" name="wmode"/>
</object>

<!-- /Embed Player -->

However that i believe is the code from the link you refferenced?
Cant remember now to be honest. Damn stomach infection is running wild in my house currenly.

AURFSCAN 07-04-2010 03:37 AM

place it below ???

Code:

<li>
        <img class="inlineimg" src="{vb:stylevar imgdir_attach}/{vb:raw attachment.attachmentextension}.gif" alt="{vb:rawphrase file_type_x, {vb:raw attachment.attachmentextension}}" />
        <a href="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}"<vb:if condition="$show['newwindow']"> target="_blank"</vb:if>>{vb:raw attachment.filename}</a>
({vb:raw attachment.filesize}<vb:if condition="$show['views']">, {vb:rawphrase x_views, {vb:raw attachment.counter}}</vb:if>)
</li>

<br />

<!-- Embed Player -->
<vb:if condition="$show['member']">
<vb:if condition="$attachment[attachmentextension] == mp3">
<script src="./clientscript/audio/audio-player.js" language="JavaScript"></script>

<script src="./clientscript/audio/audio-player.js" language="JavaScript"></script>

<object style="vertical-align: middle;" id="./attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" width="290" height="24" data="./clientscript/audio/player.swf" type="application/x-shockwave-flash">
<param value="./clientscript/audio/player.swf" name="movie"/>

<param value="playerID=1&soundFile=./attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" name="FlashVars"/><param value="high" name="quality"/>

<param value="false" name="menu"/>
<param value="transparent" name="wmode"/>
</object>
</vb:if></vb:if>

<!-- /Embed Player -->



All times are GMT. The time now is 02:53 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.01071 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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