Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 2,326 through 2,350 (of 32,461 total)
  • Author
    Search Results
  • #214735
    thinkercorner11
    Participant

    Hello there!

    I want to exclude the replies from the search results, but I don’t know where I can change it (maybe a simple solution to put true to false?) or can anyone help me to figure out a code for the function.php in the child theme?

    Greetings

    #214730

    In reply to: BBPress Import Help

    Mark Smith
    Participant

    Please see this article. It will help

    Import Forums

    #214706
    haddlyapis
    Participant

    Hi there,
    I want to add a third <li>message</li> to the form-user-register.php file to advise users that their user status will be set to “Spectator” until it is reviewed and approved to “Participant” status.
    I will also need to add my translation to the bbpress-de_DE-formal.po file as my site is in German.
    As I have my own unique theme in /wp-content/themes/unique_theme/, where do i place the form-user-register.php file in order to add my third <li>message</li>?
    As I don’t want it overwritten next time bbpress updates.
    The same question to the .po file as this also needs to be edited.
    thx in advance.

    #214702
    uksentinel
    Participant

    so I had a play with those pluggins and alas not exacty what I was looking to achieve

    To help clarify, this is NOT about previewing before posting. I am Wondering how to show the first X words of a thread or post as a tooltip when hovering over the thread link for example. Any plugins? Code? etc.

    I have seen option for WordPress, but not for bbpress ?

    Imgur link to an example – https://imgur.com/TxHRtTG

    Show Tooltip Preview of Thread when Hovering

    #214700

    In reply to: Admin cannot logout

    Robin W
    Moderator

    you can use

    http://mysite.com/wp-login.php?action=logout

    to logout

    #214697
    Robin W
    Moderator

    no, the main forum page would not list the topics for a forum. If you only have one forum, then you can use shortcodes to display just that forum, and your forum will then be a list of topics.

    #214677
    smith512
    Participant

    Hello
    I tried to add a new forum, This error appeared.

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 163840 bytes) in /home/vnyeklac/public_html/wp-includes/class-wp-object-cache.php on line 446

    I looked at https://bbpress.org/forums/topic/php-fatal-error/ .
    However I cannot solved this problem.

    What should I do?
    Thanks for watching.

    My bbpress version is 2.6.5
    php version is 7.4
    wordpress version is 5.5.1
    All latest version

    #214676
    Mark Smith
    Participant
    #214622
    Robin W
    Moderator

    almost right! bbp_topic_permalink outputs the result you need the get version.

    use

    $topic_id = 28282 ;
    $topic_link = bbp_get_topic_permalink($topic_id) ;
    #214615
    Pawan
    Participant

    I am sending a custom email notification to the forum subscribers to notify any new topic created. Now I also want to send a Link to the newly created topic.
    I tried
    bbp_topic_permalink
    found it in the loop single topic file. But it showing blank. Even I tried to pass the topic_id as argument.

    I also tried
    bbp_get_topic_url()
    but it is also not working.

    It would be a great help if some one tell the exact function to get the url of the topic.

    #214591
    boborg
    Participant

    Anybody got some code to put into WordPress theme functions.php to redirect every instance of links to /wp-admin/profile.php to /forums/users/$user ?

    #214548
    laetee
    Participant

    I’m the web developer for a biotech discussion website. I’m currently running the Kleo theme with bbpress.

    I have nested replies enabled (with help from the bbstyle pack plugin, as it was not working previously) but also want to have pagination enabled. Nothing seems to be working and I’m in desperate search of a fix.

    I’ve already tried deactivating and reactivating…troubleshooting…everything.

    I’ve followed this tutorial but have come across certain errors.

    I’ve also tried going through this ticket among other similar ones and no such luck.

    I keep getting an error with the ‘format’ => ‘page/%#%’, line from Step 2. It’s telling me there is an extra %. Once I remove the extra %, the error moves down to the ‘prev_text’ => __(‘<’), line.

    I’m happy to give any more information that is needed.

    #214521
    Robin W
    Moderator

    suspect post status and post parent (which you have commented out) might be the issue

    'post_status' => bbp_get_public_status_id(),

    and post parent should be the forum it belongs to, so $forum_id in your code

    'post_parent' => $forum_id,

    #214519
    Robin W
    Moderator

    your content is the contents of the variable $output_content which is not defined in the code above, so the function would either fail and do nothing or make contents empty

    ncarring
    Participant

    If a user posts a topic with links in it, their posts seem to be automatically hidden. This only seems to apply if there is more than one link. I’ve hunted high and low and can’t find any information on this. Is this a hardcoded feature, or a setting? I can’t find any settings that seem to correspond.

    This raises another topic – how is a moderator / keymaster advised when there are actions pending? I can’t find anything like a “moderation queue” or other simple precis of what is waiting to be done. I can view “topics” in the main dashboard under wp-admin, and see which ones are pending, but that has to be done individually for each forum. Is that the correct method? Can a moderator subscribe to receive notifications by email or another means when something needs doing?

    Thanks

    Nick

    #214404
    Robin W
    Moderator

    if you amend form-topic – then change this line

    <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags', bbp_get_topic_id() ) ) : ?>

    to

    <?php if ( bbp_allow_topic_tags() ): ?>

    #214394
    Robin W
    Moderator

    ok, add this to the custom css section of your theme

    .bbpress-area {
    	width: 100% !important;
    }
    #214390
    Robin W
    Moderator

    ok, in the bbpress file above, can you change

    <?php Responsive\responsive_in_wrapper(); // wrapper hook. ?>
    <main id=”primary” class=”content-area col-940″ role=”main”>

    to

    <?php Responsive\responsive_in_wrapper(); // wrapper hook. ?>
    <main id=”primary” class=”content-area bbpress-area col-940″ role=”main”>
    

    nothing will change, but let me know when you have and I’ll do the next bit !

    #214362
    ricks03
    Participant

    <?php
    /**
    * Exit if accessed directly.
    *
    * @package Responsive
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    }

    /**
    * Full Content Template
    *
    * Template Name: Full Width Page (no sidebar)
    *
    * @file full-width-page.php
    * @package Responsive
    * @author CyberChimps
    * @copyright 2020 CyberChimps
    * @license license.txt
    * @version Release: 1.0
    * @filesource wp-content/themes/responsive/full-width-page.php
    * @link https://codex.wordpress.org/Theme_Development#Pages_.28page.php.29
    * @since available since Release 1.0
    */

    get_header();

    Responsive\responsive_wrapper_top(); // before wrapper content hook. ?>

    <div id=”wrapper” class=”site-content clearfix”>
    <div class=”content-outer container”>
    <div class=”row”>
    <?php Responsive\responsive_in_wrapper(); // wrapper hook. ?>
    <main id=”primary” class=”content-area col-940″ role=”main”>
    <?php
    get_template_part( ‘loop-header’, get_post_type() );

    if ( have_posts() ) :
    while ( have_posts() ) :
    the_post();
    Responsive\responsive_entry_before();
    get_template_part( ‘partials/page/layout’, get_post_type() );
    Responsive\responsive_entry_after();
    Responsive\responsive_comments_before();
    comments_template( ”, true );
    Responsive\responsive_comments_after();
    endwhile;
    get_template_part( ‘loop-nav’, get_post_type() );

    else :
    // Elementor 404 location.
    if ( ! function_exists( ‘elementor_theme_do_location’ ) || ! elementor_theme_do_location( ‘single’ ) ) {
    get_template_part( ‘loop-no-posts’, get_post_type() );
    }

    endif;
    ?>

    </main><!– end of #content-full –>
    </div>
    </div>
    <?php Responsive\responsive_wrapper_bottom(); // after wrapper content hook. ?>
    </div> <!– end of #wrapper –>
    <?php
    Responsive\responsive_wrapper_end(); // after wrapper hook.
    get_footer();
    ?>

    #214328
    itspriyanka
    Participant

    I am using bbpress for my website which is in development phase right now. One of my forum topics can be accessed here: https://drf.learnwise.in/forums/topic/retinitis-pigmentosa/. I am using visual editor by adding this code in my functions.php:

    function bbp_enable_visual_editor( $args = array() ) {
    $args[‘tinymce’] = true;
    return $args;
    }
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );

    All the formatting options except alignment are working fine. For alignment, it show the HTML tags as well after posting; as you can see in the forum.

    Can someone let me know how to solve this?
    Thanks,
    Priyanka

    #214308
    Robin W
    Moderator

    try this in the custom css part of your theme

    #qt_bbp_topic_content_toolbar {
    	display: none !important;
    }
    Chuckie
    Participant

    I am not sure if it is related but things like videos can trigger moderation to kick in. I have personally switched off moderation since the current mechanism is by no means efficient. Any topic / reply that goes to moderation just vanishes and the user is not informed. This is clearly not OK but I have no idea to improve it in the bbPress code.

    There is a ticket open for this issue for several months now but I don’t think it is being worked on. You can go into your discussion settings and adjust certain properties that affect when content will trigger moderation. This is in your WordPress settings.

    But like I say, I switched off moderation all together due to the confusion is causes for users. There are other topics on here with info on how to do that.

    I am not saying it is the cause of your problem. Just wanted to mention it.

    truth4vahid
    Participant

    Guest can’t use editor to reply or create topic correctly ? When the guest use editor to justify text or etc, after submitting, codes appears without doing their functions.
    Something like this:

    #214296
    Robin W
    Moderator
    #214292
    ricks03
    Participant

    My current theme (Responsive) comes with several templates.

    By default, bbPress appears to be using the (unsurprisingly) “Default” template, and I just want to change bbPress to use the “Full Width” template. I don’t see a setting for that. Possible?

    Can I create a page with a shortcode or something?

Viewing 25 results - 2,326 through 2,350 (of 32,461 total)
Skip to toolbar