vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - AME 2.0 -Auto Media Embedding for posts, blogs, visitor and group messsages (https://vborg.vbsupport.ru/showthread.php?t=189267)

kfiasche81 10-24-2008 05:50 PM

i have installed it and when i rebuild all post i receive this warning
Code:

Warning: unserialize() expects parameter 1 to be string, array given in [path]/admincp/automediaembed_admin.php on line 1316

Digital Jedi 10-25-2008 05:20 AM

Hey Geek,

I've been running into a couple of problems with developing definitions for 2.5. Every so often, I make a definition and the $url and $title do not parse on certain people's forums, even with the brackets. I thought I goofed and needed to use the $ameinfo_ prefix, but that didn't work either. I've had a chance to test a few boards and see if their is a common, or conflicting hack, and can't quite find a common denominator just yet (other then the Post Thanks Hack, which I don't think is related). I forget, did I mention this already? My brain is not what I imagine it used to be.

kfiasche81 10-25-2008 05:30 AM

i have the 2.5 rc1
i receive another error when ai write a new post with blip.tv link..

Code:

Parse error: syntax error, unexpected '(' in /home/iltermit/public_html/forum/includes/ame_bbcode.php(323) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;http://blip.tv/file/1369370/&quot;, &quot;&quot;, 1, &quot;~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\(&quot;([\w-_]+)&quot;\)~sim&quot;, &quot;&quot;,$ameinfo) in /home/iltermit/public_html/forum/includes/ame_bbcode.php on line 323


Digital Jedi 10-25-2008 05:39 AM

Quote:

Originally Posted by kfiasche81 (Post 1652241)
i have the 2.5 rc1
i receive another error when ai write a new post with blip.tv link..

Code:

Parse error: syntax error, unexpected '(' in /home/iltermit/public_html/forum/includes/ame_bbcode.php(323) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;http://blip.tv/file/1369370/&quot;, &quot;&quot;, 1, &quot;~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\(&quot;([\w-_]+)&quot;\)~sim&quot;, &quot;&quot;,$ameinfo) in /home/iltermit/public_html/forum/includes/ame_bbcode.php on line 323


Did you download 2.5 very recently? That parse error was corrected in the most recent version.

kfiasche81 10-25-2008 10:19 AM

yes.. yesterday..

and another error when i open ,in admincp, Tools for old post

Code:

Warning: unserialize() expects parameter 1 to be string, array given in [path]/admincp/automediaembed_admin.php on line 1214

webuser99 10-26-2008 05:34 AM

If I decide to uninstall this later down the road will it cause problems? Will it just stop embedding videos? disable previously embedded videos? thanks!

Will this increase the CPU usage on my server by a LOT?

Thank you (I also installed the master list for video embedding)

cykelmyggen 10-26-2008 06:57 AM

When opening a video from YouTube it turns play/pause on and off all the time when running. When opening video on Youtube.com there is no problem. When I pull the slider a bit to the it runs, but stille with play/pause on and off. Could need a suggestion on how to fix this?

http://www.boggnasker.dk/vbforum/hja...html#post18198

http://www.youtube.com/watch?v=C_0e-mOEatM

Digital Jedi 10-27-2008 05:35 PM

Quote:

Originally Posted by webuser99 (Post 1652905)
If I decide to uninstall this later down the road will it cause problems? Will it just stop embedding videos? disable previously embedded videos? thanks!

It can turn everything back to regular links if you decide to uninstall. See the information on Rebuilding tags.

Quote:

Will this increase the CPU usage on my server by a LOT?
Nope, it only does anything when a post is built. It's less server intensive then BBCode.

Quote:

Originally Posted by cykelmyggen (Post 1652929)
When opening a video from YouTube it turns play/pause on and off all the time when running. When opening video on Youtube.com there is no problem. When I pull the slider a bit to the it runs, but stille with play/pause on and off. Could need a suggestion on how to fix this?

