vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   AnyMedia BBCode for 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=106239)

nix 06-30-2007 07:05 AM

The one I released will work with 3.5

egyptsons 07-05-2007 10:31 PM

Quote:

Originally Posted by nix (Post 1279736)
The one I released will work with 3.5

when I try to upload your mode it's give me this error
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'AnyMedia: Process Options', 'admin_options_processing', 'if(in_array($oldsetting[\'varname\'], array(\'anymediaadobeflash\', \'anymediaquicktime\', \'anymediarealplay\', \'anymediawindowsmedia\', \'anymediaadobepdf\', \'anymediaimage\', \'anymediap2p\', \'anymediaflv\', \'anymediadivx\', \'anymediaplayer\'))) {\r\n $bitfield = 0;\r\n foreach ($vbulletin->GPC[\'setting\'][\"$oldsetting[varname]\"] AS $bitval) {\r\n $bitfield += $bitval;\r\n }\r\n $vbulletin->GPC[\'setting\'][\"$oldsetting[varname]\"] = $bitfield;\r\n }', 'anymedia');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Thursday, July 5th 2007 @ 06:11:06 PM
Script      : http://www.egyptsons.com/misr/admincp/plugin.php
Referrer    : http://www.egyptsons.com/misr/admincp/plugin.php?do=productadd


RedGTiVR6 07-05-2007 10:58 PM

I would probably post your question in the new mod that nix uploaded...in the thread he created for it.

Kars10 07-06-2007 06:09 AM

Quote:

Originally Posted by egyptsons (Post 1283910)
when I try to upload your mode it's give me this error
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'AnyMedia: Process Options', 'admin_options_processing', 'if(in_array($oldsetting[\'varname\'], array(\'anymediaadobeflash\', \'anymediaquicktime\', \'anymediarealplay\', \'anymediawindowsmedia\', \'anymediaadobepdf\', \'anymediaimage\', \'anymediap2p\', \'anymediaflv\', \'anymediadivx\', \'anymediaplayer\'))) {\r\n $bitfield = 0;\r\n foreach ($vbulletin->GPC[\'setting\'][\"$oldsetting[varname]\"] AS $bitval) {\r\n $bitfield += $bitval;\r\n }\r\n $vbulletin->GPC[\'setting\'][\"$oldsetting[varname]\"] = $bitfield;\r\n }', 'anymedia');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Thursday, July 5th 2007 @ 06:11:06 PM
Script      : http://www.egyptsons.com/misr/admincp/plugin.php
Referrer    : http://www.egyptsons.com/misr/admincp/plugin.php?do=productadd


Same here (on 3.5.3). :(

egyptsons 07-06-2007 08:58 AM

Quote:

Originally Posted by Kars10 (Post 1284153)
Same here (on 3.5.3). :(

I solve the problem by upload nix files only
and import crist product ;)
and everything is ok now

Kars10 07-06-2007 09:04 AM

I have Christs Version installed already. So, i only need to upload nix files without installing any product, right? Does youtube work for you?

Thx,
Kars

egyptsons 07-06-2007 09:14 AM

Quote:

Originally Posted by Kars10 (Post 1284207)
I have Christs Version installed already. So, i only need to upload nix files without installing any product, right? Does youtube work for you?

Thx,
Kars

right
Youtube work fine after uploaded nix file
see here
http://www.egyptsons.com/misr/showpo...41&postcount=1

Harley-Heaven 07-14-2007 07:06 AM

This is the error message that I get when I try to load the Mod. The Player used to work fine up until about a month ago.... then I kept getting the "FAILED" message.

Once I reloaded this option, it seems to have gotten a whole lot worse.... I think that I am going to have to look for a better stable option is there is no support on this Mod now...... it's a pity... it used to be good...

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'AnyMedia: Create BBCode', 'bbcode_create', 'if ($this->registry->options[\'anymediaenable\'] && ($this->registry->userinfo[\'permissions\'][\'anymediapermissions\'] & $this->registry->bf_ugp_anymediapermissions[\'canuse\']) )\r\n{\r\n // [MEDIA]\r\n $this->tag_list[\'option\'][$this->registry->options[\'anymediatag\']] = array(\r\n \'callback\' => \'handle_external\',\r\n \'strip_empty\' => true,\r\n \'stop_parse\' => true,\r\n \'disable_smilies\' => true,\r\n \'disable_wordwrap\' => true,\r\n \'strip_space_after\' => 1,\r\n \'external_callback\' => \'handle_bbcode_media\'\r\n );\r\n $this->tag_list[\'no_option\'][$this->registry->options[\'anymediatag\']] = array(\r\n \'callback\' => \'handle_external\',\r\n \'strip_empty\' => true,\r\n \'stop_parse\' => true,\r\n \'disable_smilies\' => true,\r\n \'disable_wordwrap\' => true,\r\n \'strip_space_after\' => 1,\r\n \'external_callback\' => \'handle_bbcode_media\'\r\n );\r\n if (!function_exists(\'handle_bbcode_media\'))\r\n {\r\n /**\r\n * Handles a match of the [media] tag that will be displayed as an media object\r\n * Author Crist Chsu\r\n * @param object A reference to this BB code parser.\r\n * @param string code of the media.\r\n * @param string option of the media.\r\n * @return string HTML representation of the media\r\n */\r\n function handle_bbcode_media( &$parser, $text, $options=\'\' )\r\n {\r\n global $vbphrase, $stylevar;\r\n if($parser->registry->userinfo[\'permissions\'][\'anymediapermissions\'] & $parser->registry->bf_ugp_anymediapermissions[\'canuse\']) {\r\n $text = str_replace(array(\'[\', \']\'), array(\'[\', \']\'), $text);\r\n $text = strip_bbcode($text, true, true, false);\r\n if($parser->is_wysiwyg()) {\r\n return \'[\' . $parser->registry->options[\'anymediatag\'] . iif($options, \'="\' . $options . \'"\') . \']\' . $text . \'[/\' . $parser->registry->options[\'anymediatag\'] . \']\';\r\n } else {\r\n include_once \'class_anymedia.php\';\r\n $anyMedia = new Anymedia($parser->registry);\r\n $media = $anyMedia->fetch($text, $options);\r\n $media[\'layout\'] = $media[\'width\'] + $stylevar[\'cellpadding\'] * 2 + $stylevar[\'cellspacing\'] * 4;\r\n eval(\'$text = \"\' . fetch_template(\'anymedia\') . \'\";\');\r\n return $text;\r\n }\r\n } else {\r\n return $vbphrase[\'anymedia_no_permissions\'];\r\n }\r\n }\r\n }\r\n}', 'anymedia');

