Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 63,301 through 63,325 (of 64,411 total)
  • Author
    Search Results
  • #52823
    chrishajer
    Participant

    Hi Trent, Merry Christmas. I did install it and it apparently was working since someone got blocked :yikes: I could not find any logging anywhere, and to fix it yourself with the code provided

    > Your technical support key is: 0000-zzzz-yyyy-xxxx
    >
    > You can use this key to fix this problem yourself.

    you need to log in to the ioerror/homelandstupidity site here:

    http://www.ioerror.us/ip/

    But with the IP that was blocked. So, with no logging and no way to know why this legitimate user was blocked, I disabled it. I was looking at the logging a bit (using bad-behavior-wordpress.php as an example as suggested) but I haven’t figured it out yet. I was hoping there was a config section with four lines like WP or BB, where I could enter the DB details, but it’s not there :)

    So, turned off for now. It was doing something though, I just don’t know what or why.

    #49549
    JaneLitte
    Member

    I am having problems with the integration. I installed the bbpress_integration on my wordpress blog which is installed at dearauthor.com/wordpress.

    I have a redirect that makes the blog address dearauthor.com

    I then installed the bb forum at dearauthor.com/forum.

    I set the bbPress Integration as bb_

    I have this in the config.php file for bbPress

    $bb->wp_table_prefix = 'wp_'; //

    $bb->wp_home = ‘http://dearauthor.com’; //

    $bb->wp_siteurl = ‘http://dearauthor.com’; //

    $bb->cookiedomain = ‘dearauthor.com’;

    $bb->cookiepath = ‘/’;

    require_once(‘http://dearauthor.com/wordpress/wp-config.php’);

    I am getting this error.

    bbPress database error: [Table ‘dearauth_bbdb.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE ID = 1 AND user_status % 2 = 0

    Anonymous`

    Thanks.

    #52822
    Trent Adams
    Member

    The standalone version doesn’t have the ability to log, so it is difficult to test it without having someone do something that Bad Behavior doesn’t like! That being said, I am 99.9% sure it would be working if you are still able to bring up your forums because if you install it incorrectly, it will not let you access your pages and block everything until you get it right.

    The good thing about Bad Behavior is, install and forget about it!

    Trent

    #52819
    Trent Adams
    Member

    I would suggest using the following to stop the avatar plugin from working in the mobile version until I can figure out a way to make all images smaller or non-existant with this plugin.

    Put this over the code for the avatar plugin in post.php in /my-templates/

    <!-- Diable Avatar for BB-Mobile -->

    <?php if ( mobile_check() ) : ?>

    <!-- <?php post_avatar(); ?> -->

    <?php else : ?>

    <small><?php post_avatar(); ?></small>

    <?php endif; ?>

    <!-- Diable Avatar for BB-Mobile -->

    I have now tested this out and know that it works on my site.

    In fact, any code that you do not want shown or changed in the mobile version of your site can be elminated or changed with the following structure!

    <!-- Code for BB-Mobile -->

    <?php if ( mobile_check() ) : ?>

    CODE YOU WANT SHOWN ON MOBILE

    <?php else : ?>

    CODE YOU WANT SHOWN ON MAIN SITE

    <?php endif; ?>

    <!-- Code for BB-Mobile -->

    Trent

    #52844
    chrishajer
    Participant

    This has been covered in the forum before: https://bbpress.org/forums/topic/439?replies=2

    Seems like the problem is with the CSS:

    #profile-menu {

    list-style: none;

    position: absolute;

    right: 0;

    }

    The position:absolute and the right:0 cause it to be anchored all the way over on the right side of the screen. Not much that can be done with it on bbpress.org, but if you are using the same template, you can fix your own CSS.

    #1152
    topiq
    Member

    Hi folks!

    I do experience some kind of display error if i access the VIEW YOUR PROFILE tab. the profile, edit & favourite do not look like they are supposed to.

    Does sum1 else experience this kind of “bug”?!

    Greetz & Merry Xmas,

    topiQ

    Screenie:

    http://img487.imageshack.us/img487/5053/dsplerrormt6.jpg

    #1149
    kensav
    Member

    After I installed and got into the first page I noticed there was no styles.

    Seems every link points to: http://www.kensavage.com/forums/forums/

    I figured I added a trailing slash or something but it seems ok. When I take the extra forums/ out of any link it works fine including the css. Any ideas?

    My config file:

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

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

    // 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://www.kensavage.com/forums&#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 = ‘Making IT in Massachusetts Forums’;

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

    $bb->admin_email = ‘ken@kensavage.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 = ‘-5’;

    // 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 = ‘false’;

    // 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 = ‘ks_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.kensavage.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://www.kensavage.com&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    #52821
    chrishajer
    Participant

    Trent, I installed this and the install went smoothly. How can I test this or know that it’s actually working? What differences would I see? I didn’t see any testing procedure in the FAQ at http://www.homelandstupidity.us

    Thanks for sharing the procedure.

    #52818
    ardentfrost
    Member

    One of the guys on my forums suggested disabling images (somehow) when using mobile bbpress.

    #52833

    In reply to: tpl..?

    Trent Adams
    Member

    Customization is really not bad once you get the hang of it. All the template files are in /bb-templates/ and the main ones you will most likely want to change will be:

    header.php

    footer.php

    front-page.php

    style.css

    There are other ones, but with header.php you can put in your links to other parts of your site or anything else you want displayed on every page. This can include your images. Footer.php is where you will put in more information on closing your style tags you opened in header.php and your footer information. Front-page.php is where the meat of your forum is, whether you want to move around the hot tags or just want to add in a link to a plugin off the main page.

    The real meat and potatoes of customization is done through CSS in style.css. That is where you can tweak where you want things placed and what colors you use. If someone knows CSS, you will find it not so bad!

    Once you change a file, what you want to do is create a folder called /my-templates/ and add the edited files there. That way, if you make a mistake, you can delete the file off the server to fix it and bbPress will go back to using the one in /bb-templates/ until you upload to /my-templates/ again.

    The future will have a system much like WordPress, a kind of drop and drag themes approach, but we have this for now!

    The starting point would be to read:

    https://bbpress.org/documentation/customization/

    Trent

    That should get you going. Once you understand changing around the stylesheet in style.php, it doesn’t seem so bad!

    #1148

    Topic: tpl..?

    in forum Troubleshooting
    warrenivan
    Member

    Hi,

    We’re just now using bbPress instead of xennobb which we had customized and plopped into a large table cell (like the rest of our sites content). We did this by customizing the main.tpl file in xenno. It looks like bbPress doesn’t use any kind of tpl file, and so customizing has proved very difficult. Especially for me since I am new to this stuff. But even the php guy we have working on it doesn’t seem to be making much headway.

    Any ideas for dropping the functionality of bbpress into an existing template? Is there an easier way to do this?

    Thanks, Can’t wait to see bbpress evolve.

    W/

    #52792
    Trent Adams
    Member

    With integration, you had to say during the installation what user you wanted to be the key master (adminstrator) in bbPress. Adminstrators in WP don’t automatically get admin status in bbPress. What I would suggest is finding out who is the key master in bbPress, login as them and add the user you want as admin with key master or admin status.

    If you are unsure who is key master, I believe a search in the db should let you know, or just check out:

    https://bbpress.org/forums/topic/185?replies=5#post-909

    Trent

    #1146
    Trent Adams
    Member

    I have another post in the forum, but if you are interested in using a great software package that limits spam and server attacks before they access the site, then you might be interested in Bad Behavior. I really like it because it really decreases the load on the server as well.

    While they do not have a plugin for bbPress and creating one isn’t in the cards right now, you can do it by downloading the newest Bad Behavior release and placing it as a folder in the root of your bbPress installation.

    After that, you just need to call it. I did this by adding the following to config.php after the /* Stop editing */ part.

    require_once( BBPATH . '/Bad-Behavior/bad-behavior-generic.php');

    That is the easy way without a plugin. Just thought I would share it for those that are interested.

    Trent

    #52817
    Trent Adams
    Member

    It would seem that this is going to need some testing!

    Could everyone try this out if you can and report back? It would be good to test my blog as well (so we can see if one works and one doesn’t).

    Forum – http://forum.trentadams.ca

    Blog – http://blog.trentadams.ca

    I use a Treo 700 Smartphone, so it might have a little better browser than most….

    Trent

    #52816
    ardentfrost
    Member

    awesome dude, glad you figured all that stuff out!

    #1145
    Trent Adams
    Member

    I had to borrow a function from the great Alex King and his mobile edition for WP, but I have created a plugin that will allow mobile phones and other common mobile devices to access a page designed for them.

    Download: BB-Mobile

    All the directions are in the readme.txt file in the download file, so it should be quite self explanatory. It has 2 files and you need to edit your header.php file in your templates, but has no core changes.

    NOTE: I don’t think the mobile CSS will validate and I need people to test this out to find any bugs and corrections, but it seems to work well enough for me.

    If you need a demo, you can view my forum with a mobile:

    http://forum.trentadams.ca

    Trent

    #52775

    Hehe … look here my friend: https://bbpress.org/forums/topic/465

    merry christmas.

    #1143

    Topic: Plugin: Summon user

    in forum Plugins

    I just made another quick plugin. You can specify a user to be noticed by mail about the recent topic. Read more here:

    http://bbpress.org/forums/topic/458

    To install put the file into your /my-plugins folder and add

    <p>

    <label for="summon_user_id"><?php _e('Summon:'); ?>

    <?php summon_user_dropdown(); ?>

    </label>

    </p>

    behind the last endif; to your /my-templates/post-form.php

    Download here:

    http://la-school.com/2006/downloads/summon_1_0.zip

    merry christmas.

    #50208

    In reply to: About Freshness

    ryuuguu
    Member

    I have not really investigated the what problem in the code is so I am not sure what things should be set to. I set my GMT offset to to get right (+9) and my posts started showing right then changed $hours around until I got freshness right in my case it was -18, but all I can suggest is get the post time right by changing $bb->gmt_offset and then use $hours to bring freshness time into line. This plugin is really only a tempory fix till later beta version bbpress fixes the code properly.

    #1142

    Basically I’m working on a plugin for bbpress that will skip wordpress all together ( no offense wordpress :-) )

    Frankly I think wordpress is too advanced for the average “myspace” type user / target visitor. And, I want to have a community like system like myspace or livejournal.

    So I want to basically add a blog section to bbpress where you can keep a private journal… with privacy options on each blog entry to either Private or Public, and if you select Public it will put it in a Forum as a new topic for people to discuss.

    I was hoping to get a few pointers as to what functions to look at to help me achieve this through bbpress or if I should even continue doing this and try to customize wordpress-mu instead to fit the visitor

    Heres what I have looked at so far:

    1) Add new topic / Write blog

    bb-templates/post-form.php

    ......

    <label for=”forum_id”><?php _e(‘Pick a section:’); ?>

    <?php forum_dropdown(); ?>

    </label>

    <!– DIRT_PRIVACY –>

    Set the privacy:

    <select name=”dirt_privacy” id=”dirt_privacy” tabindex=”6″>

    <option value=”public” selected>Public</option>

    <option value=”private”>Private</option>

    </select>

    <small>**Choose ‘Private’ if you want this to be a blog only readable by you</small>

    <!– END DIRT_PRIVACY –>

    <?php endif; ?>

    <p class=”submit”>

    <input type=”submit” id=”postformsub” name=”Submit” value=”<?php _e(‘Send Post’); ?> »” tabindex=”4″ />

    bb-includes/functions.php -> bb_new_topic();

    function bb_new_topic( $title, $forum, $tags = '' ) {

    // function bb_new_topic( $title, $forum, $tags, $dirt_privacy = ” ) {

    global $bbdb, $bb_cache, $bb_current_user;

    $title = apply_filters(‘pre_topic_title’, $title, false);

    $forum = (int) $forum;

    $now = bb_current_time(‘mysql’);

    if ( $forum && $title ) {

    // if ($dirt_privacy==’public’){

    // ADD AS NORMAL TOPIC HERE (depending on whether ‘adding new topic’ or ‘writting new blog’, determine whether to add as default normal Forum Topic (public) or include in users blog but also as public Blog Forum Topic

    $bbdb->query(“INSERT INTO $bbdb->topics

    (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id)

    VALUES

    (‘$title’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, ‘$now’, ‘$now’, $forum)”);

    $topic_id = $bbdb->insert_id;

    if ( !empty( $tags ) )

    add_topic_tags( $topic_id, $tags );

    $bbdb->query(“UPDATE $bbdb->forums SET topics = topics + 1 WHERE forum_id = $forum”);

    $bb_cache->flush_many( ‘forum’, $forum_id );

    do_action(‘bb_new_topic’, $topic_id);

    return $topic_id;

    //} elseif ($dirt_privacy == ‘private’) {

    // ADD TO DB AS PRIVATE BLOG HERE

    //}

    } else {

    return false;

    }

    }

    Sorry if I’m a bit confusing as I am a bit confused right now :-)

    Again, any functions/documentation/help I should look at would be appreciated.

    -BHensley.com

    -Bakedlog.com

    #52194

    Well, I’m not using bbpress just yet, but as far as the look goes you can just snag the CSS file, assuming Matt doesn’t care. Also, weirdtherapy has a good point in that pasting the CSS file in your directory won’t necessarily work; you’ll have to put in the hooks and whatnot that they use here.

    #50206

    In reply to: About Freshness

    ryuuguu
    Member

    I wrote a quick plugin to correct this it is at

    http://www.ryuuguu.com/wordpress/2006/12/22/correcting-bbpress-freshness-1/

    you will need to edit

    $hours=-18;
    [code]
    to find the right number for your offset

    [code]

    $hours=-18;

    to find the right number for your offset

    [code]

    to find the right number for your offset

    #52785
    cgavin
    Member

    Right, cant fix the timezone as I have no idea what time zone it is in. Its 3000 miles away.

    Cant be bothered with this – clicking a topic redirects me to my WordPress homepage? Eh?

    Then it says the admin user I created and logged in as 10 mins ago doesnt exhist anymore. Riight.

    Think I’ll stick with something more mature.

    See you when bbpress gets there init. ;)

    Thanks again, but I dont have anymore time to waste ..

    I just spunked 3 hrs on this! Thats more than enough ..

    #52783
    chrishajer
    Participant

    Also, the config.php editing thing was addressed for version .74 here:

    https://trac.bbpress.org/ticket/477

    <strong>Description</strong>

    There are many common errors made when editing config.php.

    We can check for these errors prior to installation refuse to install if things are out of whack.

    It’s not an install script, but it does at least validate the config. It won’t prevent the errors but it will catch them.

    #52791
    chrishajer
    Participant

    I have WP and bbPress integrated and have no problem logging in as admin in WP then also being admin in bbPress. I have the opposite problem (not really a problem): when I log into bbPress as a normal user, and I try to access wp-admin, it gives me an error about not having sufficient permissions. In wp-admin > users, I edited the permissions for the “normal” bbPress user, and he can act as admin at WP now. Never tried to admin bbPress as that user…

    I think it’s probably something else: I did not require the hack you are suggesting to make this work.

    In bbPress, does it say:

    Welcome, admin! View your profileĀ» (Admin | Logout)

    up top?

    If it does, clicking the Admin link there will take you to the bbPress dashboard. Is that not happening for you?

Viewing 25 results - 63,301 through 63,325 (of 64,411 total)
Skip to toolbar