Search Results for 'bbpress'
-
AuthorSearch Results
-
August 11, 2008 at 10:06 am #65980
In 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 7:39 am #66782In reply to: I think I broke my blog
playwithsticks
Memberit was just after installing bbpress for the first time
August 10, 2008 at 10:53 pm #66780In reply to: installation of bbpress
chrishajer
ParticipantThe intended URL is where you expect to access the forum on the internet. Maybe this would be a good place for it:
http://affluentdiva.com/forums/
The way you have the folders now, it would be this:
http://affluentdiva.com/bbpress2008/bbpress/ which looks a little silly. You don’t need that bbpress2008 folder there. And maybe you don’t want the other folder to be called bbpress. What if you change forum software in the future? Better to use forum or forums instead.
August 10, 2008 at 10:50 pm #66731In reply to: installation problem, no theme or login!
chrishajer
ParticipantI don’t think iframes work very will with bbPress. Are you trying to put the forum in an iframe?
<frameset rows="100%,*" border="0" frameborder="no" framespacing="0">
<frame name="site" src="http://hlvdubs.iamanerd.org.uk/forum" marginwidth="0" marginheight="0" noresize scrolling="auto">
<noframes>
<body bgcolor="#ffffff">
</body>
</noframes>
</frameset>I think this is part or all of the problem. Don’t try to access bbPress from an iframe. You’ve got two different domains going on there.
August 10, 2008 at 10:46 pm #66735In reply to: Sitemap generator
chrishajer
ParticipantThere is a sitemap plugin for bbPress:
http://boakes.org/download/bbpress_sitemap.txt
This is old and I can’t find a link to it on the author’s site any more, but there it is.
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 8:12 pm #3775Topic: installation of bbpress
in forum Troubleshootinghails2008
MemberHello
I’ve uploaded the uncompress file to my home/XXXX/bbpress2008/bbpress
and when it says go to your intented url – what is my intended url?
New to this so please bare with me….thanks
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 5:06 pm #66677In reply to: Installation problem with bbPress
chrishajer
ParticipantOK, please let us know if you need more help.
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 3:03 pm #66686In reply to: bbPress 1.0 alpha
lstelie
MemberHello,
A naïve question :
I use another forum script and would like to prepare a migration to BBpress when BBpres is ready for real use
If i integrate BBpress alpha 1.0 with my WP 2.6 (check, learn, but don’t put it in use yet by my uers) am I at risk to break something in my WP install (tables ?)
So can I safely (for the WP part) integrate a BBpress alpha 1.0 with a WP 2.6 ?
August 10, 2008 at 2:40 pm #66682In reply to: A few questions
citizenkeith
ParticipantThe info in this thread worked for me:
https://bbpress.org/forums/topic/successful-convert-smf-gt-phpbb2-gt-bbpress
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 1:23 pm #3772Topic: installation problem, no theme or login!
in forum Installationjifop
Memberi have just installed bbpress and i have a problem the site is here http://www.hlvdubs.co.uk/forum
the install worked fine, but it wont let me login and there is no theme!
whats going on?
August 10, 2008 at 12:44 pm #60225In reply to: Google Analytics for bbPress
simontol
MemberNot working for me with bbpress 0.9.0.2.
I’ve installed in my-plugins foolder, I can activate in plugins administration but I can’t see the analytics configuration page.
August 10, 2008 at 12:35 pm #66676In reply to: Installation problem with bbPress
martinoshea
MemberThanks chrishajer.
That seems to have done the job and bbPress is now installed. But I do find that I am denied access to certain pages. I will see how this proceeds.
August 10, 2008 at 5:36 am #66685In reply to: bbPress 1.0 alpha
_ck_
ParticipantBecause of the radical change in how topicmeta and bb_options are now stored, a few of my plugins will not work properly under 1.0 alpha until I figure out a work-around:
My-Views (most/least views tracking, some statistics)
mini-track
all-settings <<– now updated to support 1.0
(there may be others, tba)
Also note there is a drop in meta db performance under 1.0 vs. 0.9 because of how forum meta is appended in multiple queries and that more than one index (as needed by design) cannot be used in mysql on the bb_meta table.
There is also an issue of the meta table being checked on every page load to see if it needs to be upgraded – that part will probably be fixed in a later release.
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 10, 2008 at 12:25 am #66633In reply to: This username does not exist
davidbaldwin
MemberI tried re-installing bbpress, but after I got past the first step (inserting the bbpress database info), it brings me to the forum home page. I cannot log in using any of the user id’s.
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 11:20 pm #66727In reply to: Integration with CakePHP existing user system
chrishajer
ParticipantI suspect you could do it. Of all the forum software I have used, it’s easiest to get ‘under the hood’ of bbPress and make the changes you need. I have no idea how to start, but I bet it’s possible with bbPress.
August 9, 2008 at 8:59 pm #66684In reply to: bbPress 1.0 alpha
Michael Adams (mdawaffe)
MemberProbably not. The database structure has changed a bit.
If you want to test it out on your current site, it would be best to test it out on a copy of your current database.
-
AuthorSearch Results