RedGTiVR6 07-14-2007 01:20 PM

or - you could read back a few pages and learn that Nix has taken on this mod and has run with it:

https://vborg.vbsupport.ru/showthread.php?t=150491

mrmike 07-14-2007 06:52 PM

in the XML file

Find all:
<plugin active="1" executionorder="5">

change to:
<plugin active="1">

This will work!

/Mike


Quote:

Originally Posted by Harley-Heaven (Post 1290629)
This is the error message that I get when I try to load the Mod. The Player used to work fine up until about a month ago.... then I kept getting the "FAILED" message.

Once I reloaded this option, it seems to have gotten a whole lot worse.... I think that I am going to have to look for a better stable option is there is no support on this Mod now...... it's a pity... it used to be good...

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'AnyMedia: Create BBCode', 'bbcode_create', 'if ($this->registry->options[\'anymediaenable\'] && ($this->registry->userinfo[\'permissions\'][\'anymediapermissions\'] & $this->registry->bf_ugp_anymediapermissions[\'canuse\']) )\r\n{\r\n // [MEDIA]\r\n $this->tag_list[\'option\'][$this->registry->options[\'anymediatag\']] = array(\r\n \'callback\' => \'handle_external\',\r\n \'strip_empty\' => true,\r\n \'stop_parse\' => true,\r\n \'disable_smilies\' => true,\r\n \'disable_wordwrap\' => true,\r\n \'strip_space_after\' => 1,\r\n \'external_callback\' => \'handle_bbcode_media\'\r\n );\r\n $this->tag_list[\'no_option\'][$this->registry->options[\'anymediatag\']] = array(\r\n \'callback\' => \'handle_external\',\r\n \'strip_empty\' => true,\r\n \'stop_parse\' => true,\r\n \'disable_smilies\' => true,\r\n \'disable_wordwrap\' => true,\r\n \'strip_space_after\' => 1,\r\n \'external_callback\' => \'handle_bbcode_media\'\r\n );\r\n if (!function_exists(\'handle_bbcode_media\'))\r\n {\r\n /**\r\n * Handles a match of the [media] tag that will be displayed as an media object\r\n * Author Crist Chsu\r\n * @param object A reference to this BB code parser.\r\n * @param string code of the media.\r\n * @param string option of the media.\r\n * @return string HTML representation of the media\r\n */\r\n function handle_bbcode_media( &$parser, $text, $options=\'\' )\r\n {\r\n global $vbphrase, $stylevar;\r\n if($parser->registry->userinfo[\'permissions\'][\'anymediapermissions\'] & $parser->registry->bf_ugp_anymediapermissions[\'canuse\']) {\r\n $text = str_replace(array(\'[\', \']\'), array(\'[\', \']\'), $text);\r\n $text = strip_bbcode($text, true, true, false);\r\n if($parser->is_wysiwyg()) {\r\n return \'[\' . $parser->registry->options[\'anymediatag\'] . iif($options, \'=&quot;\' . $options . \'&quot;\') . \']\' . $text . \'[/\' . $parser->registry->options[\'anymediatag\'] . \']\';\r\n } else {\r\n include_once \'class_anymedia.php\';\r\n $anyMedia = new Anymedia($parser->registry);\r\n $media = $anyMedia->fetch($text, $options);\r\n $media[\'layout\'] = $media[\'width\'] + $stylevar[\'cellpadding\'] * 2 + $stylevar[\'cellspacing\'] * 4;\r\n eval(\'$text = \"\' . fetch_template(\'anymedia\') . \'\";\');\r\n return $text;\r\n }\r\n } else {\r\n return $vbphrase[\'anymedia_no_permissions\'];\r\n }\r\n }\r\n }\r\n}', 'anymedia');



All times are GMT. The time now is 07:44 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.05832 seconds
  • Memory Usage 1,784KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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