Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,476 through 8,500 (of 64,454 total)
  • Author
    Search Results
  • #186137
    willad
    Participant

    Hello, I have also been trying to get a new topic button working for some time. In case it is of help to anyone, this is what seems to work for me.

    I created a wordpress page template “forum.php” and added the following code – it adds a ‘New Question’ button to the forum page but not if it’s the parent forum:

    <?php
    get_header(); 
    
    while ( have_posts() ) : the_post();
    if((($post_type = get_post_type()) == 'forum') ) //make sure we are on a forum
    {
      if(bbp_get_forum_id() != 0) //don't add the button to the parent forum
      {
        ?>
        <a href="<?php echo esc_url( add_query_arg( 'c', bbp_get_forum_id( ), site_url( '/new-topic/' ) ) )?>">New Question</a>
        <?php
      }
    }
    the_content();
    endwhile; // End of the loop.    
    ?>
    <?php get_footer();

    Now when I click the New Question link it opens the page new-topic and the forum I was on when I pressed the button is the forum the new question will be placed in.

    new-topic is a page I created in wordpress, and I gave it a template page-new-topic.php

    It contains the following code:

    <?php
    get_header(); 
    $my_c = get_query_var( 'c' );
    $forum_add_topic='[bbp-topic-form forum_id='.$my_c.']';
    echo do_shortcode($forum_add_topic);
    ?>
    <?php get_footer();

    The line

    <a href="<?php echo esc_url( add_query_arg( 'c', bbp_get_forum_id( ), site_url( '/new-topic/' ) ) )?>">New Question</a>

    in forum.php adds a variable c (which contains the current forum id() -bbp_get_forum_id( ) ) to the url when New Question is clicked.

    In page-new-topic.php this variable c is added to the shortcode [bbp-topic-form forum_id=XXX]

    do_shortcode then runs the shortcode which creates the form.

    I also had to add the following to functions.php to tie the two pages together:

    function add_custom_query_var( $vars ){
      $vars[] = "c";
      return $vars;
    }
    add_filter( 'query_vars', 'add_custom_query_var' );

    You could add this as a plugin if you wish.

    The idea for the shortcode came from this post: post

    How to pass variables through wordpress urls came from this post:

    post-2

    I am new to WordPress and PHP so there may be better ways of doing this but, as I said, this seems to work.

    andrewkusuma
    Participant

    I want to remove/disable totally changing email input value from form-user-edit without using hidden input

    <input type="hidden" name="email" id="email" value="<?php bbp_displayed_user_field( 'user_email', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />

    I want user only change display name, bio, and password only how to do it?

    #186127
    only4gamers
    Participant

    the problem is when i visiting forum page in admin mode (after login) its showing me:
    “Oops! That page can’t be found.
    It looks like nothing was found at this location. Maybe try one of the links below or a search?”

    and there is nothing in this page.
    but when i visiting same page without login(as normal visitor) its looking good and i can see option to create new topic.

    can you tell me where is the problem ?
    the link is

    Upcoming Games

    my bbpress version is 2.5.13

    #186125
    bullarni
    Participant

    Hi @welshdemon, @reedy

    I have asked about this issue within the 2.6 Release Candidate 3 thread. Have not had a response as yet, however I only asked a couple of days ago. Hopefully someone will respond with positive news soon!

    bbPress 2.6 Release Candidate 3

    Cheers

    #186124
    baba777
    Participant

    Halo Guam, I also have the same issue of bbpress centre alignment. Please assist me. My site is http://haleze.com

    #186122
    Dave
    Participant

    Using the bbpress login widget, after the user logs in, their username is hyperlinked. Does anyone know how to remove this function?

    jeroi
    Participant

    I have newest WordPress and used it to add bbPress. How ever I have added forum as shortcode to my siten page. How ever When is use top menu to add new topic the box where I chose relative parent category till example gaiming, sell, buy does not work. The box is full of those categoires where to put that topic but I cannot select any one of them only no parent stays selected.

    Is there somehow how I cand fix this?

    #186115
    richiwild
    Participant

    Hello guys, i’ve created a website on free hosting. Installed latest version of WP (4.8.1), installed some plugins, theme, everything works perfectly. But, when i installed bbPress 2.5.13, i saw that i wasn’t tested on this version of WB, but i tried. As result: when i go to mydoman.com/forums/ it shows me ERROR 500. Also, when i go in dashboard >> Forums >> List of Forums (maybe it’s named so, cuz i’m using russian version of WP) it also shows me ERROR 500.
    I Decided to downgrade (reinstall) the entire WP without any plugin and theme. I choosed version 4.7.5 as it says that is tested on bbPress 2.5.13. So, i installed WP, installed bbPress, and tried to go to dashboard >> Forums >> List of Forums and it returns me this:

    if image is too small, here’s the link to it: http://i.imgur.com/UPirh3p.png
    Idk what to do and what to try.
    Thanks for helping.

    #186112

    Topic: Easy-to-moderate

    in forum Plugins
    TrustedOrb
    Participant

    Is there any possibility for this?

    I use a bbPress Moderation plugin. When a topic or a reply is held for moderation, I receive a mail (showing the user’s name and the message + heading). Then I need to log in with my admin account, check each and every topic, change the status “Pending” to “Open” and then publish the post.

    This is too difficult to handle is there are a lot of topics and replies. So, are there any ways where I can add a link to the email I receive, so I can read the topic created by the user and directly approve the post by clicking on the link?

    #186109
    Anonymous User 13302461
    Inactive

    Just to confirm this issue exists for me on latest updates,
    Wordpress 4.8.1
    BBpress 2.5.13

    On a long topic (75 pages) exactly the same issue. Only the the most recent replies URLs go to the start of the topic. Older replies URLs work and go to the relevant reply. Sometimes the topic shows 76 pages, other times 75…!

    I thought I was clever and deleted the most recent replies up to the one which was working, all replies links to the correct reply. Then I added one new reply of my own, and voila, broken again and links to my most recent were missing the pagination part of the URL /76/ and clicking the link (despite having /#post-1234545/ in the URL) takes me back to the first page of the topic.

    #186108
    Marcus Quiroga
    Participant
    #186107
    jstuts5797
    Participant

    Hey there guys… there is a specific element on my bbpress forum that I need to customise and I’ve been through the style crib, the bbpress style sheet, and even the bbpress style pack plugin and can’t sem to find in the code anywhere that will help me customize this element. I have a screen shot but now I realize I can’t use screen shots here. The element is the Reply To: element. I know how to make it non transparent… but I can’t figure out where to set that text color at all. The actual text “Reply To” needs to be a different color so it can be seen. I also think there is a glitch in the boarder as well. Any help would be awesome. Here is a link to my screenshot: http://fjrmbfans.us/wp-content/uploads/2017/08/FORUMscreenshot.jpg you’ll see my issue in the bottom portion. Thanks again for all your help!

    #186105
    nobita
    Participant

    Hi I have same error

    PHP7.1
    bbpress2.5.13

    bbpress/includes/forum/functions.php line:1800

    PHP Fatal error: Uncaught Error: [] operator not supported for strings

    			//$post_stati[] = bbp_get_public_status_id();
    			$post_stati = (array) bbp_get_public_status_id();
    

    It worked for me

    #186103
    nilsm1990
    Participant

    Hello,

    i jsut got into WordPress and wanted to use bbPress.
    So I installed bbPress and it lets me change my Preferences under Preferences–> Forum.
    I also can create new Forums and they show up in my bbPress Widgeds.

    However everytime i open the Forum Page an Error occurs. (I copyed the entire Errormessage below).
    I use WordPress on my xampp Server (localy) for testing.

    Also i deactivated all other plugins and changed my theme to wordpress-standard. No Luck though. Im using shapely Theme

    If anyone could help it would be highly aprichiated.

    Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\apps\wordpress\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 C:\xampp\apps\wordpress\htdocs\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-query.php(1683): do_action_ref_array(‘pre_get_posts’, Array) #4 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-query.php(3248): WP_Query->get_posts() #5 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\apps\wordpress\htdocs\wp-includes\functions.php(955): WP->main(Array) #8 C:\xampp\apps\wordpress\htdocs\wp-admin\includes\post.php(1072): wp(A in C:\xampp\apps\wordpress\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800

    basdebruin
    Participant

    When I delete a user (with deleting all content) through WP backend and re-register the same username & email again the new user is assigned forum role Participant. User has access to the forums (which are protected by bbp_Private_Groups, but the new user is not able to start topic and/or reply to it.

    PS: update: no user can post / reply anymore. It is due to the fact that there is 1 topic in my forum with an anonymous user (because that user has been deleted). Deleting that topic form the backend solves it.

    Is there any other way to delete a user without affecting access rights for all users in the forums containing topics with posts from the deleted user?

    WordPress 4.8.1

    Relevant Plugins:
    bbP private groups: 3.5.7
    bbPress: 2.5.13
    TinyMCE Advanced: 4.6.3
    Ultimate Member: 1.3.88
    Ultimate Member – bbPress: 1.1.8
    Ultimate Member – Followers: 1.2.1
    Ultimate Member – Google reCAPTCHA: 1.0.4
    Ultimate Member – Notices: 1.1.6
    Ultimate Member – Online Users: 1.1.0
    Ultimate Member – Private Messages: 1.1.2
    Ultimate Member – Profile Completeness: 1.2.0
    Ultimate Member – Real-time Notifications: 1.4.2
    Ultimate Member – Social Activity: 1.3.3
    Ultimate Member – Terms & Conditions: 1.0.0
    Ultimate Member – User Reviews: 1.2.2
    Ultimate Member – User Tags: 1.0.2
    Ultimate Member – Verified Users: 1.0.8

    #186099
    InTempest
    Participant

    im still searching for this myself.

    https://bbpress.org/?post_type=topic&p=186098

    #186088
    bullarni
    Participant

    Hey All

    Forgive me if this has already been discussed but I was wondering if a fix to the pagination links of threads with 100 or more pages of replies has been resolved as part of 2.6?

    The issue is discussed here along with code that resolves the problem:

    Links to last post are wrong (pagination issue?)

    Thanks!

    #186087
    abernreiter
    Participant

    wordpress version. 4.8.1
    bbPress version 2.5.11
    BuddyPress version 2.9.0

    Website: http://forum.epp-forum.com/

    We use the shortcode [bbp-topic-index] on our homepage. In this listing are also displayed topics, to which one has access only if one is logged in.
    These topics should not be displayed if you are not logged in. How can we prevent it?

    Show only if logged

    Click on Zeppy then this screen comes. So a blocked contribution

    Thank you for help

    jagdishtechnostacks
    Participant

    Hello all,
    I have subscibed to some topics and forums. And i get emails when any user comment or create new topic to that forum.
    But now, i need to subscribe them by 2 type of subscription:
    – Daily
    – As it happens

    From above 2, bbpress is doing second(2nd) type
    – But i need to send user an email if he subscribed with first(1st) type(Daily), and i need to send only one email at the end of the day..

    Your helps are appreciate..
    Thanks

    andrewkusuma
    Participant

    How to avoid user/visitor when use register page and login page of bbpress and fill not correct validate at same page with information which one is not correct.

    default bbpress login and register is redirect to wp-login
    is any way to customize wordpress login register page?

    #186065

    In reply to: Cant access forum

    only4gamers
    Participant

    thank you, thank you so much now i can open bbpress.

    #186064
    fdarn
    Participant

    One of the webmasters for our organization set bbPress to handle the blog comments and disabled wordpress comments. I want to change it back and use bbPress as a separate forum and not the Blog comments. Can I switch it back without losing all the current replies/comments?

    Thank you.

    #186063
    pabloliz4
    Participant

    Hello

    I would like to know if you can limit the amount of topics that the student can create.

    I’m using WPLMS with bbPress.

    For example: When entering a student to a course, in the forums section, you can create up to 15 queries.

    Our idea is to have a forum with that capacity of support per student. We need to generate a service that needs to give a limited support, since it will be with a consultation plan per company. Thus the client is told that he can do 15 queries per month, if he wants to make more consultations, he would have to hire 15 more consutlas.

    I hope you can help me and if you can realize this idea.

    Best regards.

    Paul

    #186062
    SimonScott
    Participant

    I was removing the BBPRESS plugin from my wordpress install, following these instructions:

    Deleting bbPress

    But after I deleted, the screen locked up, and now my website will not load.

    Please try http://www.kambocleanse.com

    Can anybody help me – can pay $$$ to get my site back up.

    Thanks

    Simon
    inbox@simon-scott.com

    #186060

    In reply to: Cant access forum

    Robin W
    Moderator

    Suspect you are using php 7.1
    so 3 fixes
    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6rc3
    3. in bbpress 2.5.13 in includes/forums/functions.php
    change line 1851 from
    $meta_query = $posts_query->get( ‘meta_query’ );
    to
    $meta_query = $posts_query->get( ‘meta_query’, array() );
    and change line 1796 from

    $post_stati = $posts_query->get( 'post_status' );
    

    to

    $post_stati = $posts_query->get( ‘post_status’ ); 
    if (!is_array($post_stati)){
        			$post_stati = array($post_stati);
    }
    
Viewing 25 results - 8,476 through 8,500 (of 64,454 total)
Skip to toolbar