Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 1,051 through 1,075 (of 11,523 total)
  • Author
    Search Results
  • #213100
    nayanboost
    Participant

    I am writing this code in functions.php and when I am trying to dump data using
    print_r (bbp_get_topic_id());

    It is returning 0.

    When the above mentioned condition is met I will redirect to another page.

    function test_rdr (){
        if (bbp_get_topic_forum_id(bbp_get_topic_id()) == ‘ID of the Parent forum’){
            wp_redirect('/test-page');
            exit;
        }
    }
    add_action('template_redirect', 'test_rdr')

    Please help me to get over with it.

    #213078
    Robert
    Participant

    Here’s the link to the test blockquote…

    Question 3 – Best tabletop role-playing game?

    #213052
    renatoscarvalho
    Participant

    Hi, I’m having a problem with threaded replies. When I try to reply a post, instead of the new post being nested, it creates a new post at the same level of the previous.

    I have tried two bbPress installs, with different themes, and they both show the same problem.

    I have also tried installing bbp Style Pack and checking “bbPress Bug Fixes/Fix Threaded Replies Jump” with no success.

    You can try here and see the problem: rescola.com.br/bbpresstest02/index.php/forums/topic/hi-this-is-a-forum

    #213004
    kevvyb
    Participant

    Hi

    I have just installed bbPress on my site. I craeted a test user to see how it works. I was horrified to see that the email included a url for registration that is the admin url I use. I have changed this from the default for reasons of security and do not realy want to be sending out my wp admin login url to everyone who registers on the site. Is there a way around this or is it a wordpress thing?

    #213002
    cassel
    Participant

    I just found the same one! And it works well too! (just tested it)
    Happy user here!

    #212960
    kriskl
    Participant

    yhm,
    I will try on another test site
    maybe some plugin conflict..
    here is some code above and below

    //ONLY BBPress below
    //create vertical list subforum layout
    function custom_bbp_sub_forum_list() {
      $args['separator'] = '
    ';
      return $args;
    }
     add_filter('bbp_after_list_forums_parse_args', 'custom_bbp_sub_forum_list' );
     
    
    function ra_bbp_increase_pagination($args) {
        $args['end_size'] = 0;
        $args['mid_size'] = 3;
        return $args;
    }
    add_filter( 'bbp_topic_pagination', 'ra_bbp_increase_pagination' );
    
    function rk_hot_topics() {
       $reply_count = bbp_get_topic_reply_count();
      
       if ( $reply_count > 5 )
          echo '<span class="hot">HOT</span>';
    }
      
    add_action( 'bbp_theme_before_topic_title', 'rk_hot_topics' );
    #212959
    Robin W
    Moderator

    hmm end works with 0 on my test site !

    #212925
    forehanded5
    Participant

    I just installed bbPress through the plugin panel and added some test forums. It seems like there is a very large empty DIV that I don’t know how to get rid of causing a large space between the forum header and the forums. Any ideas on how to get rid of it?

    It’s only showing up on the main forums home page and not any other pages when you navigate into the forums or posts.

    Currently using the Uncode theme. WP, plugins, themes, etc are all up to date.

    Forums are at: http://foxtrotbattleline.com/forums

    kriskl
    Participant

    Hi,

    I would like to remove the last page numbers in pagination,
    is there any function code to do this?

    at the moment, on latest topics on a big forum.. it shows like this..

    1 2 3… 8432 8442 8445 →

    Thanks
    kris

    #212906
    wiebke.wetzel
    Participant

    Hello Robin,

    I created an open and public testforum for you:

    Testforum

    Can I somehow send you login credentials for a test user in a private message? I have opened the forum for guests without accounts, but apparently they cannot edit their posts anyway.

    Thanks for your support!
    Wiebke

    #212854
    Mike8857
    Participant

    Thanks for the response. My test site is:

    http://escwebmaster-001-site3.itempurl.com/

    Membership>>Members Only>>Member Discussion Forum

    Uername: bbpress
    Password: bbpress

    Thank you

    #212824
    teichhorst
    Participant

    Hi there,

    there have been two posts that kind of go into this topic, but the solutions offered there didn’t help (yet). Maybe I did something wrong, idk.

    I’ll back up a little. Here are the steps and error(s):

    1. Click on registration
    2. Type in the username to be used
    3. Type in the e-mail address
    4. Hit submit
    5. Loading until ERR_TOO_MANY_REDIRECTS

    Funny thing is that even if I didn’t fill in the required fields, the registration runs into the error.

    What I tried so far:
    – De- and re-activating plugins
    – looked in the error.log and Plesk Protocols
    – Updated the permalink structure
    – … maybe more

    but nothing’s to be found, nothing’s changed. Latest versions of WordPress, Avada (Theme) and bbpress are installed. There also are no SSL or htaccess problems that I know of.

    Hopefully there’s someone who knows a solution to this issue.

    Thanks and best regards
    Tim

    #212756
    kenaustin3rd
    Participant

    Okay, I have been experimenting quite a bit and so far I have everything tested and working…thank you very much for the help…there is just one item I cannot figure out…changing the color of the individual post replies (headers/body/footers) the code I ended up with when I inspected was:

    div#post-133.bbp-reply-header

    then following that there is a much longer one that says it’s a loop item. Surely I am looking at the wrong items and there is a parent to those somewhere to change it once…any ideas?

    #212754
    Chuckie
    Participant

    Have you tried:

    input#bbp_anonymous_author,
    input#bbp_anonymous_email,
    input#bbp_anonymous_website,
    input#bbp_topic_title,
    textarea#bbp_topic_content {
     background-color: #313131;
    }

    I have not tested it.

    #212736
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

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

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #212661
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

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

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #212659
    Robin W
    Moderator

    the latest version changed some phrases and they have yet to be added into the translations.

    you can use

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>translations

    #212631
    franpeppe
    Participant

    Hello,
    Here is the root page where is possible to try:

    https://www.eyecadvr.com/home-community/

    this page is under elementor and with shortcodes it should display 5 forum roots but instead it displays just 1. As you can see at the right side is empty but before there was “Latest Posts” and “Thread Tag Cloud”.
    By clicking on that first forum root folder, it will redirect to another page that is completely without CSS and without other functions; But once inside, clicking on the sub folder it will redirect in the right page where everything becomes perfect and correct as it should be in every page.

    Hope that these informations can help you in order to help us.
    Thanks.

    #212565
    Chuckie
    Participant

    I suggest you use the latest version as a starting point. Next, actually provide a link to your forum root page.

    #212561
    franpeppe
    Participant

    As i said i already tried the latest 2.6.5, and i tried also the old ones like 2.6.0, 2.5.4, 2.5.1, 2.5.9… and the issues that im encountering are written above.

    #212554
    Chuckie
    Participant

    The latest is 2.6.5:

    bbPress

    Chuckie
    Participant

    So the warning raised was:

    > Undefined index: latest-user

    The code flagged was:

    "%LATEST_USER%" => $this->stats["latest-user"]

    I did a bit more research and stumbled upon:

    `
    if( $this->parent->option[‘last_user’] === “on” ) {
    $HTMLOutput[“last_user”] = $this->section_latestuser();
    }
    `

    At first I thought that latest-user needed to be changed to last_user, or vice-versa. But I continued the research of the code and arrived here:

    `
    array(
    ‘id’ => ‘last_user’,
    ‘label’ => __( ‘Latest Registered user’, ‘bbpress-improved-statistics-users-online’ ),
    ‘description’ => __( ‘Display the latest user to register to the site?’, ‘bbpress-improved-statistics-users-online’ ),
    ‘type’ => ‘checkbox’,
    ‘default’ => $this->defaults[‘last_user’],
    ‘class’ => ”
    ),
    `

    I decided to have a look at my bbPress Advanced Statistics settings and this was actually unset. I have now switched it on:

    View post on imgur.com

    Now the warning does not display. Also, it then occured to me that the code has this line:

    $this->stats = $this->stats_extra( $activity );

    That function does this:

    `
    private function stats_extra( $activity ) {

    if( $this->parent->option[“bbpress_statistics”] == “on” ) {
    // Add the bbPress Statistics
    $activity[“bbpress”] = $this->get_formatted_statistics();
    }

    if( $this->parent->option[“last_user”] == “on” ) {
    // Get the HTML latest usser
    $activity[“latest-user”] = $this->get_latestuser( true );
    }

    if( $this->parent->option[“most_users_online”] == “on” ) {
    // Get/set the most users ever online, users the active online users
    $activity[“most-users”] = $this->get_mostusers( $activity[“count”][“active”] );
    }

    return $activity;
    }
    `

    Therein is the problem. This function is conditionally populating the stats array based on user options. Makes sense, but, this function, makes assumptions:

    `
    private function allowed_tags() {
    // Store all of the strings currently replace
    $this->_tags = array(
    “%MINS%” => $this->parent->option[‘user_inactivity_time’],
    “%COUNT_ACTIVE_USERS%” => $this->stats[“count”][“active”],
    “%HOURS%” => $this->parent->option[‘user_activity_time’],
    “%COUNT_ALL_USERS%” => $this->stats[“count”][“inactive”] – $this->stats[“count”][“guests”],
    “%COUNT_ALL_GUSERS%” => $this->stats[“count”][“guests”],
    “%COUNT_ACTIVE_GUSERS%” => $this->stats[“count”][“guestsa”],
    “%USER_USERS%” => _n(“user”, “users”, $this->stats[“count”][“active”], ‘bbpress-improved-statistics-users-online’),
    “%GUEST_GUESTS%” => _n(“guest”, “guests”, $this->stats[“count”][“guestsa”], ‘bbpress-improved-statistics-users-online’),
    “%ALL_USER_USERS%” => _n(“user”, “users”, $this->stats[“count”][“inactive”] – $this->stats[“count”][“guests”], ‘bbpress-improved-statistics-users-online’),
    “%ALL_GUEST_GUESTS%” => _n(“guest”, “guests”, $this->stats[“count”][“guests”], ‘bbpress-improved-statistics-users-online’),
    “%USER_RECORD%” => $this->most_users( “record” ),
    “%USER_RECORD_DATE%” => $this->most_users( “date” ),
    “%USER_RECORD_TIME%” => $this->most_users( “time” ),
    “%LATEST_USER%” => $this->stats[“latest-user”]
    );

    // Apply any filters that may have been applied to the list of existing tags
    if( has_filter(‘bbpas_replacement_tags’) ) {
    $this->_tags = apply_filters( ‘bbpas_replacement_tags’, $this->_tags );
    }
    }
    `

    I will be upfront here – I don’t know how to adjust the code so that it will not raise a warning when the Last Registered User setting it not checked. As a result I switched it on.

    I just thought i would throw my findings out here as someone might be able to provide the tweak to make it correct.

    have a good day!

    #212532
    Milan Petrovic
    Participant

    @delta5 How the stats block looks like is visible to logged in users on my forums, but that can be controlled via settings, here is the demo forum with the feature enabled for the visitors: https://xscape.info/quantum-default/forums/. If you want to test the plugin on our demo website (full admin test), you can request demo here: https://www.dev4press.com/request-demo/.

    Chuckie
    Participant

    I noticed that when you edit a reply that the “Reply To” combo appears squashed:

    View post on imgur.com

    So I added CSS to widen the select control and then was confused by the values in the drop-down list being truncated. I decided to examine the HTML (without making any CSS changes) and this is what I get:

    `
    <select name=”bbp_reply_to” id=”bbp_reply_to” class=”bbp_dropdown”>
    <option value=”” class=”level-0″>3189 – Introduction to the Text and Visual Editors</option>
    <option class=”level-1″ value=”3226″ disabled=”disabled”>   3226 – Update The</option>
    </select>
    `
    The first entry is complete (although not all visible in the actual control). But the rest are all cropped to just a few letters. If I try other forum replies they are all the same.

    Here is another example:

    View post on imgur.com

    `
    <select name=”bbp_reply_to” id=”bbp_reply_to” class=”bbp_dropdown”>
    <option value=”” class=”level-0″>2692 – Setting up the new forum – Testing and Change-Log</option>
    <option class=”level-1″ value=”2695″ disabled=”disabled”>   2695 – This is a</option>
    <option class=”level-1″ value=”2705″>   2705 – This is a</option>
    <option class=”level-1″ value=”2735″>   2735 – This reply</option>
    <option class=”level-1″ value=”2791″>   2791 – Test ok.</option>
    <option class=”level-2″ value=”2794″>      2794 – Hi Stefano</option>
    <option class=”level-1″ value=”2814″>   2814 – All forums</option>
    <option class=”level-1″ value=”2825″>   2825 – Based on t</option>
    <option class=”level-1″ value=”2828″>   2828 – I have sta</option>
    <option class=”level-1″ value=”2853″>   2853 – Further up</option>
    <option class=”level-1″ value=”2858″>   2858 – Further up</option>
    <option class=”level-1″ value=”2881″>   2881 – Further up</option>
    <option class=”level-1″ value=”2912″>   2912 – Update: I</option>
    <option class=”level-1″ value=”2918″>   2918 – Update: Ch</option>
    <option class=”level-1″ value=”2936″>   2936 – Update: Th</option>
    <option class=”level-1″ value=”2943″>   2943 – I have dec</option>
    <option class=”level-2″ value=”3254″>      3254 – Update: I</option>
    <option class=”level-3″ value=”3324″>         3324 – Update The</option>
    <option class=”level-1″ value=”2950″>   2950 – This is so</option>
    <option class=”level-1″ value=”2961″>   2961 – One final</option>
    <option class=”level-1″ value=”3044″>   3044 – I have upd</option>
    <option class=”level-1″ value=”3051″>   3051 – I added a</option>
    <option class=”level-1″ value=”3052″>   3052 – Implemente</option>
    <option class=”level-1″ value=”3066″>   3066 – Hi Andrew,</option>
    <option class=”level-1″ value=”3067″>   3067 – Hi Simon I</option>
    <option class=”level-1″ value=”3068″>   3068 – Sorry, mis</option>
    <option class=”level-1″ value=”3100″>   3100 – Sorry, mis</option>
    <option class=”level-1″ value=”3112″>   3112 – Three more</option>
    <option class=”level-1″ value=”3136″>   3136 – Updates: I</option>
    <option class=”level-1″ value=”3208″>   3208 – This is a</option>
    <option class=”level-1″ value=”3209″>   3209 – This is a</option>
    <option class=”level-1″ value=”3238″>   3238 – Update: Th</option>
    <option class=”level-1″ value=”3318″>   3318 – Update Whe</option>
    <option class=”level-1″ value=”3343″>   3343 – Update: I</option>
    <option class=”level-1″ value=”3401″>   3401 – Update I h</option>
    <option class=”level-1″ value=”3403″>   3403 – Update Rat</option>
    <option class=”level-1″ value=”3518″>   3518 – Update You</option>
    <option class=”level-1″ value=”3519″>   3519 – Yes, the h</option>
    <option class=”level-1″ value=”3973″>   3973 – [quote quo</option>
    <option class=”level-1″ value=”3974″>   3974 – [quote quo</option>
    </select>
    `
    Why is it restricting the data displayed to just a few letters? I tried to research a reason and couldn’t find one.

    Thanks

    #212511
    mdavidson1965
    Participant

    Test site where I am learning to use the product.
    https://matthewdavidson.us/forums/

Viewing 25 results - 1,051 through 1,075 (of 11,523 total)
Skip to toolbar