Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Error in Plugin "Kimili Flash Embed" with Dynamic Content Gallery

fixed
UserPost

12:52 pm
February 3, 2010


L-DIGITAL-ACTION

Guest

1

hello,
when I installed it is an error in the plugin "Flash Kimili Embed"

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'dfcg_add_to_options_menu' was given in C:\wamp\www\pano360\wp-includes\plugin.php on line 339

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'dfcg_add_metabox' was given in C:\wamp\www\pano360\wp-includes\plugin.php on line 339

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'dfcg_options_init' was given in C:\wamp\www\pano360\wp-includes\plugin.php on line 339

and it only works in jQuery.

to follow

8:08 pm
February 3, 2010


Ade

Admin

posts 2378

2

Hi,

On which pages do you see these errors? The Kimili plugin page, or the DCG's or somewhere else?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

1:49 am
February 4, 2010


L-DIGITAL-ACTION

Guest

3

Post edited 9:56 pm – February 4, 2010 by Ade


hello
when I insert my flash code in an article.picture

8:44 am
February 4, 2010


Ade

Admin

posts 2378

4

Thanks for the screenshot. I'll see if I can recreate the issue here.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

9:55 pm
February 4, 2010


Ade

Admin

posts 2378

5

Ok, I can recreate the issue.

Looking at the Kimili code used for generating the popup, I'm not yet decided whether the problem lies with Kimili or the DCG. Confused

Anyway, here's a patch which will get around this problem.

Open up dynamic-gallery-plugin.php and replace this:

/* Admin – Register Settings as per new API */
// Function defined in dfcg-admin-core.php
add_action('admin_init', 'dfcg_options_init' );

/* Admin – Adds Settings page */
// Function defined in dfcg-admin-core.php
add_action('admin_menu', 'dfcg_add_to_options_menu');

/* Admin – Adds Metaboxes to Post/Page Editor */
// Function defined in dfcg-admin-metaboxes.php
add_action('admin_menu', 'dfcg_add_metabox');

with this:

if( is_admin() ) {
/* Admin – Register Settings as per new API */
// Function defined in dfcg-admin-core.php
add_action('admin_init', 'dfcg_options_init' );

/* Admin – Adds Settings page */
// Function defined in dfcg-admin-core.php
add_action('admin_menu', 'dfcg_add_to_options_menu');

/* Admin – Adds Metaboxes to Post/Page Editor */
// Function defined in dfcg-admin-metaboxes.php
add_action('admin_menu', 'dfcg_add_metabox');
}

Please test and make sure the DCG options page works OK for you – and let me know how you get on. Thanks.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:56 pm
February 4, 2010


L-DIGITAL-ACTION

Guest

6

Post edited 11:16 pm – February 4, 2010 by L-DIGITAL-ACTION


Thank you very much
I did a quick test it works I have no error and the options DCG post also works for the pages I'll see later.Laugh
Now I see why I do not just switch to Mootools.
I'm way jQuery since the beginning nothing to do with the change.
I will inform you if I find out why.

Thank you again.

Here are the site works

11:12 pm
February 4, 2010


Ade

Admin

posts 2378

7

You're welcome.

Nice site! Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:42 pm
February 4, 2010


L-DIGITAL-ACTION

Guest

8

Indeed, there is a conflict with the plugin "Flash Kimili Embed" when I disable the function Mootools on.
For local cons do not have a problem.

Thank you for site.

I'll make a donation to thank you for the help you give me.

12:46 am
February 5, 2010


Ade

Admin

posts 2378

9

I'm using Kimili Flash Embed on this site without problems. However, I don't have any videos on the same page as the DCG.

I'm not sure I fully understand your last post. Tu peux écrire en français. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:26 am
February 17, 2010


L-DIGITAL-ACTION

Guest

10

Bonjour,

Me voilà de retour après quelques jours de vacances.

Je disais donc, et cela va être plus facile en français, que quand le plugin  « Flash Kimili Embed » était désactivé que je n’avais pas de problème pour que ton plugin  fonctionne en mode « Mootools ».

Si je réactive le plugin « Flash Kimili Embed » je suis dans l’obligation de passé en mode « jQuery ».

Par contre en local, je n’ai pas de problème.

Je tes faits une donation pour te remercier d’avoir résolut mon 1er problème et également pour développé ton plugin.

A bientôt

Laurent

12:51 am
February 18, 2010


Ade

Admin

posts 2378

11

Laurent,

Thanks for the donation. Much appreciated. Smile

I will run some tests on my test server and let you know how I get on.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?