eddiebouncer
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme My Login] Site not behind TML front end loginWelcome back, thanks for the reply.
I guess that clarifies all.
Cheers, Ed’
Forum: Plugins
In reply to: [Relevanssi - A Better Search] exclude specific category for specific userThanks for thinking along. I like ur snippet as it’s more Relevanssi specific – where mine is more ‘in general’
Cheers, Ed’
Forum: Plugins
In reply to: [Relevanssi - A Better Search] exclude specific category for specific userHmm, that’s too indepth relevanssi for me.
I’ve tried to exclude the restricted categories for the specific user from the search results:function my_search_filter( $query ) { $user_ID = get_current_user_id(); global $wp_the_query; if( $query === $wp_the_query && $query->is_search() && $user_ID == 10 ) { $tax_query = array( array( 'taxonomy' => 'download_category', 'field' => 'slug', 'terms' => 'hidden-cat', 'operator' => 'NOT IN', ) ); $query->set( 'tax_query', $tax_query ); } } add_action( 'pre_get_posts', 'my_search_filter' );
Seems to work alright – or would this be a weird workaround?
Cheers, Ed’
Forum: Plugins
In reply to: [Relevanssi - A Better Search] exclude specific category for specific userThanks for pointing me in the right direction,
Do i need the post ID? as the filter is based on the restricted (download)category (Easy Digital Downloads) and specific user
I fiddled some, but it doesn’t work – and doesn’t feel ok either :/
add_filter( 'relevanssi_post_ok', 'rlv_restricted', 10, 2 ); function rlv_restricted( $post_ok, $post_id, $current_user_id, $download_category ) { $current_user_id = wp_get_current_user(); $post = get_post( $post_id ); if ( $current_user_id = 10 && $download_category = 795 ) { $post_ok = false; } else { return $post_ok; }
Add2: managed by using an old version (5.5) of the plugin..
Found another thread (with solution) here (where they used version 6.6 or so): https://www.ads-software.com/support/topic/i-the-solution-fix-plugin-100-worked/
Cheers, Ed’
- This reply was modified 1 year, 11 months ago by eddiebouncer.
Add: and i can’t figure out how to get the extractor working (on a mac)
Forum: Plugins
In reply to: [EDD Hide Download] hide by category for certain user@cklosows Thanks for adding it to the list.
Do you also do customization like the mentioned idea of a snippet? Or point me in the right direction where i can ask this specific case?
Cheers, Ed’
Hi there, @wfpeter
Sorry for the mistyped URL (it doesn’t need the dash..). But i’ve tackled the issue. Users would log in with their e-mailadress instead of their username. Tbh i overlooked this as this didn’t even come to mind at first.
– For visitors your suggestion is a nice addition.
– Whitelist IP is not too relevant as many people work from home etc, which yields in a lot of IP’s.Thanks for the suggestions.
Forum: Plugins
In reply to: [WP LinkedIn Auto Publish] fatal error / company pagethanks for checking things out. I’ll take a look at the autosocial-plugin.
Cheers, Ed’
Forum: Plugins
In reply to: [WP LinkedIn Auto Publish] fatal error / company pageUnfortunately it doesn’t show a profile on the tab. I only see “Select the profile and companies you want to use with the plugin”, but no option to chose.
Cheers, Ed’
Forum: Plugins
In reply to: [WP LinkedIn Auto Publish] fatal error / company pagethanks for the changes. When i try to connect i get the following error:
“Something went wrong, the error reported by LinkedIn is: 400 Bad Request {“error”:”invalid_request”,”error_description”:”Unable to retrieve access token: appid/redirect uri/code verifier does not match authorization code. Or authorization code expired. Or external member binding exists”}. Please try again later or if the issue persists please visit the Help tab.”When i tried a 2nd time:
– i get the Northern Beaches Websites linkedin screen to approve.
– back in the WP-backend it says: Current Authentication Status
An error occured, the error reported by LinkedIn is: There was an error making the request.
But, it also says: The connection to your LinkedIn account has been successful. You now need to select what profile/companies you want to share with, we will take you there in 6,5,4 etc. and does take me to the ‘Profile Selection’-tab.
– but when i tab back to the ‘Connect’-tab it gives the error ‘making the request’Does this help to target the issue?
Thanks, Ed’
Forum: Plugins
In reply to: [WP LinkedIn Auto Publish] fatal error / company pageWhere are you seeing this error exactly?
When i try to connect with LinkedIn under the ‘Connect’-tab of the plugin.And what is the actual consequence…what is it preventing you from doing?
It fails and says “there has been a critical error on this website. Please check your site admin email inbox for instructions.
The uncaught error is what i receive in this admin email.That’s all info i receive from my end. Hope this helps you to update and improve the plugin.
Forum: Plugins
In reply to: [WP LinkedIn Auto Publish] fatal error / company pageHi there,
You’re right, my bad. The Uncaught Error i get is: Cannot use object of type WP_Error as array in https://wp-linkedin-auto-publish.php on line 1196
Stack trace wp-linkedin-auto-publish.php (email is cut off, but you can see the lines if it is of use):
#0 (line:366): wp_linkedin_autopublish_authentication_test()
#1 (line:64): wp_linkedin_autopublish_tab_content(‘authorisationPa…’)
#2 (line:46): …
#3 (line:303): wp_linkedin_autopublish_options_page(”)
#4 (line:327): WP_Hook->apply_filters(”, ArraRegards, Ed’
Hi Rogier, thanks for the fast reply!
RSS’ Dashboard did say SSL enabled – but i was unsure if it was at all or if it was attempting in 2 different ways (if that’s even even possible..).
Cheers, Ed’
Forum: Plugins
In reply to: [Contact Form 7] Selectable Recipient with Pipes: invalid mailboxsyntaxAh thanks, ofcourse…i’ll make the dropdown mandatory.
Perhaps add this on https://contactform7.com/selectable-recipient-with-pipes/ also?Thanks again for the fast reply! Cheers, Ed’
- This reply was modified 4 years, 8 months ago by eddiebouncer.