klode
Forum Replies Created
-
Hi,
I’ve found a possible solution on the file Google_CurlIO.php.The problem is that $respHeaderSize is not correct in some case. So the line 122 of this file can be replace from:
$respHeaderSize = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
to:
$respHeaderSize = strpos($respData, "{");
I wish this solution can be good! ??
Hi,
I’ve found a possible solution on the file Google_CurlIO.php.The problem is that $respHeaderSize is not correct in some case. So the line 122 of this file can be replace from:
$respHeaderSize = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
to:
$respHeaderSize = strpos($respData, "{");
I wish this solution can be good! ??
Hi,
I want to notice some little issues on some installation.
If I apply the change of wp-content folder to something different, on some WP installation there is an issue during media uploading.The solution:
– on wp-config.php you need to add define(“CONTENTDIR”, …) as the same value for “WP_CONTENT_DIR”…
– on wp-config.php you need to fix with define define( ‘UPLOADS’, ‘nome_of_users_for_wp_content/’.’uploads’ );Another issue: I have an installation on https://www.domain.com/otherstuff/demotest/ … but it’s strange, when I want to logout I go to https://www.domain.com/otherstuff/… Infact, on .htaccess I don’t have the path for
$_SERVER[…]/domain.con/otherstuff/demotest/logout (for example)but
$_SERVER[…]/domain.con/otherstuff/logout
I have applied editings by hand, but every time I make a change on this plugin, I need to add the last folder on paths.
thank you
In the configuration page, I get this:
Lock selected access level to this profile:
with a red arrow, and the text:
your profile list needs an update: Click here
And when I click on link, I get the dashboard, with the error above.
After apply the editings on Google_curlIO.php, I get this new error:
Invalid json in service response: Help on WordPress Forum Support on Deconf Forum
what do you think? Does some other problem regarding Altervista?
Thanks… I’ll try right now!
Forum: Fixing WordPress
In reply to: Media exclusive for authorI’ve found myself the plugin.
It is “View own posts and media library items only”, and as the name explain itself, it provide to see only posts and media elements of the creator/uploader logged right now! ??Thanks.
Forum: Plugins
In reply to: [Custom Post Type UI] CPT UI 0.8.1 Beta NOW AVAILABLEHi,
Can you add a new feature? It’s awesome the feature for menu icon. Can you add the new feature post_icon? I have added the new feature and it works. Where and how can I send to you this modified file?Forum: Plugins
In reply to: [Custom Post Type UI] CPT UI 0.8 Reported issuesFor the error on line 94, I’ve substitute the code:
$cpt_rewrite_withfront = ( !$cpt_post_type["rewrite_withfront"] ) ? esc_html($cpt_post_type["rewrite_withfront"]) : true;
with the code:
$cpt_rewrite_withfront = !empty($cpt_post_type["rewrite_withfront"]) ? esc_html($cpt_post_type["rewrite_withfront"]) : true;
This would be apply to all elements in the block code where this one is present, in order to keep any other errors like this.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Use of hooks – How to implement on new plugin?I have found a solution:
Add solution for 3rd party integration and managing errors
I hope this can help somebody.
Forum: Plugins
In reply to: [Firelight Lightbox] WP_DEBUG Notice -> Undefined indexA little suggestions: can you activate the WP_DEBUG mode on your test WordPress Installation, in order to get all errors? ??
Forum: Plugins
In reply to: [Contact-Form-7: 3rd-Party Integration] What the service must return as dataFor a better information about using hooks, I found a little problem. I use a Class, like mailchimp service and all the other services on third-parties folder of the plugin.
add_action('Cf73rdPartyIntegration_service_a0', array(&$this, 'data_registration_execute'), 10, 2);
This is the action in the __construct method of the class.
The method:
public function data_registration_execute($response, $results){...}
require on your code the using the “&” reference for $results, but I get (in debug mode) this error:
Warning: Parameter 2 to Cf73rdParty_NewUserRegistrationCallbacks::data_registration_execute() expected to be a reference, value given
So, the “&” reference is removed. In this mode, this method works fine.
With the action “Cf73rdPartyIntegration_onfailure”, I can get the “errors” element from the action “Cf73rdPartyIntegration_service_a0”, so I can check which type of error I get.
But the command:$cf7->skip_mail=true;
it seems to not work properly, because it sends the mail.
Does I made something wrong?
Forum: Plugins
In reply to: [Contact-Form-7: 3rd-Party Integration] What the service must return as dataHi,
sorry for my delay on response.So my problem is this:
1. I have a form with CF7 with some fields;
2. I create a new Service with CF7 3-rd Party;
3. I set as “submission Url” a php file on my plugin folder (*1);
4. I create a new PHP file with class “Cf73rdParty_NewUserRegistrationCallbacks”;
5. I want make some check before sending emails;So:
(1*) What this file must to be return as data? And how can I use the Class of the service to make some check before send emails?I know, my English is not so good! I hope you can understand my question.
Forum: Plugins
In reply to: [iiRe Social Lite] Html5 Validation error for href attribute on divI have found a solution for this inconvenient.
first of all, remove all elements into Widget settings and Shortcode settings.then, in the “iire_social_lite_widget.js” and “iire_social_lite_shortcode.js” change all “href” attribute calling with jquery to “data-href”, and in the rendering of widget, in the div “icon” element, change “href” to “data-href”.
That’s it.
In the creation of widget for iiRe social Lite, a jQuery function create the string with anchor element and the div with all information regarding the image to show for the social link. One of the attribute (href) will be change to “data-href” for a solution on validation with W3C Validator.
Forum: Themes and Templates
In reply to: [Attitude] Theme Horse Services and Featured widgetsAlthough I have set some pages with Business Template, and I set the featured image, I can not even see the widget on the home page.
How can I fix the problem?