vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

milaszewski 06-21-2010 10:42 AM

after uploading files from 4.0.4 patch I get this error:
Code:

Invalid SQL:
SELECT id FROM forum_ame_disabled_posts WHERE id= and typeid=1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and typeid=1' at line 1


Diablotic 06-21-2010 11:19 AM

Vitaly - cleared cache and works like a charm. Thanks!

KURTZ 06-21-2010 11:31 AM

Quote:

Originally Posted by Vitaly (Post 2056321)
Patched AME. REQUIRE vb 4.0.4. No more vb sources changes needed.

please, DISABLE ame cache (speed will not be affected).

Fixes were already described here

Full sources with changes history here: http://github.com/rcdesign/vb-foreig...aster/vb-ame3/

so with the 4.0.4 we must use this version without any edit, correct?

edit: there is a trouble with the signatures, it needs to be rebuilded ... also just a question, it's possible to rescale the video in the sign?

Vitaly 06-21-2010 03:14 PM

Quote:

Originally Posted by KURTZ (Post 2056858)
so with the 4.0.4 we must use this version without any edit, correct?

You not must, but you can :) , if you wish :) . That's not my product, and not official patch. It's done for my forum and shared, as most of my & my programmers work.

Quote:

Originally Posted by KURTZ (Post 2056858)
edit: there is a trouble with the signatures, it needs to be rebuilded ... also just a question, it's possible to rescale the video in the sign?

I don't use that feature at my forum, so, can't comment. Probably, it's better to disable most bbcodes in signature at all, to avoid aggresive spamming.

kylek 06-21-2010 10:53 PM

Tried your version and we get this error showing at the top of the page when someone posts a link in any post:

Warning: preg_replace() [function.preg-replace]: Parameter mismatch, pattern is a string while replacement is an array in [path]/includes/ame_prep.php on line 561

Warning: preg_replace() [function.preg-replace]: Parameter mismatch, pattern is a string while replacement is an array in [path]/includes/ame_prep.php on line 562

KURTZ 06-22-2010 07:36 AM

Quote:

Originally Posted by Vitaly (Post 2056967)
You not must, but you can :) , if you wish :) . That's not my product, and not official patch. It's done for my forum and shared, as most of my & my programmers work.



I don't use that feature at my forum, so, can't comment. Probably, it's better to disable most bbcodes in signature at all, to avoid aggresive spamming.

thanks Vitaly :) anyway i'm curious, what hack do you use on your board?

Cadellin 06-22-2010 03:34 PM

Quote:

Originally Posted by milaszewski (Post 2056847)
after uploading files from 4.0.4 patch I get this error:
Code:

Invalid SQL:
SELECT id FROM forum_ame_disabled_posts WHERE id= and typeid=1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and typeid=1' at line 1


I'm getting the same error unfortunately.

Videx 06-22-2010 03:51 PM

I just hope that the author remembers to mark this as reusable code before he leaves completely.

rrudeboy 06-23-2010 12:25 PM

resolved.

Vitaly 06-23-2010 08:27 PM

Quote:

Originally Posted by kylek (Post 2057164)
Tried your version and we get this error showing at the top of the page when someone posts a link in any post:

https://vborg.vbsupport.ru/showpost....&postcount=720


All times are GMT. The time now is 03:21 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.04021 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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