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
  #32  
Old 12-14-2015, 07:53 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just reinstalled this on my site running vb 4.2.3 and I get the player to show but says "File Not Found".

Make sure that you have the code in the template if you updated your site. It might have wiped out the template edit.

If and when I find a solution to fix this I will post it here.
Reply With Quote
  #33  
Old 12-14-2015, 08:27 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by the one View Post
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
Check group permissions Check: Can See Thumbnails = Yes
Reply With Quote
  #34  
Old 12-14-2015, 08:44 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check group permissions Check: Can See Thumbnails = Yes

Hello buddy i am having a blonde moment lol where is this setting is it in Message Attachment Options

Many thanks
Reply With Quote
  #35  
Old 12-14-2015, 09:06 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i got it working cheers
Reply With Quote
  #36  
Old 12-12-2016, 01:31 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic add on, works great with 4.2.3! Nominated for MOTM!!!
Reply With Quote
  #37  
Old 12-14-2016, 12:44 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank u
Reply With Quote
  #38  
Old 12-14-2016, 12:56 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by D19RNY View Post
it doesnt work any more it was working perfectly yesterday
Some of the files. Edit the article and save.
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:22 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.04188 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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