Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 3,551 through 3,575 (of 11,589 total)
  • Author
    Search Results
  • Omar
    Participant

    Hi Robin W, thank you for providing the above code! It is just what I’ve been looking for!

    I have a question. When I was testing, I noticed if I entered invalid login info, there was no redirect or error message, but it did display that in my address bar. What accounts for what happens on login failure?

    Here is a sample that displayed in my browser after login failure:

    Upside

    The site I’m testing on is this one:

    http://www.rashedlightsways.com

    Also, small second question. It happens often that I’m on a site that I *think* I’ve registered on, but haven’t. If someone enters a login that is not correct AND that username doesn’t currently exist, is there a way to redirect to the registration page WITH that username?

    So, for example, I type in username: MyFaveUser pw: 1234, and it doesn’t exist in my user table, so the user is redirected to “Hey, MyFaveUser doesn’t exist, but you can register with it! It’s available!” and then autofill the username field with MyFaveUser and leave the pw field blank?

    I’ve been trying to bridge together new user registration and login in one field, and thought that might be a way to do it.

    Thank you so very much!

    – Omar
    “Let Your Light Shine”

    #162985
    #162950
    ns
    Participant


    Wordpresss: Latest version
    bbPress: Latest version
    design theme: Original building

    I have one question.
    In the page “Forum Replies Created”, can I show my replies data only?
    If I can, which php file is, and how do I change code?
    Or if I need to apply certain WordPress plugin, what is it?

    The page “Forum Replies Created” shows all replies data which contains my relied data.
    I’d like not to show other user’s replies data.

    #162924
    johodges
    Participant

    Thank you, Robin. I had done a post of my own to test, which worked. However, it now seems to be solved due to an update on Simple WordPress Membership (at least, it’s now visible, which is a relief). Fingers crossed!

    #162912
    Robin W
    Moderator

    so we need to work out if

    a) it is this individual post
    or
    b) the first reply of any topic

    You’ll need to do some testing to establish which and come back

    #162905
    johodges
    Participant

    I have set up a website for a local horticultural society with a forum restricted to society members. For the forum, I’m using bbpress; for the membership registration I’m using Simple WordPress Membership. I’m using the customizr theme and the latest version of WordPress. My problem is that, with our 1st topic, the first reply is hidden. I cannot find a way of unhiding it. I’ve posted a reply myself, which is visible, and tried reposting the text of the hidden reply. When I do this, I get van email altering me to the reply but still nothing is visible on the website. Please can someone help? The website is http://www.growchiswick.org.

    Many thanks,

    Jo Hodges

    #162878
    boriskamp1991
    Participant

    Hi guys!

    looking at these forums, I can see the @name name is printed beneath the profile picture.
    How can I turn this on in my website?
    I’ve uploaded a beta of my website here

    Is there an auto suggestion option for the mentions?
    example, if somebody starts typing @bor he/she will be suggested @boris-kamp?

    Thanks!

    #162874
    samuel-guzman
    Participant

    I just installed bbpress on a brand new site. I have created a couple of test forums and topics. On the forum root it shows that there are topics and posts in the forums. However, when I click on a specific forum to view the topics, I get the following message: “Oh bother! No topics were found here!”

    By way of troubleshooting, I tried another WordPress theme. It worked, and the forums displayed as they should. Is there a way I can keep my current WordPress theme from conflicting with bbpress? I have no idea what is causing the conflict, only that it is being caused by the theme I am using. I don’t want to change themes, either.

    #162824
    PinkishHue
    Participant

    This plugin is great (from what I’ve seen so far while testing)

    Thanks for posting the link.

    I hope this sort of feature can become part of the core bbpress plugin in future.

    PinkishHue
    Participant

    It does seem tricky to set this sort of thing up (hopefully to be improved in future versions of bbpress?).

    One way to do this, although not the most robust option, would be to simply hide the new topic form for everyone but keymasters/admins when viewing that particular forum.

    I will assume you are accessing your new topic form when viewing the individual forum (it’s trickier if you are using the new topic form where you choose which forum to post to instead of/as well as individual forms in each section. This is what’s used here on the bbpress.org forums for example. If you need a solution for this as well let us know, I’m sure someone can explain how to do that)

    This is just off the top of my head and not tested (hopefully someone more experienced will be able to advise better) – in wp-content/your-theme/bbpress/form-topic.php (create this file if it’s not already in your theme, copy the original from wp-content/plugins/bbpress/templates/default/bbpress/

    At the top of the file, after this code:

    <?php
    
    /**
     * New/Edit Topic
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>

    Add this code to check if you are in your news forum (here I’ve used forum id ‘5’ as an example, you’ll have to find the specific id for your forum) and if the user is an admin (there may be a better to do this using the keymaster role instead of the usual WP role but I don’t know about that):

    <?php if ( bbp_is_single_forum( '5' ) && current_user_can( 'manage_options' )) : ?>

    Then at the very end of the file close the if statement by adding this:

    <?php endif; ?>

    That should work as far as I know but I am still finding my way with bbpress so can’t say for definite. Good luck!

    #162803
    tourdecartes
    Participant

    Hello,

    My search function didn’t work for a good while (a search was redirecting to the homepage), and I realized today that it was an issue with buddypress or plugins I used with buddypress.
    Now that I disabled Buddypress, I can now search the forum again but unfortunately, the search results are protected by a password.
    I use s2member to protect one of my forum, so it is only accessible to subscribers, but all the other forums are opened. I tried to lift the s2member block of the subscribers forum but still the same thing happens anyway.
    I also tested the issue with twenty fifteen and the same thing happened.

    I am using bbpress Version 2.5.7, WordPress Version 4.2.2
    Site is http://www.tourdecartes.com

    Any help would be greatly appreciated 🙂
    Emmanuel

    Robkk
    Moderator

    hmmm you might need @netweb’s help on this one.

    You might need to update phpBB (but not to the latest 3.0) but I am not entirely sure.

    mmice
    Participant

    I just ran a test, – tried to import just 2 replies (by DB), – see white page (No data received ERR_EMPTY_RESPONSE) @ the “Replies” section in admin.
    After i ran “Recalculate the parent topic for each post”, “Recalculate the parent forum for each post”, “Recalculate the position of each reply” – problem get fixed.

    Now i import all the 3M+ replies. I’m able to run only “Recalculate the parent topic for each post”, “Recalculate the parent forum for each post”. “Recalculate the position of each reply” fails with white page. The “Replies” section in admin is white (((

    ns
    Participant

    Hello.

    I’d like to solve problem.
    Would anyone answer to my problem?

    Firstly, the conditions of WordPress, bbPress, design theme, plugin, and function.php are below.
    Wordpresss: Latest version
    bbPress: Latest version
    design theme: Original building
    plugin: introduced “bbPress – Sort topic replies”.
    The settings of this plugin are “Global:Descending”, “No Parent:Default”, and “Always show lead Topic:Yes”.
    function.php: Below code exists.

    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    function change_reply_order() {
    	$args['order'] = 'DESC';
    	return $args;
    }
    
    add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
    function custom_bbp_show_lead_topic( $show_lead ) {
      $show_lead[] = 'true';
      return $show_lead;
    }

    Then, here is main topic.
    The function of bbPress itself is that after the user replies to the parent topic in topic page, next screen shows the last page(the page of max number) if the pagination shows.
    With the setting of “bbPress – Sort topic replies” plugin is under “Global:Descending”, the redirection which I expect is to go to the first page.
    I think that this solution isn’t https://bbpress.org/forums/topic/new-replies-redirect-to-last-page/

    I’ve searched and tried to solve the problem, however I can’t find the solution.
    I wonder my current settings or ways might be wrong.

    Thanks.

    #162706

    Same Issue, I am using the latest version of bbpress and buddypress.

    Strict Standards: Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /Applications/MAMP/htdocs/supernova/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28

    #162670
    Kennon1st
    Participant

    I’ve been working hard at setting up a site for my podcast and things had been going swimmingly, but while looking around at some RSS feed import widgets and such today, somehow I seem to no longer have working BBpress forums. It doesn’t seem like it would be related, but who knows?

    The forums still show in my dashboard, and I was able to create a forum page by hand and get it to show the index with shortcode, but when I click on any of the forum links, it gives me a page not found error. It seems to do so even if I swap to one of the bundled 201x themes.

    The RSS widget I was testing out is RSS Multi Import 3.15 and I’m running WordPress 4.2.2 with the Generate Press theme 1.2.9.8 and BBpress 2.5.7. Website is http://www.whitebookpodcast.com.

    I’m a quite a newb to delving in to WordPress stuff, so I have to admit that I’m at a loss. Any thoughts on possibilities?

    #162664
    Shmoo
    Participant

    That’s why I installed it.. Testing the code and by the time my forum is done bbPress 2.6 will be released I hope.
    But still, a missing core stylesheet?

    Some developer who has worked last on the code should’ve mentioned it don’t you think, maybe the developers have some fancy tool where they test/fork the alpha and beta versions with?
    I just downloaded the latest version (trunk) of the trac website.

    https://bbpress.trac.wordpress.org/browser/trunk ( bottom – download .zip )

    #162660
    saju746
    Participant

    Hello Friends, I need your help. How to get the latest reply on the top of the page. I tried a lot. But not got the solution. Where is the SQL has been written for getting the latest replies on top. Help me out please 🙁

    #162656
    Shmoo
    Participant

    Why is this topic not showing at index page? -test.

    #162640
    wplove3268
    Participant

    I’m implementing derricksmith01’s solution but I couldn’t find this file in the latest version of buddypress (Version 2.2.3.1):
    /buddypress/groups/single/plugins.php
    but found it here:
    plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/plugins.php

    His solution worked (awesome!!!!) but only when I modified both my functions.php file in my child theme and the plugins.php file in the core files. The plugins.php mod will get erased with the next buddypress update. I tried recreating the same file structure to house the plugins.php file in my child theme:
    childtheme/buddypress/bp-templates/bp-legacy/buddypress/groups/single/plugins.php
    but that did not work either.

    Any one know if derricksmith01’s fix is possible without changing a core file?

    #162630
    Robin W
    Moderator

    Great thanks – it should work, just I haven’t tested !

    aaronos
    Participant

    Hi there – thanks so much for your help so far. I did some more tests and I just cant get it to work (so looking forward to your template or codex changes.

    To summarise:

    1. I was only using WPtweaks to tell it which page to use as a template but no matter which one I told it to use – it didnt work. Have since de-activated

    2. If I add the short-code to a custom page using the page.php code it works

    3. It doesnt matter if the default forum uses index.php or page.php – it doesnt work.

    4. I have sequentially copied pages.php and index.php and made them bbpress.php and each time I can see that the default forum is using it, and each time it doesnt work

    So i guess I need a generic index.php that will work (which I think you said you were producing) OR some workaround so the generic forums page doesnt appear in the directory path

    #162497
    Robkk
    Moderator

    did you copy it correctly I just tested it out and pasted it right from my functions.php file

    Im going to paste it again just in case it was me that forgot something.

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    #162495
    Robkk
    Moderator

    use this PHP function to resize the small avatars

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);

    The CSS you would have to use now is

    #bbpress-forums .bbp-author-avatar .avatar-24 {
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
    }

    and you can remove the first function i gave you to test with

    #162446

    In reply to: Searching by user

    Robkk
    Moderator

    @van24

    yeah i tested it and it seems to work good.

    and yes the PHP code snippets you can add to a child themes functions.php file.

Viewing 25 results - 3,551 through 3,575 (of 11,589 total)
Skip to toolbar