http://www.boggnasker.dk/vbforum/hja...html#post18198

http://www.youtube.com/watch?v=C_0e-mOEatM

That looks to me to be a problem with YouTube itself.

sweeps78 10-27-2008 07:06 PM

Quote:

These are both likely due to YouTube maintanance issues.
Unfortunately, It is not this easy. It works just fine for some of my members, but not all. In fact, I have a coworker who sits right next to me and the videos do not work for him, yet the videos work just fine for me. What makes it even stranger, is that we have the same computers practically and are on the same network...

stlcard_25 10-27-2008 09:11 PM

I downloaded and followed the instructions here (put the forums folder in my forum directory, imported the ame.xml file) , yet I'm not sure if it's installed or if there's some other step I have to take (?). The AME CP is not there and if I turn the product on, I get this error when I try to make any posts:

Code:

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

Fatal error: require_once() [function.require]: Failed opening required '/home/
*****/public_html/forum/includes/ame_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****public_html/forum/newreply.php(739) : eval()'d code on line 1

What have I done wrong?

struff 10-27-2008 09:37 PM

Quote:

Originally Posted by The Geek (Post 1648567)
It shouldnt take anything like that amount of time. You can try adding the flag to your posts table ahead of the install. To do so, use phpmyadmin or similar and add a column called ame_flag of type tinyint to your posts table.

Please note that you should backup first.

HTHs



Any chance you can give me a little more detail how to do this in phpmyadmin? My experience in phpmyadmin is limited although I've had no problems doing things in there with more details.

If I understand this correctly, in the Post table I would be adding a field - does it matter if it is at the beginning or end of the table or after any particular field? I'm guessing that the Field Name would be "ame_flag"? Do I need any values after the Type?

Thanks.

58D 10-28-2008 04:49 AM

Great Mod...but having a problem. The youtube video plays fine until you try to go to full screen mode. If you select the full screen mode, the sound continues but the video freezes. When you hit the escape key to go back to minimized mode, the video plays correctly but the rest of the webpage goes pure white. Here is a link to what I'm talking about:
http://www.homebuiltairplanes.com/te...est-video.html

58D 10-28-2008 04:53 AM

Update: It only appears to be happening in IE. Not Safari, Netscape, or Firefox.

58D 10-28-2008 06:22 PM

Update: Now it seems to only be in my home browser IE7 Browser. At work it's fine but at home it's broke. I'm using IE7 in both places. I updated my Java at home to no effect. Is there something else I should check? 80% of my users use IE so I'd like to figure it out before it goes to my live board. Any ideas?

Emunator 10-28-2008 08:17 PM

The Geek, i also have a problem with showing the youtube videos as no longer available.

I noticed that you said extraction needs to be on and the server needs to support it.

Wich option on the server should i chance, i guess it has something to do with php.

wAnBoA 10-29-2008 12:10 PM

Thanks for this awesome mod. But i have a question.
How do i edit the Post Width and Height? I edited them to 500x500 under Posting Zone Settings. It's still intact with the default settings.

Verbose 10-29-2008 04:15 PM

Does anyone know why sometimes a posted YouTube video will just show the "loading" animated circle image and hang?

58D 10-29-2008 06:43 PM

Quote:

Update: Now it seems to only be in my home browser IE7 Browser
It appears I needed to update my flash player. It's working now.

Digital Jedi 10-29-2008 07:53 PM

Quote:

Originally Posted by sweeps78 (Post 1654003)
Unfortunately, It is not this easy. It works just fine for some of my members, but not all. In fact, I have a coworker who sits right next to me and the videos do not work for him, yet the videos work just fine for me. What makes it even stranger, is that we have the same computers practically and are on the same network...

I wasn't suggesting it was easily dismissed, what I'm suggesting is that it's not a modification issue. All AME does is replicate the embed code provided by YouTube. It would either work, or it wouldn't. Bizzare behavior is generally an indication of a problem with the source of the video, which would explain why it's different for different users/computers.

