Nola1974 (@nolageek)

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 86 total)

  • Nola1974
    Participant

    @nolageek

    Ok, i uploaded and overwrote all of my files with a fresh archive and I’m still getting the same behavior. This makes me think it’s something that’s already in the database…

    fel64: Well, after I removed the fix-bbpress.php I have “1” in the Bozo field for all of my accounts, INCLUDING the quotes. Should I change these to 0’s or delete the “1” before I install the fix?

    Also, I dont know much about .htaccess.. that’s pretty much the standard wpmu file.

    What does this line mean:

    Topic titled test post started by bb_get_user needs a numeric ID

    That stands out to me as if something is fubared in my database. But wpmu is working just dandy. Some sort of integration problem?


    Nola1974
    Participant

    @nolageek

    chrishajer: Yes, it does it with just the stock theme and even when I completely remove the bb-plugins directory. That was my first though, except I had finished adding about 5 posts a little while before this started happening, and I hadn’t added any plugins in that time.

    The site isn’t that active so I guess I’ll have to wipe it and reinstall.. but it makes me nervous that this will happen again.

    It’s like.. none of my KeyMasters have admit rights and my #1 user can’t even post without it going into moderation, but it cant be modereated because there’s no user ID, but there’s only no user ID in the Moderation Queue list.

    I’m so confused.


    Nola1974
    Participant

    @nolageek

    Does anyone have any ideas? I’m tearing my hair out here. I was able to create a new user and it appeared in wpmu. It was able to post just fine, the post apears and everything. If I log back in as admin, I cant delete his posts. On front-page.php the admin’s name appears, but when in dashboard it sill comes up as bb_get_user needs a numeric ID

    When in the admin account, I promoted the new user to Key Master.. when i log out of the admin account I get the following error:

    bbPress database error: [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 'LIMIT 1' at line 1]
    SELECT * FROM bb_online WHERE user_id = LIMIT 1

    The new account, which i made Key Master is also unable to delete any posts – but can post new ones.

    The new account cannot see the posts the admin account made, that were showing up in yellow.

    Anyone reading this? :)

    /.htaccess

    RewriteEngine On
    RewriteBase /

    # www is soooo deprecated
    RewriteCond %{HTTP_HOST} ^www.blognola.org$ [NC]
    RewriteRule ^(.*)$ http://blognola.org/$1 [R=301,L]

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]

    /forums/config.php

    <?php
    require_once('/home/nolageek/public_html/wp-blog-header.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 this value

    // Change the prefix if you want to have multiple forums in a single database.
    $bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!

    $bb->domain = 'http://blognola.org'; // Example:
    $bb->path = '/forums/';

    //bb->mod_rewrite = true;

    // What are you going to call me?
    $bb->name = 'BLOG NOLA forums';

    // This must be set before running the install script.
    $bb->admin_email = 'nolageek@gmail.com';

    // Set to true if you want pretty permalinks.
    $bb->mod_rewrite = true;

    // 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 = -6;

    $bb->cookiepath = '/';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    // 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', '');

    // 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 = ''; // Example: '0123456789ab'

    // 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 = 'wp_'; // WordPress table prefix. Example: 'wp_';
    $bb->wp_home = 'http://blognola.org';
    $bb->wp_siteurl = 'http://blognola.org';

    /* Stop editing */

    if ( !defined('BBPATH') )
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( BBPATH . 'bb-settings.php' );

    ?>


    Nola1974
    Participant

    @nolageek

    I wasn’t talking about your programming skill, I was commenting that saying “f’ed in the A’ isn’t a very appropriate thing to put in code that will be appearing on other people’s sites. I didn’t mean for it to be a personal attack.

    I have pretty permalinks turned up, but not sure if my .htaccess file is working like it should. WHenever I add new plugins, they dont seem to work with pretty permalinks. (pm, mlist etc…) I tried going to bb-admin/rewrite-rules.php but it just redirects me to the main page. Perhaps bb-press is assuming I’m in a bbpress directory?

    there’s a .73b? I’m running .73 currently. I’ve looked all over the site and cant find a mention of downloaing a .73b version.


    Nola1974
    Participant

    @nolageek

    Hmm. I keep getting taken to ‘mlist’ instead of mlist.php

    Then, when I change it to mlist.php in the plugin, I get

    Oh Snap! Your memberlist got F'd in the A

    Real professional.


    Nola1974
    Participant

    @nolageek


    Nola1974
    Participant

    @nolageek

    Astutane: Now I get….

    ‘Fatal error: Cannot redeclare widget_akismet() (previously declared in /home/nolagay/public_html/wordpress/wp-content/plugins/akismet/akismet.php:376) in /home/nolagay/public_html/wordpress/wp-content/plugins/akismet/akismet.php on line 376’


    Nola1974
    Participant

    @nolageek

    However… the K2 theme breaks it. :( http://nolageek.com/forums


    Nola1974
    Participant

    @nolageek

    Atsutane, you are THE MAN. Mine still looks like garbage, but It’s coming along. Thanks! This really should be included in the package.

    Basically, to clarify the process even more…

    /// open ‘/bbpress/conf.php’ and at the top, after the opening ‘<?php’ put the following:

    ‘”require_once(‘/path/to/wp-blog-header.php’);”‘

    Then, in your ‘my-templates’ directory, create the following files:

    header.php

    ‘<?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <div class=”post” id=”post-forum”>

    <div class=”entry”>’

    footer.php

    ‘</div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>’

    You will still have to tweak the code, but that’s all it took for me.

    You’ll need to add the styles from the non-header/footer portions of the bbpress css files to your WP style sheet.

    Check my test-forum out… http://nolageek.com/forums

    One thing I can’t figure out though… when you’re viewing a topic, the “reply” form is WAAAAYYYY too long. I’ve edited this in every form I can see, but this isn’t changing..

    Why are there so many edit forms? Where is this one?


    Nola1974
    Participant

    @nolageek

    I’m a little confused about all this integration… If someone signs up for a account on bbpress… are they going to be able to post on my blog? My blog is only for me to post on…

    In reply to: Topic views

    Nola1974
    Participant

    @nolageek

    seconded.


    Nola1974
    Participant

    @nolageek

    I think in the create a topic form, using the work Tags for both tags and HTML markup is confusing.


    Nola1974
    Participant

    @nolageek

    There definitely needs to be more template tag functions for things like this for those of us who don’t dream in PHP. :)


    Nola1974
    Participant

    @nolageek

    template_functions.php ? der.


    Nola1974
    Participant

    @nolageek

    Is there a link anywhere where one could find a list of these template tags/functions? What file are they in?


    Nola1974
    Participant

    @nolageek

    Perfection… now, what would the forum name be? :)

    using this…

    <td><img src="/my-templates/images/topic.gif" /> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>by <?php topic_author(); ?> in [forum name] </td>

    to give me this…

    [ ] I guess I’ll be the first. :)

    by admin in


    Nola1974
    Participant

    @nolageek

    But I don’t see the purpose of having it there in the first place. How many real-application people are going to be using the forums for ‘support’? Especially since it required hard coding to remove.

    The thinking is very inside-out.


    Nola1974
    Participant

    @nolageek

    my damn dns servers are being flakey. forgive the website, circa 1994.


    Nola1974
    Participant

    @nolageek


    Nola1974
    Participant

    @nolageek

    Unlike WP, topic meta is accessed throught the topic object.

    update_topicmeta( 5, 'my_meta', 'yay' );

    $topic = get_topic( 5 );

    echo $topic->my_meta; // outputs: yay

    Um. What? I see this isn’t going to be a fun forum system to customise if you’re not a PHP programmer. I have NO IDEA what the above means. (I dont mean that as a slam, just a declaration that I’m in over my head at this point.)

    In reply to: Img tag plugin

    Nola1974
    Participant

    @nolageek

    why between code tags? I thought the point of the code tag was that it outputted code instead of performing it?


    Nola1974
    Participant

    @nolageek

    Uhg. I suck.

    In reply to: freshness = -1 years

    Nola1974
    Participant

    @nolageek

    Check your time zone in config.php… fixed it for me!


    Nola1974
    Participant

    @nolageek

    Took me a bit to figure this out… it’s not a true/false configuration.

    replace

    '$bb->akismet_key = true;'

    with

    '$bb->akismet_key = "123456789";'

    (123456789 being your key)

    In reply to: post count – 1

    Nola1974
    Participant

    @nolageek

    I couldn’t get rid of the -1’s, so I tinkered with it until it was working for me. This is working .73 as well.

    <?php

    function bb_decrement( $value ) {

    return $value-1;

    }

    add_filter( 'get_topic_posts', 'bb_decrement', 1);

    ?>

    <?php

    function bb_decrement_topic( $value ) {

    global $forum;

    return $value;

    }

    function bb_decrement_forum( $value ) {

    global $forum;

    return $value-get_forum_topics();

    }

    add_filter( 'get_topic_posts', 'bb_decrement_topic', 1);

    add_filter( 'get_forum_posts', 'bb_decrement_forum', 1);

    ?>

Viewing 25 replies - 51 through 75 (of 86 total)