digamberpradhan
Forum Replies Created
-
Forum: Plugins
In reply to: [Swifty Bar, sticky bar by WPGens] New Updates Breaks [Google Plus Issue]Hey Goran,
Actually it’s not in one part but in multiple instances, you’ve checked for a WP_Error in some instances. The few i patched was in get_shares_twitter(), get_shares_pinterest(), and google_share_googleplus(). A WP_Error object is being sent instead of a response code so the error is.Fatal error: Cannot use object of type WP_Error as array in c:\wamp\www\woodemo\wp-content\plugins\swifty-bar\includes\class-sb-bar-social.php on line 171
@jandembowski hello, we’re colleagues that ended up conversing about the various security methods and how, if possible to make wordpress more secure.
the base argument was that any end user(customer,subscriber,author etc) shouldn’t be able to guess or see the admin user login credentials and this would provide an added layer of security.
However i can see that the consensus is that its a redundant feature.
To continue on with RossMitchells point on shared computers by having a common login point does it not open potential hackers to discover usernames? Separating user logins would add an extra layer of security so that admin can only login via a custom login page known to them
Forum: Plugins
In reply to: [Idle User Logout] auto log off too soonI had the same problem, i had accidentally put 100 ms in the settings.
I deactivated and then reactivated the plugin it was set back to 180000 ms and is working normally for me now.Forum: Plugins
In reply to: [WooCommerce] Products Not Displaying on Category PagesI figured out the problem, one of the developer had put in a review and then deleted it from the database.
The relation between that review/comment was causing the database error. Could you tell why this happens?
I created a simple form for the user that they can see when they log in.
And then when they submit the form I upgraded there membership.<?php add_action('init', 'custom_upgrade_membership'); function custom_upgrade_membership() { if(!empty($_POST['upgrade'])) { $user_id = get_current_user_id(); $user = new WP_User($user_id); $user->set_role("s2member_level1"); } } ?>
something like this hope it was helpful for you
I am very disappointed that no one in the s2member support forum pointed me to this https://www.s2member.com/kb/roles-caps-via-php/ it was in the knowledge base and so simple to do
<?php $user_id = 123; $user = new WP_User($user_id); $user->set_role("s2member_level1"); ?>
Custom form, got it, now i guess i’ll gave to look at the script sigh!
Forum: Plugins
In reply to: [Jigoshop] Calculate Tax Based on Cart Totalhttps://www.jigoshop.com/documentation/tax/ also for future reference a brief explanation would really help. On how taxes are calculated, on what basis and how if any way we could customize how they display. Just my honest suggestion.
This is the only snag i’ve found with my experience with jigoshop so far.Forum: Plugins
In reply to: [Jigoshop] Calculate Tax Based on Cart TotalOk, another question though, on a previous version of jigoshop
i.e 1.7.3 used to show tax even if country wasn’t selected and i want to re-apply that condition.Is there anyway i can apply tax, regardless of if country has been specified or not?