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

- danny

Hey vbgamer45,

I walked away from managing my own website a few years ago, and just came back...I began designing my new site last week using SMF, and I've run into a problem when trying to use your MOD.

Seems like I have an issue that's been reported several times (I read the whole thread): none of the video links play video. All posts only display the URL, and I've enabled the sites I am trying to use via the Settings page.

I've also noticed that I am getting an error in the error log when I install the mod, one that didn't appear while installing:

QuoteType of error: undefined.

/index.php?action=admin;area=permissions;sa=modify;group=0
8: Undefined index: permissionname_tp_can_admin_shout
File: .../Sources/ManagePermissions.php
Line: 1675

There's also a similar error generated from line 1654 (same file).

That said, here's a list of the MODS I am currently using.

1.    Add Facebook Like, Tweet, and Google +1    1.0.3a
2.    Ad Managment    3.0.1
3.    New Topic Button    1.0
4.    Simple Audio Video Embedder    2.0.7a
5.    TinyPortal    1.107
6.    SMF 2.0.3 Update    1.0
7.    cbi 1.0    1.7.5
8.    Profile Comments    2.0.2

Can you advise?

Thanks.

vbgamer45

For video issue. Couple example links?


The error permissionname_tp_can_admin_shout is from Tiny Portal mod
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

- danny

Hey, thanks for the response. I'll look into that TP error.

As far as example links?

http://www.youtube.com/watch?v=QK8mJJJvaes
http://www.dailymotion.com/video/xwr14q_macklemore-ryan-lewis-thrift-shop-feat-wanz_music

Nothing from any of the sites I've allowed will play; all I get is what you see in the attached.

vbgamer45

Hmm
Tried the link http://www.youtube.com/watch?v=QK8mJJJvaes on my test site and that worked ok with youtube checked.

I would check that this code is in sources/Subs.php


// Auto Embed Media Pro
global $sourcedir;

if (file_exists($sourcedir . '/AutoEmbedMediaPro2.php'))
{
require_once($sourcedir . '/AutoEmbedMediaPro2.php');
$message = MediaProProcess($message);
}
// End Auto Embed Media Pro
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

- danny

seems to be there...

// Cleanup whitespace.
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));


// Auto Embed Media Pro
global $sourcedir;

if (file_exists($sourcedir . '/AutoEmbedMediaPro2.php'))
{
require_once($sourcedir . '/AutoEmbedMediaPro2.php');
$message = MediaProProcess($message);
}
// End Auto Embed Media Pro
// Cache the output if it took some time...

vbgamer45

What about this file cache/mediaprocache.php
And the size of it as well.
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

- danny

holy crap, that's a lot of code...it's there though. 8.4 kb according to my cp.

vbgamer45

ok hmm next question are any of those links clickable? in your posts
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


- danny

I remember disabling links, now that you mention it...I just have no clue where I did that. >_<

- danny

wow...

you f***ing rock. :D

make sure you have "Automatically link posted URLs" selected under Bulletin Board Code.

That fixed it.

Thank you!!!

vbgamer45

Awesome good to know! Thanks that probably gets a lot of people
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

- danny

i was a little lost (flabbergasted), being everything seemed right...thanks again!!!

HunterP


HunterP

Ok, on my other forum I'm experiencing something weird. I can't get this mod installed.
All tests are OK, but no files are modified. When I deinstall I get lots of test errors, because the code is not there.
I have no problems with other mods, everything installs OK...

eric1234

I noticed the Vimeo's videos were unable to view through my iPhone ..

vbgamer45

Quote from: eric1234 on February 01, 2013, 11:39:38 AM
I noticed the Vimeo's videos were unable to view through my iPhone ..
Could be if they are using flash video player.
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

HunterP

Quote from: HunterP on February 01, 2013, 05:39:34 AM
Ok, on my other forum I'm experiencing something weird. I can't get this mod installed.
All tests are OK, but no files are modified. When I deinstall I get lots of test errors, because the code is not there.
I have no problems with other mods, everything installs OK...

Still no succes. First I deinstall AEVA, no errors. Then I install MediaPro, no errors, but no modifications are made.

Any suggestions?

vbgamer45

Not sure what would cause that might be a general SMF issue.
I saw you posted also that you couldn't install the new SMF patch either.

Other option would be a manual install.
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

Advertisement: