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)

Digital Jedi 10-11-2011 09:10 AM

Quote:

Originally Posted by texasasl (Post 2255188)
I've seen all xml definitions but I cannot find the extension for .flv there is only extension for .swf.
Is there anyway to modify it by only replacing the .swf with .flv in the code??

Thanks in advance

Sorry, I sometimes confuse the two. FLV files require a player of some kind to work. They don't stream or play on their own like SWF files do in browser. I have a demo that I hope to get working for FLV files in the JW Player, but right now the JW Player/AME integration (also in the Add On section above) only supports YouTube. Keep on eye on that thread for updates.

texasasl 10-11-2011 04:17 PM

Quote:

Originally Posted by Digital Jedi (Post 2255849)
Sorry, I sometimes confuse the two. FLV files require a player of some kind to work. They don't stream or play on their own like SWF files do in browser. I have a demo that I hope to get working for FLV files in the JW Player, but right now the JW Player/AME integration (also in the Add On section above) only supports YouTube. Keep on eye on that thread for updates.

Thank you for your clarification.

Dj Smuggla 10-13-2011 01:44 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2255070)
I wonder if anyone has some ideas on this... I (and a few others) are trying to get AME to work on posts that are made via an RSS feed.

For example if you have a youtube RSS feed you need to "edit" and "save" each post for the video to actually embed.

I am close to solving this, I think, but still not working.

I have edited the file rssposter.php in the includes/cron/ directory... Since there are no hooks.

Find this code:
PHP Code:

                        $rsslog_insert_sql[] = "($item[rssfeedid]$itemid, '$itemtype', '" $vbulletin->db->escape_string($uniquehash) . "', '" $vbulletin->db->escape_string($item['contenthash']) . "', " TIMENOW ", $threadactiontime)";
                        
$cronlog_items["$item[rssfeedid]"][] = "\t<li>$vbphrase[$itemtype] <a href=\"$itemlink\" target=\"logview\"><em>$itemtitle</em></a></li>";
                    } 

And right after it add:
PHP Code:

//Set AME Flag Start
      
require_once(DIR '/includes/functions.php');
       
$amethread fetch_threadinfo($itemid);
          
$postid $amethread['firstpostid'];
          
          
$post fetch_postinfo($postid);
          
          
$post['message'] = $post['pagetext'];
          
          require_once(
DIR '/includes/ame_bbcode.php');
          
$value ame_prep_text($post['message']);
          echo 
$post['message'];
          if (
$value == 1)
          {
                  
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "post SET pagetext ='" $vbulletin->db->escape_string($post['message']) . "', ame_flag=1 WHERE postid=$post[postid]");
          }
          else if (
$value == 2)
          {
                  
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "post SET pagetext ='" $vbulletin->db->escape_string($post['message']) . "', ame_flag=1 WHERE postid=$post[postid]");
          }
 
//Set AME Flag End 

This code will set the ame_flag to "1" in the database for the post but for some reason does NOT change the [url] bbcode to [ame]...

I use the same query for both value ==1 and ==2 because "2" I believe disables AME in the post, which I don't want- I will assume for every RSS post I want it enabled, so I set the flag to 1 in both cases.

Is there something else I am missing? Do I need to run something else besides ame_prep_text?

Maybe there is supposed to be some difference between $post[message] and $post[pagetext] that I am missing... ?

Yea Digital Jedi do you know how to make the RSS poster embed the link when it posts links to videos?

Thanks

420 10-16-2011 02:58 AM

We have VB 3.86 with PassiveVid plugin and now when people post the new YouTube structured urls, they don't make a player in thread, just a text link.

Does this plugin work better and if so, does it work on the new YouTube url structure?

If I replace PassiveVid with this plugin, will all of our old archive threads make players as well?

Thank you so very much for your valuable time, energy and support.

Namaste

Digital Jedi 10-16-2011 05:52 AM

I sort of dread passiveVid questions, as I never really know what to say for certain. Since passiveVid doesn't use tags of any kind, then I'm pretty sure you won't be getting any kind of conversion for old posts. Other users have tried and they seem to get mixed results. I know that some users have tried installing the two together, and this is big mistake. Also, passiveVid seems to leave some tables in the database after install, so you should check that before installing another media hack. This is, of course, not based on personal experience, but on various reports I've gotten from other users.

My updated set of definitions supports most, if not all of YouTube's URL strings.

Centurios 10-17-2011 09:33 AM

in this mode also shows only links to videos in IE 9

Any fix?

Wonksta 10-22-2011 01:46 AM

Is there anyway for the Settings to accept percentages in Default post width? As I run a wrapper with min and max-width this would be really awesome because width would change depending on the users screen size and resolution.

I would keep Default post hight as px though....

Thank you!

Quads 10-25-2011 12:07 AM

Quote:

Originally Posted by 420 (Post 2257639)
We have VB 3.86 with PassiveVid plugin and now when people post the new YouTube structured urls, they don't make a player in thread, just a text link.

Does this plugin work better and if so, does it work on the new YouTube url structure?

If I replace PassiveVid with this plugin, will all of our old archive threads make players as well?

Thank you so very much for your valuable time, energy and support.

Namaste

Subscribed. I'm in the same boat.
Would love to know if you got it working.
I blew away my test server the other day so I can't test it at the moment, but hope to test myself, or hear from someone else who has.

texasasl 10-29-2011 09:21 AM

Quote:

Originally Posted by Digital Jedi (Post 2255849)
Sorry, I sometimes confuse the two. FLV files require a player of some kind to work. They don't stream or play on their own like SWF files do in browser. I have a demo that I hope to get working for FLV files in the JW Player, but right now the JW Player/AME integration (also in the Add On section above) only supports YouTube. Keep on eye on that thread for updates.

I am following your suggestion keeping an eye on this thread but I cannot see any improvement.
Thank you

Digital Jedi 10-31-2011 04:28 AM

Quote:

Originally Posted by texasasl (Post 2262608)
I am following your suggestion keeping an eye on this thread but I cannot see any improvement.
Thank you

That thread. Not this thread. When I post an update, it will be there.

Fivestones 11-03-2011 09:30 PM

i have been lookig for this and i am a little new to this ..I try to find some one to help me so i doi it right thanks a lot ...

Chance4Today 11-07-2011 01:12 AM

I only get url in post not a video I've tried several different times to make sure I wasn't doing something wrong but it must be broke. Is there going to be a fix for this?

Digital Jedi 11-10-2011 01:54 PM

Quote:

Originally Posted by Chance4Today (Post 2265168)
I only get url in post not a video I've tried several different times to make sure I wasn't doing something wrong but it must be broke. Is there going to be a fix for this?

Do you have the most recent definitions from my Add-On thread? Most of none of the default one's work anymore?

Chance4Today 11-12-2011 03:58 AM

Quote:

Originally Posted by Digital Jedi (Post 2266542)
Do you have the most recent definitions from my Add-On thread? Most of none of the default one's work anymore?

What Addon Thread? I suppose I don't just trying to get my site going but having a lot of issues with vbulletin, seems like I can't post anything that has a lot of characters always get error saying ad one character and I do and still get blank page with error of adding characters. I have never had so many issues with vbulletin before but it has been quite a few years since I have used it.

Digital Jedi 11-12-2011 04:22 AM

In the add-on section of the first post. My thread has the most up-to-date definitions.

Fivestones 11-15-2011 10:07 PM

I have not got it added to the site yet i am tryng to get it fixed ..I am asking others for help on it Thanks

Digital Jedi 11-20-2011 06:13 AM

Duplicating what I said on the AME 3 thread. Slight delay on this guys. I'm in the process of updating my own workstation and workflow. It was just taking too long to accomplish certain tasks. Once I'm done with that, I'll be able to work on AME more fully. Thanks for your patience.

j-bo 11-23-2011 03:53 PM

Sorry if this has been covered, and I did read the troubleshooting page. I just took over a board and am super newb to all of this stuff.

I'm using v3.8.0

I've uploaded the folder from the ame zip "forums" to where our forums folder is located. So now that folder shows it in /public_html/forums/forums

So I know all the files are uploaded as I ftp'd the entire forums folder. Am I supposed to move any files into any already existing folders?

I changed all the permissions to 755.

I still get this error message:

Warning: Unknown([path]/includes/ame_bbcode.php): failed to open stream: No such file or directory in [path]/newthread.php(308) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/motosout/public_html/forums/includes/ame_bbcode.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/motosout/public_html/forums/newthread.php(308) : eval()'d code on line 1

Digital Jedi 11-24-2011 10:38 PM

Quote:

Originally Posted by j-bo (Post 2271195)
Sorry if this has been covered, and I did read the troubleshooting page. I just took over a board and am super newb to all of this stuff.

I'm using v3.8.0

I've uploaded the folder from the ame zip "forums" to where our forums folder is located. So now that folder shows it in /public_html/forums/forums

So I know all the files are uploaded as I ftp'd the entire forums folder. Am I supposed to move any files into any already existing folders?

I changed all the permissions to 755.

I still get this error message:


Warning: Unknown([path]/includes/ame_bbcode.php): failed to open stream: No such file or directory in [path]/newthread.php(308) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/motosout/public_html/forums/includes/ame_bbcode.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/motosout/public_html/forums/newthread.php(308) : eval()'d code on line 1

You should have overwritten the forums folder onto your existing forums folder. That way all files would have been added to their respective sub folders automatically.

j-bo 11-30-2011 05:27 PM

Thanks for the reply and sorry for the next dumb question.

If I overwrite the forums folder, what happens to all the other files in that folder? I'm assuming nothing as there isn't anything to replace, but don't want to blow up the board for my mistake.

j-bo 12-06-2011 03:16 PM

Can anyone answer my dumb question please?

BirdOPrey5 12-06-2011 07:50 PM

Quote:

Originally Posted by j-bo (Post 2273401)
Thanks for the reply and sorry for the next dumb question.

If I overwrite the forums folder, what happens to all the other files in that folder? I'm assuming nothing as there isn't anything to replace, but don't want to blow up the board for my mistake.

Files in the sever directory that aren't going to be replaced by new files in your upload will be unaffected.

j-bo 12-07-2011 04:30 PM

Thanks a bunch! BirdOPrey5..

I now have the AME CP and get no errors on any of the pages.

However, now it just shows the URL link and no player. I need to read a bit more to see what I'm doing wrong.

j-bo 12-07-2011 05:37 PM

I got it now. Had to disable the bb code for youtube.

Is there anything for youtube direct HD links ?

In tapatalk, it shows a link and titled "302 found". What is that and/or why is it 302 found and not the title or whatever is supposed to be there.

Digital Jedi 12-12-2011 06:12 AM

Quote:

Originally Posted by j-bo (Post 2275608)
I got it now. Had to disable the bb code for youtube.

Is there anything for youtube direct HD links ?

In tapatalk, it shows a link and titled "302 found". What is that and/or why is it 302 found and not the title or whatever is supposed to be there.

A while back I stopped doing separate definitions for HD links, since it seemed more logical to let the users decide if they wanted (or could handle) HD video load times. Barring any recent changes that YouTube has made in the last few days (I don't think they changed anything, but with these guys, you never know), HD videos URLs should still embed as a regular video, with the usually option to switch as part of the default player anyway.

As for Tapatalk, I don't know, as I don't have a way of troubleshooting that app, specifically. Hopefully, since they did saw they were supporting AME embeds, they can help you in their modification thread. If it helps at all, 302 Found is supposed to be a way to manage redirects. It's possible Tapatalk doesn't yet support videos that link to redirects, such as YouTube's short (youtu.be) links. Though I wouldn't think that should be a problem, you never know.

Digital Jedi 12-12-2011 06:13 AM

This is all assuming you're using the most up-to-date definitions in my Add-On thread, of course.

j-bo 12-12-2011 05:36 PM

Thanks again Digital Jedi.

K4GAP 12-16-2011 07:33 PM

Can this mod be used if I am running the "8WayRun.Com - Media Library"?

Digital Jedi 12-19-2011 03:07 PM

Quote:

Originally Posted by GaryT (Post 2278422)
Can this mod be used if I am running the "8WayRun.Com - Media Library"?

I would presume so, since they don't really have anything to do with each other on a functional level. Only thing is, Media Library is for 4.x, and this version of AME will not successfully run on a 4.x forum

DaveMN 12-29-2011 03:47 PM

I installed this today everything went fine files uploaded xml uploaded, But when I goto start a new thread all I get is a blank page. If I turn it off everything works fine.
Any ideas?
3.8.7

leftwich86 01-03-2012 08:00 PM

I've had this installed for a while and it is working great. However, it will not embed in signatures even though I have it enabled and the settings for signatures is the same as the other settings. Any ideas?

pmkb 01-09-2012 08:10 PM

I've had this installed for a while and everything worked great. Today, suddenly, youtube videos are not embedding correctly. Is anyone else experiencing the same thing?

bada_bing 01-10-2012 01:22 PM

Any Plans to port this over to vb 4.x

pmkb 01-10-2012 02:16 PM

Nevermind... YouTube is working again. Must have been a glitch on YouTube's end.

Spinball 01-11-2012 07:48 AM

Is there a way to have AME work on posts made by the RSS feed?
We've got a feed of our Youtube channel which creates a post with a link to the video, but doesn't embed the video. I have to manually click edit and save on the post to have AME embed the video.
Any help here would be greatly appreciated. Thanks.

weindians 01-11-2012 01:59 PM

Is version 3.0 only for vb4???

Spinball 01-12-2012 06:38 AM

Quote:

Originally Posted by The Geek (Post 1907525)
If I understand correctly, you're trying to insert AME's into RSS feeds. You should be able to add a couple hooks for this, if you PM me a couple of RSS links, ill see if I can look into it when I get home next week.

PM Sent.

BirdOPrey5 01-12-2012 11:22 PM

Quote:

Originally Posted by weindians (Post 2286527)
Is version 3.0 only for vb4???

Yes, but version 2.5 is much better anyway.

erdiyilmaz 01-25-2012 07:37 AM

vBulletin v3.8.7 Patch Level 2 I've had this installed for a while and everything worked great.

But after one week it suddenly stopped to work. And then i couldn't enter to my admincp. it showed db error like this:


PHP Code:

Warningmysql_query(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 408

Warning
mysql_error(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 897

Warning
mysql_errno(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 915

Warning
mysql_query(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 408

Warning
mysql_error(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 897

Warning
mysql_errno(): 7 is not a valid MySQL-Link resource in [path]/includes/class_core.php on line 915 

in config.php i disabled hooks, after that i could enter to my admincp and i immediately disabled ame media embeder.

now my forum is working normally and i could enter to admincp.

spirittina 01-28-2012 05:46 AM

thanks so much :D


All times are GMT. The time now is 08:51 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.04967 seconds
  • Memory Usage 1,873KB
  • 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_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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