Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 7,826 through 7,850 (of 11,591 total)
  • Author
    Search Results
  • #92177

    In reply to: Spam

    Captcha’s are by and large a real pain; and they’ve been mostly written off since late 2008, as they somewhat assume that everyone is fully-abled and is using a modern browser on a modern computer with everything turned on.

    http://www.w3.org/TR/turingtest/

    As a colour blind dyslexic, captcha = i can’t post.

    The crux of it is this:

    Your/Our/Any website letting in spam is not your user’s fault. If you want people to post, don’t annoy your them by making them do extra work to compensate for [you or your software] not being good at moderation. ***

    Also, Captcha’s don’t stop human spam, which is on the rise, but they do turn away genuine users from even posting.

    Further Reading:

    pkr3
    Member

    Chris,

    OK. I will ask the host provider to look into the SSH and confirm, again, the home path.

    Here are the latest attempts in bb-config.php. See anything unusual?

    # 1. No errors, but forum page is blank (after removing the code, bbPress forum becomes visible again, of course).

    define( ‘BB_LANG’, ” );

    require_once(‘/home/content/08/123456/html/website/wp-load.php’);

    ?>

    # 2. Here’s entered code with removed quotes. Causes error on forum page (see below).

    define( ‘BB_LANG’, ” );

    require_once(/home/content/08/123456/html/website/wp-load.php);

    ?>

    Parse error: syntax error, unexpected ‘/’ in /home/content/08/123456/html/website/bb-config.php on line 66

    Thank you. Hopefully we’re narrowing it down.

    #34931

    Topic: Topic tooltips

    in forum Plugins
    ianhaycox2
    Member

    Hi,

    A themes front page usually displays the latest discussions, but with many forums there is no context to each topic listed so the topic title is often meaningless. E.g. a topic title of ‘Help’ does not invite the viewer to click the topic to see the posts.

    I’d like to add a title=”first part of post…’ attribute to the <tr> tag of each topic in the list.

    I tried adding a filter to topic_class(), to fudge class=”xx” to class=”xx” title=”yy” but alt_class() has no filters. My other approach was to add a new function to the theme, e.g. in kakumei

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

    and in functions.php

    function topic_tooltip() {
    $topic_id = get_topic_id();
    echo ' title="'.$topic_id.'"';
    }

    but I’m struggling to work out how to get the current post available to display an extract of the first post of the topic.

    Any help really appreciated.

    Ian.

    pkr3
    Member

    Good News: WordPress operating successfully. bbPress forum operating successfully. “Integrated” (NOT “deep” integrated) bbPress and WordPress successfully.

    Bad News: 12 hours effort to “Deep Integrate” so WordPress theme can be used in bbPress, etc.

    The “require_once(dirname(__FILE__) . ‘/../wp-load.php’)” command line, when executed exactly as instructed inside the “bb-config.php” file (as shown by theme company, WordPress codex, bbPress Forum and Docs) brings up errors when the forum page tries to opens. Removed the Deep Integration code and the bbPress forum page pops back up.

    Facts:

    1. Databases are separate; but regular integration works fine.

    2. All kinds of advice to no avail (i.e. putting code at top of .php file, removing forward slash before root, etc. etc.

    3. Company programmers where I host did test on different server using basic WordPress and bbPress and attained exact same results. Not a directory issue, not a database issue, not a server issue. They also tried other methods/versions of the “require_once” code but kept getting same errors.

    4. WordPress and bbPress are latest versions. WordPress is the brand new 3.0.1…requires different/new “deep integration” coding?

    5. Basic integration works so the database/directory addresses are correct.

    I have searched the forum and internet for solutions, prior to adding this post/topic, to no avail. Blindness and insanity creeping in…probably not due to this issue.

    Thank you. Thank you. Thank you!

    __________

    The errors below are what we ALL are getting on our forum page(s) when attempting to Deep Integrate. (In the errors below “DBnumber” = “undisclosed database number” – AND – “websitename” = “undisclosed website name.”)

    ___________

    Warning: Division by zero in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Warning: Division by zero in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Warning: require_once(0php’) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Fatal error: require_once() [function.require]: Failed opening required ‘0php’’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    #92079

    Found out a way! Will get back after testing ;)

    _ck_, I am still interested in your bbdb tool, let me know :)

    #90179
    mr_pelle
    Participant

    Is 1.1 coming out soon?

    At the moment we still have 4 tickets to close.

    I suppose there will be a beta release in late autumn (I hope so), since more testing is definitely needed!

    #77022
    zaerl
    Participant

    Always wrap PHP code inside script tags

    <script language="PHP">echo phpversion()</script>

    also remember to make the change explained here: https://bbpress.org/forums/topic/admin-can-paste-php-code-in-post?replies=28#post-71965

    Can you please explain what do you mean about production environment?

    A public site. The code isn’t tested at all.

    #91742

    In reply to: Facebook Connect Help

    nickaster
    Member

    okay right, thanks!

    Looks like I had a different FB connect plugin running (JAvier Reyes’)

    I installed the Adam Hupp one called WP-FacebookConnect and activated it with API/Secret in place. Still no luck on that page:

    http://www.triplepundit.com/wordpress/fbtest.php

    One idea – I have Disqus running on the main blog for comments. It seems to override the facebook connection there. Could it be screwing it up elsewhere too?

    #91740

    In reply to: Facebook Connect Help

    nickaster
    Member
    #91805

    Works for me on latest Firefox and Chrome on Windows (XP i think, am at a client site)

    #91739

    In reply to: Facebook Connect Help

    Try uploading a file named fbtest.php with the following content in the folder where your WordPress resides.

    <?php
    /* You can delete this file safely.
    It was just to check if its conflicting with other WP stuff - Ashfame */
    require 'wp-load.php';

    if ( function_exists('jfb_output_facebook_btn') )
    {
    jfb_output_facebook_btn();
    jfb_output_facebook_init();
    jfb_output_facebook_callback();
    }

    ?>

    This should bring up the FB button if everything is fine at WP side.

    #34874
    zthornto
    Member

    Hey All

    Looking for a way for the admin to approve any newly registered users using the latest version of bbpress.

    I know there’s a plugin out for this, but it doesn’t seem to work past version .9

    Has anyone figured out a way to do this (or a workaround) that works for version 1+?

    This is very vital to the forums I’ve set up so I’m really hoping there’s a fix out there!

    thanks in advance for any insight

    #91769
    chrishajer
    Participant

    1. The warnings are from using PHP 5.3 on Windows (normally.) If you can use PHP 5.2 that would be better. If not, you can download the latest trunk version instead of 1.0.2 as the warnings will not occur with that version.

    2. If bb_ tables are present in the database you are using when you go to reinstall, the installer will complain that bbPress is already installed. So, drop the bb_ tables or use a different database.

    3. Where is your forum actually installed?

    http://www.happybod.com/happybod_web/forum/

    or

    http://www.happybod.com/forum/

    I am guessing it’s the 2nd location since the first looks like it contains the file system path from your host. Your WordPress files are probably installed in the happybod_web folder and accessible at http://www.happybod.com/ (right?) If so, and you placed a “forum” directory inside happybod_web, at the same level as wp-config.php, then your forum will be located at http://www.happybod.com/forum/

    #91629

    Ash mate, you know how much I like you and your work, but that poll is never going to give even close to an accurate figure. To start with you don’t know why people are voting for each one, or how often, or who’s voting.

    I mean, Matt came on here and said that 0.9’s not been looked at in a long time and BAM 1.1 starts to get more votes. Matt forgets to mention, the 1.0 branch has had the same number of releases in the last year as the 0.9 branch: namely 0 !!

    How much the 0.9 version has actually gone through testing and how much we can be confident it being secured.

    Well it’s had 2 years more testing than 1.0 in the wild, and generally (apologies in advance) by people who are happier coding/debugging/ working without a GUI than the folks using 1.0 branch. Plus, the WP forums were running 0.9 until last August (at least), so it was known to be very secure then.

    I know it may contain bugs, any code can but my curiosity lies in the testing & use it has gone through already.

    A sh*t load more than 1.0.

    Rememebr 1.0 was (another) rewrite decreeed from “above”, and we cancelled all Beta testing, and it took 10 alphas to even get useable (pres Alpha6 isn’t compatible with after-alpha-6), and broke most plugins etc. The process of getting 1.0 out the door also led to some of the real wizards leaving the project behind (see Chip Bennet, Justin Tadlock, JJJ, _ck_ etc), and released it in a week, and we released an update to 0.9 at the same time as 1.0’s last update :)

    In my opinion, as someone who uses both; 1.0 only has 2 things going for it: The Admin section and it has more Actions/Filters.

    Replicating actions/filters into 0.9 is easy. As _ck_ said, getting a nice looking UI into 0.9 is a mini project.

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

    1.1 has some good work, nae, some great work.

    It also has some rusheed work, to get it out the door for testing.

    It has at least 1000 lines of changed code last I checked (and that wasn’t today or yesterday) and we still have 10 tickets open – all before we release for Alpha testing, and all before we get a new package of BackPress released (in theory) after WP3.0.1’s release.

    If we finished all of those tickets this week, and packaged an Alpha testing release for Monday, there is no way 1.1 will be released before September. Infact, we’re looking at a late-September/October release at a minimum, unless we skip testing and bug fixes (again).

    Lets take our time and look at 0.9 objectively when 1.1 is close to coming out. Rushing into forks is just as dangerous as rushing into WP-reliant plugins :)

    Ash mate, you’re a very smart guy. Go grab a busy forum and duplicate it on your machine, and convert to 0.9. You’ll very quickly see some of the small issues with it, but you’ll also be amazed at just how quick and robust it is.

    #91627

    @_ck_

    How much the 0.9 version has actually gone through testing and how much we can be confident it being secured.

    I know it may contain bugs, any code can but my curiosity lies in the testing & use it has gone through already.

    If considered a fork, I think we need a few people on whom the people can count on for security updates.

    What do you think?

    #91724
    XU3E
    Member

    For example “test” and it find nothing…

    [solved] It looks like it was fault at user role capabilities. But I am not sure.

    #91753

    _ck_,

    More truly excellent work.

    I offered a different solution though, it’s a geneology plugin thats currently with a few folks for testing. It is far from as elegant as this (though it’s scope is wider).

    One of the things that I’ve “diskiked” about bbPress is lack of support for heirarchies. I know you’ve written some excellent code for finding the last poster for forums with sub forums before, but like the code above, they’re all workarounds.

    It also makes it difficult for theme developers to get on board when wanting to call basic API functions for “last poster” for a forum or topic etc. At some stage, I’d love a discussion on small things like this where we could improve bbP0.9

    #34860
    _ck_
    Participant

    I’ve noticed that depending on the site configuration, many times plugins or template designs will require information about the first poster in a topic or the last poster.

    The problem is that bbPress unfortunately (even in 1.1) only caches the post authors that are on the physical page you are on. So it causes two “out of flow” queries (one for user, one for usermeta) for each of those authors (first, last).

    This means up to four needless queries are added depending on the topic page number (not first or last is the worst hit).

    Even worse there is no direct filter/action on that process so it cannot be affected directly.

    However I’ve come up with a workaround using a trick,

    by catching the actions before and after the process.

    I’ve only tested this on 0.9, but in theory should work in 1.1

    if (is_topic && !is_bb_feed()) {
    add_action('bb_topic.php_pre_db','usercachefix_load');
    add_action('bb_topic.php','usercachefix_unload');
    function usercachefix_load() {add_action('get_forum_where','usercachefix');}
    function usercachefix_unload() {remove_action('get_forum_where','usercachefix'); global $posts; unset($posts['first'],$posts['last']);}
    function usercachefix($x) {global $topic,$posts; $posts['first']->poster_id=$topic->topic_poster; $posts['last']->poster_id=$topic->topic_last_poster; return $x;}
    }

    Make it into a mini-plugin and give it a try.

    You really only need it if you are showing info about the first and/or last poster on every page of the topic.

    You should see the query count go down by two to four queries on the page.

    Or use bb-benchmark to more closely examine the queries and look for multiple calls to the user-table and usermeta-table.

    #91517

    In reply to: Better Profiles….

    nickaster
    Member

    So… anyone got a clue what might be missing here? Here’s the test forum – http://www.triplepundit.com/forum … I suspect I’m missing something in one of the templates?

    #34858
    XU3E
    Member

    Filtering (searching) of users in admin is not working properly… Yeah, is not working at all.

    The Latest version with BP and WP 3.0.

    #91567
    Marius-
    Member

    Smartest thing I´ve ever said.

    #91560
    Marius-
    Member

    So Social It is what causes this problem?

    How come all other topics looks okay? But this topic suffers, and all others created afterwards?

    I just created three test topics which all suffered from the same bug.

    #77641
    zaerl
    Participant

    Of course. I was ironic.

    #77640

    Well, bbPress as a plugin is official bbPress fork. ;)

    Ha :)

    It’s really not.

    It’s a totally new progam with the same name.

    #77639
    Milan Dinić
    Participant

    There’s an official bbPress fork?

    Well, bbPress as a plugin is official bbPress fork. ;)

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