bobbyh (@bobbyh)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 93 total)
  • @bobbyh

    Member

    Look in your plugins for an extra “space” that is sending output (plugins aren’t supposed to send output). This could also be in one of the files you edited or in one of your plugins.

    Here is somebody who experienced the same thing: https://bbpress.org/forums/topic/errors-in-installphp-line-10-and-functionsphp-line-1898#post-12300

    @bobbyh

    Member

    Arun, I’ve integrated bbPress before using sessions, it was very easy. :-)

    Here is the code: http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=54919#p54919

    @bobbyh

    Member

    arun, FYI, bbPress doesn’t use “sessions” for authentication, it uses cookie-based authentication. Does your existing website use “sessions” for authentication?

    In reply to: Plugin: List Bookmarks

    @bobbyh

    Member

    Are you using bbpress 1.0? I hope not, because I wrote that that plugin for 0.8. Also, what version of WordPress are you using?

    Also, what version of PHP do you use, is your bbpress integrated with WordPress (not “deep integration”, just “user table integration”. Basically, you have to tell me something about your setup for me to offer any help at all.

    In reply to: Plugin: List Bookmarks

    @bobbyh

    Member

    Haha, two people asked for this in one day after two years of no interest… :-)

    Here’s the download link: http://www.kosmosity.com/wp-content/uploads/2007/07/list_bookmarks.zip

    To be honest, I haven’t looked at this in two years. It doesn’t have any dependencies on bbPress, though, so it should still work. Let me know!

    @bobbyh

    Member

    Yeah, I believe it’s advisable to use the same database name for an integrated wordpress/bbpress install. bbPress does support using a database name different than an integrated wordpress install, but then your server would have to connect to two different databases (instead of reusing a single connection) when running bbPress. For that reason, I would advise using the same database name.

    @bobbyh

    Member

    I think maybe it’s a bug? The code at line 657 is:

    return sprintf('<img src="$1%ssupport-forum-$2%s.png" alt="[$3%s]" title="[$3%s]" style="vertical-align:top; margin-right:0.3em; width:14px; height:14px; border-width:0;" />$4%s', $this->iconURI, 'sticky', __('sticky', 'support-forum'),$label);

    Instead of $ 1 % (added spaces so it’d render on bbpress) shouldn’t it be %1$? c.f. http://us3.php.net/manual/en/function.sprintf.php

    Likewise, replace all the other integers, e.g. it should be %2$.

    Oddly, this function was changed in 3.0.2.

    You can reverse the $ and % signs here and in the other function at line 680.

    @bobbyh

    Member

    topic_tags() will invoke the topic-tags.php file in your template (or if that file doesn’t exist in your template, in the default template).

    At the bottom of the code in that template, there is a tag_form(); invocation. To not have the form appear, you could try invoking the rest of the code on that page (without that tag_form invocation).

    The “delete tag” link will appear as long as you are logged in as an admin. It won’t appear to most users when you’re not logged in. So you shouldn’t worry about that appearing. :-)

    @bobbyh

    Member

    onelove, you may need to hand-edit your sql statements. Can you paste in line 1064 of your sql file?

    In reply to: Change Permalinks

    @bobbyh

    Member

    To change the corresponding links, you need to edit the functions in /bb-includes/template-functions.php. For instance, you’d change function get_forum_link and get_topic_link so they point to thema (instead of topic) and the German word for forum (instead of forum). This requires a core hack.

    @bobbyh

    Member

    giancarlo, try adding an redirect to the .htaccess file located in the root directory at http://www.thegiancarlo.com?

    Just paste in this line at the top of your .htaccess file:

    Redirect 301 /forum http://forum.thegiancarlo.com/

    @bobbyh

    Member

    This has happened to me before. From what you’ve said, it sounds like you didn’t change anything in the database and you just have an old/bad cookie that isn’t letting you log in again. Just clear your old cookies…

    @bobbyh

    Member

    frooyo, you should put your themes in /my-templates/ not in /bb-templates/. This helps with upgrades.

    @bobbyh

    Member

    Sure, that’s real easy. The hard part will be figuring out what UPDATE statements to write, and then writing and running them.

    You should probably take your sites offline while you run this maintenance…

    @bobbyh

    Member

    This sounds reasonable but painful. :-)

    Some tips:

    * Only upgrade bbPress to 0.9

    * Upgrading to WordPress 2.7.1 almost made this impossible, but ck and superanne saved your bacon with plugins for WP 2.7 <=> bbPress 0.9 cookie compatibility. :-)

    * Don’t forget to assign your WP users privileges (e.g. Keymaster) by adding a row to the usermeta table

    * How are you going to handle user_id conflicts between bbPress and WordPress? For instance, if the WordPress “asdf” user/author has a user_id of 17, and there’s also a user on bbPress with a user_id of 17, you’ll have to do a bunch of UPDATE queries to wp_posts (post_author field) and wp_comments (comment_author and user_id), because when you create a new author with a user_id of 1000, it won’t match up with the post_author_field (etc.) which will have the old 17 number in it.

    * Also what about username conflicts, e.g. two users named “asdf”, etc.? That might result in more UPDATE queries… You’ll have to rename the WordPress user, probably.

    * The benefit to integrating the databases completely is you don’t have to make two connections to two databases. I’d go for it.

    * That extra index on user_nicename is the least of your problems. :-)

    * Are you sure that bb_users and wp_users has the exact same database schema? Confirm this! :-) Also, make sure to add any “missing indexes” that are currently in wp_users to “the new wp_users”.

    Good luck!

    @bobbyh

    Member

    Who’s your host?

    @bobbyh

    Member

    Are you running anything else, or just bbPress? Is this your own server or a shared host?

    In reply to: 简体中文测试

    @bobbyh

    Member

    I put this into Google Translate: “Simplified Chinese test, enjoy. Hope that regulators continue to come on and support you.”

    @bobbyh

    Member

    sig183, I disable the flash uploader using this WordPress plugin: https://wordpress.org/extend/plugins/no-flash-uploader/

    @bobbyh

    Member

    Many sites are using bbPress for production sites with hundreds of thousands of topics and posts. You can go ahead and use the latest version in the 0.9 branch, I wouldn’t get too hung up on “waiting for 1.0 getting out of beta”.

    I tried to write a response to your snarky comment, but I couldn’t think of a non-snarky response. Anyway, if you aren’t so snarky when you post, people will try to be more helpful to you.

    @bobbyh

    Member

    787, are you talking about stickies?

    In reply to: WordPress hosed

    @bobbyh

    Member

    laran, can you please post a link to your wordpress and bbpress installs?

    @bobbyh

    Member

    I’m using FF 2.0.0.15.

    It looks like the hottags issue is now fixed, as there is no longer a float: left on #front-page #discussions.

    @bobbyh

    Member

    Refueled, this is pretty slick!

    To center the theme, you can just add margin: 0pt auto; to the #container div.

    Another thing… You have a float: left; on #front-page #discussions. This makes hottags float to the right and be invisible (because of the overflow:hidden on container). If you delete that float: left, the hottags will appear on the bottom. This also fixes the little bottom border artifact you see to the right of the only sticky post.

    @bobbyh

    Member

    Your post probably is in the moderation queue (because it’s flagged as potential spam). Ask the moderator to approve your post?

Viewing 25 replies - 1 through 25 (of 93 total)