Quote:

Originally Posted by stlcard_25 (Post 1654100)
I downloaded and followed the instructions here (put the forums folder in my forum directory, imported the ame.xml file) , yet I'm not sure if it's installed or if there's some other step I have to take (?). The AME CP is not there and if I turn the product on, I get this error when I try to make any posts:

Code:

Warning: require_once([path]/includes/ame_bbcode.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newreply.php(739) : eval()'d code on line 1
 
Fatal error: require_once() [function.require]: Failed opening required '/home/
*****/public_html/forum/includes/ame_bbcode.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****public_html/forum/newreply.php(739) : eval()'d code on line 1

What have I done wrong?

Did you upload the contentsof the forums folder to your forums directory, or did you just put the entire folder there? The reason it's called forums is because most folks have their forum located in a folder called forums. Whatever folder you keep your forum in is your forum's root directory. So that's where the contents of the forums folder should go.

zeaphyr 10-29-2008 11:04 PM

great mod ..

Ian Cunningham 10-30-2008 01:10 PM

Thanks - this works great on my site! :D

Demo : http://www.w7forums.com/windows-7-pr...-2008-t23.html

Jonathan81 10-30-2008 07:33 PM

Quote:

Originally Posted by Replicators (Post 1651217)
Well, i am getting the following error when trying to post videos.

Code:

Warning: include(/kunden[path]/amecachefindonly.php) [function.include]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74
Whats wrong?

Same issue here when I try to rebuild the post cache. Turned off 'enable file cache' and 'extract destination data' then tried rebuilding again and it worked.

J

Jonathan81 10-31-2008 12:19 AM

Just installed this today. Have the same issue as a few other people with the flash loading icon appearing but no video. However, this only seems to happen in the Firefox browser, works fine in IE. Any suggestions?

The Geek 10-31-2008 08:16 AM

Quote:

Originally Posted by Ral.ly (Post 1656357)
Just installed this today. Have the same issue as a few other people with the flash loading icon appearing but no video. However, this only seems to happen in the Firefox browser, works fine in IE. Any suggestions?

Update flash and/or ff.

REMEMBER: This system only transforms your URL into the destination sites embed code!


Finally the following type of errors:

failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php

Are because the files were either not uploaded into the correct location, some files weren't uploaded or the uploaded files do not have permission to be run.

The Geek 10-31-2008 08:21 AM

Quote:

Originally Posted by struff (Post 1654120)
Any chance you can give me a little more detail how to do this in phpmyadmin? My experience in phpmyadmin is limited although I've had no problems doing things in there with more details.

If I understand this correctly, in the Post table I would be adding a field - does it matter if it is at the beginning or end of the table or after any particular field? I'm guessing that the Field Name would be "ame_flag"? Do I need any values after the Type?

Thanks.

Sorry, I really can't. If you are semi new to using phpmyadmin and/or sql I would suggest avoiding the use of it (especially on a large site). Im sure it isn't what you want to hear, however I just don't feel overly comfortable helping you edit your db tables via a forum. Hope you understand :)

The Geek 10-31-2008 08:22 AM

Quote:

Originally Posted by wAnBoA (Post 1655273)
Thanks for this awesome mod. But i have a question.
How do i edit the Post Width and Height? I edited them to 500x500 under Posting Zone Settings. It's still intact with the default settings.

Most likely a post cache issue

The Geek 10-31-2008 08:24 AM

Quote:

Originally Posted by Digital Jedi (Post 1652237)
Hey Geek,

I've been running into a couple of problems with developing definitions for 2.5. Every so often, I make a definition and the $url and $title do not parse on certain people's forums, even with the brackets. I thought I goofed and needed to use the $ameinfo_ prefix, but that didn't work either. I've had a chance to test a few boards and see if their is a common, or conflicting hack, and can't quite find a common denominator just yet (other then the Post Thanks Hack, which I don't think is related). I forget, did I mention this already? My brain is not what I imagine it used to be.

