suleiman (@suleiman)

Forum Replies Created

Viewing 22 replies - 26 through 47 (of 47 total)
  • @suleiman

    Member

    I couldn’t create the table using the code you posted, it throwed a MySQL error in phpMyAdmin.

    So I used the plugin to create the table, but had the same problem where it was empty.

    I tried running hte second SQL query on the table, but got the following error:

    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘INSERT INTO bb_menu VALUES (‘active’, ‘Search’, ‘search.php’, ‘search-page’, 1)

    ‘ at line 2

    @suleiman

    Member

    i was only able to fix the error by adding an @ sign before the myql_fetch_array functions, but that just outputted a blank page.

    I’m running .73.

    bb_menu table is created, but cannot browse the structure since it has no entries.

    I did refresh several times and had the same error.

    Running php version 4.4.4

    MySQL version 4.1.21

    @suleiman

    Member

    I get this error when I activate this plugin and go to the Menu management page on my backend:

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/…./public_html/forums/my-plugins/bbmenu.php on line 88

    @suleiman

    Member

    hmmm…I’m having the same problem, where I get the error about the bbpress database not existing. I’m integrating with WPMU instead of regular wordpress but that shouldn’t really cause an issue should it?

    Is there a place we can hardcode it to wp_ instead of bb_?

    In reply to: Plugin – Member List

    @suleiman

    Member

    using it right now, and it’s working great! Thanks a ton for this.

    In reply to: Private Forums Plugin

    @suleiman

    Member

    i want to allow registrations, i just don’t want anyone posting to the announcements forum other than the key master.

    In reply to: Private Forums Plugin

    @suleiman

    Member

    I’m looking for a forum that is viewable publicly but to which only the Admin can post. Does this plugin accomplish this?

    @suleiman

    Member

    yeah, i’ve been trying to figure out how to change the “Main Theme” text to “Main Forum” for the longest time.

    In reply to: Site Options Plugin

    @suleiman

    Member

    nope. i see no instructinos on that site. I also don’t have a /plugins/ folder in my bbpress root.

    In reply to: Site Options Plugin

    @suleiman

    Member

    where and how do we install this?

    @suleiman

    Member

    where does this plugin code get dropped exactly?

    @suleiman

    Member

    how difficult would it be to have the avatar work in wordpress too?

    @suleiman

    Member

    Try the following:

    <?php

    // ** MySQL settings ** //

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

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

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

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

    define(‘USER_BBDB_NAME’, ‘wpmu_db_name)’); //your WPMU DB name

    define(‘USER_BBDB_USER’, ‘wpmu_db_username’); // Your WPMU DB username

    define(‘USER_BBDB_PASSWORD’, ‘password’); // …and password

    define(‘USER_BBDB_HOST’, ‘localhost’);

    // Change the prefix if you want to have multiple forums in a single database.

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

    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);

    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

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

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

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

    // What are you going to call me?

    $bb->name = ‘Hadithuna Communnity Forums’;

    // This must be set before running the install script.

    $bb->admin_email = ‘webmaster@hadithuna.com’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // 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 BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    $bb->cookiedomain = ‘hadithuna.com’; // or .example.com if there was a . above

    $bb->cookiepath = ‘/’;

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = false;

    // define(‘CUSTOM_USER_TABLE’, ‘wp_users’);

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $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’ );

    ?>

    @suleiman

    Member

    is there anywhere i could just copy and paste the code? maybe into a header.php file?

    @suleiman

    Member

    that was MUCH needed…thanks :)

    In reply to: No Site Keymasters

    @suleiman

    Member

    beautiful! That did the trick and I am MUCH obliged my man!

    In reply to: Can’t Login…

    @suleiman

    Member

    I tried the bb->newkeymaster setting but to no avail unfortunately.

    After making the change when i go to bb-admin/install/ it throws back the error “username not found. try again.”

    @suleiman

    Member

    Only problem here is that I’m no longer the KeyMaster on my BBPress install!

    In reply to: wpmu bbpress issues

    @suleiman

    Member

    does anyone else experience the problem where they stop being the KeyMaster when sharing user accounts? I’m having that issue now and I can’t login to my admin!

    In reply to: Cookies and WPMU

    @suleiman

    Member

    here’s one problem mozey, you can’t access the admin backend of bbpress anymore after you’ve done this trick!

    I’m signed in as my site admin, and although WPMU recognizes me as the admin, BBPress does not.

    In reply to: Cookies and WPMU

    @suleiman

    Member

    mozey, would you mind helping out a fellow mu’er and post the code to your working mu/bbpress integration?

    I’ve been stumbling again and again on getting the user integration to work, let alone the cookies!

    @suleiman

    Member

    yea, prey tell

Viewing 22 replies - 26 through 47 (of 47 total)