Search Results for 'code'
-
Search Results
-
I installed bbPress 0.9.0.2 and tried to integrate with WP 2.5 site. The two are at http://www.my-site/forum and http://www.mysite/blog under the root directory. I have two issues:
First is with permalinks set to the default (/forum.php?id=1), no problem, I can view profiles and posts within bbPress. However if I use either of the other settings for a permalink, when I click on any profile or post topic within admin control panel or site view, I only get a blank page, no error. Example: the post should be at “forum/post-name”, which is exactly where the link takes me but a blank page exists. However I can view the user profiles registered at bbPress within the WP admin area, so I believe the two are at least partially integrated.
The host is GoDaddy and there are no problems with WP permalinks. I have tried the using the following htaccess code with the /forum directory:
# BEGIN bbPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forum/index.php [L]
</IfModule>
Also just having one line:
Options +MultiViews
Also the exact code generated at bb-admin/rewrite-rules.php
Second issue is after login to bbPress, a simple link to the WP admin requests me to login again. Does this take more than a simple link to “…/blog/wp-admin/”? I have checked the cookies and both look identical.
Thanks for any help
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() ?>
