Search Results for 'code'
-
Search Results
-
Topic: / in usernames?
Is it possible to allow for / in usernames?
I recently converted my phpbb board to bbPress, but one of my members had a username that looked like ///Abcd.
So as opposed to forcing him to change his username, is it possible to dig into the code and allow /’s for usernames?
Any help would be greatly appreciated!
Edit: Sorry if this thread is in the wrong forum!
Hi.
I have added a bbpress to a wordpress. Everything works fine, but now I would like to change how the appearance is in the forum list on the front page. Right now I am not fully happy with that. I can see that the class is
either: <tr class=”alt”> or only <tr> which affects how each row is presented. But I can not find this in the style.css file. It drives me nuts…

Also where forums is presented I get the <bb-precedes-sibling bb-follows-sibling bb-root> and alt at the end. But where is it controlled how they look like?
Regards,
Chris
Topic: Profile edit URL
I want to add an “edit” button right next to the “log out” button, but i’m not sure what calls this the page. I checked the logged-in.php and found this:
<?php printf(__(‘Welcome, %1$s’), bb_get_profile_link(bb_get_current_user_info( ‘name’ )));?>
That generates “Welcome, username”
What code generates the “edit” button?
I checked the profile.php and I found that this code outputs an EDIT button:
<?php if (bb_current_user_can( ‘edit_user’, $user->ID )) : ?>
<?php printf(__(‘You may edit this information.’), esc_attr( get_profile_tab_link( $user_id, ‘edit’ ) ) ); ?>
<?php endif; ?>
The downpart of this code is, the output is only visible when you actually are on the profile page. I need something like this which is visible no matter which you page you are.
Ideas?
Hey everyone,
I recently installed bbPress and thought I was finally done with everything, but now, I get the error
Fatal error: Call to undefined function bb_get_header() in /usr/home/
/public_html/forum/forum.php on line 1whenever I go to one of the forum categories. I’ve checked over the code in the file and everything seems fine (and this is the only thing that has an error on the forum, as far as I can tell), so I’m not sure why it’s saying the function is undefined…if anyone could help me resolve this problem, I’d greatly appreciate it; I’ve been looking forward to having a functioning forum for quite a while!
Some additional information, if it helps: I’m using the blank 3 column theme (modified, of course), and the Post Count Plus plugin with bbPress 1.0.2
Thanks in advance,
Emile
Topic: Integration Problems
Hi all,
Recently, I installed WordPress (2.8.3) and bbPress (latest stable 1.0.2). The integration of users works correctly, but not the single sign on not work.
I can register in blog and the user it´s created in both and viceversa.
But i can´t logged in in both at the same time.
I have installed the plugin bb Integrationi in WordPress, and AUTH KEY, AUTH salt, etc… same in both config files, same in admin dashboards and add the COOKIEPATH in the wp-config…
When I login in, in any of them, 6 cookies are created: (????? are letters and numbers, same in all the cookies)
Name: wordpress_3f168778f6e6312b92518?????faf17d
Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
Path: /bbpress/bb-admin
Name: wordpress_3f168778f6e6312b92518?????faf17d
Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
Path: /bbpress/bb-plugins
Name: wordpress_3f168778f6e6312b92518?????faf17d
Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
Path: /bbpress/my-plugins
Name: wordpress_3f168778f6e6312b92518?????faf17d
Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
Path: /wp-content/plugins
Name: wordpress_3f168778f6e6312b92518?????faf17d
Content: admin%7C1251289349%7C5b5f99919dde2ab?????cf3fffd153d3
Path: /wp-admin
Name: wordpress_logged_in_3f168778f6e6312b92518?????faf17d
Content: admin%7C1251289349%7C636047d6d7482fbd45
1a89aeb9 (different hash)
Path: /With the steps of this post, all is same…

Any idea about what its wrong?
Always delete all cache+cookies to test it…