Forum Replies Created
-
In reply to: Norwegian translationIn reply to: Themes for both WP and BBP?In reply to: bbpress API?
https://bbpress.org/forums/topic/lets-collaborate-on-bbpulporg#post-12781
Nice, bbPress comes with a search function
—
R
In reply to: Profile hook/filterYes, I know, but the one I used in bb-twitter is not so “bad”. I just hooked in to the show avatar function, and made sure that it only shows on the profile page, and no other pages. And that is just to show the latest tweet from that user.
The admin/profile part is using the right hooks so the user can control the twittername and chose to show or not to show the tweet!
I really hope there will be some hooks/filters for the profile page one day
—
Rune
In reply to: Profile hook/filterSo I noticed. But I found a kind of dirty hack that I used in the bb-twitter plugin. It works, but it’s not the best way to do it
—
Rune
In reply to: bb-twitter – a Twitter pluginYea, well, me and the SVN running at bbPress.org is not friends
I will give it a try later!
—
Rune
In reply to: bb-avatars (gr)avatar pluginYea, I noticed
Just as I uploaded the plugin I read my emails.
But still, this also gives you control with the size of the gravatars (and identicons etc), and you can specify your own default image by stating an URI to the image, so hopefully it gives a bit more control!
Regards,
RG
In reply to: Change Gravatar Size?Well, if you like to hack you admin files, you can add the following code to the options-general.php file just after line 143, making this code start on line 144;
<label for="avatars_size">
<?php _e('Gravatar Size:'); ?>
</label>
<div>
<select name="avatars_size" id="avatars_size">
<?php
$selected = array();
$selected[bb_get_option('avatars_size')] = ' selected="selected"';
?>
<option value="16"<?php echo $selected[16]; ?>><?php _e('16 px'); ?></option>
<option value="32"<?php echo $selected['32']; ?>><?php _e('32 px'); ?></option>
<option value="36"<?php echo $selected['36']; ?>><?php _e('36 px'); ?></option>
<option value="48"<?php echo $selected['48']; ?>><?php _e('48 px'); ?></option>
<option value="80"<?php echo $selected['80']; ?>><?php _e('80 px'); ?></option>
<?php
unset($selected);
?>
</select>
</div>And in the bb-includes/template-functions.php file, after line 1198 you can add this;
$size = bb_get_option('avatars_size');
Then you can change the size in the admin section, and the correct size will show with the posts.
Or you can download the edited files here
—
Rune
In reply to: Upgrade problems (continued to fresh install)On my site, the passwords don’t get “upgraded”. The Passwords are still the same “old” MD5, ant not the new type. And then you can’t log in…
To solve that, I created a new use, changed the password in the profile page, used phpMyAdmin to copy that password (the hashed one) to the keymaster user, and then I could log in with the keymaster user.
But I looking for a way to “upgrade” the password fields with new passwords for the rest of my users…
—
RG
In reply to: HACK: User avatar from WPMU Avatar PluginHi!
I’ve made a plugin to do the same. Makes it easy to show the avatar in posts and profile. It’s just to drop one line in e.g. post.php, and the avatars shows up.
You can check it out -> download.
—
Rune
In reply to: bbpress / wordpress avatar?