Search Results for 'code'
-
Search Results
-
Topic: User profile link
I searched for this and didn’t find anything, but by scrounging through the code I found the necessary functions to make it work. I long for the day when the tags/functions in bbpress are documented like they are in WP.
At any rate, I don’t really care for the “Title” line under a post author’s name, and I wanted to replace it with a simple link to the post author’s profile instead. The code I used was:
<a href="<?php bb_option('uri'); ?>profile.php?id=<?php echo (get_post_author_id()); ?>">View Profile</a>
I added this in post.php, where the
<?php post_author_title(); ?>
line had been inside thethreadauthor
div.I’m so proud of myself, I think I’ll go have a snack!
Topic: Force WP registration
I would like to force users to register via the WP blog that my bbpress install is integrated with. Is there any fast and easy way to do this?
I know I could probably crawl through the code and hard code the link so it goes to the WP registration screen instead, but I was hoping someone might have a different suggestion. Also, forcing them to log in through wordpress would be kind of nice as well.
Call me crazy, but I’m still a little cautious about running registration and login through the BBpress side.
Topic: User ID = 999999999?
I have recently integrated a bbpress install with an existing wordpress blog/site. The WP blog had three users prior to the integration, and all three made it over to the bbpress install with no problems. However, today a new user registered on the WP side and her ID defaulted to 999999999.
I proceeded to register a “dummy” user, just to see what happened. The next registration ticked up to user ID #1000000000. While I doubt that this will lead to any serious problems, it seems silly to me to have user IDs starting around ONE BILLION, when even 1,000 would be plenty high enough for my lil’ ol’ site. Having McDonald’s-esque “XX billions served” sized numbers seems to fly in the face of the “Code is poetry” mantra.
Any ideas as to what’s going on here?
The link to http://codex.wordpress.org/Ergate/wpmu_bbPress_integration
but its title “OLD INSTRUCTIONS”
After I try modify config.php
http://bbpress.org/documentation/integration-with-wordpress/
My blog user login fail to bbpress.
msg show “Cannot select DB.”
any good idea?