Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Brando Amp3 Mp3 Attachment Player Details »»
Brando Amp3 Mp3 Attachment Player
Version: 1.00, by brandondrury brandondrury is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.3 Rating:
Released: 05-17-2010 Last Update: Never Installs: 35
Template Edits
Additional Files Translations  
No support by the author.

This is an update of https://vborg.vbsupport.ru/showthread.php?t=161567 which now works with the new variable system in vB4. I've tested it in 4.0.3 and it works just like the old player did in vB3.

I don't have time to figure out how products work so this is a simple template hack. Maybe someone can improve it.

There is another vb4 mp3 attachment plugin that relies on player from Google which is no longer available. You host the player on your server so there is no worrying about Google moving or deleting the file.

Instructions:
  1. Unzip Brando-Mp3-Attachment.zip, paste the "audio" folder in your forumroot/clientscripts folder.
  2. Open up postbit_attachment template
  3. Paste the code from brando-mp3.txt at the very top of the template

Brandon

Download Now

File Type: txt brando-mp3.txt (865 Bytes, 335 views)
File Type: zip Brando-Mp3-Attachment.zip (6.5 KB, 347 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-30-2010, 10:19 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working for me....nice - voted and rated.

Thank you.
Reply With Quote
  #23  
Old 12-30-2010, 10:58 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can anyone confirm that it is working for vB 4.1.0
Reply With Quote
  #24  
Old 02-16-2011, 04:08 PM
edgemedia edgemedia is offline
 
Join Date: Dec 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone tell were the postbit_attachment file in the vb 4.1.1 is. Somehow i can't find it?
Reply With Quote
  #25  
Old 08-17-2011, 01:58 PM
starman? starman? is offline
 
Join Date: Apr 2008
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working in 4.1.5. Thank you very much to Brandon for the initial product and Aurfscan for the refinement. Good work. Cheers!
Reply With Quote
  #26  
Old 03-31-2014, 01:41 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorta got there!

I thought I'd give this a try on 4.2.2pl1. It sorta worked once, 1 outa 4 ain't bad. I thought I did it wrong, but it woiked-with bugs! FINALLY worked out I had to set up another

My site is connected to a lot of independent Oz musos and I have been frustrated by not having simple ways to express themselves, sell their music even. The volume of original music I have lined up requires that Members can upload their tracks, or our Reviewers can drop mp3s in they have been sent to artists without me having to upload to the database for them as is with most players. It is excellent value as they can put up lesser than top quality to disenchant pirates, or just put up previews. For instance, the one that DOES work is Shane Howard, from, Goanna Band that had huge international hit Solid Rock with the didjeridoo playing...its his latest work (Almost first time listeners!)!

An mp4 version would be awesome also, anything above that I just dream about! Something that handled ALL common video versions would be awesome. I have search so hard for stuff that works in the Blogs, Calendars and CMS, I'll test it in all and report back.

I also use vBTube, but none of the Videos play on Apple devices...doh...

http://www.tooraktimes.com.au/showth...ed=1#post21884

It is wonderfully simple way of members easily uploading their tracks.

Any help here would be appreciated, cheers
Reply With Quote
  #27  
Old 10-20-2014, 12:43 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works perfect on vBulletin 4.2.2 Patch Level 1.

I used the following code because your original has two errors.
Code:
<!-- Embed Player -->
<vb:if condition="$show['member']">
<vb:if condition="$attachment[attachmentextension] == mp3">
<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 -->
Reply With Quote
  #28  
Old 01-19-2015, 07:24 PM
Crossbow Crossbow is offline
 
Join Date: Jan 2011
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried this in 3.8.8 as there is no new one made for that version.

The old mod was for 3.6 I loaded it and plays but the box just says connecting and never shows the timer which we need on collabs to each person part on timing.

I tried this one on it and sad to say this did not work for me.. Man I sure had high hopes it would have. When I post the code and save it a pop up error appears but says I can do it anyway and I did but it will not show the player.

Edit: Marked as installed as I could use your player on 3.8.8 and it showing the timer now but has no volume adjustment. Hey least it works.. Thanks Brandon....
Reply With Quote
  #29  
Old 06-29-2015, 12:05 PM
hazem_aliraqi's Avatar
hazem_aliraqi hazem_aliraqi is offline
 
Join Date: Oct 2010
Location: iraq
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thank you
Reply With Quote
  #30  
Old 12-14-2015, 11:50 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could i ask is this working on 4.2.1 when i attached an mp3 it just give's me the normal link then when i press it it downloads to my desktop
Reply With Quote
  #31  
Old 12-14-2015, 05:59 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok this is what happened i am running 4.2.1 when i uploaded a mp3 this is how it looked below



You can see it does not have the option to play.My friend who runs 4.2.2 said it was working ok on his forum and this is how it should look below



You will see he does have the option to play.

This is the code i put in my postbit_attachment below

<!-- Embed Player -->
<vb:if condition="$show['member']">
<vb:if condition="$attachment[attachmentextension] == mp3">
<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 -->


Obviously that must need changing for vbullwtin 4.2.1 can anyone help me to get this to work

Many thanks
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 10:51 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.04920 seconds
  • Memory Usage 2,330KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (2)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete