News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Simple Audio Video Embedder

Started by SMFHacks.com Team, August 09, 2010, 10:42:47 PM

Previous topic - Next topic

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SMFHacks.com Team

Update
5.0.3
!Fixed mobile detection for PHP 7.2+ so no warning messages logged
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

CreativeITWorld.com

So still nothing for "bit chute.com" That's one word without the gap.

Hey, I'm not part of bi tchute.com. I just like it. If I was, I'd pay the few bucks to have it included in your list.

vbgamer45

Yeah, do have a service where you can order a custom video embed to be added but again it depends on each site. Not all sites possible.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

dowhelp

Hi

I updated from 5.02 to 5.03 and am getting many errors.

I would appreciate some assistance please.

Thank you

I am on PHP 7.2
SMF 2.0.17

8: Undefined index: mediapro_copyremove
Apply Filter: Only show the errors from this file
File: /public_html/forum/Sources/Admin.php
Line: 238


8: Undefined index: mediapro_settings
Apply Filter: Only show the errors from this file
File: /public_html/forum/Sources/Admin.php
Line: 237


8: Undefined index: mediapro_admin
Apply Filter: Only show the errors from this file
File: /public_html/forum/Sources/Admin.php
Line: 226

vbgamer45

Those look like missing language strings. Do you get those errors all the time?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

dowhelp

Hi Vbgamer45

Yes errors all the time.

Regards

vbgamer45

Attach your themes/default/modifications.language.php file

Where langauge is the language used in your forum
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

dowhelp

Hi Vbgamer45

The file was here /Themes/default/languages/Modifications.english.php

Is this correct?

Also there is no Simple Audio Video Embedder tab on the top tool bar now.

Thank you


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

dowhelp

Quote from: vbgamer45 on January 11, 2020, 09:26:15 PM
Try this updated file.

Hi

It seems to be working so far. Previously many errors showed up quickly.

Question please.
My SAVE now shows as v5.02 in the "settings" panel which has reappeared. However in the Package manager it shows V5.03 as installed. Is this ok?

Thank you for you help so far. I really appreciate it.

Regards

dowhelp

Hi Vbgamer45

I also noticed in the file which was modified that there are 2 instances of the GDPR mod. There are also 2 "privacy policy" links connected to the GDPR mod at the forum footer. Both take you to same page.

Can I edit and remove 1 instance of this in the modification file as it seems duplicated.

Thank you


vbgamer45

Quote from: dowhelp on January 11, 2020, 09:34:12 PM
Quote from: vbgamer45 on January 11, 2020, 09:26:15 PM
Try this updated file.

Hi

It seems to be working so far. Previously many errors showed up quickly.

Question please.
My SAVE now shows as v5.02 in the "settings" panel which has reappeared. However in the Package manager it shows V5.03 as installed. Is this ok?

Thank you for you help so far. I really appreciate it.

Regards
Will fix safe to ignore.



I also noticed in the file which was modified that there are 2 instances of the GDPR mod. There are also 2 "privacy policy" links connected to the GDPR mod at the forum footer. Both take you to same page.

Can I edit and remove 1 instance of this in the modification file as it seems duplicated.

Yes, its added to sources/QueryString.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SMFHacks.com Team

5.0.4
+Added support for Buzzsprout
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

SMFHacks.com Team

Update:

5.0.5
+Added TikTok support
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

sah62

I use both this mod and the Gallery Pro mod. I've noticed that they're both looking for the same text in Admin.php during the installation and removal process, and as a result they collide with each other. Here's the section of text involved:


Code: (Find) [Select]

'layout' => array(
'title' => $txt['layout_controls'],


You can reproduce this by trying to install the mods one after the other. You can also see the error if you fix the code manually, install both mods, and then try to remove the mod that was installed first. For example, I just updated Simple Audio Video Embedder. Now, if I try to remove Gallery Pro I get this error:

Quote
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

The issue is that SMF can't find this match because there's a "mediapro" entry just ahead of the "layout" entry:


'gallery' => array(
'title' => $txt['smfgallery_admin'],
'permission' => array('smfgallery_manage'),
'areas' => array(
'gallery' => array(
'label' => $txt['smfgallery_admin'],
'file' => 'Gallery2.php',
'function' => 'GalleryMain',
'custom_url' => $scripturl . '?action=admin;area=gallery;sa=adminset;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(
'adminset' => array($txt['gallery_text_settings']),
'admincat' => array($txt['gallery_form_managecats']),
'approvelist' => array($txt['gallery_txt_moderationcenter']),
'filespace' => array($txt['gallery_filespace']),
'catpermlist' => array($txt['gallery_text_catpermlist2']),
'batchftp' => array($txt['gallery_ftp']),


),



),),
),

'layout' => array(
'title' => $txt['layout_controls'],


Is it possible to change one of these mods so they don't collide with each other?

vbgamer45

It shouldn't affect it unless you are trying to uninstall.
I use both mods at the same time.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dblog

Installed but embed/youtube buttons not visible at reply..
Is there any thing to be done in theme files or source files to insert embed bb code ?
if not, is there any bbcode to be used to insert a video..
i tested a youtube video and https://www.youtube.com/watch?v=skOQZJvrq88 this link just shows as link..

vbgamer45

#3198
There is no bbcode or buttons with this mod.
You just insert the link into the post.

Theme files do not need to be edited.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dblog

As i said above, i inserted a youtube video link in post and it just showed as a link, not embedded.
I've manually checked all files needed to be edited/installed/run for this mod and all are okay

Advertisement: