vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

Chadi 02-26-2010 11:04 AM

Quote:

Originally Posted by Digital Jedi (Post 1985271)
Chadi, looking back through my bookmarks, it looks like you would have needed to run whatever conversion tools Goldbrick may have had (presuming it had any) that would convert [media] back to URL. Otherwise, I don't believe there is a way with 2.5's tools to properly convert a single tag wrapped around multiple URLs from multiple sites.

Would anyone here know about this?

scottct1 02-26-2010 11:26 AM

This was working good for a long time until today.

It would take over 2 minutes for a page to load on my site. By disabling AME (and only AME) in the control panel my site is back up to speed again.

If I re-enable it the slow page loads start again. So it is disabled for now.

Anyone have this happen to them before?

scottct1 02-26-2010 04:01 PM

I went in and uninstalled the mod.

Once it was done uninstalling I went in and reinstalled it and now things are good again. I am not sure what gotmessed up in it but glad I have it working again. :)

RedHotChili 02-26-2010 05:29 PM

Looks like a great mod. Hope to implement it today and get it up and running trouble free.

I too am looking to be able to embed widescreen videos such as provided by youtube. Hope the following post by ghostpt does the trick.

Quote:

Originally Posted by ghostpt (Post 1791603)
You have to change the Default Width and Height on AdminCP > AME CP > Settings. I use 858x508, works fine for me.

I really can't remember if I change my Youtube definitions (Admin CP > AME CP > DisplayDefinitions > Youtube) so here it goes:

Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1&hl=pt-br&fs=1&color1=0x234900&color2=0x4e9e00&border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>

I'm getting HQ Widescreen on all videos. Hope it helps.


RedHotChili 02-26-2010 06:56 PM

Awesomeness!

Thank you so much, The Geek, for this most excellent mod. Brilliantly designed and brilliantly implemented. Best mod I've come across so far. Obviously a lot of skilled work went into this. I applaud you for the excellent work and for kindly sharing it with us. :)

Btw, the setting that I've come up with to give me the same exact widescreen setting that youtube uses is 385x650. I don't know how this will impact those vids that are of the smaller 4:3 format. I assume they'll just be embedded inside the same size object dimensions that I've set as the default, and will just have the vertical black bars on the left and the right of the displayed vid. But no problem living with it that way.

Thanks again. :)

RedHotChili 02-26-2010 10:16 PM

I'm currently having a problem when I enable file cache.

I get the following error:
Quote:

AME can not write to /public_html/forums/amecache/. Check permissions to ensure path is writeable.
Well, I checked the permissions and the path is indeed writeable. I have this mod set up on a test forum on my local machine and everything works just fine when I enable file cache, and I don't get that error message.

Anybody have any idea what might fix this problem? Like I said I double checked each step along the path to make sure it's writeable. I then uninstalled using the Product Manager and reinstalled to see if that would help, but nope, didn't help.

Digital Jedi 02-27-2010 12:03 AM

Quote:

Originally Posted by scottct1 (Post 1991926)
This was working good for a long time until today.

It would take over 2 minutes for a page to load on my site. By disabling AME (and only AME) in the control panel my site is back up to speed again.

If I re-enable it the slow page loads start again. So it is disabled for now.

Anyone have this happen to them before?

AME shouldn't have any effect on page load, other than pages where AME is actually being used. And even then, page load would only be affected by the videos in question. Only other thing I think it could be is a mod conflict.


Quote:

Originally Posted by RedHotChili (Post 1992384)
I'm currently having a problem when I enable file cache.

I get the following error:

Well, I checked the permissions and the path is indeed writeable. I have this mod set up on a test forum on my local machine and everything works just fine when I enable file cache, and I don't get that error message.

Anybody have any idea what might fix this problem? Like I said I double checked each step along the path to make sure it's writeable. I then uninstalled using the Product Manager and reinstalled to see if that would help, but nope, didn't help.

Are you certain the path is correct? The full path will usually start above public_html and include your domain and hosting user name: Ex: home/[username]/public_html/[domain name]/forums/amecache

RedHotChili 02-27-2010 12:16 AM

Quote:

Originally Posted by Digital Jedi (Post 1992442)
Are you certain the path is correct? The full path will usually start above public_html and include your domain and hosting user name: Ex: home/[username]/public_html/[domain name]/forums/amecache

Thanks for responding Digital Jedi, and thanks for your valuable contributions here.

Yes, I truncated for simplicity.

Just as a check, I uninstalled and deleted all the files, then uploaded all the files and then re-installed the product-ame.xml file. And I'm still getting the same error message in the AME CP, even after ensuring that the path was correct and writeable.

Should I ignore it?

Digital Jedi 02-27-2010 12:21 AM

Quote:

Originally Posted by RedHotChili (Post 1992449)
Thanks for responding Digital Jedi, and thanks for your valuable contributions here.

Yes, I truncated for simplicity.

Just as a check, I uninstalled and deleted all the files, then uploaded all the files and then re-installed the product-ame.xml file. And I'm still getting the same error message in the AME CP, even after ensuring that the path was correct and writeable.

Should I ignore it?

Correction. I should have said /home. That first slash can make a difference. You said it was writable, but is it fully CHMODed? The permissions need to be 777.

RedHotChili 02-27-2010 12:33 AM

Quote:

Originally Posted by Digital Jedi (Post 1992453)
Correction. I should have said /home. That first slash can make a difference. You said it was writable, but is it fully CHMODed? The permissions need to be 777.

I double checked and, no, it apparently wasn't fully CHMODed. So I manually set the permissions to 777, and now I'm not getting the error or warning message.

So this means that "User" and "Group" and "World" have Read, Write, & Execute permissions when set to 777, is this how it should be?

If so, I'm good to go, apparently. Please confirm if this is how I should have it set up.

Super-six 02-27-2010 01:56 AM

I have been told that this player can be resized and skinned for custom
appearances? Is this correct? Looking for an end result just a bit different
from the standard clunky box in the middle of the post.
Thanks :erm:

Digital Jedi 02-27-2010 04:54 AM

Quote:

Originally Posted by RedHotChili (Post 1992466)
I double checked and, no, it apparently wasn't fully CHMODed. So I manually set the permissions to 777, and now I'm not getting the error or warning message.

So this means that "User" and "Group" and "World" have Read, Write, & Execute permissions when set to 777, is this how it should be?

If so, I'm good to go, apparently. Please confirm if this is how I should have it set up.

Yes, it has to have all of those permissions to work right.


Quote:

Originally Posted by Super-six (Post 1992510)
I have been told that this player can be resized and skinned for custom
appearances? Is this correct? Looking for an end result just a bit different
from the standard clunky box in the middle of the post.
Thanks :erm:

Set the Container to No for no for no box around the video, or just edit the container template with whatever code you want. Videos are sized globally, or you can set them per definition.

RedHotChili 02-27-2010 02:59 PM

Quote:

Originally Posted by Digital Jedi (Post 1992589)
Yes, it has to have all of those permissions to work right.

Thanks.


Quote:

Originally Posted by Digital Jedi (Post 1992589)
Set the Container to No for no for no box around the video, or just edit the container template with whatever code you want. Videos are sized globally, or you can set them per definition.

Just for grins I removed the container on my test forum to see how it looks without. The first thing I noticed is that the embedded video is no longer centered horizontally, but left justified.

Is it a simple matter to edit the template to get centered alignment without the container? I'm sure it is. I would just need to study the code to see where to make the edits.

Digital Jedi 02-27-2010 05:49 PM

Quote:

Originally Posted by RedHotChili (Post 1992948)
Thanks.


Just for grins I removed the container on my test forum to see how it looks without. The first thing I noticed is that the embedded video is no longer centered horizontally, but left justified.

Is it a simple matter to edit the template to get centered alignment without the container? I'm sure it is. I would just need to study the code to see where to make the edits.

Relatively simple. What you can do is go into the template and just remove all the class names, or replace them with class names of your own and put your custom CSS in your vBulletin CSS Manager. It would probably take a little trial and error either way.

RedHotChili 02-27-2010 06:10 PM

Quote:

Originally Posted by Digital Jedi (Post 1993076)
Relatively simple. What you can do is go into the template and just remove all the class names, or replace them with class names of your own and put your custom CSS in your vBulletin CSS Manager. It would probably take a little trial and error either way.

For now what I did is I removed the thead section that contains the td class ="tcat"

I removed this:
Code:

<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="$ameinfo[url]" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a>
                </td>
        </tr>
</thead>


And it looks good for now. I like the td class="panelsurround" look so I kept it because it has the center align properties which gives me what I was looking for in terms of centering the display. But the "tcat" for my custom style is too overpowering and it really stands out (it's a red color). I realize I lose the title="$ameinfo[title]" descriptive title, but I think I can live with that. But if I happen to decide to keep title information, I may just create a new td class with a different look.

But now I know where to do my tweaking. :)

Thanks again for your help, Mark, I really appreciate it.

Digital Jedi 02-28-2010 02:11 AM

Quote:

Originally Posted by RedHotChili (Post 1993094)
For now what I did is I removed the thead section that contains the td class ="tcat"

I removed this:
Code:

<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="$ameinfo[url]" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a>
                </td>
        </tr>
</thead>


And it looks good for now. I like the td class="panelsurround" look so I kept it because it has the center align properties which gives me what I was looking for in terms of centering the display. But the "tcat" for my custom style is too overpowering and it really stands out (it's a red color). I realize I lose the title="$ameinfo[title]" descriptive title, but I think I can live with that. But if I happen to decide to keep title information, I may just create a new td class with a different look.

But now I know where to do my tweaking. :)

Thanks again for your help, Mark, I really appreciate it.

On one forum I was troubleshooting, we replaced his class="tcat" with class="thead", which worked out better for his style. You might look into that if you decide you want a title header back.

GoTTi 03-02-2010 08:29 AM

Quote:

Originally Posted by Digital Jedi (Post 1982573)
I offered to take a look at it your Admin CP for you if you give me temp access. I've tried everything else from this end.

ah sorry bout that i didnt see that thread on here...ive sent you a PM with info. thanks!

superagent 03-03-2010 04:59 AM

How do you get this to work with profile fields???

Digital Jedi 03-03-2010 05:56 AM

Quote:

Originally Posted by superagent (Post 1995793)
How do you get this to work with profile fields???

That's only available in an AME 3 add-on for vB 4.

superagent 03-03-2010 01:26 PM

Quote:

Originally Posted by superagent (Post 1995793)
How do you get this to work with profile fields???


Oh... anyone interested in a freelance job to make it work on here? :)

Digital Jedi 03-11-2010 03:48 PM

***ATTENTION NEW DEFINITION***

But it's a special one that you can only get here: https://vborg.vbsupport.ru/showthread.php?t=238021. ;)

Narkissos 03-12-2010 04:35 PM

I've been running the mod for months now with no issue.

However, since I added a new skin a couple days ago, it no longer works.

Links don't embed... they don't even show. (i.e. posts show up empty)

I'm not sure what the issue is, so I'll be working backward til I figure it out.

I realize that the mod's no longer supporter, but any assistance/suggestions which you guys could provide would be greatly appreciated.

I'm running vB 3.8.4, and the new skin is black-yellow by MinerSkinz.com

Forum: http://www.getnarked.net/forum/index.php

Thanks.

Digital Jedi 03-12-2010 05:30 PM

Quote:

Originally Posted by Narkissos (Post 2002263)
I've been running the mod for months now with no issue.

However, since I added a new skin a couple days ago, it no longer works.

Links don't embed... they don't even show. (i.e. posts show up empty)

I'm not sure what the issue is, so I'll be working backward til I figure it out.

I realize that the mod's no longer supporter, but any assistance/suggestions which you guys could provide would be greatly appreciated.

I'm running vB 3.8.4, and the new skin is black-yellow by MinerSkinz.com

Forum: http://www.getnarked.net/forum/index.php

Thanks.

Check to see if your new skin created the AME templates. It should have once imported.

Narkissos 03-13-2010 06:29 PM

Quote:

Originally Posted by Digital Jedi (Post 2002288)
Check to see if your new skin created the AME templates. It should have once imported.

I see 3 templates in the style manager:

AME_container
AME_nomedia
AME_output

What else am I looking for?

Thanks

Narkissos 03-13-2010 06:36 PM

^^btw: I tried using the default vbulletin skin as well, and it no longer embeds on this skin either. :(

killerkraft 03-13-2010 08:32 PM

Hello Digital Jedi,

I am using your code and it seems to work fine, except when i try to use Yahoo Video.

In this case it just shows the complete link as if it was not recognized.

Can you help me ?

KK

Digital Jedi 03-13-2010 08:57 PM

Quote:

Originally Posted by Narkissos (Post 2002970)
I see 3 templates in the style manager:

AME_container
AME_nomedia
AME_output

What else am I looking for?

Thanks

Then it could be that your file cache is turned of in the AME CP Settings.


Quote:

Originally Posted by killerkraft (Post 2003041)
Hello Digital Jedi,

I am using your code and it seems to work fine, except when i try to use Yahoo Video.

In this case it just shows the complete link as if it was not recognized.

Can you help me ?

KK

Post the link you were trying to use.

Narkissos 03-13-2010 09:03 PM

Quote:

Originally Posted by Digital Jedi (Post 2003050)
Then it could be that your file cache is turned of in the AME CP Settings.

With the previous skin it was turned off, but worked.

When I installed the recent skin, I turned it on.

Since the installation, it hasn't worked.

Digital Jedi 03-14-2010 01:07 AM

Quote:

Originally Posted by Narkissos (Post 2003055)
With the previous skin it was turned off, but worked.

When I installed the recent skin, I turned it on.

Since the installation, it hasn't worked.

If you give me temp Admin CP access, maybe I can root the problem out for you.

Narkissos 03-14-2010 01:16 AM

Quote:

Originally Posted by Digital Jedi (Post 2003160)
If you give me temp Admin CP access, maybe I can root the problem out for you.

That's generous of you... thanks :)

My site just went down. The registrar's (namecheap) servers have been hit with a DDoS attack.

When it's up again, I'll hit you with Admin CP access.

Thanks again.

killerkraft 03-14-2010 12:27 PM

Quote:

Originally Posted by Digital Jedi (Post 2003050)
Post the link you were trying to use.

This one, for example : http://video.yahoo.com/watch/2077328/v50828177

Digital Jedi 03-14-2010 06:19 PM

Quote:

Originally Posted by killerkraft (Post 2003380)

Heh, I knew Yahoo! would try this at some point. I'll post an update a little later, but you can fix it easily. Just change the last d in your RegEx with a w.

killerkraft 03-15-2010 10:59 AM

Ok, will do

accludetuner 03-19-2010 07:44 AM

searched and didn't see anyone with the same issue.

Installed fine.

When trying to convert old BBcodes I keep getting this message "You are missing the \1 parameter in at least one of your conversions"

I'm submitting "youtube" as the bbcode and "http://www.youtube.com/watch?v=\1" as the conversion. Tried everything and can't get it to work. Anyone have any ideas?

DannyITR 03-19-2010 02:23 PM

My youtube size is tiny (much smaller than on youtube). How can I fix this? Funny because I have it installed on two sites and one is normal size and the other isn't and I cannot figure out why.

DannyITR 03-19-2010 04:39 PM

Ok I needed to update. In fact I needed to uninstall then re-install and now it works.

Digital Jedi 03-20-2010 04:43 AM

Quote:

Originally Posted by accludetuner (Post 2006333)
searched and didn't see anyone with the same issue.

Installed fine.

When trying to convert old BBcodes I keep getting this message "You are missing the \1 parameter in at least one of your conversions"

I'm submitting "youtube" as the bbcode and "http://www.youtube.com/watch?v=\1" as the conversion. Tried everything and can't get it to work. Anyone have any ideas?

Make sure you don't have a comma or a space still in that entry.

salimbasar 03-21-2010 06:01 PM

i tried to add this

but this is the result isn html codes

HTML Code:

<div style="display: none;" id="ame_noshow_post_1269197856_1">
        <a href="http://www.dailymotion.com/video/xcghi7" title="Dailymotion - Ege Hanları - Film ve TV Kanalı" target="_blank">Dailymotion - Ege Hanları - Film ve TV Kanalı</a>

</div>
<div style="display: inline;" id="ame_doshow_post_1269197856_1">
<div align="center">
<table class="tborder" cellpadding="6" cellspacing="1" width="425" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="http://www.dailymotion.com/video/xcghi7" title="Dailymotion - Ege Hanları - Film ve TV Kanalı" target="_blank">Dailymotion - Ege Hanları - Film ve TV Kanalı</a>
                </td>
        </tr>
</thead>

<tbody>
        <tr>
                <td class="panelsurround" align="center">
<object width="425" height="350"><param name="movie" value="http://www.dailymotion.com/swf/"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/" type="application/x-shockwave-flash" width="425" height="350" allowFullScreen="true" allowScriptAccess="always"></embed></object>
</td>
        </tr>
</tbody>
</table></div>
</div>

And this are the settings

Regular expression

PHP Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+[\w/=\?]* 

Replacement

PHP Code:

<object width="$ameinfo[width]height="$ameinfo[height]"><param name="movie" value="http://www.dailymotion.com/swf/$p1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/$p1type="application/x-shockwave-flash" width="$ameinfo[width]height="$ameinfo[height]allowFullScreen="true" allowScriptAccess="always"></embed></object


Digital Jedi 03-22-2010 03:16 AM

Quote:

Originally Posted by salimbasar (Post 2007673)
i tried to add this

but this is the result isn html codes

HTML Code:

<div style="display: none;" id="ame_noshow_post_1269197856_1">
        <a href="http://www.dailymotion.com/video/xcghi7" title="Dailymotion - Ege Hanları - Film ve TV Kanalı" target="_blank">Dailymotion - Ege Hanları - Film ve TV Kanalı</a>

</div>
<div style="display: inline;" id="ame_doshow_post_1269197856_1">
<div align="center">
<table class="tborder" cellpadding="6" cellspacing="1" width="425" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="http://www.dailymotion.com/video/xcghi7" title="Dailymotion - Ege Hanları - Film ve TV Kanalı" target="_blank">Dailymotion - Ege Hanları - Film ve TV Kanalı</a>
                </td>
        </tr>
</thead>

<tbody>
        <tr>
                <td class="panelsurround" align="center">
<object width="425" height="350"><param name="movie" value="http://www.dailymotion.com/swf/"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/" type="application/x-shockwave-flash" width="425" height="350" allowFullScreen="true" allowScriptAccess="always"></embed></object>
</td>
        </tr>
</tbody>
</table></div>
</div>

And this are the settings

Regular expression

PHP Code:

http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+[\w/=\?]* 

Replacement

PHP Code:

<object width="$ameinfo[width]height="$ameinfo[height]"><param name="movie" value="http://www.dailymotion.com/swf/$p1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/$p1type="application/x-shockwave-flash" width="$ameinfo[width]height="$ameinfo[height]allowFullScreen="true" allowScriptAccess="always"></embed></object


Dailymotion is a definition that doesn't come by default in AME 2.5. You would need to get support for that in my thread and not here.

lordi 03-22-2010 09:38 AM

hello,

I upgraded from 3.8.4 TO 3.8.5 and the hack gave me so many errors , So I deleted it

I Re-installed it and updated the cache and used the Tools option to TroubleShoot...and then the pages on my forum stopped and gave me this Error:::

Quote:

Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(310) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/content/Path/html/forum/includes/ame_bbcode.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/PATH/html/forum/newthread.php(310) : eval()'d code on line 1

So I deleted it again...........Any solution plz ???????


All times are GMT. The time now is 09:25 AM.

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.02942 seconds
  • Memory Usage 1,929KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (4)bbcode_php_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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