Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 22,101 through 22,125 (of 26,864 total)
  • Author
    Search Results
  • any sight on when bbpress will support it? 1.0 does, i read. when is it expected? withing a few weeks? months? and are we then speaking 2 or 6 months?

    thanks in advance!

    #71527
    chrishajer
    Participant

    I am going to take a SWAG:

    SimplePie supports RFC 822, RFC 2822, RFC 3339, and ISO 8601 datestamps. My guess is Magpie does as well. I would start by trying a RFC 2822 timestamp.

    Sat, 24 Jan 2009 08:09:12 -0500

    #71526
    polisciguy
    Member

    What is the format for TIME?

    #71369
    superrad
    Member

    Ah, sweet. Thanks!

    _ck_
    Participant

    Looks like the forum ate your code but to display the forum name when you only have the id, you can use the built in bbpress functions

    echo get_forum_name($result->forum_id);

    or

    echo "Posted by $result->topic_poster_name in ".get_forum_name($result->forum_id);

    or

    echo "Posted by <a href='".bb_get_profile_link($result->topic_poster)."'>$result->topic_poster_name</a>
    in <a href='".get_forum_link($result->forum_id);."'>".get_forum_name($result->forum_id)."</a>";

    tomwi
    Member

    also, I got this far… just not sure how to get the forum name, since only the forum ID is listed in this table… not sure how I pull the otehr table and combine the two.

    echo "
    <li><a>topic_id."'>".$result->topic_title."</a>Posted by: ".$result->topic_poster_name.".</li>
    ";

    tomwi
    Member

    man, this is so great. I am using this now instead of rss and i like it so much more!!!

    would you be willing to show how we would add

    “Posted by $user in $forum.”

    under the list of topics?

    #71525
    slambert1971
    Member

    WordPress uses Magpie for doing RSS and by default will cache the feeds for 1 hour. To change this, you can add a line to your wp-config file like:

    define(‘MAGPIE_CACHE_AGE’, TIME);

    Replace the word ‘TIME’ with the length of time in seconds to cache. You can also turn off the Magpie cache with:

    define(‘MAGPIE_CACHE_ON’, false);

    Hope that helps.

    #71524
    Trent Adams
    Member

    I believe there is a plugin that does this by polling the DB. Not sure if it is on the plugins site here or over at https://wordpress.org/extend/plugins but it is called something like “bbPress Latest Discussions” or something like that.

    #4729
    tomwi
    Member

    I am using the rss method to pull latest discussions to a wordpress widget, but it is slow to update. If I add a topic it doesn’t show up on the other page for a while. Anyone have a better solution? WordPress 2.7 and bbpress 1 of course.

    #71498
    Andrew
    Member

    Turns out the Manage -> Recount didn’t solve the issue.

    I did a clean install of BBpress integrated with WordPress and reproduced the problem. I failed to reproduce the problem the first time since I only had two users.

    Try this on a clean install-

    0. Use keymaster account to write a two posts under two topics.

    1. Create user #2.

    2. Login user #1 and create two posts under same two topics written by user #1.

    3. Using wordpress admin delete user #2.

    4. Create user #3 and log in as user #3.

    5. Display topics.

    6. Note that the keymaster account is ‘inactive’. This is a result of the SQL request for the account level failing.

    #64929
    martenk
    Member

    As for linking to the forum from the blog like as if it was a page it’s just a matter of installing this plugin: http://txfx.net/code/wordpress/page-links-to/

    Works great.

    #4728

    Topic: No table prefix?

    in forum Installation
    blaine0002
    Member

    Im installing bbpress, the newest alpha, and integrating it with wordpress 2.7

    After installation (goes smoothly) i go to the main page, and it says

    You must specify a table prefix in your bb-config.php file.

    When i go into my config file, i see the prefix defined as bb_….

    What am i doing wrong?

    Thanks!

    #71308

    I’m of the ‘better safe than sorry’ variety of nerd.

    By ‘changing your password’ I mean all of ’em.

    your ftp password

    your cpanel password (if they’re not the same)

    your email password (ditto)

    your SQL db password to that DB

    your WordPress/bbPress password

    anything else you use on this site

    Yeah, pain in the ass. But again, safer vs sorrier. This all could be one colossal typo of yours that you forgot, or what have you. But if you’re worried it was a hack, then you do what needs doing to stop it cold turkey.

    #4726
    joshposh
    Member

    When I ‘m in the WordPress Integration tab and set the User Role Map and click on “Save User Role Map” the site loads for a while and then turns white (browser says done).

    Is that normal or could that mean an error occurred?

    Maybe because I have too much users? (About 11,100)

    (I’m using 1.0a6)

    #62284

    In reply to: Import/Export Work

    chrishajer
    Participant

    Also, in general, bbPress, WordPress, most modern forums and modern blogging platforms use a database to store the data for the site. There are files on the filesystem as well, but in addition to those, there is almost always data stored in a database. In anything other than a simple static site (and with systems that use flat files rather than a database for data storage) you’ll find that there is almost always a database involved.

    You’ll see on this page that there are some flat file systems, no database required, but most forums and content management systems and blogging platforms use a database back-end for storage:

    http://en.wikipedia.org/wiki/Comparison_of_content_management_systems

    #71468
    chrishajer
    Participant

    Custom fields in WordPress can be used for amazing things. I like your idea.

    #71368
    chrishajer
    Participant

    If it’s a background image defined in the stylesheet, you need to do something like this:

    http://www.wordpressmax.com/wordpress/wordpress-header-link

    https://wordpress.org/support/topic/181216

    http://www.penny4them.com/2008/clickable-header/

    The instructions are for WordPress, but you’ll need to use a similar procedure. If you don’t want to do it with JavaScript, you need to move the image into the template file and call it with an <img tag, not define it as a background image for the div in the stylesheet.

    #71367
    superrad
    Member

    I don’t want text in there though, I want to make the entire header image a link. The image is defined in the CSS.

    #64928
    chrishajer
    Participant

    It says, in plain English, “If the file wp-blog-header.php exists in a directory one level up, include it, otherwise, look one MORE level up, and include that.” If it’s in neither place, it won’t be included. The reason for including it is so you have access to WordPress functions in bbPress (functions like get_header(), get_footer(), get_sidebar()).

    #64927
    venzie
    Member

    thanks gerikg. what does the

    $bb->WP_BB = true;

    if (file_exists(‘../wp-blog-header.php’))

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

    else

    if (file_exists(‘../../wp-blog-header.php’))

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

    after <?php tag.

    do?

    #71472
    eclipsenow
    Member

    I don’t know php, or plan to learn it in the foreseeable future.

    I’m trying to learn XHTML, CSS, Dreamweaver, and WordPress and finally bbpress.

    Is there ANY way to make this whole thing easier? Even just an easy way to change the header image and a few colours?

    I seriously thought I could just use SMF for my forum. It has all the features already built in, it looks easy enough to manage. I’m at the end of my rope here… I just need a quick solution and to get on with using it. If I find the right “overall” theme, is it easy enough to just change the header say?

    #4704
    Tom Lynch
    Participant

    I have recently migrated my entire phpBB over to bbPress and now want to move the bbPress users into wordpress mu so I can use wordpress integration the problem was that there is no easy way to migrate and check the users aren’t doubling up…

    I wrote a simple php script to do just that and it allowed me to list out the users where manual attention is required, it can be run just from the command line like this…. ‘php -f file.php’ and will move the users over perfectly (at least for me)…

    Note there has been no testing of this code it worked for me and may cause you issues, back up your database first!

    Comments on the code appreciated for future improvement.

    ‘<?php

    echo “n”;

    echo “+


    +n”;

    echo “| bbPress to WordPress User Migration |n”;

    echo “+


    +n”;

    echo “| Created by: |n”;

    echo “| Tom Lynch |n”;

    echo “+


    +n”;

    echo “n”;

    echo “Messages:n”;

    echo “n”;

    echo “Username Messagen”;

    echo ”



    n”;

    function printSpaces($username) {

    $spaces = 25 – strlen($username);

    echo $username;

    for ($i = 0; $i < $spaces+1; $i++) {

    echo ” “;

    }

    }

    // Enter your database host, username and password here…

    mysql_connect(‘localhost’, ‘username’, ‘password’);

    // Enter your database name here (both tables must be in same database – sorry)

    mysql_select_db(‘database’);

    $migrated = 0;

    $errors = 0;

    $query = mysql_query(“SELECT user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_status, display_name FROM bb_users WHERE user_pass LIKE ‘$P$B%’;”);

    while ($data = mysql_fetch_assoc($query)) {

    $query2 = mysql_query(“SELECT user_login, user_email FROM wp_users WHERE user_login = ‘”.$data.”‘ || user_email = ‘”.$data.”‘;”);

    if (mysql_num_rows($query2) > 0) {

    $data2 = mysql_fetch_assoc($query2);

    if ($data == $data2 && $data == $data2) {

    // Suppressing already migrated users error

    //echo printSpaces($data) . ” has already been migrated by the looks of it!n”;

    } else if ($data == $data2) {

    echo printSpaces($data) . ” could not be migrated, that user name is already taken! (“.$data.”)n”;

    $errors++;

    } else if ($data == $data2) {

    echo printSpaces($data) . ” could not be migrated, that email address is already taken! (“.$data.”)n”;

    $errors++;

    }

    } else {

    mysql_query(“INSERT INTO wp_users (user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_status, display_name) VALUES (‘” . $data . “‘, ‘” . $data . “‘, ‘” . $data . “‘, ‘” . $data . “‘, ‘” . $data . “‘, ‘” . $data . “‘, ‘” . $data . “‘, ‘” . $data . “‘);”);

    // Suppressing user migrated message

    //echo $data . ” was migratedn”;

    $migrated++;

    }

    }

    $alreadyDone = ((mysql_num_rows($query) – $errors) – $migrated);

    echo “n”;

    echo “Stats:n”;

    echo “n”;

    echo “Users Migrated: ” . $migrated . “n”;

    echo “Already Migrated: ” . $alreadyDone . “n”;

    echo “Not Migrated: ” . $errors . “n”;

    echo “=======================================n”;

    echo “Total: ” . mysql_num_rows($query) . “n”;

    echo “n”;

    ?>’

    #71373

    In reply to: How long?

    rjeevan
    Member

    thanks for the reply guys…

    I really like this Version 1 and I done some theme work on this as well… thats Why I was & I am waiting for the Version 1 to be released…

    Most of the plug-ins DO work with V1 alpha so far (at-least the once i want).. anyway… Let me wait for may be another month (till Mid Feb) or i will go with 0.9.x

    PS: I;m Looking to start a New forum and I’m already using the Latest WordPress. I want this forum to be Integrated so that From specified Forum i can list the topics in WordPress site as well.. sort of merging wordpress into bbPress (My Idea is to keep one Forum hidden only can accessed by Mods & Admins who can post Topics and it will be Listed in the wordpress front end… sort of!)..

    Thanks again for the replies…

    #71500
    _ck_
    Participant

    You can disable all javascripts and things fallback to non-js mode (usually, except in 1.0 I think they broke some things, again)

    comment out this line like so in your header.php

    <?php // bb_enqueue_script('topic'); ?>

    Everything is being eventually moved to jquery like wordpress.

Viewing 25 results - 22,101 through 22,125 (of 26,864 total)
Skip to toolbar