Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 20,176 through 20,200 (of 26,874 total)
  • Author
    Search Results
  • #79135
    InvTrdr
    Member

    Below is the content of my config.php file. I have X out the important details.

    <?php

    /**

    * The base configurations of bbPress.

    *

    * This file has the following configurations: MySQL settings, Table Prefix,

    * Secret Keys and bbPress Language. You can get the MySQL settings from your

    * web host.

    *

    * This file is used by the installer during installation.

    *

    * @package bbPress

    */

    // ** MySQL settings – You can get this info from your web host ** //

    /** The name of the database for bbPress */

    define( ‘BBDB_NAME’, ‘bbPress’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘XXXXXXXX’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘XXXXXXXX’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘XXXXXXXX.db.4779279.hostedresource.com’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    /**#@+

    * Authentication Unique Keys.

    *

    * Change these to different unique phrases!

    * You can generate these using the {@link https://api.wXXXXXXXX.org/secret-XXX/XXX/XXXXXXX/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define( ‘BB_AUTH_KEY’, ‘Vj-3}{i=juL$9u<4CG3S.V[XXXXXXX(]JYa>}b1PyZ$/s-|fs6b1b^HXXXXX186:’ );

    define( ‘BB_SECURE_AUTH_KEY’, ‘;/ML=-Xx(}/:J@VNr.$|zXXXXXXXX)B>dGTr+3NETTQAQ/ S&T4e}{,&OOjA|bxj’ );

    define( ‘BB_LOGGED_IN_KEY’, ‘V4L?XXXXXXXX$|#9E2`72+&?kMq(n~[3p54XzX+L|7r-6 w0{N-,QiWn[;Y$FUtN’ );

    define( ‘BB_NONCE_KEY’, ‘c]rdQ[|fn$_S}z~RVX5fR6~Rg$0XXXXXXXX}6{$vDxC>WS~4/+Ft+Ea.|4:3l>JU’ );

    /**#@-*/

    /**

    * bbPress Database Table prefix.

    *

    * You can have multiple installations in one database if you give each a unique

    * prefix. Only numbers, letters, and underscores please!

    */

    $bb_table_prefix = ‘bb_’;

    /**

    * bbPress Localized Language, defaults to English.

    *

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

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define( ‘BB_LANG’, ” );

    ?>

    #79131
    johnhiler
    Member

    It should be in the root of the WordPress install?

    http://svn.automattic.com/wordpress/trunk/

    #31744
    David Wang
    Participant

    Hi, I’m working on a WordPress + bbPress site – see it in development at http://beta.delectable.com.my/forum/ – and I’d like to know how to display a list of the new members. Just something that says “Newest users in our forum” and a list of the member usernames. I would like to display this in the footer, not on a separate page. Thanks!

    #79128
    johnhiler
    Member

    If you also have a WordPress install that you’re sharing the database with, I think you can use the values in your WordPress config file in your bbPress bb-config.php…

    #79118
    johnhiler
    Member

    Are you setting up a standalone bbPress install, or integrating with WordPress?

    Also – who is your webhost… are you on GoDaddy?

    #79099

    In reply to: Simple PHP Question

    Mark
    Member

    https://codex.wordpress.org/I18n_for_WordPress_Developers

    Same concept for bbPress. You could make all those plain text if you like, they’re built that way by default for people who need to translate their sites.

    #79093

    Trick is for bbPress functions, half of them are WordPress functions, just sometimes with bb_ on the front, so they behave essentially the same. A fair few others are just aliases to return data instead of outputting it (i.e. get_forum_link vs. forum_link). Beyond that though, yeah it’s all pretty undocumented, but it’s usually relatively obvious from the name and parameters it takes.

    I’d love to be able to help right a bbPress Codex mind you…

    #79092
    Mark
    Member

    get_forum_id()

    ie;

    <?php if (get_forum_id() == 12): ?>
    text block
    <?php endif; ?>

    A lot of these functions aren’t nearly as well documented as WordPress’ own similar functions, but can all be found inside of bb-includes/functions.bb-template.php

    #62063
    Mark
    Member

    @gouri, bbpress is standalone software that is meant to run by itself, or alongside practically anything you choose. In the case of deep integration, if that’s your plan, yes it will work on either WordPress.org or WordPress µ :)

    #79055

    Google? Animated fire gifs have been around longer than bbPress, BuddyPress and WordPress put together…

    #31733
    chandersbs
    Member

    I’m running a forum, which has a sidebar on the left, it was a pain to edit that sidebar, so I tried some including today.

    If you want to including a file in to your forum, use this code:

    <?php bb_load_template(‘sidebar.php’);?>

    Add that sidebar.php or whatever you want to call it in your template folder.

    It works similar like the one we are used to using for WordPress:

    <?php include(TEMPLATEPATH.”/sidebar.php”);?>

    #78961

    In reply to: Displayname check

    @gerikg: There’s far more chance that someone has written something like this for WordPress in their plugin database

    #77080

    In reply to: bbpress and memcache?

    Glad to see what I am saying confirmed with independent realworld proof.

    Pleased to be of service. :)

    BTW, just how big is your site that you require multiple db servers?

    I don’t know of a single WordPress+bbPress install, other than Automattic’s that are using multiple db servers.

    (unless of course you are running other apps that have heavy db use or maybe for backup replication)

    It’s more for redundancy than anything else, although before we got opcode caching in and had optimised some plugins involved we were catching traffic surges when our client tweeted new posts that were making us very very glad we had that much capacity.

    #79076
    Mark
    Member

    It’s deep, I can access and use all my WordPress functionality. Afaik using wp-blog-header.php is deprecated for that use, I’ve been calling wp-load.php.

    #79025
    benbeltran
    Member

    Thanks. I’ll keep on trying. I’m not using wordpress though, it’s a 100% custom system integrated with bbpress. I’m sure it’ll turn out to be something stupid from my part.

    #79071
    Greg
    Participant

    Hmmm. They say talking to oneself is one of the first signs of insanity…

    I just found a year old thread on this topic: https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load?replies=7#post-14899

    So I have a couple of questions for anyone out there:

    1. Aside from the ugliness of a core hack, is there any reason my workaround is a bad idea?

    2. Has anyone produced a plugin that implements Beau’s idea in the thread above?

    Sounds like there are a lot of people with deep integration, so I find it really strange that this is still a problem in WPMU 2.8.4a / bbPress 1.0.2.

    Greg
    Participant

    [Opening a new thread with a more descriptive title. The old one was here: http://bbpress.org/forums/topic/help-404-error-but-page-displays%5D

    I have bbPress 1.0.2 and WPMU 2.8.4a with deep integration. Forum pages load fine in the browser, but they have a 404 status in the header, which causes a googlebot crawl error. If you have deep integration, this might be true for you too. You can use Firebug or http://web-sniffer.net/ to check.

    I have posted my understanding of the problem and a workaround on the WPMU forums: http://mu.wordpress.org/forums/topic/14425?replies=1#post-83354

    I think this issue will stop Google (and other search engines) from indexing your forum pages. So if you are using deep integration it might be a good idea to watch for a patch.

    Use my little workaround at at your own risk.

    #79069
    Greg
    Participant

    Looks like WordPress is setting the 404 because it doesn’t recognize the bbPress page that is loading.

    When the global WP object is constructed, the function WP->handle_404 calls “status_header( 404 )”.

    As a workaround, I modified “handle_404” to lay off the 404 if “BB_PATH” is defined (i.e. when a bbPress page is loading). This seems to work ok.

    Here’s the new “handle_404” at around line 445 in “wp-includes/classes.php”.

    function handle_404() {
    global $wp_query;

    if ( !defined( 'BB_PATH' ) && (0 == count($wp_query->posts)) && !is_404() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) {

    // Don't 404 for these queries if they matched an object.
    if ( ( is_tag() || is_category() || is_author() ) && $wp_query->get_queried_object() ) {
    if ( !is_404() )
    status_header( 200 );
    return;
    }
    $wp_query->set_404();
    status_header( 404 );
    nocache_headers();
    } elseif ( !is_404() ) {
    status_header( 200 );
    }
    }

    #79017

    In reply to: theme integration?

    gerikg
    Member

    It’s not too hard but it does take a while. You first have to figure out which profile you want your user to use, wordpress or bbpress.

    johnnydoe
    Member

    yeah that’s what i’m doing since 2 days (i allways try things first befor i ask), and this is kinda annoying if you’re in a “productive flow” with your template design.

    aaaaanyway i may find this pisser … one day :D

    thanks kawa

    Nooo idea where they are then sorry, try using something like Find in Files with Programmer’s Notepad to search for the line

    johnnydoe
    Member

    just the the other way round haha , i need to hide those existing messages completely. :D

    #79038

    In reply to: Logo?

    Mark
    Member

    I know WordPress has a page full of ’em that you can use here: https://wordpress.org/about/logos/

    Not so sure if bbpress has put up such a page or not though. They don’t seem to have a similar page yet, but the team at Automattic are usually pretty damn cool about things like that (if you wanted to pull one from somewhere in the public domain), so long as you make it plain that you’re not a subsidiary.

    #79059

    I checked the above mentioned section, and yes, it seems that it will be alright. I will give it a try when my customer requests this.

    Thank you so much, Kawauso. Arigato gozaimasu.

    Not quite sure what you’re asking, but if you’re just trying to display a message to non-logged in users, use something like:

    <?php if ( !bb_is_user_logged_in() ) : ?>
    Welcome, please log in or register!
    <?php endif; ?>

    in front-page.php

    My coding is pretty terrible too ;P I just learn from poking around in bbPress and WordPress and breaking things a lot, so you’re going about it the right way :P

Viewing 25 results - 20,176 through 20,200 (of 26,874 total)
Skip to toolbar