Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,501 through 9,525 (of 11,591 total)
  • Author
    Search Results
  • #71992
    chrishajer
    Participant

    This was a discussion of getting bbPress data in WordPress:

    https://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration

    Here is a way to get the latest WordPress posts and use them in bbPress; I imagine you could just do something similar to get with wp_usermeta:

    https://bbpress.org/forums/topic/latest-wordpress-stories

    #71994
    chrishajer
    Participant
    #71961
    _ck_
    Participant

    Yup “order by rand()” is very handy.

    I used it for a mod for WordPress years ago to make a “random” category which is very useful.

    It could even be done to make a “random topics” view in bbPress but not sure how useful that would be.

    It’s fine for casual use but keep in mind for larger tasks it’s very slow and makes mysql purists shudder.

    #71960
    deadlyhifi
    Participant

    and my final correction on the random thing!

    $stories = $bbdb->get_results("SELECT post_title, guid FROM site_posts WHERE post_type='post' AND post_status='publish' ORDER BY post_date_gmt DESC LIMIT 0,10");
    shuffle($stories);

    previous example was getting a random 10 from all posts.

    This get’s 10 latest posts, then randomizes them with the ‘shuffle’.

    cheers!

    #71959
    deadlyhifi
    Participant

    On my version I’m fetching 10 latest rows, randomizing, then displaying 5 stories.

    $bbdb->get_results("SELECT post_title, guid FROM site_posts WHERE post_type='post' AND post_status='publish' ORDER BY rand() LIMIT 0,10");

    Admittedly, I didn’t make the correct alterations to the previous example. Anyway, it should give people an idea of what to do.

    oh, and _ck_ I hadn’t spotted your earlier post – it would have made it a lot easier for me to figure out if I had!

    #4889
    jmilli
    Member

    Greetings,

    I just installed BBPress today and was totally psyched because I have heard such great things about the WordPress products.

    But . . . I am having major problems:

    – New user testing – password doesn’t work. Login failed.

    – I created forums and when I select the topic I get a “The requested document was not found on this server.” error.

    – When I select a user profile (including mine) I get the same error.

    – This is where it is strange and makes me think that maybe I need to reinstall the whole thing. I can’t create a new post. Nowhere does it say “Create post” on the forums.

    I did install the Approve User Registration plugin by Aditya Naik, but I deactivated it and I am still having the above problems.

    Thoughts?

    thanks in advance,

    Jeff

    #71958
    _ck_
    Participant

    FYI, the if ($i <= 4) { is not needed because you already do a LIMIT on the query.

    Related topic:

    https://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integration

    #71957

    FYI, this only lists 4 posts but is FREAKIN AWESOME! :D

    #4885
    deadlyhifi
    Participant

    Just made a query in my forum functions.php to display the 5 latest stories from WordPress. Pretty basic but it may help someone:

    // get WP news
    function wpnews() {
    global $bbdb;
    $stories = $bbdb->get_results("SELECT post_title, guid, post_date_gmt FROM wp_posts WHERE post_type='post' AND post_status='publish' ORDER BY post_date_gmt DESC LIMIT 0,4");
    foreach ($stories as $story) {
    if ($i <= 4) {
    echo '<li><a href="' . $story->guid . '">' .$story->post_title . '</a></li>';
    $i++;
    }
    }
    }

    then call it on your forum with <?php wpnews() ?> and style to suit.

    #71946

    In reply to: Theme: TooNewsy

    _ck_
    Participant

    Good fix, I got distracted after I posted that and never did it myself.

    There’s also a border issue on images but I think most themes have that problem and it’s another thing I have to enforce in it’s own stylesheet.

    actually, you are causing it here:

    #posts .post .content a img {
    border: 1px solid #ccc;
    }

    You may way to limit it to topic pages and not any kind of table like latest-discussions.

    #71944

    In reply to: Theme: TooNewsy

    _ck_
    Participant

    Very well done.

    Here’s a demo:

    http://bbshowcase.org/forums/?bbtheme=toonewsy

    You must have display:block on images inside the #latestdiscussions table.

    I’ll have to put an override in the topic icons plugin.

    #4871

    Topic: Instant Password

    in forum Installation

    Hey All,

    I posted this here…

    http://bbpress.org/plugins/topic/instant-password/

    but was wondering if anyone else had the same problem. I set up the instant password plugin and tried to set up a test accound but kept on getting a ‘password is too short’ message – no matter what I type in.

    Thanks!

    #4861
    Burt Adsit
    Member

    I’ve got this plugin up to something testable and releaseable. v0.21


    Description


    Enable BuddyPress group forum features in bbPress.

    BuddyPress has three types of groups. Public, Private and Hidden. In all three cases users must be members of a group to participate in group forum conversations.

    These two plugins modify a standard bbPress forum installation to allow BuddyPress group members to carry on discussions in bbPress.

    BuddyPress public groups will be read only in bbPress. Anyone wishing to participate in a public group discussion must be a member of that group in bp.

    BuddyPress private and hidden groups will be hidden in bbPress. Only members of these groups will see the forums and be able to participate.

    BuddyPress group admins and mods have moderator privileges in bbPress. The moderator role is restricted to their group forum.

    Read more and download:

    http://code.ourcommoninterest.org/2009/02/14/buddypress-group-forums-for-bbpress/

    #68841
    joemoak
    Member

    I have the same question. The latest mod post regarding bbSync said “it’s broken right now.” Any other options?

    Ideally, I would like a new WordPress post to create a new forum topic and for all comments to be handled by bbPress. Possible?

    #66513

    In reply to: Threaded comments

    johnhiler
    Member

    I haven’t tested this, but at least one person was able to get this plugin to work:

    https://bbpress.org/plugins/topic/threaded-posts/

    #4843
    tfab69fr
    Member

    Hi all

    After upgrading:

    WP2.5 -> 2.7

    BBPress 0.9.4 -> 1.0 alpha 6

    WP is running badly.

    In order to get access to functions of BBPress, I have these lines at the end of wp-config.php:

    if ( !defined('BBDB_NAME') )

    require_once(ABSPATH.'forum/bb-load.php');

    Into the index.php of my WP theme, I wish to display the last topics of the forums, by doing:

    <?php

    $forums = get_forums();

    $topics = get_latest_topics();

    $super_stickies = get_sticky_topics();

    for ($i=0;$i<3;$i++){

    $topic = $topics[$i];

    ?>

    " title="See the message of <?php topic_author();?>"><?php topic_title();

    <?php } ?>

    The display of the latest messages was working well and still working well after the upgrade, BUT WORDPRESS GETS INTO TROUBLE:

    – the css style for the back admin of WP is not working

    – the hooks into the plugins are not called anymore (add_action(‘wp_head’, ‘init_js’); where init_js() is never run)

    – custom query vars are not detected into the url

    Well, when I remove the require_once into the wp-config.php (see below), the trouble disappear.

    //if ( !defined('BBDB_NAME') )

    //require_once(ABSPATH.'forum/bb-load.php');

    How to get it working with the bbpress function without trouble in WP ?

    I think this is a very important point for the BBPress integration in WordPress

    Thanks

    #71863

    In reply to: Databose functions

    rossmcd
    Member

    I’m creating it myself. I added the karma to the database myself for now until i know i can get it showing up. It’s on my test forum.

    #71862

    In reply to: Databose functions

    rossmcd
    Member

    i haven’t added that part yet. I added Karma to my mysql database with phpadmin, it’s on a test form. I’m trying to retrieve it i can’t figure it out.

    #4840
    rossmcd
    Member

    Ok, i have a mysql database and i added a karma section to users but no matter what i try i can’t get it to print. i do $karma = $bbdb -> get_results(then the tested normally sql select code here) then i put echo $karma->karma. but it prints nothing

    #4836
    augrunt
    Member

    Hey guys,

    I’ve been trying to fix this for 3 days now… however I am sure it is no longer a configuration issue as I went up and down with it for the past 6 hours. I’ve just deleted and installed the latest WordPress MU and started fresh, but before I started integrating I wanted to make sure the cookies were working as intended.

    When I check the cookies using Firefox’s Privacy option and my own Web Designer Plugin and viewing the cookies… I notice that all of them have a blank hash at the end…

    so for example, where others mentioned it should appear as

    wordpress_logged_in_(hash)

    mine appears as

    wordpress_logged_in_

    Why is this happening on a brand new installation? I also deleted the pre-existing Hash keys and let wordpress generate it’s own and put that in the config, and still the same…

    I know this ain’t the forums for it, but im sure someone has come across this.

    #63390
    mikeumus
    Member

    chrishajer, are you aware of the code in bbPress which takes the _wp table(required upon WordPress and bbPress integration) and somehow uses it in integration? If so, that might be a solution.

    I found a a program which takes two MySql tables and makes a table consisting of those two tables contents. Here it’s description:

    MySQL Join Two Tables Software 7.0 – Download

    Combine (horizontally) two MySQL tables into one based on a common column of data from each table. The original two tables are not altered but a new table is created with the results.

    Download here. Secure-order personal license for product here.

    Check out other software at http://www.sobolsoft.com

    _________________________________________________________________________________________

    I don’t think this will work however because of the multiple references to wp_users, and bb_users.

    I just thought of something, would it work if I changed apltest’s users table to be called wp_users(or bb_users)(along with changes all references to the users table in the APL code to wp_users)?

    Thanks for your input.

    8D

    #63389
    mikeumus
    Member

    Here are two links to the whole apltest database(2.jpg starts off down the table list where 1.jpg left off):

    http://i177.photobucket.com/albums/w220/mikeumus/2.jpg

    #63385
    mikeumus
    Member

    And how would you get that relationship?

    More direction please. 8)

    I’m trying to link my wonderful WordPress blog and bbPress Forum(live @ http://www.l4dt.com/) with some wonderful tournament management code(testing, but live @ http://www.a-mnow.com) and have already quite shyed away and scared myself at the thought of trying to connect any two databases, so direction at all would be great.

    Here’s what the tournament management _config.php file consists of:

    _config.php

    _______________________________________________________________________________________

    <?php

    //This is the new config file, almost all settings have been moved to the database.

    //You no longer need to edit this file,

    //unless the installer is not able to edit this file because of permissions.

    //Just run the installer at /install/install.php

    //Database server connection settings

    $database = ‘mysql’;

    $database = ‘apltest’;

    $database = ‘?????????????????’;

    $database = ‘apltest’;

    $database = ‘p50mysql71.secureserver.net’;

    //Do not change strict_mode, unless you know what you are doing

    $database = -1;

    ?>

    _______________________________________________________________________________________

    ^ There is no table specification!? wtf, but that’s not how you link databases, by giving them the same table prefix, right? But does it have to do with the table(s)?(I’d think so, but that’s all I can fathom)

    _______________________________________________________________________________________

    Here is the link to the site which gave me the tournament management code, “Autonomous LAN Party”:

    http://www.nerdclub.net/alp/

    _______________________________________________________________________________________

    Any hint at making that relationship would be most excellent.

    Thank you for your time and input.

    8D

    yokima
    Member

    I would like to download Alpha 5 instead of 6, since various cK plugins seem to work on the older version. Where can I download it? “Latest alpha” currently downloads Alpha 6.

    #4830
    bludshot
    Member

    I am the keymaster for my bbpress forum, and I want to change my email address, but it won’t let me.

    When I am logged in as the keymaster, in the front end, when I go to “View your profile!”, the edit link is “http://blueleafcanada.ca/forums/profile//edit&#8221; and if you click on that you get the error “User not found.”

    Also, if I go to the admin area and click on Users, and then click Edit for the keymaster there, it also says User not found. (And the link there is http://blueleafcanada.ca/forums/profile//edit too)

    For a normal user test account I made, the link is “http://blueleafcanada.ca/forums/profile/test/edit&#8221; and when you click it it lets you edit the profile.

    Even if I type in the URL manually, filling in the keymaster’s username instead of test, it still says user not found.

    Is this normal?

Viewing 25 results - 9,501 through 9,525 (of 11,591 total)
Skip to toolbar