Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,826 through 9,850 (of 11,589 total)
  • Author
    Search Results
  • #68970

    After much research it seems the view ‘top-rated’ gives no results. I checked the DB and found noplace where ratings are stored. It’s really mind-boggling and a little over the top for my knowledge :-(

    Can anybody please help. I have the latest bbPress 1.0-alpha-2 and bbRatings 0.8.5

    #69033
    fontadoni
    Participant

    Oh man, I wish everything in life was this simple. It worked perfectly. I was able to change the value back down to what it should be, no problems whatsoever. I did some testing too and everything seems to be working ok.

    Thanks john!

    #66120

    I’m not sure who has access to edit the information on this website (outwith the forums) but any change we could have :

    <b>”Do NOT try to integrate WordPress 2.6 with bbPress 0.9 – only use WP 2.5.x – the reason for this is simple – WordPress has radically changed the way cookies are used. “</b>

    oooh i dont know, maybe on the INTEGRATION TO WORDPRESS page?!?! or even on the download section.

    How daft is it to hide it away in a forum when it’s quite essential information? If you download the latest stable wordpress and the latest stable BBpress – they’re uncompatable. that to me seems kind of important to new people who download stable releases of both to get started!

    #4284
    saberj
    Member

    I’m working a new version of my site, and I’m working in BBpress. I tried the latest stable version, but since I was already using WordPress 2.6.3, things didn’t quite work right. So I switched up to BBpress 1.0 Alpha 2, and things mostly work right.

    However, I’m still facing a couple problems. Most importantly, the User Roles map doesn’t actually map users to the appropriate setting. It doesn’t map them at all, in fact. My admin blog users are still listed as just regular members on the boards. Does anyone know why that may be? I also can’t appear to edit the users to add the settings manually. The Software points me to “/profile/user/edit”, which doesn’t actually exist, apparently.

    I realize that this is an Alpha version, which is fine, since the site isn’t live yet anyway. But I’d really like to figure out why users aren’t being correctly mapped. I entered all the settings correctly to my knowledge. Except the “WordPress “secure auth” cookie salt ” setting, which I didn’t appear to have. So I left that blank.

    Any help would be appreciated, so I can start working on theme work for my site. Thanks!

    #4282
    pertinax786
    Member

    Another WP integration/bbSync question: I’ve read everything written here and now have a working test blog/forum setup (2.5.1 & .902) waiting to be ported to the main site.

    Bar one issue: using bbSync, I can get WP comments showing in the forum without difficulty, but replies in the forum are not porting back into the WP comments.

    Am I overlooking a way of getting the forum posts to port back to the WP pages?

    If this is not easily possible, might there be an alternative, like for example using Simplepie to parse the feed from the thread and re-include it back into the WP page, or even an include or Ajax load; perhaps not perfect…

    I don’t need user sharing as there are no WP users; trying for an anonymous friendly integrated forum/comments system. It’s just getting those replies back onto the WP side…

    #68990

    Hi Ipstenu,

    thanks very much for taking the time to write back. I’m glad you saw this as a discussion and not something negative towards BBpress.

    Maybe i wrote it wrong, but my point is not what “we” the internet community intend BBpress to be, but more what “they” the community of end users want it to be.

    BBpress in it’s current form is just a blog. users log on, post a blog, people leave comments. There’s a list of tags, blog posts (sorry “topics”), and um… thats it.

    I know, and you know, and i’m sure the intelligent people that have written this lovely bit of code know, that a forum and a blog are very very similar.

    When I got into the simplicity of BBpress before the summer, I tried to convince a number of my fellow web enthusiasts to take up the cause. But the more they looked at it, the more disdain they had. I’ve stuck with it, and continue to do so of course, as i thought with each release getting closer to 1.0RC we’d get there.

    But we’ve not created a forum.

    Forums have a different mindset to Blogs, and don’t get me wrong i’m ok with using plug-ins, it’s just that we’re fixing bugs/issues with a Blog mindset. That is, blogs list things in a singular direction. Forums, by the nature in terms of what the END USER expects, work in a cross polination way.

    Yes tags are a good idea, but tags are reliant on the end user.

    To give an example:

    I recently had to take down BBpress from a backpacker website because the users weren’t putting in tags. The plan being that instead of UK > Scotland > Edinburgh > Travel > Topic that users could just use the UK Travel forum and tag “edinburgh” or “london” etc. Instead, we had 100s of “how do i buy cheap bus tickets” or “cheapest way to travel” or “1 ticket spare” etc with NO tags.

    The site lastest 6 weeks before the owner demanded I take it down and replace it with “actual forum software” – that’s a quote from their IT department btw.

    But lets give a counter example:

    Wordpress.org uses BBpress and it’s working great. Loads of Topics, tags, and few forums. No real need for categories. Same with the technorati one. It’s a credit to BBPress – and nothing can take away from that and the amazing work done by the BBpress team and community… BUT… there’s always a but isn’t there… the people that use WordPress/Technorati are people like us, they are technical, they are used to tags and searching for exactly what they want. They are *not* the typical end user on the internet.

    I’m all for free form Ipstenu, i totally get what you mean, and if that suits the needs of your community then great. For me, its suits the needs of some of mine, the problem is as soon as we get into the territory of what people think “all forums” should do, BBpress really starts to look… well, not like a forum.

    The more we code, the more we’re coding a wordpress clone, yet not cloning their proven and successful techniques. Our website should match their website (heck, screw the colours, just in terms of layout and user flow), our methods should match their methods. I, no WE, want to help, we want BBpress to be better, but more importantly we want it to fulfil it’s mission statement; and right now that’s not quite happening.

    #4277
    zappoman
    Member

    I’ve done some searching and not found anything related to this, so I appologize if someone elses google-fu is stronger than me.

    I could use some help on this problem.

    I have installed “complex” integration between bbPress (0.9) and WPMU (2.6) — yes, I have authentication working because I have custom auth plugins… that’s not my issue.

    The problem I am running into is that IF I include wordpress then I’m getting extra attribute escapes on new posts and edit posts in bbPress.

    So if I post a topic with a title of “test” it will end up posting as “test” if I’m just running bbPress (that’s good), but if I have wordpress loaded at the same time, I get \”test\”. And the resulting post displays in the forums.

    Has anyone else ever seen this before?

    #69022

    So, the issue with the method implemented in : https://bbpress.org/forums/topic/hiding-subforums-subforums-from-subforum-pages

    is that it only checks for the lineage of the forum before it.

    This causes problems when you have multiple children to multiple children, as thus:

    category

    – Forum1

    – – Child 1

    – – – Child1’s child

    – – Child 2

    That method will make BBpress think that Child 2 is actually under Child1’s Child, because when testing if their parents are the same they clearly are not.

    Instead, we have to create a nesting code that counts the depth to which we go as we trawl through each parent/child relationship – which is daft as there is a walker->depth function that we just don’t have access to via $GLOBALS.

    EDIT:

    Update – not knowing if it’s the last forum in a category is starting to kill me a little.

    #4275

    At the risk of looking like a double whammy in regards to the non nesting iterations of our outputted code, just using TRs with different classes, i’ve hit across another wee issue – but this time i’m sure there’s a simple solution I just can’t see the relavent code.

    I want to be able to know if a forum has children or not, or more specifically when we move up or down a level in the “xPath” iteration.

    I’m using a method of using $GLOBALS->forum_parent but what this currently requires me doing is testing to see if the forum has a parent that is not a category, then checking to see if the parent is the same as the previous forums parent, and then output relavent code to nest the forum in an actual parent child format:

    Category

    – Forum

    – Forum

    – – Forum

    – – Forum

    – Forum

    This obviously creates havok and rather messy code for the closing of the nestings.

    I realise that for small websites this will look like a formatting issue, but once you reach more than 2 levels in a parent child relationship, the ability to control nested relationships makes a huge difference.

    Thanks for the help folks

    EDIT:

    Ok, i think i’ve found half the solution to the issue, and maybe i can phrase the question better now in BBterms…

    I want to know, via PHP, before any code has been sent to the browser for the forum, if it is a FIRST CHILD or a LAST CHILD.

    Now obviously, BBpress knows this because it’s outputting bb-last-child bb-first-child css, but how can I access these settings on the front-page.php ?

    Thanks alot for all the help

    #4269

    Hello, I have this code (which comes from another support thread here) on my front-page.php:

    <table id=”highest”>

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

    <?php foreach ( $top_topics as $topic ) : ?> // line 70

    <tr<?php topic_class(); ?>>

    <td>“><?php topic_title(); ?>

    </td>

    <td class=”num”><div class=”rating-holder”><?php bb_rating();?>

    <span class=”count”><?php bb_rating_count(); ?>

    </span>

    </div>

    </td></tr>

    <?php endforeach; ?>

    </table>

    And under it the code for latest topics.

    It gives me this error:

    Warning: Invalid argument supplied for foreach() in /home/home1/novapojistovna_cz/public_html/www/bbpress/bb-templates/kakumei/front-page.php on line 70

    Can anybody help, please. Don’t quite understand what is wrong :-(

    Thanks

    #68938

    In reply to: reCAPTCHA for bbPress

    _ck_
    Participant

    Just out of curiosity, what happens if recaptcha.net is down or gets hit by a ddos attack? Do thousands of sites that rely on them suddenly stop being able to register people?

    I need to upgrade my Human Test so it doesn’t rely on sessions and then it should be even more useful for a completely local solution.

    Meraj Chhaya
    Member

    Hi all!

    I run wordpress 2.6 at phonereport.info. I tried installing bbPress 1.0 Alpha so that it could integrate with WordPress, but just as I concluded the installation successfully, I get the following error:

    ‘Parse error: syntax error, unexpected T_STRING in /home/nokisat7/public_html/phonereport.info/test/bbpress/bb-config.php on line 20’

    Line 20 is the following:

    ‘// the value of their equivalent keys in the WordPress file wp-config.php’

    Here is the installation log, I changed the password:

    ‘Referrer is OK, beginning installation…

    >>> Setting up custom user table constants

    Step 1 – Creating database tables

    >>> Modifying database: nokisat7_bbpress (localhost)

    >>>>>> 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)

    >>> WordPress address (URL): http://phonereport.info/

    >>> Blog address (URL): http://phonereport.info/

    >>> WordPress cookie keys set.

    >>> WordPress “auth” cookie salt set from input.

    >>> WordPress “logged in” cookie salt set from input.

    >>> Fetching missing WordPress cookie salts.

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

    >>> User database table prefix: wp_

    >>> User database name: nokisat7_wrdp9

    >>> User database user: nokisat7_forum

    >>> User database password: something

    >>> User database host: localhost

    >>> User database character set: utf8

    Step 3 – Site settings

    >>> Site name: PhoneReport test forum

    >>> Site address (URL): http://phonereport.info/test/bbpress/

    >>> From email address: only.meraj@merajnet.com

    >>> Key master role assigned to existing user

    >>>>>> Username: admin

    >>>>>> Email address: only.meraj@merajnet.com

    >>>>>> Password: Your existing password

    >>> Description: Just another bbPress community

    >>> Forum name: PhoneReport test forum

    >>>>>> Topic: Your first topic

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

    >>> Key master email sent

    Installation complete!’

    Please let me know what else you wish to have.

    There are two different databases: one for the wordpress installation, the other for bbpress.

    Thank you in advance, and keep up the good work!

    #68908

    In reply to: WPMU integration

    Klark0
    Member

    I count the number of blogs and the number of the posts using two queries. All posts from all the other blogs are copied to blog_id 1. So i do like so

    $count_posts = wp_count_posts();
    echo $count_posts->publish;

    and

    $stats = get_sitestats();
    $tmp_blog_count = number_format ($stats[ 'blogs' ] );
    print "".$tmp_blog_count." blogs";

    Can bbpress grab those ?

    #68566
    jonkristian
    Member

    Hm, turns out I still have trouble accessing admin panel in bbpress. Straange, I tested it with login via both bbpress and wp the last time, however now, it doesn’t seem to work. :/

    Regarding the setup, i followed Deadpan’s setup down to the very last line, except that i kept the hash in

    $bb->logged_in_cookie = ‘wordpress_logged_in_ikeptthishashin’;

    #4262

    Topic: reCAPTCHA for bbPress

    in forum Plugins
    dchest
    Member

    I wrote a plugin to add reCAPTCHA to user registration page. (It’s inspired by _ck_’s Human Test.)

    I’ve submitted request to add it to the plugin repository, however 1) the submission form didn’t have any feedback, so I ended up with two identical requests, 2) I didn’t realize you have to put the whole readme.txt to description field of this form. Could someone fix this, and write at least a few sentences describing the submission process?

    Anyway, you can download it from http://www.codingrobots.com/files/bb-recaptcha.zip

    IMPORTANT: You must get an API key from the reCAPTCHA project to use it. See readme.txt.

    Tested under 1.0-alpha1, may not work with previous versions on some PHP deployments.

    See how it works here: http://forum.codingrobots.com/register.php

    Comments and code review are welcome!

    #68590
    Vietson
    Member

    This theme is still under development. I have yet to test the theme out in 1.0. alpha.2. But I will once WP2.7 has a stable release…

    A WP Theme (2.6.3) can be seen at http://idolsavenue.com

    #68636
    johnhiler
    Member

    The bbPress I’m using is on 0.83… upgrading to 0.9.0.2 on a test server, and then testing the integration with WordPress and Mediawiki.

    Once everything is looking good, we’ll migrate the live site to use bbPress 0.9.0.2. Then I’ll install this plugin – excited!

    Yah Mediawiki is tricky stuff. The worst part is that the cookies don’t truly integrate! I used a plugin to get both software reading off of the same bbPress users table… so that works. But you have to re-sign in manually as you click from the blog/boards to the wiki… alas.

    Will keep you posted on the plugin!!

    #68885
    wiseacre
    Member
    #68487

    In reply to: Customizing gravatars

    Okay, having tested it a bunch of different ways, I can’t get it to work.

    I want to make my own image the ‘default’ for the non-gravatard people (which works fine on WordPress).

    In WordPress it’s this:

    <?php echo get_avatar(get_comment_author_email(),50,'http://www.foo.com/gravatar.png');?>

    For bbpress we have this post_author_avatar(); on post.php. Passing the URL into that, either on it’s own or as $default doesn’t work.

    Using echo bb_get_avatar( bb_get_user_email(post_author()), 48, 'http://www.foo.com/gravatar.png' ); didn’t work.

    I’m gonna keep tossing stuff up against the wall for now.

    #63064
    _ck_
    Participant

    Okay this one is testing working.

    For anyone else that wants to use this, you have to replace the domain name by hand. It’s hardcoded for speed, sorry.

    All other target=”_blank” plugins should be uninstalled. Any existing links with target=”_blank” will be left in place for performance since target is not added by bbPress by default.

    <?php
    /*
    Plugin Name: Target Nofollow External Only
    Description: append target="_blank" and rel="nofollow" only on external links
    Plugin URI:
    Author: _ck_
    Version: 0.0.1
    */

    add_filter('post_text', 'target_nofollow_external_only',999); // unfortunately we have to do this on every page load and not in pre_post

    function target_nofollow_external_only( $text ) {
    $domain="travel-writers-exchange.com"; // domain to exclude from target and nofollow
    $text = preg_replace('|<a (.*)rel=['"]nofollow['"](.+)?>|iU','<a $1$2>', $text); // strip ALL nofollow
    $text = preg_replace('|<a (?=([^>]+http://))(?!([^>]+'.$domain.'))(.+)>|iU', '<a $3 rel="nofollow" target="_blank">', $text); // add back in when needed
    return $text;
    }
    ?>

    I’m not happy about the performance of this technique because it has to be done in post_text for every time a page is displayed, but there’s no other easy way around bbPress/WordPress’s unfortunate use of make_clickable with hardcoded “nofollow” in post_text.

    #4251
    irr1449
    Member

    I’ve added a “geo” field to the topics table that contains latitude and longitude data for each topic. The topics table now contains lat/lng from different cities all over the US.

    I’ve modified forum.php to take latitude and longitude GET parameters to use as a “center.” Then I select topics within range of X miles and order by distance from “center.”

    To hack this in I wrote a new function in classes.php called generate_geo_topic_sql. This worked enough so that I can test my idea, but its not a long term solution.

    So now I need to somehow integrate this query into generate_topic_sql. I still want to retain the original functionality, but just create a different view if I’m using a “center” point.

    This is the query. You can not run multiple statements at once in PHP so each of these queries need to be executed separately.

    SET @center = GeomFromText(‘POINT(” . $lng . ” ” . $lat . “)’);

    SET @radius = 1;

    SET @bbox = CONCAT(‘POLYGON((‘,X(@center) – @radius, ‘ ‘, Y(@center) – @radius, ‘,’,X(@center) + @radius, ‘ ‘, Y(@center) – @radius, ‘,’,X(@center) + @radius, ‘ ‘, Y(@center) + @radius, ‘,’,X(@center) – @radius, ‘ ‘, Y(@center) + @radius, ‘,’,X(@center) – @radius, ‘ ‘, Y(@center) – @radius, ‘))’);

    Then this was the “hack” query that I wrote to get it to work. I dumped the SQL from the original generate_topic_sql and grafted on what I needed.

    SELECT t.*,SQRT(POW( ABS( X(t.geo) – X(@center)), 2) + POW( ABS(Y(t.geo) – Y(@center)), 2 )) AS distance FROM bb_topics AS t WHERE t.topic_status = ‘0’ AND t.topic_sticky != ‘2’ AND t.forum_id = ‘” . $this->query . “‘ AND Intersects( t.geo, GeomFromText(@bbox) ) AND SQRT(POW( ABS( X(t.geo) – X(@center)), 2) + POW( ABS(Y(t.geo) – Y(@center)), 2 )) < @radius ORDER BY distance ASC LIMIT 3

    The problem is that paging does not work (and a few other things) in my hackjob function. I need to find a way to integrate this into the regular function so that I can maintain all the functionality.

    Any suggestions?

    #63060
    _ck_
    Participant

    Well we could cheat and make the plugin skip links that have your domain name or no http:// in it.

    function bb_target_blank( $text ) {
    $text = preg_replace('|<a (?=http://)(?!travel-writers-exchange.com)(.+?)>|i', '<a $3 rel="nofollow" target="_blank">', $text);
    return $text;
    }

    This is untested.

    It’s a fancy regex feature called negative lookahead.

    Try it and see what happens.

    Doing nofollow for only externals is essentially the same thing, I’ve added it to the replacement above.Make sure you have no additional tweaks for nofollow. I don’t think it’s on by default? If so, try

    remove_filter('post_text', 'bb_rel_nofollow');
    remove_filter('pre_post', 'bb_rel_nofollow');

    #66115

    I noticed that the cookie & secret related data changed between WordPress 2.6.2 and 2.6.3. Now I am able to find the information that bbPress 0.9.0.2 requests when attempting to integrate with WordPress.

    Does this mean that WP 2.6.3 fixes the cookie-related issues that led to the edict “Do not try to integrate WP 2.6 and bbPress 0.9”? Or is that still a bad idea?

    and no, I haven’t tried to integrate the two in my latest install. I’m still trying to deal with some of my other install issues. I’ve stopped trying to integrate until I actually have the forum working.

    #68633
    _ck_
    Participant

    Don’t send $500, that’s crazy. Well unless that’s a single day of your adsense or something, lol. Donate here.

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

    Make sure you install the Human Test plugin with it.

    #68630
    _ck_
    Participant

    I suggested they change this in the core long ago and let the user choose passwords while sending only an activation link via email.

    If you don’t need them to verify via a link in the email this could be written in an hour as a plugin. The code for password entry with re-entry verification can be lifted from the 1.0 alpha source.

    I do recommend you use my Human Test plugin however.

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