Search Results for '"wordpress'
-
AuthorSearch Results
-
August 11, 2008 at 8:59 pm #64023
In reply to: Merge registration pages
chrishajer
ParticipantInstead of this WordPress function:
<?php wp_register(); ?>You would have a link to bb-login.php. Then bb-login handles the whole thing. In the login form, you would add that hidden form field to redirect then after login, as explained here.
https://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268
August 11, 2008 at 7:05 pm #66288In reply to: bbPress 1.0 alpha looks interesting
chrishajer
ParticipantI agree on the search. It’s too “in your face now.” I think it should have been in the template files and commented out. People could uncomment it to get the functionality. We’ll never be happy. At least with it there now, people can see it, remove it or style it however they want. This is probably better than there being nothing in the template at all before. That’s typically how WordPress themes are: they have a bunch of useless cr*p in them that I just remove or comment out. It’s easier to remove or modify something that you can see than trying to figure out how to add something you don’t know exists.
Not sure yet on the bb_meta table. I haven’t looked at the DB schema yet.
August 11, 2008 at 6:28 pm #3779Topic: Theme directory
in forum Themescsseur3
MemberHello,
like the theme directory of wordpress.org, it is possible to have a theme directory in bbpress.org ?

Bye,
Fred
August 11, 2008 at 6:25 pm #66687In reply to: bbPress 1.0 alpha
_ck_
ParticipantbbPress should not tamper with your WordPress tables.
The user data is kept separate.
August 11, 2008 at 6:18 pm #66034In reply to: WordPress + bbPress Integration 101
_ck_
ParticipantAh, I guess it’s important to point out that just like bbPress 0.9 is not compatible with WordPress 2.6, it’s also that bbPress 1.0 is not comptible with WordPress 2.5
Major cookie changes.
WordPress 2.5.x <-> bbPress 0.9
WordPress 2.6.x <-> bbPress 1.0
August 11, 2008 at 4:28 pm #66033In reply to: WordPress + bbPress Integration 101
playwithsticks
MemberI’m getting a funky error:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
I’m trying to integrate WP 2.5.1 and BB 1.0
It only started when I edited the bb_config file bbpress was working smoothly as a stand-alone… I think
August 11, 2008 at 3:42 pm #64020In reply to: Merge registration pages
Hellweaver666
MemberYou can just change the register links in the wordpress template to point to the bbpress login and registration forms… that’s easy enough (you can even copy the login form code into the template directly and it seems to work).
The problem is, how to get users back to the URL they came from after they login (by default they seem to get bounced to the forum home page instead)… any ideas?
August 11, 2008 at 2:44 pm #66651In reply to: WordPress Home page upstaging main post1s page
keress
MemberThanks so much for the help. You helped me spot that I had inadvertently uploaded the root’s index.php to the blog index.php folder. I had a feeling it was something simple and dumb.
August 11, 2008 at 1:50 pm #66784In reply to: I think I broke my blog
chrishajer
ParticipantIf it’s this site http://famousbeats.net/ it’s 2.5.1:
<meta name="generator" content="WordPress 2.5.1" />August 11, 2008 at 1:26 pm #66650In reply to: WordPress Home page upstaging main post1s page
chrishajer
ParticipantTurns out the main index.php WordPress template had been overwritten with a static page, and that was being served instead of templated content being served from the database. It had nothing to do with bbPress integration.
August 11, 2008 at 10:06 am #65980In reply to: Why is integration so troublesome?
_ck_
ParticipantThis plugin is meant as a temporarily workaround until the bug can be fixed in WordPress – it will replace “anonymous” with the user login.
Install it on the WordPress side:
<?php
/*
Plugin Name: changes anonymous to member's login if display name missing (plugin for WordPress)
*/
function no_anonymous_members($author) { // this is a WORDPRESS plugin, not bbPress
global $comment;
if (empty($comment->comment_author) && !empty($comment->user_id)) {$user=get_userdata($comment->user_id); $author=$user->user_login;}
return $author;
} add_filter('get_comment_author', 'no_anonymous_members');
if ( !function_exists('get_userdata') ) :
function get_userdata( $user_id ) {
global $wpdb;
$user_id = absint($user_id);
if ( $user_id == 0 )
return false;
$user = wp_cache_get($user_id, 'users');
if ( $user ) {
if (empty($user->display_name)) {$user->display_name=$user->user_login;}
return $user;
}
if ( !$user = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->users WHERE ID = %d LIMIT 1", $user_id)) ) {
return false;
}
_fill_user($user);
if (empty($user->display_name)) {$user->display_name=$user->user_login;}
return $user;
}
endif;
?>(The real answer of course is to insert the user_login when the comment is posted, however I cannot find a suitable hook in WordPress’s
comment-template.phpso I am doing it by completely replacing the get_userdata function inpluggable.php)August 11, 2008 at 9:19 am #65979In reply to: Why is integration so troublesome?
_ck_
ParticipantI guess I can create some code to fix the display name issue in existing databases. Give me a few minutes.
update: actually it’s as simple as this in phpMyAdmin:
UPDATE wp_users SET display_name=user_login WHERE display_name=''or via a mini-plugin:
<?php
/*
Plugin Name: Fix Anonymous Members
*/
function fix_anonymous() {global $bbdb;
$bbdb->query("UPDATE $bbdb->users SET display_name=user_login WHERE display_name='' ");
} add_action('bb_init','fix_anonymous');
?>save as
_fix-anonymous.php(with leading underscore)you only need to upload and run bbpress once with it loaded (no activation required) and then delete the plugin or it will slow down bbPress.
I am now writing a WordPress plugin to fix this without having to duplicate all the names in the table which is a horrendous waste of space.
August 11, 2008 at 9:06 am #65978In reply to: Why is integration so troublesome?
_ck_
ParticipantWell we know what causes “anonymous” to show up, it’s because bbPress is not creating the display name for the user when the user registers on the bbPress side and then goes to use WordPress.
The question is, why is this suddenly happening when bbPress is supposed to create it already. This might be a question for Sam – but I hope he can reproduce the problem.
Did you add the above code to insert the display name?
I hope I didn’t lead you wrong by implying you should try 2.6 because that will be incompatible with bbPress 0.9
2.6 has compatibility with bbPress 1.0 alpha but a few plugins won’t work with the alpha yet (like bb-topic-views)
Oh and the display name persists in 1.0 alpha and is on line 487 in pluggable. I’ve filed a trac report:
August 11, 2008 at 9:02 am #66783In reply to: I think I broke my blog
_ck_
ParticipantAre you running WordPress 2.5 or 2.6 ?
I’m betting it’s 2.6 since the cookies are incompatible.
Delete your site’s cookies and you’ll be able to get into WP again.
August 10, 2008 at 10:10 pm #3776Topic: I think I broke my blog
in forum Troubleshootingplaywithsticks
MemberAfter installing bbpress I was able to sign in to bbpress with my regular admin info but something has happened with my wordpress backend now that it does say I’m logged in but I cannot get to the admin area. Any suggestions on how I can resolve this issue without completely reinstalling both WP & BP
August 10, 2008 at 9:59 pm #3774Topic: Sitemap generator
in forum Requests & Feedbackcsseur3
MemberHello,
like for WordPress, i think a sitemap generator is interesting for the users who wants a forum good in seo.
someone would have it plans to make a nice sitemap plugin? : p
++
August 10, 2008 at 5:15 pm #66733In reply to: The English Guy Web Design Forums
chrishajer
ParticipantVery nice integration of the theme.
I noticed you are using WordPress 2.6. If someone logs in to WordPress or bbPress, are they logged in on the other (either bbPress or WordPress)? That is the level of integration most people are looking for, in addition to theme integration, and the latest word was that integration with WordPress 2.6 does not work. How did you do it?
August 10, 2008 at 5:08 pm #60226In reply to: Google Analytics for bbPress
chrishajer
ParticipantYou don’t really need a plugin to install Google Analytics in your bbPress forum. Just paste the code from Google Analytics right before the closing </body> tag in your theme’s footer.php. No plugin required. I never understood the need for Analytics plugins for WordPress either. Editing a template file is pretty basic.
August 10, 2008 at 3:19 pm #65976In reply to: Why is integration so troublesome?
mciarlo
MemberI couldn’t tell you, but I am using bbPress 0.9.0.2 and WordPress 2.5.1.
I am going to update to 2.6 and see how it goes…
August 10, 2008 at 1:32 pm #3773Topic: The English Guy Web Design Forums
in forum Showcasejbbrwcky
MemberJust integrated by BBPress install with my WordPress install. Thanks for the help on here too!
August 10, 2008 at 6:28 am #66649In reply to: WordPress Home page upstaging main post1s page
chrishajer
ParticipantI’ve offered all I can remotely. Can you contact me (find contact details in my profile here) and I can try to help by logging in and looking around?
Thanks
August 10, 2008 at 6:09 am #66648In reply to: WordPress Home page upstaging main post1s page
keress
MemberSettings > Reading is, and has been all along, set at:
“Your latest posts”
the page I am no longer able to display, even though I can find no change in any settings.
Thanks for replying,
August 10, 2008 at 12:46 am #66634In reply to: This username does not exist
chrishajer
ParticipantSorry, fresh out of ideas after that. I suspect that bbPress needs to be reinstalled after downgrading WordPress, but I don’t know why that failed for you.
August 9, 2008 at 11:22 pm #66632In reply to: This username does not exist
chrishajer
ParticipantDoes bbPress need to be ‘reinstalled’ after going backwards to WordPress 2.5.1? Like, if the bbPress installation made changes to the database with WordPress 2.6, then you rolled back to WordPress 2.5.1, you would lose the changes that bbPress made to the wp_users and wp_usermeta table, right? Would you need to reintegrate with the WordPress 2.5.1 database?
August 9, 2008 at 8:20 pm #66631In reply to: This username does not exist
davidbaldwin
MemberIf I try and create a new user, I get the error:
Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/turner/public_html/lifelightcam/bbpress/bb-includes/db-mysql.php on line 180"I can log into wordpress just fine with my user id and password, but not into bbpress. I checked and the user id does exist in wp_users
-
AuthorSearch Results