Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 18,276 through 18,300 (of 26,879 total)
  • Author
    Search Results
  • #89114

    In reply to: s2member integration

    wood2695
    Member

    Okay kids, here’s the solution that I’ve landed on. First, major props to kevinjohngallagher for taking the time to work this out with me. Second, the solution that I’ve come up with is not based on the previously mentioned code. I believe the code that kev had theorized was based on a flow of how s2M handled the end of the registration that wasn’t entirely correct (ie. no actual ‘thank you’ page). Perhaps this was something that could have been set up as such, but I abandoned that for another train of thought, which was… “if bbPress is reassigning bbP-specific roles based on the standard WP roles, so why can’t it do it for other non-WP-specific roles??”

    So to accomplish this, I’ve made edits to two core bbP files. As kev said to me and I agree… “Usual disclaimer about editing the core blah blah blah.” This will likely need to be re-done again if/when I ever update bbPress, but for the time being, it is working splendidly. With all that said, I may be the only one trying to do this integration, but for anyone down the road that is trying to develop a member site with s2Member + WordPress + bbPress forum, here’s my solution (oh, and also based on a ‘deep integration’ of WP/bbP)…

    in /bb-admin/options-wordpress.php, I added

    <br />
    $wpRoles = array(<br />
    'administrator' => __('WordPress Administrator'),<br />
    'editor' => __('WordPress Editor'),<br />
    'author' => __('WordPress Author'),<br />
    'contributor' => __('WordPress Contributor'),<br />
    'subscriber' => __('WordPress Subscriber')<strong>,<br />
    's2member_level4'=> __('s2Member Level 4'),<br />
    's2member_level3'=> __('s2Member Level 3'),<br />
    's2member_level2'=> __('s2Member Level 2'),<br />
    's2member_level1'=> __('s2Member Level 1')</strong><br />
    );<br />

    and then in /bb-includes/functions.bb-users.php, I added

    <br />
    static $wordpress_userlevel_map = array(<br />
    'administrator' => 10,<br />
    'editor' => 7,<br />
    'author' => 2,<br />
    'contributor' => 1,<br />
    'subscriber' => 0<strong>,<br />
    's2member_level4'=> 0,<br />
    's2member_level3'=> 0,<br />
    's2member_level2'=> 0,<br />
    's2member_level1'=> 0</strong><br />
    );<br />

    Because again, as far as the forum is concerned, I’m only really interested in differentiating whether a user is a logged-in member or not and show/hide the forums/topics/whatever using the zearl Visibility plugin based on that.

    This maps all s2M roles to that of a member in bbPress. Roles may then be changed using the dropdowns in bbPress > Settings > WordPress Integration.

    Cheers.

    1BadApple
    Member

    Hi Guys

    I’m new on the block, but have considerable experience with forum software and server enrironments. I also have a little fleet of WordPress sites, LOL. I haven’t grokked all the bbPress stuff yet, but this is a very interesting topic.

    -ck- and paulhawke both made some very good points there.

    Based on what I know of other systems, the observation about cacheing is accurate. Also a fairly competent Forum program is likely to become considerable larger than any blog because of the nature of the communications, which is many-to-many, rather than one-to-many. Tts not uncommon for forums to have fifty to a hundred thousand posts. How many blogs do you know like that? Just like WP, it all has to be iterated to do a page generation.

    Forums are also very spiky, due to their many-to-many, interactive nature. One post begets another or another five. Other than add-ins, Blogs are effectively document retrieval systems where there is a time disconnect between related events.

    For these reasons, I lean toward the idea of either hybrid or standalone development. Another concept would be that the plug-in have either less capabilities or some size limits coded in. Sure people could code around, but they would also be on notice that ‘you may be heading for trouble’.

    I’m looking forward to what’s coming.

    #34368
    _ck_
    Participant

    Nothing exciting but here’s what’s pending and will be available soon (hopefully).

    All were designed for 0.9 but in theory should work under 1.x

    Rename User

    changes user name (user_login) across standalone or integrated (or multiple) bbPress / WordPress installs (that share a common user table)

    Blocklist

    blocks posts based on a list of words or IP addresses (like the WordPress feature) by immediately marking them as spam

    Spam Notification

    notifies admin when a post is marked as spam by akismet

    Browser Timer

    improve your forums by learning how long it really takes for users to see your bbPress pages

    The others are just utilitarian but Browser Timer is the one I am most interested in seeing people try. It’s like asking all your visitors how fast your website is.

    It compliments bb-Benchmark but instead of breaking down page rendering time on your server, you’ll instead be able to see if your pages and server are truly up to speed for your visitors around the world. It tells you EXACTLY how long it took them to get the whole page, including images, javascript, etc. on just about any browser.

    #88921
    mr_pelle
    Participant

    mr_pelle,

    Where in your template did you place that code?

    The first block is actually my bbPress header (you have to put it inside some php tags, of course), while I use the second in my WordPress header and footer when I have to load different content (css, icons, code).

    #89215

    Comparing anything on the bbPress website to the WordPress website is only going to lead to heartache and pain my friend.

    As for the bbPress website not syncing after 22 hours, thats nothing new either.

    IMO, give it closer to 48, and if its still not happening we’ll try and drag Michael away from WP3.0 release to help us again :)

    #88524

    This sadly isn’t a huge shock.

    Given that 4 versions of WordPress will have been released since the last version of bbPress, it was bound to happen at some stage.

    I’ll attempt to report it into the WPdev channel and see what the change is, and maybe we can come up with a bbPress plugin to help make any changes meccessary.

    If whatever change in WordPress that is affecting us is here to stay (basically: if it’s not a bug), then it will effectively signal the end of complete WordPress integration. Thats not me being all doom and gloom, its the harsh reality that the two systems will then be out of sync.

    That said… I’ve long been a believer in forcing people to both login and register via WordPress over bbPress on an integrated system. At least then you’re only working with 1 system setting cookies/registering etc. And right now there are far more WordPress plugins for control and customization.

    #89259
    chrishajer
    Participant

    bbPress is not a plugin for WordPress. It should not be installed in wp-content/plugins, like a WordPress plugin.

    You probably want to put it here:

    /home/content/88/6235388/html/bbpress/

    Then you can access it at the URL of your website, plus bbpress, like

    http://www.example.com/bbpress

    to start the installation.

    Rename the bbpress folder to something you want to be visible online. Here it is called forums, but you can call it forum or discussion or community.

    #88523
    Rootside
    Member

    Same issue here.

    bbPress 1.0.2 seems to play nice with WordPress 3.0 RC1, except for this problem.

    I actually managed to get one account registered, but I can’t reproduce the situation. I do remember that I didn’t get to see the register-success screen, but I received the confirmation email with the password. All subsequent attempts failed though, as did numerous previous attempts.

    Being able to do it once (out of 20 attempts or so) would point to a problem with cookies or being previously logged in, but the problem occured in 4 different browsers, 2 of which had never been used to access this site.

    So, bbPress acts like I’m trying to register without providing an email address. Any thoughts?

    #88920
    snieves
    Member

    mr_pelle,

    Where in your template did you place that code?

    #83005
    gerikg
    Member

    Who is your hosting company?

    I have one more thing you can do.

    #88919
    snieves
    Member

    Pixopoint is broken, Ryan is trying to fix the plugin.

    Where can I email you. I have to pay someone to get this going.

    #89205

    I’m sorry I wasn’t clear. Time differences and posting at night.

    If your website in any way uses WordPress MU or BuddyPress – we cannot help.

    #83004
    kasper777ny
    Member

    Hey whats up gerikg

    Ive done everything step by step that you wrote about. I even reinstalled and started over from scratch. yet it still seems the cookies are not working. wordpress and bbpress are linked because bbpress actually lets my wordpress logins work… but no matter what i do, i still cant get keep myself logged in when going back &amp; forth from wordpress to forum.

    is this a common issue that just is not working yet?


    wordpress mu 1.9.2

    bbpress 1.0.2

    #34426
    1BadApple
    Member

    I have installed bbpress on my XAMPP Windows XP test server (which is hosting about 6 WordPress 2.92 test sites OK)

    My environment:

    Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1

    During the actual install I got a series of PHP errors.

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-settings.php on line 186

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpresspomomo.php on line 171

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesfunctions.bb-l10n.php on line 484

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-adminincludesclass.bb-install.php on line 1280

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-adminincludesclass.bb-install.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesfunctions.bb-core.php on line 110

    The Installation appears to have worked as when I use phpMyAdmin, the database I set up for bbress is there, and the tables are populated – and if I check bb1_users my ‘key master’ user is there as imput (whatever a keymaster is) other than ‘admin’.

    The BBPress is ‘there’, but when I try to logon I get a cascade of PHP failures.


    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-settings.php on line 186

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpresspomomo.php on line 171

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesfunctions.bb-l10n.php on line 484

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesbackpressclass.wp-auth.php on line 273

    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsbbpressbb-settings.php:186) in C:xampphtdocsbbpressbb-includesfunctions.bb-pluggable.php on line 232

    I have tried in several browsers.

    URL: http://bravo.newnetenterprises.com/bbpress/

    It looks like the call in Line 186 is the culprit, but I am not a PHP expert.

    :-

    #89192
    zaerl
    Participant

    Maybe we should change “bbPress is forum software with a twist from the creators of WordPress.” with “bbPress is standalone forum software with a twist from the creators of WordPress.”

    And no, I’m not joking.

    #89204
    tcarr184
    Member

    Kevin, thank you. Interesting way to ask that question…

    I am looking at the backend and at the files and I am pretty sure it is bbpress. Otherwise how would the default template from bbpress run on the site?

    Why would the link in the footer bring me to this site if it was the buddypress version?

    “Unfiltered MMA is proudly powered by bbPress.”

    Thats interesting.

    Maybe all this time I have had the wrong software going… Still interesting that BBPress is able to get the user info from wordpress but just not able to activate the members.

    #89203
    tcarr184
    Member

    gerikg,

    I did as you requested and here is another thing that has me confused. The users are not in the list. If I search for users it will not find them. I can scroll through the list and find them but that is a pain with so many users.

    Also if I try to sort by role it will tell me “No matching users were found!”

    After going through the list you are correct they are not active. Does this meant that I have to activate every user individually? I would like it so that people that register on either bbpress or wordpress become members by clicking the link in an email and I don’t have to do them all manually.

    Thanks,

    #89201
    tcarr184
    Member

    kevin, I am using Buddypress, WordPressMU, and BBPress. I wish I could take credit for getting it working but I cannot I had someone else do it.

    They all interact and I think that buddypress is the thing that bridges wpmu and bbpress but don’t quote me on that.

    #89200

    Finally, Yes this is integrated with WordPressMU

    bbPress doesn’t officially work with WordPressMU.

    I’m surprised and impressed you’ve got it working nicely :)

    Quick question, are you sure you’re using bbPress and not in any way shape or form using BuddyPress? I knwo that sounds like a daft Question, but you’d be amazed!!!

    #89197
    tcarr184
    Member

    Thank you for getting the help.

    The admin account and some other users can post but some cannot. I tried creating a test account and when I go into post there isn’t a box to type in.

    I took a screen shot.

    unfilteredmma.com/media/forumcapture.JPG

    If I log in as the admin then I do get a reply box.

    unfilteredmma.com/media/forum2.JPG

    I have tested in chrome, firefox, and IE and it is the same in them all.

    Here are the plug ins I have active on BBPress.

    Hello Louie

    Human Test for bbPress*

    Google Analitycs*

    BuddyPress Support Plugin*

    Bozo Users

    BB Wysiwyg Editor*

    BBcode Lite*

    Allow Images *

    Akismet*

    AdSense for bbPress *

    * = active

    Finally, Yes this is integrated with WordPressMU. The users can log in and authenticate but they cannot post replies or create posts? I’m sure this is really simple but I just can’t figure it out.

    Thank you

    #89219

    Awesome Ryan!

    #89191

    Hi Roaming,

    First off, bbpress is not a WordPress plugin.

    It’s a standalone forum.

    (you’re not the first to think this, as God forbid we’d actually be able to say that anywhere on the actual website)

    bbPress has 3 advantages going for it

    1) you can share users with WordPress

    2) you can share logins with WordPress

    3) you can use your theming knowledge from WordPress to make them look alike.

    It should be noted that although (now) sharing a very similar looking/acting Admin section, bbPress has it’s own admin section totally outwith WordPress.

    As for an installation guide, the good folks at bbPress have cunningly hidden it in their Documentation &gt; INSTALLATION page. I know, who’d have guessed ;-)

    https://bbpress.org/documentation/installation/

    The next bit may sound cheeky, but I just want to be very clear. As bbPress is NOT a wordPress plugin or a wordPress Page or anything like that, it will not in any way shape or form, look like your WordPress blog unless you manually edit the bbPress theme to do so.

    I state this really bluntly because:

    1) It’s our 3 most complained about assumption – not sure why people complain that their assumptions are wrong but y’know, they do.

    2) You’re using Thesis, which 90% of the time means you like menus/WYSIWYG over actual coding. You may ofcourse be in the 10% and be more than happy, which is awesome.

    Given how your blog looks, it wouldn’t be hard at all to theme your bbPress forums to look like your WordPress blog :)

    Take care, and good luck!

    Kev

    #34421
    Ryan Hellyer
    Participant

    The theme integrator plugin which I mentioned on here a while ago as being “alpha” is now available as a stable release in the WordPress plugins repository. Hopefully some of you find it useful :)

    http://pixopoint.com/products/pixopoint-theme-integrator/

    The system DOES NOT require deep integration and does not suffer the performance hits that deep integration normally applies. This simply copies your HTML markup over after you set a bunch of things in each theme. If you don’t know how to do a 100% perfect integration of your theme already the old fashioned way (copying HTML and CSS across), this new system will not help you at all as you need to set that up already. Once it is setup however, the changes you make in your WordPress theme will be automagically applied to your bbPress site, along with changes such as plugins, widgets etc.

    The system works across a range of different softwares, not just bbPress. You can see a demo of it in my own support forum which uses SMF … http://pixopoint.com/forum/index.php?topic=1385.0

    #88804
    Ryan Hellyer
    Participant

    Yes, I’m still using SMF myself. If bbPress changes to being a WordPress plugin I might switch, but at the moment I’ll be sticking with SMF. If it aint broke don’t fix it is my motto as far as forum softwares go.

    #89109

    In reply to: s2member integration

    Righty ho, so while I can’t test my code (on iPhone sorry), I can help shed some more light on this.

    First Off: there is not (that I can see) a table called wp_capabilities. There is just a meta_key called “wp_capabilities” in the wp_usermata table. That actually makes some sense

    The good news here is, that it’s a 1 to 1 relationship so easy to copy over.

    // Show Database Errors

    // Comment this line out when going live :)

    $wpdb->show_errors();

    // 99 times out of 100 this is overkill

    // I’m just being on the safe side

    //

    // It checks what the current user ID is

    if ( !$user_id ) {

    $current_user = wp_get_current_user();

    $user_id = $current_user->ID;

    } else {

    $user_id = (int) $user_id;

    }

    // Connects to the database

    // Retrieves the value for this user for wp_capabilities

    $user_cap = $wpdb->get_row( “SELECT meta_value FROM wp_usermeta WHERE user_id=$user_id AND meta_key=’wp_capabilities’ LIMIT 1” );

    // Checks to see if the user already has a bb_capabilities

    // If it does we’ll overwrite it

    // If it doesn’t we’ll add a new one.

    $user_cap_in_bb_meta = $wpdb->get_row( “SELECT meta_value FROM bb_usermeta WHERE user_id=$user_id AND meta_key=’bb_capabilities’ LIMIT 1” );

    if ($user_cap_in_bb_meta)

    {

    // update bbPress database

    $wpdb->query(“UPDATE bb_usermeta SET meta_value='”. $user_cap->meta_value .”‘ WHERE user_id=”. $user_id .” AND meta_key= ‘bb_capabilities’ “);

    } else {

    // Add a new row to the bbPress database

    $wpdb->query(“INSERT INTO bb_usermeta (user_id, meta_key, meta_value) VALUES (“. $user_id .”, bb_capabilities, ‘”. $user_cap->meta_value .”‘) “);

    }

    // Print all Database errors

    // Comment this line out when going live :)

    $wpdb->print_error();

    // Hide Database Errors

    // Comment this line out when going live :)

    $wpdb->hide_errors();

    Now, the disclaimer. This rather unsurprisingly hasn’t been tested by me, and my contain (will contain) a crazy amount of typos.

    What it does is relaly simple. It copies the wp_capabilities and pastes them as bb_capabilities in the bbpress table. In terms of your initial goal, firing this code once the s2M stuff is finished will achieve that goal (basically, copy and paste it on the landing/finished/thanks/congrats page).

    A quick word of warning. If you’ve been using Zaerl’s plugin or anything else that utilises the “bb_capabilities” meta_key then this will overwrite it. Now as it’s overwriting it with whats in the WordPress database, it’s very unlikely to cause issues.

    But if you’ve set up something funny with a bbPress Plugin then you might end up overwriting it. In theory, this shouldn’t happen because the user is registered via s2M, so that’ll be it’s first time in the bbPress database – but I’m just giving you a heads up.

    I may write this, with all the failsafe functionality, into a WP/bbPress plugin if I get time in a few weeks. But I’m also a tad wary of encroaching onto ground Zaerl’s been excelling in. Good code doesn’t need my size 13s stomping all over it.

    Ok mate, try this and throw me back any errors.

Viewing 25 results - 18,276 through 18,300 (of 26,879 total)
Skip to toolbar