3sixty (@3sixty)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 39 total)
  • @3sixty

    Member

    No ideas here? Do I have to use a WP plugin to disable this?

    @3sixty

    Member

    enderandrew, thanks for the suggestion. Unfortunately, Site Tracking is already “on” by default, so I don’t think that’s the source of the problem (at least in terms of my problem – that bp activity stream is not picking up sitewide forum posts).

    @3sixty

    Member

    lmburford, just to clarify, activity works for you when you are using Sitewide Forums? Or are you using the per-group forums?

    I reinstalled using all above instructions and I still can’t get Sitewide Forums posts to show up in the activity stream.

    @3sixty

    Member

    >>BBPress will publish to the activity stream

    This isn’t working for me. I have it set up as “Sitewide Forums” and I set up a page /bbpress-forums/ to display the forums. How do you get bbpress to publish in the activity stream?

    @3sixty

    Member

    I got it working this way, but I don’t see any forum activity in the Activity Stream.

    Is there a way to set up bbPress so forum activity goes in the Activity Stream?

    In reply to: bb-query help!

    @3sixty

    Member

    Thanks, Gautam, but that appears to just show all posts from Fruits (ie, not excluding Apples), unless I am missing something?

    For this particular application, I’m now trying to set it up so “Fruit” is a forum (so it has a forum id instead of a tag id), and using “Apple” tag to include/exclude certain posts. I’m hoping the bb_query in the bbp plugin will be more flexible.

    In reply to: bb-query help!

    @3sixty

    Member

    Thanks, Gautam, but that appears to just show all posts from Fruits (ie, not excluding Apples), unless I am missing something?

    For this particular application, I’m now trying to set it up so “Fruit” is a forum (so it has a forum id instead of a tag id), and using “Apple” tag to include/exclude certain posts. I’m hoping the bb_query in the bbp plugin will be more flexible.

    @3sixty

    Member

    I had to disable it last night. The problem is, it’s set up to be run off of the script hosted at xbb2.com. However, because the guy’s site was timing out and causing each page load to be very long, I had to drop it. It would be best if there was a plugin so you could run the code locally.

    There is a plugin for phpBB, but I don’t know if it also requires using the script hosted at xbb2.com, or if it’s a stand-alone version.

    @3sixty

    Member

    I had to disable it last night. The problem is, it’s set up to be run off of the script hosted at xbb2.com. However, because the guy’s site was timing out and causing each page load to be very long, I had to drop it. It would be best if there was a plugin so you could run the code locally.

    There is a plugin for phpBB, but I don’t know if it also requires using the script hosted at xbb2.com, or if it’s a stand-alone version.

    @3sixty

    Member

    Thanks, but Yes, you can do this without changing htaccess. I just finally got this to work.

    I think ‘tag’ is somehow a protected GET variable. I changed it to tag2 and the variable passes fine:

    URL: http://mysite.com/bbpress/forum-name/?tag2=333

    php: echo $_GET

    Output: 333

    @3sixty

    Member

    Thanks, but Yes, you can do this without changing htaccess. I just finally got this to work.

    I think ‘tag’ is somehow a protected GET variable. I changed it to tag2 and the variable passes fine:

    URL: http://mysite.com/bbpress/forum-name/?tag2=333

    php: echo $_GET

    Output: 333

    @3sixty

    Member

    Yow. Great find!! I have been looking for something like this for a while now.

    You don’t need a plugin. Just add this to the header right above the </head> tag:

    <script type=”text/javascript” src=”http://xbb2.com/b.js?InputName=post_content&”></script&gt;

    @3sixty

    Member

    Yow. Great find!! I have been looking for something like this for a while now.

    You don’t need a plugin. Just add this to the header right above the </head> tag:

    <script type=”text/javascript” src=”http://xbb2.com/b.js?InputName=post_content&”></script&gt;

    @3sixty

    Member

    @chrishajer, thanks for this great plugin. I further extended it by hacking the post-form to have a drop down containing allowed tags (albeit I just hard-coded them in a rush) and also to limit the number of tags allowed per post. I further extended it by only enabling it in certain forums.

    These are all fairly Stupid Coding Tricks but if there’s any interest out there, let me know what you need and I’ll post it up here.

    In reply to: limit number of tags?

    @3sixty

    Member

    haha, irony… the “add tag” form on the left sidebar of this topic is borked (javascript doesn’t automatically update tag listing on Firefox).

    In reply to: limit number of tags?

    @3sixty

    Member

    haha, irony… the “add tag” form on the left sidebar of this topic is borked (javascript doesn’t automatically update tag listing on Firefox).

    In reply to: limit number of tags?

    @3sixty

    Member

    OK, a brute force approach is to do the following:

    1. Open topic.js

    2. comment out the Tags function that starts on line 18

    The disadvantage is it’s (a) hacking the core and (b) disables javascript updating across the whole site (rather than just the 2-3 forums where I want to limit tags). I would really appreciate any insights from people who better understand javascript/jQuery as to how to conditionally load the function.

    In reply to: limit number of tags?

    @3sixty

    Member

    OK, a brute force approach is to do the following:

    1. Open topic.js

    2. comment out the Tags function that starts on line 18

    The disadvantage is it’s (a) hacking the core and (b) disables javascript updating across the whole site (rather than just the 2-3 forums where I want to limit tags). I would really appreciate any insights from people who better understand javascript/jQuery as to how to conditionally load the function.

    @3sixty

    Member

    Can I assume those links are at the end of a long signature? The signature plugin has character and line limits. I suspect you’re hitting the max length and max lines limits. Go to your admin panel and change the limits to something very long.

    @3sixty

    Member

    Can I assume those links are at the end of a long signature? The signature plugin has character and line limits. I suspect you’re hitting the max length and max lines limits. Go to your admin panel and change the limits to something very long.

    @3sixty

    Member

    OK… Here is my workaround for this problem:

    1. In functions.bp-pluggable.php, under:

    if ( !bb_get_option( 'email_login' ) || false === strpos( $user, '@' ) ) { // user_login

    Add:

    $user = strtolower($user);

    2. In class.wp-user.php, under:

    $display_name = $user_login;

    Add:

    $user_login = strtolower($user_login);

    Voila – CaSe InseNSitIvity! Note that the placement of the strtolower() functions is important and allows the user to retain Case Sensitivity in their display_name (while changing their user_login to lowercase). I haven’t seen any untoward side effects yet, but will let you know.

    Nice talking to me!

    @3sixty

    Member

    OK… Here is my workaround for this problem:

    1. In functions.bp-pluggable.php, under:

    if ( !bb_get_option( 'email_login' ) || false === strpos( $user, '@' ) ) { // user_login

    Add:

    $user = strtolower($user);

    2. In class.wp-user.php, under:

    $display_name = $user_login;

    Add:

    $user_login = strtolower($user_login);

    Voila – CaSe InseNSitIvity! Note that the placement of the strtolower() functions is important and allows the user to retain Case Sensitivity in their display_name (while changing their user_login to lowercase). I haven’t seen any untoward side effects yet, but will let you know.

    Nice talking to me!

    @3sixty

    Member

    ugh. this is tough.

    Just found this comment from mdawaffe on the WordPress development blog:

    mdawaffe 12:08 am on August 30, 2010 Permalink | Reply

    There’s some bugs in bbPress. In some places it treats user_logins case sensitively, and in others case insensitively (and sometimes it depends on your DB’s collation).

    http://wpdevel.wordpress.com/2010/08/27/i-upgraded-the-wp-org-plugins-directory/#comment-10009

    @3sixty

    Member

    ugh. this is tough.

    Just found this comment from mdawaffe on the WordPress development blog:

    mdawaffe 12:08 am on August 30, 2010 Permalink | Reply

    There’s some bugs in bbPress. In some places it treats user_logins case sensitively, and in others case insensitively (and sometimes it depends on your DB’s collation).

    http://wpdevel.wordpress.com/2010/08/27/i-upgraded-the-wp-org-plugins-directory/#comment-10009

    @3sixty

    Member

    OK. I’m thinking that I could somehow modify this function in functions.bb-users.php:

    function bb_get_user( $user_id, $args = null ) {
    global $wp_users_object;
    $user = $wp_users_object->get_user( $user_id, $args );
    if ( is_wp_error($user) )
    return false;
    return $user;
    }

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