Forum Replies Created
-
In reply to: Prevent users from changing email
This may be too late for the OP, but this worked for me:
In my customized form-user-edit.php:
1. Disable the normal Input (as the OP did):
<input type=”text” name=”email” id=”email” value=”<?php bbp_displayed_user_field( ‘user_email’, ‘edit’ ); ?>” disabled=”disabled” class=”regular-text” tabindex=”<?php bbp_tab_index(); ?>” />2. Add a Hidden Input, which Inputs the existing Email value.
<input type=”hidden” name=”email” id=”email” value=”<?php bbp_displayed_user_field( ‘user_email’, ‘edit’ ); ?>” />If you look at the bbpress file: bbpress/includes/common/template.php, at lines 1621 and 1622, you can see that this is how the User_ID was entered (ie, via a Hidden input).
For me, so far so good. I hope this was of some help. –Bill
Hello – new to this forum.
I have just started using bbPress (WordPress plugin), and I see that the ‘Freshness’ is incorrect for my test forum (localhost). The topic and post dates are in fact correct (when you go to the post, look at WP Admin, the post dates are accurate), but ‘Freshness’ is completely incorrect.
For now, I am developing my own Freshness algorithm, and will include it via theme compatability. I just wanted to add feedback that there seems to be a problem w ‘Freshness’ that would benefit from a fix.
Thanks. –Bill