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)

NashChristian 04-20-2010 05:24 PM

Quote:

Originally Posted by ericgtr (Post 2024350)
No it won't, but there are several mods available for 4.0 that will do this for you though.

Since you are familiar with them, which do you recommend? Thanks!

junaid 04-20-2010 06:33 PM

I have many attachment types like zip, tar etc
Is it possible to set player view only MP3 attachment type?

ericgtr 04-20-2010 06:48 PM

Quote:

Originally Posted by NashChristian (Post 2024433)
Since you are familiar with them, which do you recommend? Thanks!

Here's one way to search them out, from the top of any page type in player in the search, then choose 4.0 mods then titles only.

Quote:

Originally Posted by junaid (Post 2024468)
I have many attachment types like zip, tar etc
Is it possible to set player view only MP3 attachment type?

Unfortunately this simple modification cannot. The actual file type isn't defined in the output so I cannot base a condition off of it. I am sure it can be done but it would require some coding changes and quite a bit more development than I have time for.

goran424 04-21-2010 07:18 AM

I installed it, works fine but only for files of up to 1MB in size. Anything above that gives me an error.

How do you explain this?

ericgtr 04-21-2010 01:40 PM

Quote:

Originally Posted by goran424 (Post 2024748)
I installed it, works fine but only for files of up to 1MB in size. Anything above that gives me an error.

How do you explain this?

I would check your attachment settings to make sure you are allowing file sizes above that. Are files above 1 MB allowed? This modification simply plays what is attached, for example on my site there are many songs that are 5 or 6 MB that work just fine with it.

goran424 04-21-2010 02:18 PM

Quote:

Originally Posted by ericgtr (Post 2024912)
I would check your attachment settings to make sure you are allowing file sizes above that. Are files above 1 MB allowed? This modification simply plays what is attached, for example on my site there are many songs that are 5 or 6 MB that work just fine with it.

Well, that is the funny part....I set unlimited size.

Could be issue with hosting server, already contacted them. My theory is that parameter
written in php.ini file at their end have to be changed by entering different value. All of this is part of apache configuration. Just guessing....

Appreciate your reply Eric, thanks.

ericgtr 04-21-2010 02:26 PM

Quote:

Originally Posted by goran424 (Post 2024938)
Well, that is the funny part....I set unlimited size.

Could be issue with hosting server, already contacted them. My theory is that parameter
written in php.ini file at their end have to be changed by entering different value. All of this is part of apache configuration. Just guessing....

Appreciate your reply Eric, thanks.

It's hosted on Google by default, did you move it to your own server?

Cobro 04-21-2010 09:23 PM

Nice man installed

AURFSCAN 04-22-2010 09:09 PM

1 Attachment(s)
Originally Posted by junaid

I have many attachment types like zip, tar etc
Is it possible to set player view only MP3 attachment type?


to have the player only visible for mp3.

Code:



<!-- Embed Player -->

<vb:if condition="$attachment[attachmentextension] == mp3">

<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
</vb:if>

<!-- /Embed Player -->


goran424 04-22-2010 10:04 PM

Quote:

Originally Posted by ericgtr (Post 2024942)
It's hosted on Google by default, did you move it to your own server?

I'm not sure what I did but spoke to people who host my site and they fixed something at their end. It works perfect now.

Thanks for great product Eric, members gonna love it!


All times are GMT. The time now is 08:08 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.01237 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_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