Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,801 through 9,825 (of 11,589 total)
  • Author
    Search Results
  • #60392
    pertinax786
    Member

    I have it working ok with the plugin, but testing reveals it fails to work with multipage threads, eg:

    http://domain.com/forums/test/your-first-topic/page/2

    breaks and redirects to //

    I had a look at the rewrites and similar but it seems ok (though I am not an expert), so I am at a loss. Is anyone else having this problem? Any ideas on a fix?

    #69338
    _ck_
    Participant

    The approach Digg uses is very simple and would not need such an advanced plugin like “promote to front page”.

    All you need to mimic Digg is allow voting on topics and then replace the part of your front page that shows the latest-discussions with the list of topics by highest rank.

    In fact there is already a topic voting plugin that does that, you’d just have to edit your front-page layout. You could then go further like Digg does and restrict highest rated by date – 24 hours / 7 days / 30 days / all time

    Looks good enough to me, although I haven’t checked the source to see exactly how you did it.

    #69411
    _ck_
    Participant

    bbPress Plugin Index, A – M

    A

    B

    C

    D

    E

    F

    G

    H

    I

    L

    M

    #69335
    _ck_
    Participant

    One plugin that I’ve been meaning to create for quite some time is a “promote to front page” tool where admin can mark a topic for special promotion, with their own custom summary that superceeds the title and first post and replaces (or suppliments) the Latest Discussions on the front page with the list. The list could then be re-ordered even further, independent of topic time.

    I think such a plugin would change how bbPress is used in a positive way. Just can’t decide how to best interface it with how topics work and how to give the admin full access to existing formatting tools and other plugins within the summaries. It would probably be mostly like Wiki Post.

    _ck_
    Participant

    Let’s put that all together – this should work right inside any wordpress template:

    <h2>Latest Forum Discussions</h2>
    <ul>
    <?php
    global $wpdb;
    $query="SELECT * FROM bb_topics WHERE topic_status=0 ORDER BY topic_time DESC LIMIT 10";
    $results=$wpdb->get_results($query);
    foreach ($results as $result) {
    echo "<li><a href='/forums/topic.php?id=".$result->topic_id."'>".$result->topic_title."</a></li>";
    }
    ?>
    </ul>

    #69319
    _ck_
    Participant

    Did you already figure this out?

    They look very well matched.

    #69341
    chrishajer
    Participant

    Also, using Firefox 3, the page loads with the top of the page displayed, not the bottom where the named anchor would be, I suppose because the anchor is not there. When it’s working properly, it loads with your latest reply in view. When the reply is not there, the page loads with the top of the topic visible.

    #67984
    mvds
    Member

    Same problem here, with an Apache server on Windows. Latest versions of all applications. I will try your solutions and see what happens.

    antoniop
    Member

    So I got my bbpress theme looking great. The only problem is that I can’t login to my BB Admin. I am using the latest unstable version with wp 2.6.5. I used the require_once (wp_blog_header.php) trick then added get_header/get_footer to the necessary files in my bbpress theme.

    #4338
    antoniop
    Member

    Hey everyone, hows it going. I’m trying to find out how to match my current wp theme to my bbpress theme. How can I accomplish this?

    Thanks

    Heres my wp installation

    http://kauaihypnosis.site90.com/

    and bbpress

    http://kauaihypnosis.site90.com/bbpress

    #68712
    mvds
    Member

    I also have this problem, but I do have a lead… What I did is the following:

    Install WP 2.7 (latest build)

    Install BBPress 1 Alpha 2 but it skipped steps 2 and 3, went straight to the forum index

    Did all the settings manually like described in https://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2

    Go into WP, log in with admin account

    Go to BBPress

    At the top I see “Welcome, admin! | Admin | Log Out”

    So far so good, but when I click on “Admin” to access my admin page, nothing happens. So thats exactly the same as the others, but when I press the “Log Out” and then try to log back in with the admin account, I get a “User does not exist” message. So I guess its not reading my WP tables correctly.

    Note: My database is fully up-to-date, BBPres states that there is nothing to upgrade when I go to /bb-admin/upgrade.php

    #69078

    Okay, I did some testing of

    $bb->wp_home = 'http://ipstenu.org'; and $bb->wp_home = 'http://ipstenu.org/bblog'; and ffft.

    So. This doesn’t really bother me much, since I don’t mind people double-logging in. It’s only annoying in the realm of I hate when code doesn’t work right! :)

    WP 2.6.3, BP 1.0-alpha-2

    bb-config

    // WordPress cookie integration speedup
    $bb->wp_siteurl = 'http://jorjafox.net/blog';
    $bb->wp_home = 'http://jorjafox.net';
    $bb->cookiedomain = '.jorjafox.net';
    $bb->cookiepath = '/';
    $bb->authcookie = 'wordpress_DELETED';
    $bb->secure_auth_cookie = 'wordpress_sec_DELETED';
    $bb->logged_in_cookie = 'wordpress_logged_in_';
    $bb->admin_cookie_path = '/forums/bb-admin';
    $bb->core_plugins_cookie_path = '/forums/bb-plugins';
    $bb->user_plugins_cookie_path = '/forums/my-plugins';
    $bb->sitecookiepath = '/';
    $bb->wp_admin_cookie_path = '/blog/wp-admin';
    $bb->wp_plugins_cookie_path = '/blog/wp-content/plugins';
    // End integration speedups

    WP-config

    // Cookies
    define('COOKIE_DOMAIN', '.jorjafox.net');
    define('COOKIEPATH', '/' );

    I’ve also tried with no cookie settings in my wp-config. Right now it’s commented out. It’s sharing the admin cookie, since I can get into WP-admin if I log in with BBpress, but I don’t show up as a user (if I go to make a comment, it gives me the screen anon users see). If I log in via WP, I’m only logged into WP.

    #50153
    nekita
    Member

    I tried changing the Tag Clouds values on my forum with

    <?php tag_heat_map( 10, 30, ‘px’, 40); ?>

    The first three attributes work as expected, however the last setting (40) which should influence how many Tags are displayed doesn’t change a thing no matter if I set it to 1 or 100.

    I’m on Alpha 2 and latest WP.

    #68913

    In reply to: WPMU integration

    jwxie
    Member

    let me clean up what i said above

    i just did another test

    it happened that, if you created abc123 from bbpress

    you can’t login wordpress (it will turned to cookie error, i am using firefox)

    you will have to first use admin account, and then go to site-admin -> users, and make abc123 from No role to one of the role, let’s say editor.

    now, you can login

    and also, i can’t login at the same time

    i can’t login abc123 in wordpress but bbpress is still not login yet.

    why

    #68912

    In reply to: WPMU integration

    jwxie
    Member

    hey klarko, thanks a lot

    just another quick question

    everything went fine, i did everything in the admin panel

    now, when i tested registration in bbpress, it worked, but i tried to login from wordpress, doesn’t work

    i mean i created a new user name abc from bbpress

    it worked in bbpress,. but i can’t login in from wordpress mu

    is that the case? or something went wrong?

    #69181
    _ck_
    Participant

    Very impressive.

    Why not modify the CSS to match the blue links/text from your main site theme?

    You can look at kakumei blue to see how easy it is to change from regular kakumei green theme to blue.

    ps. I just updated Human Test to work with the BB-Anonymous-Posting plugin if that helps you too. Though sometimes it’s better to encourage people to at least register instantly rather than less manageable anonymous posting.

    #4313

    I’ve been working on this for a few weeks and its finally complete. There are still a few small bugs left and I’m sure I’ll find more, but I have launched the forum in its present state.

    I’m using a few of _ck_’s pluggins. “Instant Password” and “Human Test”

    I made quite a few modifications to the core to support what you might call “Virtual Forums” for lack of a better term.

    My site lists apartments, I have pages for around 26,000 cities in the U.S. I wanted to have forum content on each page but didn’t want to create 26,000 forums for a few obvious reasons. The main being that probably 99% of the forums would never get any content.

    My solution. I created 2 generic forums and 51 state forums. On each one of my apartment city pages I integrated the forum content from the state forum in which the city resides. For example, the Boston, MA apartment page would show content from the Massachusetts forum.

    The trick is that if someone creates a topic from the Boston, MA apartment page, the topic is inserted into the bbPress DB with a new column that contains the latitude and longitude of Boston,MA.

    If someone creates a topic from the Newton, MA (10 miles from Boston, MA) apartment page. The topic is inserted in the bbPress DB with the latitude and longitude of Newton, MA.

    What this allows me to do is show forum content from any City in the U.S. with the forum topics sorted by distance (and secondarily by date) from the City the user is currently viewing.

    To show you an example. (Scroll down under the map to view the forum content on the right hand side)

    Boston Apartment page

    Newton Apartment page

    Each forum topic has the City and State that the user posted from prefixed to the actual forum topic.

    As you can see the forum posts change order based on what city you view. This is not that useful without many forum posts, but once the forum starts to fill up it will appear that each city page contains a “Virtual” forum based on that city and the cities that are nearest to it.

    Hopefully this will not only allow me to engage a much larger audience as most of the forum topics will be relevant to the page they are viewing.

    Please let me know if you have any suggestions or comment. This is very much still a work and progress and can definitely be improved. The #1 thing I’m not happy with is the location of the city forums. I’m working on a redesign that would move the forums, or at least a link to the forums, up near the top of the page.

    You can also view the regular apartment forum which has a modified very of the default template.

    #4271
    lstelie
    Member

    lastest commit issues

    Fatal error: Call to undefined function number_format_i18n() in /foo/bar/bbpress/bb-includes/functions.bb-core.php on line 231

    see : http://luc.saint-elie.com/bbpress/

    Luc

    #69193

    In reply to: Unable to Login

    I know what you’re thinking, that it probably *should* be mentioned either here:

    https://bbpress.org/documentation/integration-with-wordpress/

    or

    https://bbpress.org/download/

    but it’s not :(

    BBpress, great software, also useful for testing your abilities to mind read!

    #69166
    chrishajer
    Participant

    I think they just want to spread spam links. I doubt they could hurt anything unless there were a flaw found in bbPress.

    Using the Human Test plugin pretty much eliminates the spam registrations:

    https://bbpress.org/plugins/topic/human-test/

    #69008

    Great answers again _CK_.

    As always you bring an authoritative voice to this discussion.

    “Tables have vertical rows that can be sorted which would be 100x times harder with lists. Javascript has specific abilities on tables that don’t exist in lists. Lists do not have vertical relationships between their “cells”.”

    I’m going to be one of those guys here a sec and say you’re totally and utterly wrong about this.

    The DOM of a browser treats a TABLE like an XML file that it iterates through in a singular parent/child relationship.

    The DOM of a browser treats a LIST like an XML file that it iterates through in a singular parent/child relationship.

    Both are sorted based on their parent AND their attributes.

    The perception that tables are easily sorted natively by JavaScript is only brought to the fore because libraries such as jQuery etc. have built in functions to sort tables. The same underlying code works for lists in exactly the same way.

    eg. The browsers DOM can’t tell the difference between:

    TABLE

    – TR

    – – TH

    – TR

    – – TD

    and

    DIV

    – DIV

    – – DIV

    – DIV

    – – DIV

    or

    OL

    – LI

    – – SPAN

    – LI

    – – SPAN

    Let me give you an example again; Back to the backpacker website (real world examples are good I find).

    UK (Category)

    – England

    – – London

    – – – Travel

    – – – Hostels

    – Scotland

    – – Edinburgh

    – – – Travel

    – – – Hostels

    – – Glasgow

    – – – Travel

    – – – Hostels

    Now if we output these as 1 flat tables (even with fancy CSS tags), and we use JavaScript to sort it (lets say alphabetically), we get this:

    Edinburgh

    England

    Glasgow

    Hostels

    Hostels

    Hostels

    London

    Scotland

    Travel

    Travel

    Travel

    UK (Category)

    Because, again, if things are in a singular flat table structure there is not way of knowing which child belongs to which parent.

    Again, i’m only advocating the use of lists for the forums, not the topic list, which is a singular list, and therefore well suited to using tabular data.

    ==============================================

    What I want to stress here, because i’m feeling like i’m repeating myself a little and thats never good, is that i’m NOT here to get BBpress to change from tables to lists or divs or anything else.

    What i’m here to discuss is that BBpress is going down a route, a route that solves one set of needs. Can you list the topics in a singular table in a singular order while the only differentiation between each row/cell is in the CSS worked out after the tag has been sent to the browser.

    That is a very very singular way of doing things. My point is that all over the shop here in BBpress 1.0a we’re doing things in a singular method, and not in any way giving any for of extensibility to the software.

    I use the forum parent/child output example cos it’s on the front page. I could use the example of having template functions HARD CODED in the bb-includes folder as opposed to being in the template folders. I could use the example of “forum” or “topic” being slapped before all the permalinks with no option to remove them.

    Lets be honest here, in terms of changes from 1.0a1 to 1.0a2 the first 17 changes were style changes to the template file that we’re all (hopefully) going to replace with our own template.

    The 3 latest changes to the repository have been to fix TYPOS in the comments.

    There was 85 days, almost a 1/3 of a year between 0.9 release and 1.0alpha, and I may be wrong here but the biggest change seems to be that XML RPSeeWhoCaresAboutThisReally was added.

    People are complaining about the same things on this board over and over. Most plug-ins were written over a year ago, and have been hacked to death. Vital information is stored on Page 3 of a forum thread started 18 months ago because no-ones updated the website.

    Heck, saying that 0.9.0.2 the STABLE bbpress release doesn’t actually work with anything beyond 2.5.1 of wordpress, let alone the stable wordpress release of 2.6.3 ISN’T EVEN ON ANY OF THE WEBSITE PAGES. It’s stored on the forum software, in a random post.

    This is not a complain against the great men and women who have done some marvellous work here, _CK_ so far is a screaming example of someone who’s given up huge amounts of time and created some amazing code, but come on.

    If we try to develop something with no roadmap, no feature list; if we try to solve single problems with singular solutions; if we do this all with no documentation; heck if we do this with no project management whatsoever then we’ll end up with a bunch of things that look somewhere between a blog and a forum all with slightly different colours and a different header picture.

    Then we can all pretend that we’ve build a totally extendable bit of software that every user has just decided to use exactly the same way out of pure luck, and not because they’re effectively forced to.

    Heck while we’re at it, i’m going to pretend i’m Brad Pitt. Make believe is SO much fun. I’d suggest you all try it, but maybe you’re already there…

    #69038

    I’ve logged into both sides with a test account and still run into this problem. It seems that integrating with WordPress interferes with some capabilities. Like, when viewing a topic logged in as Key Master, I can see the IP addresses of people that post, and I have the link to add that topic to my favorites, but I cannot post a reply, I cannot edit the tags, and I cannot see any other admin functions; all of their capabilities return no value.

    I haven’t given up yet! hah!

    #4299

    It seems blockquotes are broken on this board.

    <blockquote>Test</blockquote>

    gives:

    Test

    #68973
    _ck_
    Participant

    Total shot in the dark here as I can’t debug this code but try replacing in your routine above:

    <?php // $top_topics = bb_top_topics(); ?>

    with

    <?php // $top_topics = bb_top_topics();
    global $bbdb;
    $where = apply_filters('get_latest_topics_where','WHERE topic_status=0');
    $query = "SELECT * FROM $bbdb->topics LEFT JOIN $bbdb->meta ON object_id=topic_id $where AND object_type='bb_topic' AND meta_key='avg_rating' ORDER BY cast(meta_value as UNSIGNED) DESC LIMIT 10";
    $top_topics = bb_append_meta($bbdb->get_results($query),'topic');
    ?>

Viewing 25 results - 9,801 through 9,825 (of 11,589 total)
Skip to toolbar