Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 26,451 through 26,475 (of 26,836 total)
  • Author
    Search Results
  • #50642

    In reply to: rawurlencode() Error

    plognark
    Member

    Well, I came up with an ugly fix, especially since I don’t actually know what I’m doing.

    I’ve been trying to integrate the BBpress forum right inside my WP theme, which is what I imagine you were trying to do.

    To fix it I added this switch right at the top of my bbpress template header:

    $bbpressswitch = 1;

    unset($_SERVER);

    Then I went into classes.php for wordpress and put an if/else ‘switch’, basically:

    The first line there is 1645 in my file

    function build_query_string() {

    $this->query_string = ”;

    foreach ($this->public_query_vars as $wpvar) {

    if (isset($this->query_vars[$wpvar]) && ” != $this->query_vars[$wpvar]) {

    $this->query_string .= (strlen($this->query_string) < 1) ? ” : ‘&’;

    // bug fix for BBpress integration

    if ($bbpressswitch == 1) {

    // $this->query_string .= $wpvar . ‘=’ . rawurlencode($this->query_vars[$wpvar]);

    // if the url is being accessed from a page outside of WP that is using the header

    // or other data, turn off this URL encoding.

    } else {

    $this->query_string .= $wpvar . ‘=’ . rawurlencode($this->query_vars[$wpvar]);

    }

    // end of bug fix

    }

    }

    It’s ugly, and I’m a n00b at this stuff, but it does seem to have cleaned up my error. I guess the bbpress URL’s don’t work so good when sent through the WP URLencode setup, so turning them off when going into a BBpress page seemed like it might work.

    I don’t know if there are any other repurcussions from this change, but again, it turned off the error, and I haven’t seen any fallout…yet.

    There are other sites online that seem to offer a fix for the same issue, like this:

    http://forum.j-prosolution.com/openwp-bugreport/2637-warning-rawurlencode-expects-parameter-1-string.html

    But the fix they suggest kills all of your static pages or category links and always sends you to the main blog page.

    #1056
    nickbouton
    Member

    Hey all,

    I just started using bbPress yesterday, and as a WordPress and longtime phpBB user I’m pretty happy with it.

    The only drawback I see as a critical flaw right now is the lack of any kind of security / role-based restrictions on specific forums. I’d like to be able to pull over a phpBB2-based forum that I run, and using the phpbb2bbpress migration script another poster wrote, I was able to migrate all of the content over perfectly. However, I had at least a couple of private forums that are access-restricted based on user permissions, and I can’t really complete the migration until I can lock those forums down.

    Has anyone written a plugin (or does anyone know if this feature is coming soon?) that will allow role-based access to a specific number of forums in a bbPress installation? I don’t want to lock down the whole app (which I’ve seen a couple of threads about), just a couple of forums within the install.

    Thanks in advance-

    #52040
    Trent Adams
    Member

    It can be done, because wordpress, bbpress and wordpress MU all use the same user table because you can login to all 3 sites with the same information and user table (3 different bbpress installs).

    Trent

    #52039
    Trent Adams
    Member

    What I would try is getting bbpress site 2 using the WP 1 users directly. Try using the cookie information from the docs:

    If bbPress is not installed in a subdirectory of your WordPress install, you’ll probably need to adjust both bbPress’ and WordPress’ cookies to meet your specific requirements. Below is a brief outline of the variables and constants that control the cookie behavior in the two programs.

    PHP bbPress WordPress

    name $bb->usercookie USER_COOKIE

    name $bb->passcookie PASS_COOKIE

    path $bb->cookiepath COOKIEPATH

    path $bb->sitecookiepath SITECOOKIEPATH

    domain $bb->cookiedomain COOKIE_DOMAIN

    Trent

    #1053
    papercuts3
    Member

    My situation is this: I have two WP installations both oıf which require BBPRESS. So I installed bbpress_1 on WP_1 and did the integration. Everything works fine. My second WordPress installation WP_2 takes its users from WP_1. So in the config.php file for bbpress_2 I gave the info for WP_1. I installed the integration plugin to WP_2. But the integration does not work with bbpress_2.

    My guess about what’s going on is this. WP_2 bbpress integration uses the user table from WP_2 as well (as could be expected) But since WP_2 uses the table from WP_1, its own user table which bbpress_2 uses to integrate is empty, hence no integration.

    Could this be the problem and how do I get around it?

    #1051
    Trent Adams
    Member

    It would be great if I could stop “bozos” that register in my bbPress forum from being moved over to WordPress when using the bbpress-integration plugin located at:

    http://trac.bbpress.org/ticket/438

    Anyone have an idea how to put a check in for Bozo users not being added?

    Trent

    #1046
    M
    Member

    I’m trying to add custom fields to my bbPress profile page, like deviantArt username, real name, etc. How would I go about doing this?

    I was checking out some WordPress custom meta plugins, but they weren’t really cutting it.

    I’m running bbPress alongside WordPress, and I’ve got the integration running just fine.

    My guess is that there’s an easy way of doing this. I was picking through the bbPress functions, and there’s all kinds of good stuff available.

    Thank you in advance… I must run, I have class to get to.

    #51985
    Trent Adams
    Member

    I haven’t had a problem because I delete users in WP since the integration. Are you integrated? If yes, does the error disappear if you delete the user in WordPress. If not, do you mean the error is on the users page of the admin area or certain places on the main site?

    Trent

    #50201

    In reply to: About Freshness

    Emre Erkan
    Member

    Hi,

    We’ve installed bbPress in our WordPress Turkey Forums instead of phpBB.

    Now, we have the same problem..

    Our server’s time is GMT -8 and our country’s (Turkey) time is GMT +2

    When we set $bb->gmt_offset = -8; (server’s local time)

    Frehness is ok on main page. But topics’ and posts’ times are wrong now.

    When we set $bb->gmt_offset = +2; (Turkey’s local time)

    Freshness is not ok, (seems like -1 years) but topics’ and posts’ times are correct now.

    How can we fix it?

    #1040
    mkyb14
    Member

    A clean install of .73 with it’s own mysql NO wordpress integration

    After installing everything went fine till after logging in to do anything! The main screen is displaying just fine, but any links clicked after give the cookie issue below… and yes I have looked at the other postings but the all incorporate WP which I’m not. Regardless, I’m not refusing cookies so I’m at a loss as to why it would say this and refuse every other page but the dashboard…

    Thank you for your help, the error is displayed below

    Wonderliver.com/bbpress

    The page isn’t redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete

    * This problem can sometimes be caused by disabling or refusing to accept cookies.


    <?php

    define(‘BBDB_NAME’, ‘bbpress’); // The name of the database

    define(‘BBDB_USER’, ‘*******’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘*******); // …and password

    define(‘BBDB_HOST’, ‘************’); // 99% chance you won’t need to change this value

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    $bb->domain = ‘http://www.wonderliver.com/bbpress&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    $bb->path = ‘/’; // Example: ‘/forums/’

    $bb->name = ‘WonderLiver’;

    $bb->admin_email = ‘admin@gmail.com’;

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    define(‘BBLANG’, ”);

    $bb->akismet_key = false;

    $bb->wp_table_prefix = false; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    #49533
    Trent Adams
    Member

    define('WP_BB', true);

    and

    $bb->wp_home = 'http://www.yoursite.com; // WordPress - Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = 'http://www.yoursite.com'; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    Hope that helps.

    Trent

    #49532
    hdiaz
    Member

    I have installed wordpress in the main dierctory, and bbpress as a subdirectory. They are both working fine.

    I read the following entry :https://bbpress.org/documentation/integration-with-wordpress/

    However I would like to doble check.

    “defining WP_BB as true” does it mean ..= ‘wp_bb’ ; or …= ‘true’ ; ?

    and,

    “define $bb->wp_home and $bb->wp_siteurl as your WordPress blog address and WordPress address, respectively.”

    does it mean :

    $bb->wp_home = ‘url of wp’;

    and,

    $bb->wp_siteurl = ‘url of wp’;

    Thank you!

    #51953
    ardentfrost
    Member

    I think I made a similar script yesterday. I didn’t make it as a widget because I never did much customization with wordpress itself.

    Anyone got an example of this being used? I might want to change the way mine looks if another looks better. (if you want to see what I did, you can view it at http://www.rayd.org/ … the right side forum list thing)

    #51952
    spencerp
    Member

    Yeah true.. Trent, thanks for clarifying that for everyone, and me! ;) :) :P

    spencerp

    /Me didn’t get to bed yet, so.. my brain is now working in reverse, compared to your’s.. since you got the sleep.. lol!!

    #51951
    Trent Adams
    Member

    Needs to be an option though because with that code in there, it will exclude when most users wouldn’t really need anything excluded. As well, that is only for the sidebar part, not the widget.

    Trent

    #51950
    spencerp
    Member

    This is the block of database code that Trent had “fixed” up for me, to exclude the one forum.

    (Found near end of plugin file)

    function wp_bb_get_discuss_sidebar() {

    global $wpdb,$bbpath;

    $bbtopic = $wpdb->get_results("SELECT * FROM bb_topics WHERE topic_status = 0 AND forum_id NOT IN ('3') ORDER BY topic_time DESC LIMIT 10");

    Where => (‘3’) is the forum id to exclude.. :) ;)

    spencerp

    #51949
    Trent Adams
    Member

    It isn’t put in as an option, (though it would be easy to do), but all it really is, is adding SQL statement to exclude a forum. Maybe a guy should put a plugin code option for number of posts displayed as well as excluding a forum.

    Trent

    #51948
    Atsutane
    Member

    Glad to see someone is using my plugin :) The plugin has been listed before but it gone now, thank’s for re-posting it.

    Maybe u can send me the fix and i add it into the plugin.

    #1038
    Trent Adams
    Member

    I don’t know if this plugin is listed anywhere in the forum (can’t find it), but this is a plugin that will have recent forum posts from bbPress in your WordPress blog. Sidebar or otherwise. I use it and it is a great little plugin:

    Recent bbPress Discussion in WP Plugin

    As well, if you want to exclude a particular forum from the list, I have a little fix. Reply if that would help you.

    Trent

    #49531
    Trent Adams
    Member

    Little duplication, but since this is a sticky post, I thought I would add it here:

    It is important to make sure for integration to work that you have the following plugin for sure installed in WordPress and the table prefix (in options of plugin in admin area of WP) correctly installed.

    bbpress-integration plugin

    This plugin will pull all registrations from bbPress into WordPress as well as make the login integration work properly.

    If you have users in WordPress that you want to be able to login to bbPress prior to the integration, it might be worth you while to place the following plugin in your /my-plugins/ directory of bbPress.

    wordpress-integration

    The first plugin will work for most users, but the second is available if needed.

    Thanks,

    Trent

    #51917
    Trent Adams
    Member

    Spencer and I got this going. It is important to make sure for integration to work that you have the following plugin for sure installed in WordPress and the table prefix (in options of plugin in admin area of WP) correctly installed.

    bbpress-integration plugin

    This plugin will pull all registrations from bbPress into WordPress as well as make the login integration work properly.

    If you have users in WordPress that you want to be able to login to bbPress prior to the integration, it might be worth you while to place the following plugin in your /my-plugins/ directory of bbPress.

    wordpress-integration

    The first plugin will work for most users, but the second is available if needed.

    Thanks,

    Trent

    #51740

    What about it doesn’t work? Do you get an error?

    #51532

    In reply to: latest reply by admin

    Did you install that pluign in bbPress’ my-plugins folder?

    What is your Display name set to? (In your WordPress profile)

    #51279
    BrendonKoz
    Member

    Let me see if I understand the importation scheme you’re hoping for:

    1.) One-time import.

    2.) Each forum “section” would be a category in WordPress.

    2a.) Should a category not exist, it will be created.

    3.) Replies to a topic would be created as comments in a blog entry.

    4.) Tags (if any exist) would be dropped.

    This is going to be simple if I even decide to possibly tackle this. I don’t use either product in production, but have messed around with both of them. The biggest question I have is about users… Obviously, you’ll have users in the forum that don’t exist in WordPress. Would each user need to be created for wordpress, or would all of the imported entries default to a specified user? This would be the hardest (in my mind) thing to figure out and handle.

    #51922
    so1o
    Participant

    thanks!

Viewing 25 results - 26,451 through 26,475 (of 26,836 total)
Skip to toolbar