DAM
Forum Replies Created
-
Forum: Plugins
In reply to: [EthPress - Web3 Login] Signature from JS to PHPThanks its working, is it possible to use your plugin to verify any other signature I generate via web3js?
Forum: Plugins
In reply to: [EthPress - Web3 Login] Signature from JS to PHPgreat, so if I install php-gmp on my server it will not use https://verify-eth-signature.herokuapp.com/ethpress but the plugin will verify the signature (without api)?
Forum: Plugins
In reply to: [EthPress - Web3 Login] Signature from JS to PHPWhy don’t use https://github.com/simplito/elliptic-php#verifying-ethereum-signature instead of JS, to verify the signature?
Forum: Plugins
In reply to: [EthPress - Web3 Login] Signature from JS to PHPThank you for the super reply, just to know what are you storing as password into the wp user?
Forum: Plugins
In reply to: [EthPress - Web3 Login] Send tx with current providerCan you save somewhere if the user has used matemask or walletconnect to login to let me keep using the same wallet for that user?
And for metamask what library have you used?
ThanksForum: Plugins
In reply to: [EthPress - Web3 Login] Send tx with current providerI can specify the web3 instance using web3js but how can I know if current user is using metamask or walletconnect?
just to know how do you sign the message without a web3 library?
Thanks!Forum: Plugins
In reply to: [EthPress - Web3 Login] Trust Walletplease consider to add portis and fortmatic before update it, they should be easy to add. They allow users to use ethereum without the need to download extra software (in-browser wallet). Thanks!
Forum: Plugins
In reply to: [EthPress - Web3 Login] Trust WalletHi, WalletConnect is working great now, thank you! Why don’t update it into next ver. 0.4.2?
Forum: Plugins
In reply to: [EthPress - Web3 Login] Trust WalletHi @lynn999
Thank you but you should integrate Trust wallet for desktop as well, Trustwallet uses walletconnect.org It generates the QRcode to let users link their trustwallet on mobile with the desktop website, and handle the tx generated on the website from their mobile wallet.In my opinion it should be better and faster if you could integrate the plugin directly with https://github.com/web3connect/web3connect that will handle all the wallets
Forum: Plugins
In reply to: [EthPress - Web3 Login] Verify Eth SignatureThanks for all the infos!
Right now there’s a table with (address, userID) and when you verify (address) you get signed into (userID), so that’s how that works.
Why do you need this table? You cant simply search for users with that ETH address as username (since usernames are unique)?
Forum: Plugins
In reply to: [BP Profile Search] Custom Orderby sorting@dontdream No, without that line it doesn’t work
You can use this for tests, it search for a value inside user_meta
function users_sortby_points( $object ) { global $wpdb; // Adjust SELECT $object->uid_clauses['select'] = " SELECT $wpdb->usermeta.user_id AS id FROM $wpdb->usermeta"; // Adjust WHERE $object->uid_clauses['where'] = "WHERE $wpdb->usermeta.meta_key = 'userpoints'"; // Adjust ORDER BY $object->uid_clauses['orderby'] = " ORDER BY $wpdb->usermeta.meta_value"; // Adjust ORDER $object->uid_clauses['order'] = 'DESC'; } add_action( 'bp_pre_user_query', 'users_sortby_points' ); function add_sortby_point() { echo '<option value="points">Points</option>'; } add_action( 'bp_members_directory_order_options', 'add_sortby_point', 1, 0 );
Forum: Plugins
In reply to: [BP Profile Search] Persistent SearchWhy don’t use WP REST API to update the results without refresh the page?
Forum: Plugins
In reply to: [BP Profile Search] Persistent Search@dontdream I need to put a button for each filter to remove that filter (one by one), what’s the best way to use bps_request to unset them? thanks
Forum: Plugins
In reply to: [EthPress - Web3 Login] Verify Eth SignatureOk thanks,
how can I limit requests from my domains only?
what’s the file to edit to change the api_url?Right now there’s a table with (address, userID) and when you verify (address) you get signed into (userID), so that’s how that works.
So even if an user changes his username he will still be able to login because the plugin looks for userid instead of user_login?
Forum: Plugins
In reply to: [BP Profile Search] Persistent Search@dontdream Thanks!
Using bps_form=clear I can remove all the filters, but is there an easy way to remove only one filter and keep the others active?