Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fetching bbpress profile page for wordpress comments

Published on January 18th, 2009 by Malice

I tried to link the comment author’s name on my wordpress to the wordpress profile page (or “author” page), yet I have not yet found a solution for this. I posted my issue in the wordpress forum as well: https://wordpress.org/support/topic/235251?replies=1

A wonderful alternative would be to just link a commenter’s name to the bbpress profile page instead.

I have no knowledge of php, yet even I can imagine that fetching data from one platform to another can be quite complicated.

Any thoughts?

User Integration from bbPress to WordPress Guide.

Published on January 18th, 2009 by deadlyhifi

All integration guides appear to have the userbase in WP. I was in the situation where my userbase was in bbPress, so I needed to get all my bb_users into wp_users.

The following refers to WP2.7 and bbPress 1.06a.

The process is actually quite straight forward but do make backups of your database beforehand!

  1. First delete ‘wp_usermeta’ and ‘wp_users’ tables (having made that backup!)
  2. Change the name of ‘bb_usermeta’ to ‘wp_usermeta’ and ‘bb_users’ to ‘wp_users’.
  3. The tables structures from bbP are the same as WP apart from one field in the ‘_users’ table. So we need to add FIELD: user_activation_key TYPE: varchar(60) NULL: NO after the ‘user_registered’ field.
  4. The problem now is that none of these users have their WP roles defined.
  5. To do this we need to insert the ‘meta_key’ and ‘meta_value’ to ‘wp_capabilities’ and ‘a:1:{s:10:”subscriber”;b:1;}’ for each user.
  6. wordpress_capabilites.sql contains an SQL insert statement for 5000 users. If your userbase is less than that you only need to run it for your number of users (although we deal with overruns in a minute).
  7. Once this has run each user will have ‘subscriber’ status within wordpress. You need to manually change your bbPress key holder (most likely user_id 1) ‘wp_capabilities’ to ‘a:1:{s:13:”administrator”;b:1;}’. This gives that account administrator status within WP.
  8. It’s highly likely that you’ll have deleted some users in the past, or run too many INSERTs from the wordpress_cabalilities file, so we need to delete all those ‘wp_capabilities’ that aren’t mapped to an exisiting user.
  9. SQL: ‘select * from wp_usermeta where user_id not in (select ID from wp_users)’ will list all these non-existent users.
  10. It probably a good idea to do a full backup of your tables right now just in case.
  11. Now run this SQL: ”delete from wp_usermeta where user_id not in (select ID from wp_users)” – this will delete all those stray entries.
  12. Done.

All worked out with the help of someone I work with, so I can’t take all the credit ;)

Good luck.

WordPress Functions

Published on January 18th, 2009 by deadlyhifi

Functions (optional)

…In order to do it, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ bb-config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).

Doing this will add quite a lot of weight to your bbPress installation as it will cause WordPress to load in it’s entirety. Your best option is to try to emulate the functionality you require inside a bbPress plugin.

Adding wp-blog-header.php to my bb-config causes lots of functionality issues.

Therefore has anyone made any of these plugins? I’m mostly looking to get wp_list_pages working.

How to change all table name to upper case ?

Published on January 18th, 2009 by

Hi all,

During installation all tables are created and these table names are in lowercase. Does anyone know which file I have to change so that all tables are created in uppercase ? I cannot change the MySQL setting (igonre case sensitivity) since it is set by the hosting company.

Where does bbPress clear out wp_head?

Published on January 18th, 2009 by John James Jacoby

Lets say in theory I was going to try and integrate bbPress’s functions into WordPress.

Theoretically, where would I look if I didn’t want bbPress to clear out the wp_head function? :)

List of all new posts since last visit

Published on January 18th, 2009 by

Hi,

I’d like to have a list of all threads with new posts since the users last visit. Not just topics marked as new in the normal list but a whole new list with only topics with new posts – all categories in one list.

Is there any plugin that does this? Or is there some easy hack to accomplish it?

The PunBB equivalent of “search.php?action=show_new” if you know what I mean?

Thanks!

Lost ability to login in bbpress

Published on January 17th, 2009 by ilo

Hello, I seem to have lost ability to login to bbpress. The only changes i did this afternoon where to add bbsync to wp and it seems possible i lost access after the first post went through. I had set bbsync to a forum that had a space in the name and that was not working so changed it to another and that worked but now when i go to the forums i am logged out and when i try and login it just takes me back to the main page, no error message. not quite sure what to do.

Thanks in advance for any help.

bb Code not working

Published on January 17th, 2009 by

I’m having trouble getting bb codes to work, via plugin buttons or otherwise. I even hard coded a link to a podcast on one of my other blogs, and url code isn’t working. Any idea what the problem is?

Upload Problem

Published on January 17th, 2009 by

When I attempt to upload several doc file of less than 500 KB, the upload fails with the notation “failed mime.” What can I do about this.

Thank you.

Michael

Visit counter

Published on January 17th, 2009 by

I have an account on www.realcounter.eu that lets you create in a personalized way of the meters to insert into right site, blog and forums.

I wanted to know where should I include this Code because it is displayed in:

Homepage, in the categories and finally on the individual post

Sorry for my bad English are Italian and forgive me for a possible wrong of Section

Skip to toolbar