argeee
Forum Replies Created
-
Thanks a lot. Completely forgot about renaming the plugin; it worked like a charm.
Thanks again
Forum: Plugins
In reply to: [Contact Form 7 Datepicker] Breaks Contact Form 7Same here, wanted to remove the Datepicker and have found myself having to activate it in order to edit the form.
As with 3rd Hawkinge Scout Group I have removed both the Contact Form 7 and Datepicker files and reinstalled but the problem persists.Is there a way to remove the plug-in and leave Contact Form editing capabilities unaltered?
Thanks
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationThis is what shows on the dashboard:
scbFramework candidates:
…\eq_power\wp-content\plugins\posts-to-posts\scb – r42
…\eq_power\wp-content\plugins\wp-pagenavi\scb – r42Ok. I’ve deactivated all the plugins and reactivated posts-to-post. Got, scbFramework candidates:
\eq_power\wp-content\plugins\posts-to-posts\scb – r47
Asked to to upgrade connections but updated none.I have updated the scb version for wp-pagenavi (didn’t realize it was yours) and activated all the other plugins and now works.
Thanks again,
mauro
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationHow do I check for the scbFramework version??
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationI’m using my own theme as child of the twentyeleven theme.
Is there any particular thing that that theme has that I should be looking out for??thanks,
Mauro
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationHi Scribu,
with 1.0.1 works. No error on the Apache log nor activating.
Tried 1.1.3 and still get the fatal error activation error.
This is the error while activating 1.1.3:
PHP Fatal error: Call to undefined function scb_register_table() …\\Uniserver3\\www\\eq_power\\wp-content\\plugins\\posts-to-posts\\core\\storage.php on line 11, referer: https://localhost/eq_power/wp-admin/plugins.php?plugin_status=recently_activatedRgds,
Mauro
In the mean time I will keep working with 1.0.1. Thanks.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationI can’t seem to find previous versions of the plugin in github. Do you have a repository of previous versions to see if it works with previous versions?
thanks,
mauro
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationHi,
No scb framework on mu-plugins (I don’t have this folder).
The first line on the load.php file reads as follows:$GLOBALS['_scb_data'] = array( 47, __FILE__, array( 'scbUtil', 'scbOptions', 'scbForms', 'scbTable', 'scbWidget', 'scbAdminPage', 'scbBoxesPage', 'scbCron', 'scbHooks', ) );
thanks
mauro
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationI’ve tried both 1.1.3 and 1.1.4. This is the only plugin that I have from you.
thanks
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Fatal Error on activationHi Scribu,
Upon further investigation looking at the error logs, when the plugin was activated and working, it seems that it was not “seeing” my custom post types.
I was getting the following errors:
PHP Notice: Post type ‘ups’ is not defined. in …\\wp-content\\plugins\\posts-to-posts\\core\\type-factory.php on line 35, referer: https://localhost/my_site/products/ups/Hope this helps.
thanks
mauro
Hi Brad,
Just wondering if you had any ideas as to how to resolve this matter.Thanks
Mauro
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Add connections via csv import?You can do it throught PHPmyAdmin if you know the post ids.
What I have done in the past is to use excel and through a VLOOKUP funtion associated the name to the post id. Once finished, you can imported using the save as CSV in Excel.Mauro
Thanks, now it works. Here is the code:
In the functions.php I have included the id:
function my_connection_types() { // Make sure the Posts 2 Posts plugin is active. if ( !function_exists( 'p2p_register_connection_type' ) ) p2p_register_connection_type( array( 'id'=>'product_id_link', 'from' => 'product', 'to' => 'client', 'fields' => array( 'product_link' => 'link' ) ) ); } add_action('init', 'my_connection_types', 100);
in the single-product.php page I have (in php tags):
$wp_query = p2p_type( 'product_id_link' )->get_connected( get_queried_object_id(), array( 'client_type' => 'Distributor')); echo '<h2>' . _e('Where to buy', 'eq_power') . '</h2>'; while ($wp_query->have_posts() ) : $wp_query->the_post(); echo p2p_get_meta($post->p2p_id, 'product_link', true); endwhile; wp_reset_postdata();
I hope this is of help for someone.
Mauro
Hi Scribu,
I have finally have been able to come back to this. However, for the life of me I can’t make it to work. The page is single-product, I the client type is a custom post with ‘distributor’ as taxonomy type.I have turned debug on and I get:
Notice: Undefined variable: my_connection_typeEven if I have in the function.php ‘global $my_connection_type’
Using version 1.0
thanks,
mauro
Yes. The idea being that the link is a placeholder for our product at the distributor’s website. The first part of the link does not change, but the last part, the part associated with the product id does.
Thanks again