Search Results for 'code'
-
Search Results
-
Hopefully I did not miss this somewhere else…
The one thing that bothers me is the lack of “security” around an email address change (besides the system allowing duplicates). I’d like to force a password change (generate a random) which is emailed to the new address to thwart ill intent.
I see the functions
function bb_reset_email( $user_login ) {
function bb_reset_password( $key ) {but this hinges upon the
If you don't want to reset your password, just ignore this email. Thanks!which the exact thing I want to avoid.
What would it take to verify the value of newpwdkey
bb_update_usermeta( $user->ID, 'newpwdkey', $resetkey );and noting if there is a value stored, disable the login until
bb_reset_passwordis executed via the link in the email.*i’m ok with hacking the core files for the time being and merging with upgrades with my own markers.
Hi,
I started investigating possibilities of translation bbPress to Polish. This language along with quite a few non-germanic languages has quite complex plural forms (3 forms instead of just 2). Not getting into much detail, because of the way functions.bb-core.php hardcodes seconds, hours, days… names it’s hard to do a proper translation.
To do it right I’d need a function that uses “%d month” and not just “month” or “months” as defined here:
// array of time period chunks
$chunks = array(
array(60 * 60 * 24 * 365 , __(‘year’) , __(‘years’)),
array(60 * 60 * 24 * 30 , __(‘month’) , __(‘months’)),
array(60 * 60 * 24 * 7, __(‘week’) , __(‘weeks’)),
array(60 * 60 * 24 , __(‘day’) , __(‘days’)),
array(60 * 60 , __(‘hour’) , __(‘hours’)),
array(60 , __(‘minute’) , __(‘minutes’)),
array(1 , __(‘second’) , __(‘seconds’)),
);
Any help would be very much appreciated.
Topic: SMPT server
Where do I change the SMPT server… my host has given me the server info, but where do I change it in the bbpress code?
Topic: A WPMU tip
I’ve set up WPMU with subdirectories, rather than subdomains. I was having issues logging into multiple blogs e.g. http://www.blog.com/blog2
I found that removing the following from the wp-config.php file
define('SITECOOKIEPATH', '/wp-admin');
define('COOKIEPATH', '/');sorted the issue and hasn’t broken sitewide login and cookie support.
Thought it may help someone

