Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,151 through 25,175 (of 32,481 total)
  • Author
    Search Results
  • chrishajer
    Participant

    I don’t have the latest beta installed, but I do have an Alpha 2 installation and the database connection is here:

    ./bb-includes/backpress/class.bpdb.php:123:

    $this->dbh = mysql_connect($host, $user, $password, true);

    doublebuser
    Member

    Trying to locate the file that has the routine that does msql_connect or _pconnect…

    It has not been fixed in 1.0-a6 (as of three weeks ago). It happens on WordPress.org too :/

    (And _ck_, what’s a good plugin for that on WP? I’ve yet to find one I like, but I’m picky.)

    _ck_
    Participant

    The newest 0.9 branch should have it fixed. Since 1.0 already has this fixed I assume you are using 0.9

    So try upgrading to this version of 0.9

    https://trac.bbpress.org/changeset/2081/branches/0.9?old_path=%2F&format=zip

    lakelady
    Member

    I’m attempting to install bbPress on a completely fresh site, latest WPmu and bbPress and have php5 and I’m getting the same message.

    please help!

    site http://twilighttearoom.com

    intstall http://twilighttearoom.com/forum

    #73402
    frooyo
    Member

    @_ck_

    Thanks _ck_ for the info.

    Just to make sure I understand correctly … ALPHA #7 will be bbPress 1.0 rc1, right.

    I’m eagerly awaiting the announcement. Hope to hear it in the next few weeks :)

    #73449

    In reply to: Auto close topics

    _ck_
    Participant

    It would be possible to do that via a plugin.

    this might work, untested:

    add_action('bb_head','close_long_topics');
    function close_long_topics() {
    global $topic;
    if (is_topic() && $topic->topic_open===1 && $topic->topic_posts>299) {
    bb_close_topic($topic->topic_id);
    $topic->topic_open=0;
    }
    }

    #73448
    aquagrrl
    Member

    Okay, I’ve managed to figure some of it out, I’m using:

    <br />
    <pre><code><?php $posts = get_thread( $topic->topic_id, $page ); //pulls posts fo each topic?>
    <li <?php topic_class(); ?> style="border: 1px solid green;">
    <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <ul class="TopicStarterInfo">
    <li><?php post_author_avatar(); ?></li>
    <li><?php post_author_link(); ?></li>
    <li><?php post_author_title(); ?>
    <li><?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> </li>
    <li><?php echo $bb_post->forum_id;?></li>
    </ul>
    <?php endforeach; ?>

    But its pulling all the post authors. I think I need to limit to the first one, but I’m not exactly sure how to do that.

    Edit: figured it out from: https://bbpress.org/forums/topic/separating-the-first-post-of-each-topic#post-21808

    using:

    <?php $bb_post = $posts[0]; unset($posts[0]); $del_class = post_del_class();?>

    instead of the foreach.

    #73434

    In reply to: Always ..Unread

    Hm, when I set

    $unread_posts['indicate_last_login']=false;

    tracking of new posts stops and all topics appear as read. :(

    Does there have to be an actual logout of bbPress to see results?

    Which is not a good option cause most users won’t log out (untill the cookie expires).

    #73446
    pracus
    Member

    To anticipate the question: secret keys match each other :)

    #73445
    w-lv
    Member

    wooooooooow thanks very much

    it s working thankssssssss

    #73444
    paultjuh2
    Member

    U have to install BBcode Lite..

    Upload it to ur bb-plugins map, and apply it in your admin panel.

    What is the problem? Do u get any error?

    sorry for bad english

    #8172
    w-lv
    Member

    hello

    BBcode Buttons is showing but is not working !!

    and BBcode Lite for bbPress is not working !!

    I want bbcode

    Iam sorry i do not speak English well ..

    #73433

    In reply to: Always ..Unread

    Yes, custom theme. And I’ve set both colours to be the same since I don’t need that feature. But I hadn’t disabled it in the code… Just set it up – will see if it works better.

    #73431

    In reply to: Always ..Unread

    _ck_
    Participant

    I just realized something about the “always unread” complaints.

    There are two colors indicating two different things.

    There is a lighter blue indicating truly unread posts.

    However if a user is new or you “mark all read” there is a fallback function that highlights posts that are only a day or two old. That was actually a feature request by someone else awhile back.

    You can disable that. Change this line near the top:

    $unread_posts['indicate_last_login']=false;

    Also, are any of you using customized themes?

    #73415

    In reply to: Username Issue

    Ben L.
    Member

    It’s not the template. Line 4 of post.php is <strong><?php post_author_link(); ?></strong><br />, so it should be showing the post author’s name, not email. There’s no functions.php, so it has to be a plugin.

    What plugins do you have active on your bbPress installation?

    #73438
    Hermiony
    Member

    Yay, it works!

    Thanks so much!!

    :-)

    #73436
    Ben L.
    Member

    First, go into settings and change the url. Then, the folder bbpress to forums.

    #73410

    In reply to: Username Issue

    chrishajer
    Participant

    What theme are you using? Maybe it’s not coded properly.

    What versions did you integrate?

    lookfab
    Member

    Thanks bobbyh. This is very helpful.

    user_id and username conflicts should be managable since the number of WP users is very small.

    On schema, it looks like I need to add the user_activation_key field.

    > That extra index on user_nicename is the least of your problems. :-)

    So I would just add it using phpMyAdmin?

    #66163
    gera3d
    Member

    Hello Everyone,

    So let me start with I am on day 3 trying to get this working right. I have tried 5 different methods to getting the forums to workd with my WordPress MU install but I just cant get it working. Please Help.

    Everything is fresh and current.

    Latest Attempt:

    Following this guide.

    https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt

    At the end of bbpress install I got this error. Check Code below.

    I also cant do step 6 because buddypress-enable.php is not there. What should I do?

    Referrer is OK, beginning installation…

    >>> Setting up custom user table constants

    Step 1 – Creating database tables

    >>> Modifying database: 40knetwork (mysql.dbmethod.com)

    >>>>>> Table: bb_forums

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_meta

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_posts

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_terms

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_term_relationships

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_term_taxonomy

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    >>>>>> Table: bb_topics

    >>>>>>>>> Creating table

    >>>>>>>>>>>> Done

    Step 2 – WordPress integration (optional)

    >>> Fetching missing WordPress cookie salts.

    >>>>>> WordPress “auth” cookie salt not set.

    >>>>>> WordPress “secure auth” cookie salt not set.

    >>>>>> WordPress “logged in” cookie salt not set.

    >>> User database table prefix: wp_

    Step 3 – Site settings

    >>> Site name: Warhammer Social Network

    >>> Site address (URL): http://warhammernetwork.us/forum/

    >>> From email address: gera3d@gmail.com

    >>> Key master role assigned to existing user

    >>>>>> Username: admin

    >>>>>> Email address: gera3d@gmail.com

    >>>>>> Password: Your existing password

    >>> Description: Just another bbPress community

    >>> Forum name: Warhammer Social Network

    >>>>>> Topic: Your first topic

    >>>>>>>>> Post: First Post! w00t.

    >>> Key master email sent

    There were some errors encountered during installation!

    bobbyh
    Member

    This sounds reasonable but painful. :-)

    Some tips:

    * Only upgrade bbPress to 0.9

    * Upgrading to WordPress 2.7.1 almost made this impossible, but ck and superanne saved your bacon with plugins for WP 2.7 <=> bbPress 0.9 cookie compatibility. :-)

    * Don’t forget to assign your WP users privileges (e.g. Keymaster) by adding a row to the usermeta table

    * How are you going to handle user_id conflicts between bbPress and WordPress? For instance, if the WordPress “asdf” user/author has a user_id of 17, and there’s also a user on bbPress with a user_id of 17, you’ll have to do a bunch of UPDATE queries to wp_posts (post_author field) and wp_comments (comment_author and user_id), because when you create a new author with a user_id of 1000, it won’t match up with the post_author_field (etc.) which will have the old 17 number in it.

    * Also what about username conflicts, e.g. two users named “asdf”, etc.? That might result in more UPDATE queries… You’ll have to rename the WordPress user, probably.

    * The benefit to integrating the databases completely is you don’t have to make two connections to two databases. I’d go for it.

    * That extra index on user_nicename is the least of your problems. :-)

    * Are you sure that bb_users and wp_users has the exact same database schema? Confirm this! :-) Also, make sure to add any “missing indexes” that are currently in wp_users to “the new wp_users”.

    Good luck!

    Ben L.
    Member

    Can you put the HTML source code of a page where the css and jquery are missing from <head> to </head> in http://bbpress.pastebin.com/ ?

    #73347

    In reply to: Menu Links

    Thanks. I did that. Then found out I can’t really delete posts or move to the appropriate area. This scares as me as I am sure there are a ton of other basic functions you should be able to do but can’t. Now looking for another forums software :-)

    #68579
    eclipsei
    Member

    Thanks, looks interesting if I can figure out how to get it working :)

Viewing 25 results - 25,151 through 25,175 (of 32,481 total)
Skip to toolbar