bilingual or multilingual wallet
-
Any idea on how to use this plugin in more than one language on same website, it’s not fully ready for wp multisite, any suggestion would be of a help? Thanks, Ed
-
Hello Ed,
You’ve brought up two distinct issues:
1. The plugin is fully translatable, but not translated. To translate it yourself, go to languages/wallets.pot and and copy the file to wallets_XX.po, where XX is your language code. Then edit the file and translate the strings. If you wish to contribute the translation you can send it in by email and Ι would be more than happy to include it in the next release.
2. The plugin is indeed working just fine for a number of users who use it on multisite. If you network-activate the plugin, you will find the wallets menu in the network admin screens. This causes user wallets to be shared across different sites. If you want users to maintain different wallets across sites of your multisite install, simply don’t network-activate it and let individual site admins to activate it at the site level.
regards,
AlexThank you for your answer Alex
I’ll work on translating it,
For some reasons, on my installation it doesn’t assign wallets to new users unless I give them Supper admin role!, I’ll reinstall the site and see as on the beginning it struggled to connect to database too!. ThanksHi again Ed,
What do you mean by “assign wallets”?
Users who have wallets are the ones whose role has the
has_wallets
capability, as detailed in the ‘capabilities’ section of the documentation. If you are talking about the Wallets menu in the admin screens, that should only be visible to the admin or network admin, depending on whether you network-activate, as discussed above. Have a look at the PDF documentation.If your regular users can see the wallets menu in the admin screens then you’re doing it wrong.
Sorry for delay, Managed to let every new user have Subscriber role on registration and as you said activated has_wallet rule so they get wallets, but they can only see their balance and wallet code if they’re on the main site, even though they’re registers across all the sub sites, or if they’re Super-admins then they can see their wallet on all sites!,
OK make sure that the plugin is network-activated AND that you have not activated it at the site/blog level. The network admin should be the ONLY admin who has activated the plugin if you want users to share balances across sites.
Thanks for your answer, I certainly done all that, but the problem is still there, I’ll explain it again: lets say my multisites network is made of 2 sites main in English and a sub in French , John subscribed on French site, but he can only view his wallet on the main site which’s in English!, any suggestions please?
OK. I assume you have already entered the UI shortcodes in a page that belongs to the second site.
Can you please describe what you see or provide a screenshot? Do you see the
[wallets_transactions]
shortcode in the second site? Does the shortcode show up? Is the table empty?thanks
Yes I done that and added to widget too, for subscribers on subsites it shows nothing at all, (only on the main site), but for super-admin it’s visible on all sites, hope this makes sence
If the UIs do not show, this could be because the user roles do not have the correct capabilities on the other site. This is a known issue. You could use another plugin for managing capabilities, but I think that this is likely the problem.
I will try to fix it soon, but in the meantime you can assign the capabilities yourself via any means. There are many plugins out there. Start by assigning
has_wallets
to subscribers in that second site and see if it fixes the problem.Thanks for reporting. Let me know what you find. I will notify you when this is fixed.
Hi again,
I have modified the plugin, so that when it is network-activated, and you edit capabilities via the “Wallets” -> “Capabilities” menu, it applies your choices across the network. I think this should be what most users would expect.
This will be out in the next patch. The next patch will be released either today or tomorrow. So watch out for the changelog of the next release.
Thank you very much for reporting this issue.
regards,
AlexNo problem and thank you too for all the information.
In the database the information is set correctly, I even changed the capabilities and user level in the database but nothing changed, the other point is when a user is added even manually to any site apart from the primary site they will not get a wallet, which means the plugin is not fully active across all wp network sites.
2: what’s the 2 BTC wallets in the database that in the wallets_adds rows they not starting with the db prefix so not used by Wp?!, thanksSorry my last comment was related to your previous answer!, thanks for the patch, hopefully it’ll get it sorted.
Hi again
I’ve updated to the last version (2.10.4) but the issue still there!. thanksJust tested it on a different server, and it works fine, probably need to reinstall the site, Great job thank you
Glad you got it working on your new server.
The capabilities will update when you go to Wallets -> Capabilities and hit “Save Changes”. Try this on your old site. There shouldn’t be a need to reinstall.
I will now close this issue. If you face further problems please open a new thread.
regards
Alex
- The topic ‘bilingual or multilingual wallet’ is closed to new replies.