Search Results for 'code'
-
Search Results
-
Topic: get_user_profile_link bug?
Hello,
I’m writing some plugin for rewriting url for user’s profiles.
I have some code:
add_filter('get_user_profile_link', 'ss_get_user_profile_link');
function ss_get_user_profile_link($link, $id = 0) {
$user = bb_get_user(bb_get_user_id($id));
$r = bb_get_option(‘uri’) . ‘profile:’ . $user->user_nicename;
return $r;
}
When ss_get_user_profile_link get control, there is $id = 0 always. Why?
Thanks.
Topic: How to change your avatar?
How can a user change their avatar on a new bbPress installation?
I failed to find options for this
Topic: Plugin suggestions
I haven’t found such topic, and I think it might be useful (if no, please throw me into oblivion heh). Do you need some additional functionality but you can’t find a plugin and you can’t code? Post ideas here, maybe someone will “code your idea”.
Hi, Am new to this site and hope am posting this query in right place.
I recently downloaded bbpress forum software . The integration was successfull with wordpress . But I want the users in my website to access the forum without need of registering in it again.
I dint find any means of achieving this. Can anyone help…
I tried changing the forum code., but i think it is not a good idea.
CHeeRS,
sowmithrii
I think I’m asking for theme integration.
I have seen other WordPress forums where you create a page, insert a one line HTML(?) code, and the forum will appear in that page. I was wondering if something similar can be done with bbPress, so that I can make it appear within my theme, here. Thanks,
Topic: Get Current Forum ID?
I’m attempting to create a side nav of all the forums on my site. When a user is viewing a certain forum, I want that “tab” to be highlighted using CSS.
All I need is to assign a class=”on” attribute to the forum [li] [/li] tag if it is the current forum being viewed. Anyone know how I can check the current forum against the forum id?
Here’s the code for my menu creation:
<?php if ( bb_forums() ) : ?>
<h3><?php _e('Forums'); ?></h3>
<ul>
<li <?php if ( is_front() ) : ?>class="on"<?php endif; ?>><a>">Overview</a>
<?php while ( bb_forum() ) : ?>
<li><a>"><?php forum_name(); ?></a></li>
<?php endwhile; ?>
</ul>
<?php endif; // bb_forums() ?>
