Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 47,626 through 47,650 (of 64,509 total)
  • Author
    Search Results
  • #81219
    jackie911hk
    Member

    bb-config.php.

    <?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’, ‘blah’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘blah’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘blah’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘localhost’ );

    /** 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.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define( ‘BB_AUTH_KEY’, ‘put your unique phrase here’ );

    define( ‘BB_SECURE_AUTH_KEY’, ‘put your unique phrase here’ );

    define( ‘BB_LOGGED_IN_KEY’, ‘put your unique phrase here’ );

    define( ‘BB_NONCE_KEY’, ‘put your unique phrase here’ );

    /**#@-*/

    /**

    * 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’, ” );

    ?>

    mySQL

    http://www.jackie.net/mySQL-1.jpg

    http://www.jackie.net/mySQL-2.jpg

    Thanks.

    #80678
    chrishajer
    Participant

    No, it’s a function of the operating system of the web server and the files. In your FTP program it should be available with a right click on the file, or maybe it’s a column that is displayed by the date and filesize.

    It should look like this: 0644 or rw-r--r--, on the same line in your FTP program as your bb-config.php. Here’s a sample screenshot of what I’m talking about.

    http://www.chrishajer.com/bbpress/permissions.png

    They’re called “rights” in this program.

    Basically, bbPress needs to be able to read the file.

    #80674
    chrishajer
    Participant

    Yes, but only if you want your site at http://www.example.com/bbpress – if you want it at http://www.example.com, then just take everything from inside the bbpress folder on your desktop, and upload those files (and sub-folders) no bbpress folder to hold everything. Then, access http://www.example.com and your bbPress installer should come up, assuming index.php is one of the files the web server looks for the server (normally it is, so you should be OK there.)

    #80673
    jeffreyw4
    Member

    1.Yes, it is called bb-config.php

    2. No, I’m not 100% positive I moved everything. 95% positive. But frustration was creeping in so an error was certainly possible.

    I’ll probably try reupping everything after a thorough deletion on the server.

    But before doing so I want to be sure I understand:

    Upload the unzipped folder as is, then access the installer by going to http://www.example.com/bbpress

    Correct?

    #61983
    chrishajer
    Participant

    How about just sending all request for the bbPress registration over to WordPress:

    https://bbpress.org/forums/topic/wordpress-bbpress-register-plusgtgtgtgt#post-18352

    #80672
    chrishajer
    Participant

    I doubt that. Right now, bbPress gets so far as making sure there is a bb_table_prefix and fails because it cannot see that. It hasn’t gotten so far as doing anything with the database since it has no table prefix to work with.

    How about the permissions on the bb-config.php file. Should be 0644, readable by all, writable by owner only, executable by no one. 0644 is safe for all the php files in bbPress.

    Do you know what PHP version and MySQL version you’re using?

    #80670
    chrishajer
    Participant

    The bb-config-sample.php won’t be a problem. bbPress uses that when there is no bb-config.php as a template to create a bb-config.php for you. I’ve always edited the sample by hand and just renamed it. In either case, gone or not is fine.

    #80669
    chrishajer
    Participant

    Received the config file. I am guessing that is is actually named bb-config.php. It appears to be correct to me. I’m not certain what is causing your error.

    The only time that error should show up is when that variable is not defined. Here’s the code that checks for bb_table_prefix being set:

    // Die if there is no database table prefix
    if ( !$bb_table_prefix ) {
    die( 'You must specify a table prefix in your <code>bb-config.php</code> file.' );
    }

    So, for some reason it’s not set or not recognized as being set. Are you certain when you moved the files out of the folder that you moved everything? Since you haven’t installed yet, can you save a copy of your bb-config.php, in case you need it, then just upload everything from the bbpress folder that is unzipped from the download onto the html root of your server (probably right where it is now.)

    #80664
    chrishajer
    Participant

    Sounds like it can connect fine. But it sounds like the variable name is wrong or something. bbPress doesn’t care what your table prefix is, just that you have one.

    Can you email me your bb-config.php and I will look at it first hand? Please don’t edit it first since you might destroy some evidence or something important that was edited. You’ll just have to trust me. I’m not going to do anything evil with your config.

    If you don’t want to do that, find someone local who can look at this and see what’s up. It’s probably going to be something very simple that another set of eyes will see.

    chrishajer [at] gmail.com

    #80659
    jeffreyw4
    Member

    Yes, bbPress (or other message board software) will be the basis of the site.

    #80658
    jeffreyw4
    Member

    I admit I read instructions very literally. The instructions say:

    # Visit the intended URL of the bbPress site

    # You will be greeted with the bbPress installer

    If the instructions had said: visit http://www.example.com/bbPress/ then I would have done so. I don’t know, perhaps this is what “Visit the intended URL of the bbPress site” means. This is difficult to decipher since, having never used bbPress before, I don’t know precisely what the final (“intended?”) URL will be. I assumed it would just be the URL of the website.

    So should I uninstall, reupload with containing folder intact, and access with “http://www. example.com/bbPress/”

    #81191
    chrishajer
    Participant

    buddha trance explained it pretty clearly, for adding the links to your header.php:

    https://bbpress.org/forums/topic/question-about-integration#post-60365

    Did that not work for you?

    #80657
    chrishajer
    Participant

    The only reason you might want to not have the files in a folder of some sort is if bbPress if going to be the basis of the site, the only thing accessible. Otherwise, you want bbPress files in a folder, called bbpress, or forum, or forums, or discussion, or community, or something else.

    #80656
    chrishajer
    Participant

    If you uploaded the files in the folder that was called “bbpress” by default, and it was in your website html root, then it would be accessible at http://www.example.com/bbpress/ and your site, if you have a site, will be at http://www.example.com. Was that not your experience?

    #80655
    jeffreyw4
    Member

    Thanks for your reply.

    Well, as I said, I originally uploaded it with the containing folder included. So the server didn’t “see” any of the files. It just read the default page which is a “this site is coming soon” html file.

    Once I uploaded without the containing folder the server saw the files and a screen querying for database info appeared.

    I’m not sure what you mean by “the” file structure. There isn’t much on the server before the bbPress files are uploaded. I left only the bare bones before uploading bbPress to avoid confusion.

    J

    #81189
    chrishajer
    Participant

    Heh, completely misread that one. It’s even easier to put a link to the WordPress site in your bbPress header. Just modify the template file to put the link where you want it.

    #80654
    chrishajer
    Participant

    Then it says that “You will be greeted with the bbPress installer”

    Of course this didn’t happen.

    If that didn’t happen, then the host is configured wrong or you visited the wrong URL. You need to figure out where you installed the software. Then you can work on the configuration.

    What does the file structure look like, and what is the site URL and bbPress URL?

    #32116
    jeffreyw4
    Member

    Hi,

    So I uploaded the uncompressed files as instructed. Which of course come wrapped in a folder. Not being instructed otherwise, I uploaded the entire folder, wondering silently how the server would know how to handle the files.

    Item number 4 carries the rather cryptic instruction to “Visit the intended URL of the bbPress site” which I think means to go to the website to which the bbPress files have been uploaded. Which I did.

    Then it says that “You will be greeted with the bbPress installer”

    Of course this didn’t happen.

    Okay, so I figured you must have to remove the containing folder after all. So reupped the files now in unwrapped form.

    Having done this a screen did appear which queried for database info. I entered all of that and it said that it “couldn’t establish a connection with the database”.

    So I went into godaddy and created a new one thinking perhaps the password was wrong (though I checked it three times).

    Maybe this was my undoing: I looked at the Godaddy instructions for installing bbPress. They claim you should edit the bb_config file directly. So I put in the database info for the new database. The sticking point is always the host name which everyone defaults as ‘localhost’. But that doesn’t work with Godaddy. So I pulled the hostname from the Server variables and settings and put that in the quotes. I upped that and….

    Now it is saying I have to edit a table prefix which I assume is this line:

    $bb_table_prefix = ‘bb_’;

    I really have no idea what would go here.

    Any ideas??

    Thanks for any help.

    Jeff

    #81218
    jurasiks
    Participant

    Telepat requested.

    Please provide more info: old bb-config? old database?

    #32252
    jackie911hk
    Member

    I also have this problem on the installation of BBPress. Please see below screen print-out.

    http://www.jackie.net/error.jpg

    #81212
    jackie911hk
    Member

    I also have this problem on the installation of BBPress. Please see below screen print-out.

    http://www.jackie.net/error.jpg

    #32250
    youreviltw1n
    Member

    I have tried twice now to install BBPress and for whatever reason it does not work. After going through the installation process, I get this message: “Forum could not be created!”

    When I go to the address of where my forum should be, I get this message: ” Oh dear!

    bbPress is already installed.

    Perhaps you meant to run the upgrade script instead?”

    When I click “upgrade script” nothing happens. Any advice?

    edit: Nevermind, I did some voodoo and somehow it all worked.

    #81187

    I am using this plugin, with just normal integration, to call the forum latest posts in the sidebar of my blog, and it works great.

    https://bbpress.org/plugins/topic/bbpress-latest-discussion-for-wp/

    #81185

    I believe that the issue was the reverse, that is: how to add the blog menu onto the forum.

    If this is the case – the way I have done it – you edit header.php of your forum theme and add the menu tabs there, to match the ones of your blog. Make sure it is a custom theme and add it to my-templates folder, or you will lose it when you upgrade bbPress next time (if left as the default Kakumei).

    Just after

    <div id="header" role="banner">

    you add the html for the tabs (for id “navigation” add it to the style sheet). For example:

    <div id="header" role="banner">
    <ul id="navigation">
    <li><a href="blog url" title="Main Blog">Blog</a></li>
    <li><a href="forum url" title="Forums">Forums</a></li>
    <li><a href="another page url" title="Whatever Page">Whatever Page</a></li>
    <li><a href="contact page url" title="Contact Me">Contact Me</a></li>
    <li><a href="about page url" title="About">About</a></li>
    </ul>
    </div>

    Hope this helps.

    #81199
    chrishajer
    Participant

    There was this:

    http://bbxf.org/

    I don’t think there is an export feature in bbPress. What sort of importers exist for the forums you’re looking at?

Viewing 25 results - 47,626 through 47,650 (of 64,509 total)
Skip to toolbar