I have wordpress 3.5.1, BBpress 2.3.1 and Market Press lite 2.5.1 running on a child theme of twentyten.
Marketpress is great !
BBpress allows users to edit their profile, which is really useful and lets me hide the toolbar in wordpress.
However this edit profile shows not only the BBpress data, and allows them to change passwords etc – which I want/need them to do, but also shows the billing and shipping info from Marketpress, which I would prefer they didn’t get the chance to amend, as this could lead to confusion say on what address was used to ship to etc.
I presume there’s a bit of Marketpress that “adds” this to the profile. Is there a simple (or complex!) way to stop the user being able to access this, whilst obviously letting marketpress store this info.
If so, can I disable it or better still make it a role based view, so that admin can change it but user can’t eg a place where I can add an if statement such as
<?php if ( current_user_can( 'edit_users' ) ): ?>
- The topic ‘disabling profile change on shipping and billing’ is closed to new replies.