John James Jacoby (@johnjamesjacoby)

Forum Replies Created

Viewing 25 replies - 2,201 through 2,225 (of 2,347 total)
  • In reply to: Change Post Author?

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I think I may try to tackle this plugin when I have more time, because I find myself wanting it more and more.

    I guess I come from the old school, where a webpage is basically just a snazzy interface for a database, so the interface should allow for any kind of manipulation of the database that you’d need, and only stop you from doing something silly. :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    The title of this post made me chuckle, so I had to chime in.

    If worse really comes to worse, I am willing to assist on a more personal level. I can’t ethically advertise myself or my services here, but if you can google your way into contacting me outside of bbPress.org, I’d do my best to help you.

    …And Joomla, blech… :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Check your wp-config.php file, and search for “$table_prefix”

    I’ve got $5 that says you accidentally typed “ltvwff” next to it. :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I think the best bet would be to block the inappropriate ones. ;)

    Add to .htaccess

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} ^http://(.+.)?crazy-porn-site.com/ [NC,OR]


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Care to share in case anyone has a similar issue?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @Sam

    Please correct me if I’m wrong, but if you check out http://www.delsolownersclub.com/forums/, the links for the feeds from WordPress seem to point exactly where they should.

    The only problem that I had personally was using wp_enqueue_script('jquery'); in my wordpress functions.php file. I replaced it with

    if (!defined('BB_PATH')) {
    wp_enqueue_script('jquery');
    }

    And all is well again.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Well, I think that with 1.0a6 it works, because I’m using it with deep integration and it seems to be working just fine. The order that they’re loaded in could be an issue however, as I’ve experienced some issues that I haven’t been able to troubleshoot effectively yet.

    In reply to: Show off your Forum !!

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @Tiago

    How did you ditch the WordPress comment system and link the comments to a specific forum topic? Is this an automated process or a clever use of custom fields?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    But why would you ever do such a thing?! :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @Steve

    Still sounds like a cookie issue. I would retrace your steps, make sure you’ve got the WordPress Integration plugin installed on the WordPress side of this. Make sure you’ve added all of the cookie info to your config files as specified, etc…

    In my opinion, for usabilities sake, it may make sense to route your log ins and registrations through 1 platform anyhow.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I get the feeling that this has more to do with slugs and attempted auto renaming and assignments than it does with hardcoding the value into each file, but hardcoding it works for now and brings the capability back.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Looks like a few changes might be needed unless I’m missing something along the way…

    This makes the favorites load properly for me.

    includes/functions.bb-users.php

    line 221

    FROM

    if ( !empty($user->favorites) ) {

    TO

    if ( !empty($user->bb_favorites) ) {

    includes/class.bb-query

    line 442

    FROM

    $where .= $this->parse_value( 't.topic_id', $f_user->favorites );

    TO

    $where .= $this->parse_value( 't.topic_id', $f_user->bb_favorites );

    line 559

    FROM

    $where .= $this->parse_value( 'p.topic_id', $f_user->favorites );

    TO

    $where .= $this->parse_value( 'p.topic_id', $f_user->bb_favorites );

    Basically, there are a few other places where $user->favorites needs to be changed to $user->bb_favorites.

    So, I’ve got it up and working from doing the above. I’ve never needed to commit a change to the trac before. Should I just open a ticket, or can I change it directly?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Good call. That alleviates one problem.

    On to the next… Now all of the JavaScript loads properly and when clicking the “add to favorites” link, the ajax kicks in and works as per normal and makes it look like the link was added. The link actually shows in the database as a favorite, but the theme fails to load them correctly.

    I’ve tested this on the stock template also with the same results.

    Removing the WordPress integration from the bb-config.php file brings everything back and they work just fine. Comparing with WinMerge the source of the same page with and without that integration, they are identical. So somewhere something is getting in the way.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I am using the same plug-in and am doing exactly as Chris has recommended. Note that the user will not be assigned a role on the bbPress side until they actually visit the forums, because WordPress has no way to know that bbPress needs an additional capability.

    I’ve thought about trying to port the plugin over to the bbPress side, but things seem to be working as they are right now and no one has complained about it yet.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Snip! Nevermind I see how it works…


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Using the method above, a new user registering in WordPress is given the proper role/capability in bbPress. So far this appears to be the best integration yet. I will of course do more testing, but so far so good!

    Note: This also proves compatible with the WordPress “Register Plus” plugin.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    As of today, Alpha6 is still not in the download link.

    This method above is what I used to upgrade to alpha6. Have not tested new users yet however.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Hahah… Well, the idea behind bbPress is not to install things like this within the core. This way forum administrators aren’t bogged down with the extra weight of a series of functions that they never intend to use; a less is more approach.

    There is also a plug-in that provides this exact functionality in the extend area. ;)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Should I be concerned that the zip file still is named alpha5?

    In reply to: del Sol Owners Club

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Just updated a few little things.

    There’s stuff that still needs tweaking, but otherwise I consider this a fully integrated install with custom template and heavily modified via plug-ins.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Even though that error is there, if you change their role from “Inactive” to “Member” the error will go away and the user will have member access.

    Forum isn’t dead, just high maintenance for right now. ;)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Where is this discussion taking place? I’m always game for a good discussion! :)


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    You bet. Thanks!


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Unfortunately I think Sam jumped the gun a little bit. He’s also said that he’s aware of the issues and that an alpha6 is on its way shortly.

    Alpha5 did fix some potential security issues, so it’s good to use it anyhow.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @the both of yous

    Sambauers is the main programmer responsible for updating and maintaining bbPress, the rest of us seem to serve more as bug testers and trac reporters. You’re both correct to assume that the goal is to have it work both ways, with a registration at one platform to assign a role to the other.

    @globalkris

    You’re lucky, I haven’t been able to get either/or to automatically tell the other what roles to assign, despite my efforts. To be honest, it can’t be happening anywhere on the WordPress side of things, because WordPress has no idea that bbPress exists. It’s just doing what it always did. bbPress needs to look for capabilities, and assign them according to the WordPress role map provided it has been set.

    It seems like a good idea to have the role-map setup as part of the installation process, if choosing to integrate that is.

    The other side of this, which I’ve said before in different topics, is that automated integration of bbPress is difficult to predict, because there are several configurations that anyone could or would use, and it isn’t just WordPress that bbPress is intended to work with. There’s BuddyPress too, which is a whole other assortment of configurations. You can see how having bbPress automatically assign a role to a user that doesn’t have a role at all can be a strange situation, since there are times where WP users might not have roles either. There are about 250 different types of arrangements that users can have that must be trapped when I think about it, considering registrations on either side, the role map, and what the results of each situation would be.

    Maybe when they register through WordPress, I don’t want them automatically given access to the forums, or vice versa. Even though they are integrated, maybe I don’t want them to have a role at all. What if WordPress registrations are closed but bbPress ones are open? I mean when you think of all of the possibilities, it’s a wonder/miracle that it works at all. Ha!

    Long story short, Sam is working really hard on getting this integration up and running for us, and I suspect there will be an alpha6 coming shortly. :)

Viewing 25 replies - 2,201 through 2,225 (of 2,347 total)