News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Play Media Attachments

Started by dougiefresh, December 30, 2016, 11:43:52 PM

Previous topic - Next topic

dougiefresh

Uploaded v2.6 - May 22nd, 2019
o Added support for SMF 2.1 RC2.
o Removed support for SMF 2.1 Beta 3.




@mic1011:  I apologize for the long wait for an answer.  I don't know the answer to the question.  I will start looking into this bug report.  Thanks!

shadav

this doesn't seem to be working, i attached an mp3 but no player showed up, only the option to download the file
have I missed something?
2.0.15 on a modified curve theme

Dave J

Hi Dougie,

This wont install on the Github 2.1 RC2.

It looks for a.width, a.height in Display.php but that text is not in the file.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

engrz

hello

im unable to attach any file, getting error "Call to undefined function PMA_mime_type()" if im removing the mod im getting http error 500

engrz

Anyone Please reply to this error.

-Rock Lee-

What version of SMF are you using? and of PHP?


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

engrz

Quote from: Rock Lee on December 02, 2019, 09:53:18 AM
What version of SMF are you using? and of PHP?


Regards!

SMF 2.0.15 and PHP 7.1

tried to uninstall the mod, installed fresh copy but the issue is same.

-Rock Lee-

#147
I have to do some tests but basically it can't call that function it could be because of the PHP version used but in the SMF / hosting error log does it mark something? Now I am away from my computer but I have to do some tests locally!


Regards!

ADD: A medium-fast test without much problem makes me a mistake in the database because I did not create a particular table which makes me think that is why you have that error in the call (it does not call because it has nowhere ... I will try to put a solution later).
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

lor300

Is it working on iPhone, iPad, iOS Safari?
Could you post a links to example of forums with the mod installed?


misheles

Уже в SMF2017 ЭТОТ мод не  работает :-[

wernborg

Hi,

I updated to 2.6 on my forum version 2.0.15.

Attached files are working, but external files is not. The link to the source files seems all mashed up. See example below how the code renders in the client.

Anyone else? Ideas?

<audio controls="">
&nbsp;<source src="<a href=" https:="" www.soundhelix.com="" examples="" mp3="" soundhelix-song-1.mp3"="" class="bbc_link" target="_blank">
https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" type="audio/mpeg"&gt;Your browser does not support the audio element.
</audio>

wernborg

Quote from: wernborg on March 21, 2021, 05:54:31 AM
Hi,

I updated to 2.6 on my forum version 2.0.15.

Attached files are working, but external files is not. The link to the source files seems all mashed up. See example below how the code renders in the client.

Anyone else? Ideas?

<audio controls="">
&nbsp;<source src="<a href=" https:="" www.soundhelix.com="" examples="" mp3="" soundhelix-song-1.mp3"="" class="bbc_link" target="_blank">
https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" type="audio/mpeg"&gt;Your browser does not support the audio element.
</audio>


Never mind. My bad. It is the Custom BBcode manager-mod that does this. I'll be back if I don't solve this....

KittyGalore

Get this error when mod is installed.

Database error

Table 'xxxxxxxxxxxxxxxxx.smf_pm_attachments' doesn't exist
File: /home/xxxxxxx/public_html/Testforum 2/Sources/Subs-MediaAttachments.php
Line: 131
SMF Curve 2.0x

KittyGalore

Quote from: KittyGalore on April 04, 2021, 08:37:43 AM
Get this error when mod is installed.

Database error

Table 'xxxxxxxxxxxxxxxxx.smf_pm_attachments' doesn't exist
File: /home/xxxxxxx/public_html/Testforum 2/Sources/Subs-MediaAttachments.php
Line: 131
This mod has to be installed first which creates the database field. https://custom.simplemachines.org/mods/index.php?mod=1974
SMF Curve 2.0x

bricktop

So is this MOD now dead then.
Using SMF 2.1.3 here and I am also getting the Display.php error when trying to install.

add a.mime_type,
before a.width,a.height

Of course a.width,a.height does not exist in Display.php. I have the PM Attchemnts installed on my forum, whcih this mod says is important.

How do we fix this?

Advertisement: