Search Results for '"wordpress'
-
Search Results
-
Hi,
I’m trying to setup a demo forum of bbPress (Version 1.0-alpha-6 ) to allow users to create their own bbPress themes. The template generator itself is powered by WordPress, and bar the occasional bug seems to work fine. The bbPress themes it exports seem to be working okay too bar a few code gremlins which I intend to iron out once I get the system up and running.
What should happen, is that you should be able to go to the following URL, make as many modifications as you want, click submit and bam! a new design for your bbPress forum should be shown. However for some reason, whenever the bbPress forum loads it kills the session variables which store all of the data relating to the current design

http://pixopoint.com/demo/bbpress/?generator=on
When you go back to the WordPress version (http://pixopoint.com/?generator=on) the original design is gone and it reverts back to the default

Any ideas?
As a temporary measure I plan to create a WordPress Page with the same HTML as would be in the bbPress forum so that users can see their design as they’re modifying it. But it would make a lot more sense if they could modify it within a real live bbPress forum.
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!
- First delete ‘wp_usermeta’ and ‘wp_users’ tables (having made that backup!)
- Change the name of ‘bb_usermeta’ to ‘wp_usermeta’ and ‘bb_users’ to ‘wp_users’.
- 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.
- The problem now is that none of these users have their WP roles defined.
- 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.
- 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).
- 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.
- 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.
- SQL: ‘select * from wp_usermeta where user_id not in (select ID from wp_users)’ will list all these non-existent users.
- It probably a good idea to do a full backup of your tables right now just in case.
- 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.
- Done.
All worked out with the help of someone I work with, so I can’t take all the credit

Good luck.
Topic: WordPress Functions
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.
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?
I just downloaded and installed bbPress ALPHA.
All is working okay.
I read that WordPress wp-caching plugins should work, I just installed the WP SuperCache into /my-plugins/
http://wordpress.org/extend/plugins/wp-super-cache/
I logged in as Admin, went to ACTIVATE the plugin and received the following error:
Fatal error: Call to undefined function get_option() in /home/uptownelite/forum.uptownelite.com/my-plugins/wp-super-cache/wp-cache.php on line 30
Any ideas why?
I thought WP caching plugins are suppose to work in bbPress ALPHA
Topic: Custom Roles
Basically heres the issue I’m having. I have a wordpress installation and and a bbpress installation working together, I would like to create a special role for contributors on bbpress so that my contributors on wordpress can go to view things specific to contributors. I don’t want to allow my contributors access to moderator rights.
So there you have it, is there a way to create a custom role so I can assign them special access?
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: http://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?