PM me some example DJ and Ill check into them :)

The Geek 10-31-2008 08:25 AM

Quote:

Originally Posted by testebr (Post 1648650)
Any ETA for final version?

cya

Nope. I have some changes for another RC or Gold, but havent had time to roll them up into a release. TBH, there are really few problems with the current RC and the issues that are there are pretty minor as they mainly just prevent rebuilding and/or converting old posts.

ArnyVee 10-31-2008 12:35 PM

Hello folks, I need some help here.

I'm getting the following error message on my 'test' forums.

Quote:

Warning: preg_replace() [function.preg-replace]: Empty regular expression in [path]/includes/ame_bbcode.php on line 708
Any suggestions on what to do in order to fix this?

The Geek 10-31-2008 12:42 PM

Check your file cache settings and make sure that the folder that stores the cache (by default this is called amecache) is writeable if you are using the file cache.

ArnyVee 10-31-2008 12:48 PM

Quote:

Originally Posted by The Geek (Post 1656595)
Check your file cache settings and make sure that the folder that stores the cache (by default this is called amecache) is writeable if you are using the file cache.

Yes, it was at 777.

Any other suggestions?

The Geek 10-31-2008 01:25 PM

did you confirm the path in your file cache settings?

ArnyVee 10-31-2008 01:41 PM

Yes, file path is correct (/testvb/amecache/) in the settings. And it's clicked to 'yes'.

What else should I check?

The Geek 10-31-2008 02:15 PM

if you disable file caching, does it work?

ArnyVee 10-31-2008 02:33 PM

It does work when setting Enable File Cache to "no".

Will it cause any issues if I don't enable file cache? How will it affect my forum?

The Geek 10-31-2008 02:57 PM

it will be fine set to no. Having it on gives a performance boost though.

I suggest double checking the path and folder permissions again. Turn it back on to see if the cache gets built in the amecache folder. If that doesnt work, you wont be able to use it :)

ArnyVee 10-31-2008 04:42 PM

Thanks. I've set it to 'off' and then 'on' a couple times now and it's working now on "on" for some reason. So, I'm not going to touch it again for now! :D

Thanks for your help.

backgroundguy 11-01-2008 12:43 PM

Can you tell me whether it is possible to embed videos that are hosted at www.screencast.com with this product? Thanks.

Digital Jedi 11-03-2008 12:06 AM

Quote:

Originally Posted by ArnyVee (Post 1656722)
Thanks. I've set it to 'off' and then 'on' a couple times now and it's working now on "on" for some reason. So, I'm not going to touch it again for now! :D

Thanks for your help.

See, I told you it would be something simple that I was too braindead to think of. :D

Quote:

Originally Posted by backgroundguy (Post 1657085)
Can you tell me whether it is possible to embed videos that are hosted at www.screencast.com with this product? Thanks.

Only for one media type, and not the multiple types the site uses.

NeverBored 11-03-2008 04:07 AM

Great work on 2.5, it was great before, but the new features are awesome.

I just saw someone post about this in DJs thread so I thought I'd bring it here since I ran into this too. When importing definitions like from DJ's master list, you're stopped completely from importing if you have any definitions included in the master list even if you deselect them from being imported. I understand it was built to avoid duplicates, but I think it should be changed to allow you to selectively import from the master list as long as you deselect the duplicates or just import the non-duplicates, or something like that...

For most I'm sure it's not an issue deleting the old, but if you edit the replacement codes you're then stuck to adding new or updated definitions one by one, or deleting the old and re-editing one by one.


All times are GMT. The time now is 04:49 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.02090 seconds
  • Memory Usage 1,852KB
  • 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
  • (7)bbcode_code_printable
  • (19)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