jorgelopezph
Forum Replies Created
-
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] compatibility with WPMLHello again
I found a solution for this concrete problem by using ICL_LANGUAGE_CODE from WPML API directly in uwpqsf code.
In searchform.php inside html folder, I added this:
if(ICL_LANGUAGE_CODE==’es’):
echo ‘<input type=”hidden” name=”lang” value=”es” />’;
endif;if(ICL_LANGUAGE_CODE==’fr’):
echo ‘<input type=”hidden” name=”lang” value=”fr” />’;
endif;Maybe this is the dirtiest solution becasuse of modifying plugin code but by adding hidden filed in search form, it is solved.
Thank you for your plugin. I am very happy with it.
Congrats
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] compatibility with WPMLThanks for your reply, TC.K. I did it as you said, I created two forms to be rendered in two different pages but constructed URL for searching give results only for default language, for non-default language there is no results at all.
I can explain it. For instance,
where uformid is a custom query form for default language give results (“España” keyworded query string AND default-language category ).
And:
give no results.
But:
http://mydomain.com?lang=fr&unonce=5a8859a300&uformid=3514&s=uwpsfsearchtrg&taxo[0][name]=advanced_search_tax&taxo[0][opt]=3&taxo[0][term]=articles-ahl-search-publications-fr&taxo[1][name]=category&taxo[1][opt]=3&taxo[2][name]=category&taxo[2][opt]=3&skeyword=Espagne
YES, give results.
Is there any way to add lang=fr to URL for form rendered in a static page direct in plugin or maybe is this a question related WPML tags?
Forum: Plugins
In reply to: [Google Drive WP Media] Install help P12 file problemHi Moch
First of all, thank you for your plugin. It seems to be great to synchronize to a cloud storage.
I am dealing with the same error one and another time,
An error occurred: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error:
and I tried to change the client ID but I am not able to imagine where the error is.
I uploaded the p12 file into a folder, I changed permissions wrx for all users, I can download via server URL
http://www.namedomain/folder/XXXX.p12
but there is no success.
What do you think about this? I am struggling myself but it failed. In localhost there is no problem, it works properly but with a hosted server, no success. OpenSSL is enabled, no SSL certified is contracted but this should not be the issue.
Thank you in advance
Jorge