Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,426 through 26,450 (of 32,481 total)
  • Author
    Search Results
  • #69299
    johnhiler
    Member

    I decided to give the bbPress plugin another chance. I installed it and tried creating a new topic… the browser was thinking for a looong time. I eventually stopped the process, deactivated the plugin, and created a new topic — that one was created very quickly.

    It could be an issue with the permissions of my sitemap.xml, although I am pretty sure I 777’d it properly.

    As for size of the forum, it’s significant but not huge. Thanks to ck’s awesome Mini Stats plugin, I can give you the exact stats: ~11k Topics and ~75k posts.

    Just thought I’d share an update. :-)

    #69300
    chrishajer
    Participant

    You probably have the path to the wp-blog-header.php wrong. You can try the full path there in the bb-config.php or you can verify that the relative path is actually correct. You may need to do something like ../wordpress/wp-blog-header.php if your WordPress installation is in a folder on the same level as bbpress. It’s easy to figure out if you have a command line. If not, if you can describe your directory structure, someone can help you with the path to wp-blog-header.php.

    _ck_
    Participant

    That’s really interesting and definitely would be really annoying.

    There’s never been an official mechanism to change slugs in bbPress but it should not touch them during upgrades.

    I have to assume there was a bug in 0.8.3 where it would create bad or invalid slugs and that was some kind of attempt to fix the issue in the newer 0.9 code.

    Be sure to note this in TRAC, otherwise it might not be seen by the developers.

    #69278

    In reply to: Plugins Locations

    _ck_
    Participant

    The core developers absolutely refuse to ship bbPress with pre-made /my-plugins and /my-templates directory for reasons I cannot fathom. It’s very weird, especially since documentation to create it is very sparse and they will still work if you put items incorrectly into the bb- directories.

    #65322
    lidiaanain
    Member

    Error says line 657 and 680

    but what you have to fix is on lines 652 and 675

    Burt above gave the fix here it is in full so you can just cut and paste into those lines:

    '<img src="%1$ssupport-forum-%2$s.png" alt="[%3$s]" title="[%3$s]" style="vertical-align:top; margin-right:0.3em; width:14px; height:14px; border-width:0;" />%4$s',

    Same code goes in both lines.

    THANKS to Burt for providing the fix!!!

    #69283

    In reply to: Helping bbPress.org

    _ck_
    Participant

    Keep in mind I’m an independent plugin developer and not directly associated with bbPress.org or Automattic.com

    I just moderate here to help out. bbPress.org is part of Automattic.com and doesn’t actually need donations of money, Sam and Michael are paid employees.

    But code contributions are tremendously appreciated. A quality bug report or code contribution on http://trac.bbpress.org goes a long way to helping bbPress.

    (If you’d like to donate to me specifically for my plugin development, you can help me towards a replacement monitor here.)

    bobbyh
    Member

    I recently upgraded my old 0.8.3.1 bbPress to version 0.9.0.2. For the most part, the upgrade went great!

    However, during the upgrade, all forum slugs were “recalculated”, so if I had manually edited my forum slugs, they were overwritten.

    By way of example, say I ran this forum and I created a forum named “Super Troubleshooting”. If I had activated pretty permalinks, the URL for this forum would be: http://bbpress.org/forums/forum/super-troubleshooting.

    Then, say I manually went in and changed the “forum slug” to be “superdupertroubleshooting” (for SEO reasons). So now the URL for that forum would be: http://bbpress.org/forums/forum/superdupertroubleshooting.

    When I upgraded from 0.8.3.1 to 0.9.0.1, the upgrade function “recalculated” the forum slug using the forum title. In our example, this would change the URL from http://bbpress.org/forums/forum/superdupertroubleshooting to http://bbpress.org/forums/forum/super-troubleshooting.

    I looked in the code, and this is all controlled by function bb_upgrade_process_all_slugs() in /bb-admin/upgrade-functions.php. Reading the code, it seems like the code also “recalculates” slugs for topics too!

    “Recalculating” the slugs for all forums and topics seems like an odd design decision to me, because it changes URLs so the webmaster loses Google juice. I was going to create a ticket in Trac, but maybe I’m missing something. Is there a good reason to “recalculate” slugs when upgrading a bbPress installation?

    #69282

    In reply to: Helping bbPress.org

    I reformatted the code so it looks pretty:

    <object width="120" height="240">
    <param name="movie" value="http://widget.chipin.com/widget/id/c7cf54857a3ba44d" />
    </param>
    <param name="allowScriptAccess" value="always" />
    </param>
    <param name="wmode" value="transparent" />
    </param>
    <param name="event_title" value="Help%20bbPress" />
    </param>
    <param name="event_desc" value="bbPress.org%20is%20powered%20by%20the%20same%20poeple%20that%20power%20WordPress.%20The%20forum%20you%20see%20here%20is%20powered%20by%20bbPress.%20They%20need%20your%20help%2C%20please%20give%21" />
    </param>
    <embed src="http://widget.chipin.com/widget/id/c7cf54857a3ba44d" flashVars="event_title=Help%20bbPress&event_desc=bbPress.org%20is%20powered%20by%20the%20same%20poeple%20that%20power%20WordPress.%20The%20forum%20you%20see%20here%20is%20powered%20by%20bbPress.%20They%20need%20your%20help%2C%20please%20give%21" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" width="120" height="240"></embed>
    </object>

    #4330

    I am a budding new Internet Marketer and I have no money.

    But that doesn’t mean I can’t help… My forum is just in it’s infancy but you can see how I am helping bbPress.org round up some money to continue it’s work.

    http://forums.seocoalition.com

    I have included in the left hand side a ChipIn.com widget. I will try to raise $500 dollars for bbPress.org and see if we can get _ck_ some extra cash to keep the process going.

    I don’t know if this is going to work but I am willing to try. I think that anyone using this free product should give something back.

    I am putting the code for the widget below and you can use it on your sites or what have you to help out. If you need different sizes, let me know and I will see what I can do.

    <object width="120" height="240"><param name="movie" value="http://widget.chipin.com/widget/id/c7cf54857a3ba44d"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><param name="event_title" value="Help%20bbPress"></param><param name="event_desc" value="bbPress.org%20is%20powered%20by%20the%20same%20poeple%20that%20power%20WordPress.%20The%20forum%20you%20see%20here%20is%20powered%20by%20bbPress.%20They%20need%20your%20help%2C%20please%20give%21"></param><embed src="http://widget.chipin.com/widget/id/c7cf54857a3ba44d" flashVars="event_title=Help%20bbPress&event_desc=bbPress.org%20is%20powered%20by%20the%20same%20poeple%20that%20power%20WordPress.%20The%20forum%20you%20see%20here%20is%20powered%20by%20bbPress.%20They%20need%20your%20help%2C%20please%20give%21" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="120" height="240"></embed></object>

    Alternatively if you don’t trust me, go to ChipIn.com and create your own widget to help out the cause!

    #69275

    In reply to: Plugins Locations

    You need to create the folder :) You’ll have these folders on the root of your forums:

    /bb-admin/
    /bb-cache/
    /bb-includes/
    /bb-plugins/
    /bb-templates/
    /my-plugins/
    /my-templates/

    #69197

    mzimmers, point your BROWSER (not an FTP) to yourdomain.com/wp-admin/options.php

    Like mine is http://jorjafox.net/blog/wp-admin/options.php

    And it is documented where these are on the WordPress Side, which is how I knew :)

    #69080

    If I add

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');

    to my wp-config file, I can’t log in at all. But other than that, yes. Those directions are mostly the same as these, except for the sitecookie hack.

    #69194

    Go to yourdomain.com/wp-admin/options.php and look for auth_salt and logged_in_salt.

    Add these to your BB Config:

    define('AUTH_SALT', 'VALUE');
    define('LOGGED_IN_SALT', 'VALUE');

    #69102
    fontadoni
    Participant

    Any clue on what the RewriteCond code for this would be? I’ve been trying to look this up but haven’t found anything yet.

    #69046

    Admittedly, I couldn’t get BBPress-Live to work (I wanted to include recent forum posts on my WP front page), but I figured it may be worth a shot :) Good luck!

    #69078

    Okay, I did some testing of

    $bb->wp_home = 'http://ipstenu.org'; and $bb->wp_home = 'http://ipstenu.org/bblog'; and ffft.

    So. This doesn’t really bother me much, since I don’t mind people double-logging in. It’s only annoying in the realm of I hate when code doesn’t work right! :)

    WP 2.6.3, BP 1.0-alpha-2

    bb-config

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://jorjafox.net/blog';
    $bb->wp_home = 'http://jorjafox.net';
    $bb->cookiedomain = '.jorjafox.net';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_DELETED';
    $bb->secure_auth_cookie = 'wordpress_sec_DELETED';
    $bb->logged_in_cookie = 'wordpress_logged_in_';
    $bb->admin_cookie_path = '/forums/bb-admin';
    $bb->core_plugins_cookie_path = '/forums/bb-plugins';
    $bb->user_plugins_cookie_path = '/forums/my-plugins';
    $bb->sitecookiepath = '/';
    $bb->wp_admin_cookie_path = '/blog/wp-admin';
    $bb->wp_plugins_cookie_path = '/blog/wp-content/plugins';
    // End integration speedups

    WP-config

    // Cookies
    define('COOKIE_DOMAIN', '.jorjafox.net');
    define('COOKIEPATH', '/' );

    I’ve also tried with no cookie settings in my wp-config. Right now it’s commented out. It’s sharing the admin cookie, since I can get into WP-admin if I log in with BBpress, but I don’t show up as a user (if I go to make a comment, it gives me the screen anon users see). If I log in via WP, I’m only logged into WP.

    #68915

    In reply to: WPMU integration

    Klark0
    Member

    I disabled registration in bbpress. All users are created when they signup for a blog.

    And to fix the other issue with member roles not being set: Drop this in the mu-plugins folder with a .php extension.

    function wpmu_bbpress_roles( $user_id )  {
    update_usermeta($user_id, 'bb_capabilities', array('member' => true));
    return;
    }
    add_action('wpmu_new_user', 'wpmu_bbpress_roles');

    #69250

    or just because I upload bbpress to directory /bbpress/?

    That is exactly why. :)

    #69043

    @lorenzo: I’m not exactly sure if there is a modification to do that or not. It seems like it would be an easy enough process with a plug-in of some kind, but that isn’t the point of integration so unfortunately I have little experience with it. :/

    #4324
    bigcanoe
    Member

    Hi ,

    I just installed bbpress 1.0-alpha-2 with wordpress 2.6.3, but not intergete with wordpress. the installation is very smooth. but when I access my forum, got Http 404 error(page not found). and my server supports permalink . following is my bb-config.php, please help to take a look.thanks a lot.


    <?php

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old bb-config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

    // Change each KEY to a different unique phrase. You won’t have to remember the phrases later,

    // so make them long and complicated. You can visit https://www.grc.com/passwords.htm

    // to get phrases generated for you, or just make something up. Each key should have a different phrase.

    // If you are integrating logins with WordPress, you will need to match each key to

    // the value of their equivalent keys in the WordPress file wp-config.php

    define(‘BB_AUTH_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.

    define(‘BB_SECURE_AUTH_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.

    define(‘BB_LOGGED_IN_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.

    // If you are running multiple bbPress installations in a single database,

    // you will probably want to change this.

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

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BB_LANG to ‘de’

    // to enable German language support.

    define(‘BB_LANG’, ”);

    ?>

    #69077

    I have this:

    $bb->wp_home = 'http://ipstenu.org';

    Since I did this: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory ages and ages ago.

    But the rest, essentially, yes :)

    #50156
    _ck_
    Participant

    Technically tag_heat_map has been depricated in 1.0a2 and should use bb_tag_heat_map instead but I believe the problem would persist since a wrapper is used.

    Try one last shot with this:

    <?php bb_tag_heat_map(array( 'smallest' => 10, 'largest' => 30, 'unit' => 'px', 'limit' => 40 )); ?>

    #50154
    _ck_
    Participant

    Try passing it as an array to get around the bug:

    <?php tag_heat_map(array( 'smallest' => 10, 'largest' => 30, 'unit' => 'px', 'limit' => 40 )); ?>

    chrishajer
    Participant

    1. I would find out why the host has those functions disabled and ask if they will enable them.

    2. Using the phpinfo() you need to find a function that is available that will allow you to replace this function. You will need to do this in every place it occurs in the code.

    3. Or, you could consider a new host.

    #69233

    I know your a busy person _ck_ so thanks for the quick reply.

    it is a true subdomain, no mod_rewrite. There are no .htaccess files associated and I did have the forethought to add an .htaccess page in the root directory.

    Tried RewriteEngine and RewriteBase.

    I am not using multiviews.

    I am using the same database for several WP installs for them to share the same User data. Yet I have not used the integration functions for bbPress. All files have their bb_ prefix and should not be interacting with any other ones.

    And you are right , doesn’t look like it is allowing Index.php file to run through.

    Any other ideas?

Viewing 25 results - 26,426 through 26,450 (of 32,481 total)
Skip to toolbar