Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,801 through 24,825 (of 32,432 total)
  • Author
    Search Results
  • chrishajer
    Participant

    [EDIT – I posted this AFTER atsutane posted, but that reply was in the spam queue erroneously, so this probably looks weird now that atsutane’s reply is visible :-)]

    Did you ask for help on the plugin page?

    https://bbpress.org/plugins/topic/bbcode-buttons/page/5/

    Plugin authors typically see requests there even if they don’t see them here.

    But if I remember correctly, that plugin just provided the buttons. You still need to provide a bbcode plugin for your installation. Something like this? https://bbpress.org/plugins/topic/bbcode-lite/

    The theme and version of bbPress are not causing the problem. Thanks.

    #73603
    chrishajer
    Participant

    @johnjamesjacoby – where does this bit of info come from:

    $bb->bb_xmlrpc_allow_user_switching = true;

    I’ve never installed WMPU or BuddyPress, so maybe it’s in the instructions or a config file already, but I’ve seen it referred to here a couple times and wonder where it comes from. Thanks.

    Atsutane
    Member

    Did you install BBcode lite plugin? https://bbpress.org/plugins/topic/bbcode-lite/

    #74611
    Shagalaga
    Member

    @john well now i’m curious :-D

    Hi Chrishhajer,

    I am using the below plugin of version for bbcode : BBcode Buttons Toolbar 0.0.9

    I am using the below Theme of version:

    Kakumei0.01 theta-beta by Bryan Veloso

    The “revolutionized” new face of bbPress.

    Installed in: Core themes -> kakumei

    I am using this version of BB Press : bbpress-0.9.0.5

    Please let me know if you need more information.

    Thanks,

    -Vikram

    #73602

    Tis true. I usually purge the bb_capabilities and apply the role map once everything is lined up, even though it’s like rinsing the dishes and then washing them in the machine.

    ITguy, couple of things to check RE-buddypress. XML-RPC is turned on in both WP and BBP? Also, don’t forget to put

    $bb->bb_xmlrpc_allow_user_switching = true; somewhere near the end of your bb-config.php file. That will make sure that xmlrpc can switch to your keymaster user to communicate back and forth between the two installs.

    chrishajer
    Participant

    What plugin are you using to provide bbcode, and what version of bbPress are you using, and with what theme?

    Hi

    I have actiavated BBcode Buttons Toolbar and entered text like below and selected Bold.

    ( BB Button is not working when I am trying bold , Itallic, etc ) , but my text after i posted it is not appearing in BOLD and again my text is showing like above with codes () etc. none of the tool bar options are working expect smile symbols.

    Please look into this.

    Thanks,

    -Vikram.

    #15003
    nathan
    Member

    I just upgraded to RC2, and when I try to post anchor tags the quotes get turned into HTML special characters and the leading ‘http’ is stripped. For example if I try something like:

    <a href="http://example.com">Example</a>

    It gets changed to this:

    <a href="//example.com&quot;">Example</a>

    I only have two plugins enabled: bozo and akismet. Any ideas?

    #74573
    John Blackbourn
    Participant

    There is a filter on the function get_profile_info_keys() in bb-includes/functions.bb-core.php which can be used to add and remove profile fields.

    #73599

    ITguy, did you remember to do the user-role mapping in your bbPress WordPress integration after you had everything all lined up? I read through your above steps twice and didn’t see it there except for in step 3 before everything was working, but I did also just wake up from a pretty epic nap. :)

    #74604
    johnhiler
    Member

    There was a recent post with someone in exactly your situation. :-)

    Integration of established WP and BBPress installations

    The key issue is integrating the user database first… then you can do a cookie integration fairly easily, using either ck or superann’s plugins.

    Good luck!

    #73597
    ITguy
    Member

    John,

    I came across your other posting ‘Integrating WPMU trunk and bbPress RC2’ and added the following to bb-press.php:

    // DEEP INTEGRATION AT THE VERY TOP
    // (Sam, I can see you shaking your head right now)
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST') & !defined('BB_IS_ADMIN')) {
    define('WP_USE_THEMES', false);
    include_once( '/absolute/path/to/domain.com/wp-blog-header.php' );
    //unset($wp_object_cache);
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy") ;
    }
    '
    and

    '
    // WordPress database integration speedup
    $bb->wp_table_prefix = 'wp_';
    $bb->wordpress_mu_primary_blog_id = 1;
    $bb->user_bbdb_name = '';
    $bb->user_bbdb_user = '';
    $bb->user_bbdb_password = '';
    $bb->user_bbdb_host = '';
    $bb->user_bbdb_charset = '';
    $bb->user_bbdb_collate = '';
    $bb->custom_user_table = '';
    $bb->custom_user_meta_table = '';

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://mydomain.com'; // no trailing slash
    $bb->wp_home = 'http://mydomain.com'; // no trailing slash
    $bb->cookiedomain = '';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_HASH-FROM-FIREFOX';
    $bb->secure_auth_cookie = 'wordpress_sec_HASH-FROM-FIREFOX';
    $bb->logged_in_cookie = 'wordpress_logged_in_HASH-FROM-FIREFOX';
    $bb->admin_cookie_path = '/SUB-DIRECTORY/bb-admin';
    $bb->core_plugins_cookie_path = '/MY-SUB-DIRECTORY/bb-plugins';
    $bb->user_plugins_cookie_path = '/MY-SUB-DIRECTORY/my-plugins';
    $bb->sitecookiepath = '';
    $bb->wp_admin_cookie_path = '/wp-admin';
    $bb->wp_plugins_cookie_path = '/wp-content/plugins';
    define('WP_AUTH_COOKIE_VERSION', 1);

    The result being the user integration is working, HOWEVER admin no longer is recognized as ‘KEY MASTER’ nor does it know about my second bbPress user I created as administrator to be used as the user in WPMU’s Forum integration. Using the admin as that user did not solve the problem either of being able post or create topics/groups. It seems that I either get partial data integration or user integration but not both. What a mess.

    BTW, I have working without any problem WPMU 2.7.1 and BudyPress 1.0.1. Trying to integrate bbPress 1.0-RC2. I had originally working WPMU 2.7.1, BuddyPress 1.0 and bbPress 1.0-Alpha-6. I should have left things alone.

    #73596
    ITguy
    Member

    John, this were I ended up:

    1. Log in as admin to bbPress and went to admin->settings

    2. Enabled ‘bbPress XML-RPC publishing protocol’ in the ‘Writing pane’

    3. In the ‘WordPress Integration’ pane set WordPress Administrator’ to ‘bbPress Key Master’ role. All others to ‘bbPress meber’ and saved the User Role map.

    4. added:

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    define(‘COOKIEHASH’, ‘e6bd245d6e82566f2fdcff73419dd3da’ );

    to both wp-config and bb-config files

    5. Copied the 7 unique authentification keys from the wp-config file to the bb-config file adding ‘BB_’ in from of each variable name.

    6. Added to the end of the bb-config file, just be the closing php code:

    $bb->bb_xmlrpc_allow_user_switching = true;

    Saved bb-config.sys

    7. Moved buddypress-enable.php file to the my-plugins folder under the forums folder and activated it.

    8. In the WPMU admin pane selected the BuddyPress->Forums Setup and enter the forum URL, as well as the WPPU admin name and password.

    9. Logout of BuddyPress and bbPress. Logged in to BuddyPress, changed URL to forum, needed to log in, however changing back and forth between the two now needs no further logging in.

    10. Created a new group on the Buddypress site with ‘Enable discussion forum’ selected. Forum is created and visible on the bbPress site.

    11. Enter a topic and comment, bot show up on both sites.

    END of good news. Here is what is not working:

    1. No user integration, only admin works, any other WPMU user is not recognized on the bbPress site.

    2. Existing group’s discussion are not creating forums when toggling the ‘Enable discussion forum’ option.

    3. Only admin can create topics and comments within the group forums (due to problem #1).

    I have done this now 3 times over, reinstalling bbPress (deleting the forum folder, the bb_ tables and bb_ entries in the wp_usermeta) and following the steps above which is a combination of your ‘Forum Integration: Helpful Hints’ posting and the added steps regarding the cookie integration posted on ‘The Easy Button’ and the ‘UMW Wiki’.

    I not sure what to do next to get this right :-(

    #74602

    OK, I think I have this one solved. I modified my forum.php file to include this block right before the $topics foreach loop.

    <?php if( $forum_id == '4' ) { // If this is the "Today Only" forum (#4), replace the $topics query
    $today = date('omd');
    $today_topics_query = new BB_Query( 'topic',
    array(
    'forum_id' => 4,
    'started' => $today,
    'order_by' => 'topic_start_time',
    'topic_status' => 'all',
    'open' => 'all',
    'count' => true,
    'per_page' => 20
    )
    );
    $topics = $today_topics_query->results; // Here's the array of topics the query returned.
    } ?>

    I’ll let you know for sure if it works tomorrow. :)

    #74433

    I am sure that I am doing something wrong here.

    This is the vhost for the domain :

    server {

    listen 80;
    server_name mydomain.com;
    rewrite ^/(.*) http://www.mydomain.com/$1 permanent;

    }

    server {

    listen 80;
    server_name www.mydomain.com;

    access_log /home/public_html/mydomain.com/log/access.log;
    error_log /home/public_html/mydomain.com/log/error.log;

    location / {

    root /home/public_html/mydomain.com/public/;
    index index.php index.html;

    # Basic version of WordPress parameters, supporting nice permalinks.
    # include /usr/local/nginx/conf/wordpress_params.regular;
    # Advanced version of WordPress parameters supporting nice permalinks and WP Super Cache plugin
    include /usr/local/nginx/conf/wordpress_params.super_cache;
    }

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ .php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    include /usr/local/nginx/conf/fastcgi_params;
    fastcgi_param SCRIPT_FILENAME /home/public_html/mydomain.com/public/$fastcgi_script_name;
    }
    }

    I have added the rewrite rules for bbPress in /usr/local/nginx/conf/bbpress_params.regular

    Now where should I add include /usr/local/nginx/conf/bbpress_params.regular; in my vhost file?

    #73594
    ITguy
    Member

    THANK! That did the trick :-) Will let you know how the rest of the integration goes.

    #73592
    ITguy
    Member

    @johnjamesjacoby, thanks for yoyr quick response and offer to help. I found the following bb_ entries in the wp_usermeta table:

    umeta_id user_id meta_key          meta_value
    14 1 bb_capabilities a:1:{s:6:"member";b:1;}
    16 0 bb_capabilities a:1:{s:6:"member";b:1;}
    24 2 bb_capabilities a:1:{s:6:"member";b:1;}
    55 3 bb_capabilities a:1:{s:6:"member";b:1;}
    75 4 bb_capabilities a:1:{s:6:"member";b:1;}
    102 5 bb_capabilities a:1:{s:6:"member";b:1;}
    112 1 bb_topics_replied 1
    17 1 bb_user_settings m0=o&m1=o
    18 1 bb_user_settings_time 1243961396

    The only odd entry may be the one for user id ‘0’ since there is no entry for that user id in the wp-users table.

    #73590
    ITguy
    Member

    @johnjamesjacoby, I have the same setup and problem as hempsworth. I have repeated the install process now 10 times, same error. I deleted the forum folder (bbpress) deleted the database tables and deleted the cookies. I even tried a different user name instead of ‘admin’, same error. And just for fun I also used a different browser, same error :-(

    #74570

    Here is what worked for me, on my WPMU sub-domain setup. (Sam, when you go through this, I understand that bbPress stores the salts in the DB and that they aren’t needed here, but for some reason I just feel better inside knowing I put them there the same as they are in wp-config.php :) )

    2:05pm eastern time – UPDATE: I have confirmed these settings work on both WPMU subdomain and subdirectory installs. All logins/logouts, cookie clears, posting, and admin panel access works 100%.

    WordPress MU is installed on the domain root, bbPress is installed in a SUB-DIRECTORY called “support”

    Terms

    SUB-DIRECTORY = Name of directory that bbPress is installed in
    HASH-FROM-FIREFOX = Cookie hash taken from pre-integrated login cookie
    GENERATED = String generated by WordPress key/salt generator

    bb-config.php

    // DEEP INTEGRATION AT THE VERY TOP
    // (Sam, I can see you shaking your head right now)
    if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST') & !defined('BB_IS_ADMIN')) {
    define('WP_USE_THEMES', false);
    include_once( '/absolute/path/to/domain.com/wp-blog-header.php' );
    //unset($wp_object_cache);
    header("HTTP/1.1 200 OK");
    header("Status: 200 All rosy") ;
    }

    // Typical database stuff - blah blah blah

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');
    define('COOKIEHASH', 'HASH-FROM-FIREFOX' );

    define('BB_AUTH_KEY', 'GENERATED');
    define('BB_SECURE_AUTH_KEY', 'GENERATED');
    define('BB_LOGGED_IN_KEY', 'GENERATED');
    define('BB_NONCE_KEY', 'GENERATED');
    define('BB_AUTH_SALT', 'GENERATED');
    define('BB_LOGGED_IN_SALT', 'GENERATED');
    define('BB_SECURE_AUTH_SALT', 'GENERATED');

    $bb->bb_xmlrpc_allow_user_switching = true;

    // WordPress database integration speedup
    $bb->wp_table_prefix = 'wp_';
    $bb->wordpress_mu_primary_blog_id = 1;
    $bb->user_bbdb_name = '';
    $bb->user_bbdb_user = '';
    $bb->user_bbdb_password = '';
    $bb->user_bbdb_host = '';
    $bb->user_bbdb_charset = '';
    $bb->user_bbdb_collate = '';
    $bb->custom_user_table = '';
    $bb->custom_user_meta_table = '';

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://domain.com'; // no trailing slash
    $bb->wp_home = 'http://domain.com'; // no trailing slash
    $bb->cookiedomain = '';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_HASH-FROM-FIREFOX';
    $bb->secure_auth_cookie = 'wordpress_sec_HASH-FROM-FIREFOX';
    $bb->logged_in_cookie = 'wordpress_logged_in_HASH-FROM-FIREFOX';
    $bb->admin_cookie_path = '/SUB-DIRECTORY/bb-admin';
    $bb->core_plugins_cookie_path = '/SUB-DIRECTORY/bb-plugins';
    $bb->user_plugins_cookie_path = '/SUB-DIRECTORY/my-plugins';
    $bb->sitecookiepath = '';
    $bb->wp_admin_cookie_path = '/wp-admin';
    $bb->wp_plugins_cookie_path = '/wp-content/plugins';
    define('WP_AUTH_COOKIE_VERSION', 1);

    wp-config.php

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');
    define('COOKIEHASH', 'HASH-FROM-FIREFOX');

    define('AUTH_KEY', 'GENERATED');
    define('SECURE_AUTH_KEY', 'GENERATED');
    define('LOGGED_IN_KEY', 'GENERATED');
    define('NONCE_KEY', 'GENERATED');
    define('AUTH_SALT', 'GENERATED');
    define('LOGGED_IN_SALT', 'GENERATED');
    define('SECURE_AUTH_SALT', 'GENERATED');

    amistad
    Member

    I think so … thank you very much ;)

    #74601

    In reply to: New Post Notification

    johnhiler
    Member

    Try this plugin?

    https://bbpress.org/plugins/topic/moderator-new-post-notification/

    There are some tweaks to the code mentioned in the comments of that link… definitely check those out if you hit any issues.

    #54991
    _ck_
    Participant
    #74536
    Arturo
    Participant

    @Sam

    is wp normal (not mu)

    i’ve removed the dot but nothing change, seeing the cookie have a dot in front… i’m waiting! thanks for all Sam for your patience ;)

    #74367
    the_Wish
    Member

    @the_Wish

    The “fix” won’t fix any text which is already malformed. Once you edit the text to repair it shouldn’t happen again.

    Sorry to say but even new syntax with attributes like this

    <a href="http://bbpress.org">This is a link</a>

    is still converted to

    <a href="//bbpress.org&quot;">This is a link</a>

    Same goes for Singlequotes.

Viewing 25 results - 24,801 through 24,825 (of 32,432 total)
Skip to toolbar