Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 3,826 through 3,850 (of 11,598 total)
  • Author
    Search Results
  • #158855
    Robkk
    Moderator

    Per forum moderation is noted for a future release of bbPress, i think they are going to test it out on wordpress.org first.

    https://bbpress.trac.wordpress.org/ticket/459

    #158850
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #158829
    iop789
    Participant

    I have all the latest software and my site is

    #158801
    Robkk
    Moderator

    alright so basically it does what this plugin does

    https://wordpress.org/plugins/page-links-to/

    your forum title will show like any normal forum but if you click it , it will link to whatever you want.

    works pretty good when i tested it out, it wont show in the status drop-down though it will show in another meta-box somewhere below the post content.

    #158797

    In reply to: Post submission hooks

    Robkk
    Moderator

    @s1r0n

    i tested it out on your site and see its working better

    its not really a honeypot field though

    how a honeypot field is supposed to be is invisible to the users on your site and is not required for input for the user.

    its a hidden input field that if it has any type of dummy information from spam-bots injected , it should stop the next action that the spammer is trying to do.

    the way your code is arranged its close to these two plugins

    https://wordpress.org/plugins/growmap-anti-spambot-plugin/ ( probably no bbpress compatibility)
    https://github.com/studiohyperset/bpress-no-captcha-recaptcha ( still in development)

    you might want to go to the bbpress nocatpcha plugin (when its done being developed) if you think it works better for what you need.

    since you/robin found half the code im going to try to make a honeypot using these two plugins for the other half

    wordpress.org/plugins/registration-honeypot/
    wordpress.org/plugins/zero-spam/ (i dont know about bbpress compatibility yet)

    also @s1r0n what do you mean by custom meta tags, like explain exactly how you want it so i can see if a normal seo plugin cant do this already.

    #158792

    In reply to: Post submission hooks

    s1r0n
    Participant

    Ah you’ll have to do that again. the code above has a line commented out that shouldn’t be. sorry for the hassle

    add_action('bbp_theme_after_topic_form_content','lp_add_honeypot');
    add_action('bbp_theme_after_reply_form_content','lp_add_honeypot');
    function lp_add_honeypot() {
    
        if (is_user_logged_in())
            return;
        ?>
    <p>
        <label for="lp_post_honey_pot">I am a robot (yes/no)</label><br />
        <input type="text" value="" tabindex="103" size="40" name="lp_post_honey_pot" id="lp_post_honey_pot"  />
    </p>
    <?php     
    }
    
    //https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-includes/post.php#L0
    add_filter('wp_insert_post_empty_content', 'lp_check_honeypot', 10, 2);
    function lp_check_honeypot($is_empty, $postarr) {
        
         if (is_user_logged_in())
            return false;
        
    
        if ($postarr['post_type'] == 'topic' || $postarr['post_type'] == 'reply') {//only do this for bbspress
            if ($postarr['bbp_post_as_submitted']['POST_lp_post_honey_pot'] == 'no') {
                return false; //treat this post as good
            }
    
            return true;
        }
        return false;
    }

    I only need this to work for users who are not logged in, guests, so i’ve added a couple of lines to turn this off when users are logged in. if you want to test even registered users just leave those lines in.

    When I have a bit of time I’ll look into bbpress errors and find a way to set an appropriate error message.

    Have fun and let us know if you use it and it works for you or not

    #158705
    Robin W
    Moderator

    would definitely be worth you changing that back as a test and seeing if that fixes.

    #158693
    Robin W
    Moderator

    why not just have one form, referenced by a button at the top.

    function bsp_create_new_topica () {
    	 $text='Create New Topic' ;
    	if ( bbp_current_user_can_access_create_topic_form() && !bbp_is_forum_category() ) echo '<div style="text-align: center;">  <a href ="#topic">'.$text.'</div>' ;
    	}
    
    function bsp_create_new_topicb () {
    	echo '<a name="topic"></a>' ;
    	}
    
    	
    add_action ( 'bbp_template_before_single_forum', 'bsp_create_new_topica' ) ;
    add_action( 'bbp_theme_before_topic_form', 'bsp_create_new_topicb' ) ;
    
    

    (not tested as its cut down code from one of my plugins)

    adds a link which lets you add a link to the top of the page which sends you to the bottom, which you can easily make a button.

    add to your functions file https://codex.bbpress.org/functions-files-and-child-themes-explained/

    or take the guts into the template you’re amending.

    You could probably send it to a collapsing div at the bottom if you tinker

    That way you only have one form

    #158691
    Robin W
    Moderator

    ok, it’s working fine on my test site with bbpress and twentyten.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #158688
    Robin W
    Moderator

    ok, I’ve just finished coding a ‘latest activity’ widget that should do what you want.

    I’ve added it to my bbp-style-pack

    https://wordpress.org/plugins/bbp-style-pack/

    which you can load to the site and just use (there’s lots of other stuff in there), or if you’re code savvy, you can fork it form includes/widgets.php into your functions file

    Hope you enjoy it !

    #158676

    In reply to: Forum Setup

    Alice Kaye
    Participant

    Thank you @Robkk! This is exactly what I was looking for. Love the styling pack too, that will definitely help get this going the way I want. Installed your loop-forum.php and it looks fantastic.

    Only question I have is, how do I modify it to say ‘Latest Post’ rather than ‘Freshness’. Though I’m not sure you can help me with that. Going to do some digging and see if I can find an answer.

    #158668
    monaafifi
    Participant

    Hello regarding you issue, I have downloaded a newer theme ALizee, and it kind of solved all the issues you addressed, the “create group” icon now appears also the latest topics posted appears.
    Also by accident I have “un ticked” the below:
    – Automatically add new top-level pages to this menu
    – Primary Menu
    – Social
    in the menu setting and it worked well.

    If you still can’t view forum, you can create new page call it forums and in the html “txt” write [bbp-forum-index] and it will appear

    #158648
    van24
    Participant

    Hi everyone

    Most of our forum counts on the homepage are OK, but the first forum is displaying 8,343 Topics and 8,343 Posts. It should be more like 8,343 Topics and 40,000 Posts. I have tried using the repair function to recount the topics and posts, but it hasn’t helped.

    I also tried deactivating all plugins except bbpress and switching to the 2014 theme. But the posts are still being counted incorrectly.

    We’re using all the latest versions of WP, BBP etc.

    Does anyone have any other suggestions that I can try? Thanks!

    #158622
    Rivaldo08
    Participant

    Yes and no.

    That widget shows every reply, so if topic 1 is really active, it shows the last five persons who wrote in that topic – i just want to know who wrote the latest reply in one topic

    Topic 1 – last reply by XXX
    Topic 2 – last reply by ZZZ
    Topic 3 – last reply by XYZ

    So what I want is like a merger between the two widgets. I want to show the latest topics (based on the latest replies) and the author of the latest reply.

    #158617
    Robin W
    Moderator

    sorry, have now just looked at this again

    Isn’t this just the ‘latest replies’ widget that you need to use, or how does your request differ?

    #158606
    Robkk
    Moderator

    give me your theme name

    I have tried using all of the bolded .php page options as well as copying the single.php into the bbpress plug in php page.

    to me this sounds like your not doing it right

    follow this guide

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    and this too

    https://codex.bbpress.org/theme-compatibility/

    it could also be a theme or plugin issue.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #158605
    Robkk
    Moderator

    the bbpress.org editor is what bbpress has by default you can activate the editor in settings>forums.

    other than that you can see what is causing these weird issues .

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #158575
    Robin W
    Moderator

    sorry no definition of ‘bbPress ready themes’ it simply means that the author has written ‘bbPress ready themes’ on his blurb.

    Usually means that the theme has been tested with bbpress and recognises it in the theme page files.

    Many themes work well with bbpress, some are too ‘clever’ and don’t play well.

    #158572
    Robin W
    Moderator

    you should have breadcrumbs and searchbar by default

    for searchbar look in

    dashboard<settings>forums>forum features and make sure that ‘search’ is ticked.

    Your theme can prevent breadcrumbs from showing, as can other plugins

    Themes

    As a test switch to a default theme such as twentytwelve, and see if this fixes.

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    #158569
    Robin W
    Moderator

    I understood up until

    after which point the oldest posts get replaced by the newest?

    I expect you can limit a forum to only show the latest 50 topics, come back if that is what you want

    #158567
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #158561
    Rivaldo08
    Participant

    Hello!

    Sorry if this question has been asked before, but I couldn’t find the solution anywhere.

    I got a little problem. I’ve got a widget, that shows the five latest topics with replies – but it shows the topic author rather than the author of the latest reply. How do I get it to show the author of the latest comment?

    mw360
    Participant

    Forgot to add: Using 4.1 and the latest version of everything

    #158533
    Robin W
    Moderator

    The tests I suggested are to find the error, I am not expecting you to stay without them.

    If you follow the tests, then if the forums work with just bbpress as the only plugin and your theme, then bbpress is conflicting with another plugin, hence you add back until you find which one, THEN you come back and let us know.

    If even the above doesn’t work, then bbpress you change to a default theme such as tewntyten. If that works the issue is with your theme, so we go down that route.

    If none works then bbpress has not installed properly.

    #158516
    Robin W
    Moderator

    ok, I can your issue

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

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