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)

Ryloth 06-15-2009 06:05 PM

So this step:

Adding index to post table. Please standy by.... this bit can take a few...

Has now been running for over 30 hours.

I am running it in a browser window from my server. It hangs on trying to create an index apparently. What is your suggestion? I am half tempted to remove this step from the product and create the index in mysql on my own. The post table has over 2 million rows and is myisam.

Kavadas 06-15-2009 06:16 PM

Alright, I finally got AME working (and it's great!) but I have one more n00b question. I went ahead and created a custom BBCode entry for AME through the AdminCP. The button is up on my post editor toolbar and it correctly adds the BBCode tags. When I submit a post it displays correctly and works fine but when I hit preview or go to edit the AME tags simply revert to URL tags the message field itself.

Meaning that if I preview something and submit my AME tags switch to URL tags in the message editor box. Or if I go to edit something they'll switch to URL and screw up the post unless you manually change the URL tags back into AME tags.

In the "replacement" field I currently have:
Code:

<div class="ame"> {param} </div>
What should I stick in here to prevent this from happening?

The Geek 06-17-2009 03:29 PM

Quote:

Originally Posted by Kavadas (Post 1830232)
Alright, I finally got AME working (and it's great!) but I have one more n00b question. I went ahead and created a custom BBCode entry for AME through the AdminCP. The button is up on my post editor toolbar and it correctly adds the BBCode tags. When I submit a post it displays correctly and works fine but when I hit preview or go to edit the AME tags simply revert to URL tags the message field itself.

Meaning that if I preview something and submit my AME tags switch to URL tags in the message editor box. Or if I go to edit something they'll switch to URL and screw up the post unless you manually change the URL tags back into AME tags.

In the "replacement" field I currently have:
Code:

<div class="ame"> {param} </div>
What should I stick in here to prevent this from happening?

I am not sure why you would do this? AME was designed so that you and your users just had to paste the URLs in the post. AME will do the rest.

The Geek 06-17-2009 03:30 PM

Quote:

Originally Posted by Ryloth (Post 1830230)
So this step:

Adding index to post table. Please standy by.... this bit can take a few...

Has now been running for over 30 hours.


I am running it in a browser window from my server. It hangs on trying to create an index apparently. What is your suggestion? I am half tempted to remove this step from the product and create the index in mysql on my own. The post table has over 2 million rows and is myisam.

That would indeed work, but you wouldnt have to take the step out of the product file, ame will silently skip the step if the column is already there.

The Geek 06-17-2009 03:34 PM

Quote:

Originally Posted by Kavadas (Post 1828257)
No, it's definitely set to "No" in that disable new stuff option and when it wasn't working my usergroup permissions was one of the first things I checked but that's kosher too.

I thought maybe I had fudged the chmod on that amecache folder or something but it was all sevens so... yeah, I'm lost on this one :confused:

I lay money on the fact that something is being overlooked. The most common mistakes centred around the 'it doesn't work' arena are:

1- Users install product and go 'refresh' a page that has a media URL in it. AME doesn't work this way. AME will sprinkle its magic onto a post only when AME is installed and the post is saved (or rebuilt using the tools)

2- Users are pasting a youtube video into a post, but the video they are posting has external embedding disabled so AME just links to the video instead of showing you a broken one ;) (in other words, it is actually working)

3- Usergroup permissions are wrong

4- Cache setup wrong (disable the file cache to test).

5- They are trying to install on phpBB. Fail.

Chadi 06-17-2009 05:39 PM

Quote:

Originally Posted by The Geek (Post 1827038)
I am sure this could be done by just editing the templates, but currently have no plans to expand the feature set. I assume next time I crack open the code will be to develop a version for vb4.0.

Nice effect though :)

Thanks.

Kavadas 06-18-2009 08:14 AM

Quote:

Originally Posted by The Geek (Post 1831348)
I am not sure why you would do this? AME was designed so that you and your users just had to paste the URLs in the post. AME will do the rest.

AME only works for me when I surround the media's URL with AME and /AME (bracketed, of course).

Quote:

Originally Posted by The Geek (Post 1831356)
I lay money on the fact that something is being overlooked. The most common mistakes centred around the 'it doesn't work' arena are:

1- Users install product and go 'refresh' a page that has a media URL in it. AME doesn't work this way. AME will sprinkle its magic onto a post only when AME is installed and the post is saved (or rebuilt using the tools)

2- Users are pasting a youtube video into a post, but the video they are posting has external embedding disabled so AME just links to the video instead of showing you a broken one ;) (in other words, it is actually working)

3- Usergroup permissions are wrong

4- Cache setup wrong (disable the file cache to test).

5- They are trying to install on phpBB. Fail.

1. I didn't refresh a page to see if it worked. I created a new post with several links from various video tube sites (G4TV, YouTube, Google Video).

2. Like I said, I posted multiple videos from multiple sites.

3. I've checked and rechecked usergroup permissions. Everything is kosher here (as mentioned in a previous post this was the first thing I checked for troubleshooting).

4. Cache setup is not wrong. It's currently set as enabled, the folder is place in the correct directory, and it is CHMODded to "777." There are no cache alerts at the top of the AME CP options page.

5. My site utilizes vBulletin 3.8.3.

Ohiosweetheart 06-18-2009 03:30 PM

Are there any known issues concerning AME and the vBBlog?

I just tried posting to our blog, and got the following database error, which would seem to involve AME?

Quote:

Database error in vBulletin 3.8.2:

Invalid SQL:
UPDATE blog_text SET ame_flag=0 WHERE blogtextid = 0;

MySQL Error : Unknown column 'ame_flag' in 'field list'
Error Number : 1054
Request Date : Thursday, June 18th 2009 @ 12:25:30 PM
Error Date : Thursday, June 18th 2009 @ 12:25:31 PM
Script : http://rushhourmadness.com/blog_post...teblog&blogid=
Referrer : http://rushhourmadness.com/blog_post.php?do=newblog
IP Address : 99.138.12.173
Username : Peggy
Classname : vB_Database
MySQL Version : 5.0.77-community
any ideas here?
Thanks in advance. :)

The Geek 06-19-2009 03:32 PM

That means AME was installed before vbBlog. Check the AME tools menu in the admincp. There is an option to add the ame_flag column you need ;)

The Geek 06-19-2009 03:34 PM

Quote:

Originally Posted by Kavadas (Post 1831759)
AME only works for me when I surround the media's URL with AME and /AME (bracketed, of course).

Do you have vbseo running and if so, are you using it to track outbound links? Or maybe any other link modifying hack?


All times are GMT. The time now is 08:13 PM.

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.02988 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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