Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 10,551 through 10,575 (of 64,535 total)
  • Author
    Search Results
  • #177757
    Roozbeh Rahmani
    Participant

    i am trying to manage a bbpress forum in Persian (it is an RTL language) and i am facing some troubles.
    apparently bbpress does not support RTL languages in URL so whenever i have anything Persian in my URL i get a 404 error on the page and as you know bbpress by default takes forum/topic name to URL (i can not tell everybody on the forum to write topic names in English) what i want to ask is one of these two:
    * is there anyway to make bbpress support RTL language in URL?
    * if not, how can i change Forum and Topic permalink from “topic/forum name” to “topic/forum ID” (so i don’t have anything Persian in URL)

    thanks in advance for answers

    #177754
    Themezly
    Participant

    2 months not even a hint and you know it is a bug. is_bbpress does not work as advised.

    #177748
    skyynet
    Participant

    Since installing 2.5.10 of the BBPress Plugin the corresponding function improved a bit. The function which creates the noreply sender sits in includes/common/functions.php and reads

    function bbp_get_do_not_reply_address() {
    	$sitename = strtolower( $_SERVER['SERVER_NAME'] );
    	if ( substr( $sitename, 0, 4 ) === 'www.' ) { $sitename = substr( $sitename, 4 ); }
    	return apply_filters( 'bbp_get_do_not_reply_address', 'noreply@' . $sitename );
    }

    In my case the domain is something like subdomain.domain.de

    The above function creates the noreply address noreply@subdomain.domain.de
    Correct would be (in my case) noreply@subdomain.de

    IMHO the function could create the sender by parsing the $sitename from right to left (TLD DOT DOMAIN until DOT or //). I was too lazy and just added my specific case

    function bbp_get_do_not_reply_address() {
    	$sitename = strtolower( $_SERVER['SERVER_NAME'] );
    	if ( substr( $sitename, 0, 4 ) === 'www.' ) { $sitename = substr( $sitename, 4 ); }
    	else if ( substr( $sitename, 0, 10 ) === 'subdomain.' ) { $sitename = substr( $sitename, 10 );}
    	return apply_filters( 'bbp_get_do_not_reply_address', 'noreply@' . $sitename );
    }
    #177743
    Robin W
    Moderator

    seems to be too hard a question !

    For whatever reasons 2.6 doesn’t seem to be progressing, and no-one seems able to tell us why. JJJ seems to have disappeared from the authors of bbpress.

    I think you can have two attitudes to this.

    1. That bbpress id dead, and going no-where
    2. that bbpress is mature, and that there are lots of plugins out there which add the functionality that you need, built on a stable solid base.

    Given FB, Twitter, Instagram, pinterest etc. it is easy to see forums as yesterday’s technology, but the content in the list above seems to be transient, with no sorting, logic or permanence. Read and forget.

    With forums you get logic, easy to read threads, and search capability – so I think forums still have their place.

    So if you are like me, you have bbpress, but also have several other plugins (including my own published ones) that give my forums the functionality they need.

    so go into wordpress plugins and search for both bbp and bbpress to see what is available.

    #177740
    Robin W
    Moderator

    you can use the sidebar that your forum page is displaying – if it is showing one then read the rest of this, if not then come back !

    If you want specific items for bbpress and maybe others on other pages, then add https://en-gb.wordpress.org/plugins/widget-logic/

    and then use

    is_bbpress() as a condition for widgets to be shown and !is_bbpress() for widgets that you don’t want on forum pages, but do on others.

    #177738
    van24
    Participant

    Found it – it was being loaded with the GD BBPress plugin

    #177737
    omarsammour
    Participant

    @robin-w, I am aware this thread is quite old however I am looking into the main reason @jslom posted this in the first place.

    Form To Forum Post

    I currently have a website and I would like to integrate the application form into bbpress forums as a new thread.

    readmenow
    Participant

    Big thanks @siparker for solving a big problem with BBpress!

    I have also two questions about this plugin:
    1. How can I remove adding -f(number) to forum name? Technically I don’t need this 🙂
    2. Now topic looks like number-NameOfTopic. How change it into NameOfTopic-Number?

    #177733
    cinges
    Participant

    Hello,

    Im trying to build bbpress forum with some tutorial. I am stuck at sidebar login widged, etc. In wordpress widget menu there is no any bbPress sidebar to add bbPress addons. Iam using Zerif Lite theme, but its not working with other and default themes. Am I doing something wrong? Can you help me with that, I can give you more informations, if you want, just ask.. Thank you very much.

    Cinges

    #177730
    ajiaim
    Participant

    I have a top menu that I want to display Welcome Username once the user logs in and ideally once they click it they get taken to their profile page on BBPress/BuddyPress.

    My original code was as below but it only showed log out once the user logs in.

    add_filter( 'wp_nav_menu_items', 'woohoo_add_auth_links', 10 , 2 );
    function woohoo_add_auth_links( $items, $args )
    {
    	if( $args->theme_location == 'topmenu' )
    	{
    		if ( is_user_logged_in() ) {
    			$items .= '<li><a href="'. wp_logout_url() .'">Log Out</a></li>';
    		}
    		elseif ( !is_user_logged_in() ) {
    			$items .= '<li><a href="'. site_url('wp-login.php') .'">Log In</a></li>';
    			$items .= '<li><a href="'. site_url('wp-login.php?action=register') .'">Register</a></li>';
    		}
    	}
    	return $items;
    }

    I then changed it to the below but it doesn’t link or align up nicely…

    add_filter( 'wp_nav_menu_items', 'woohoo_add_auth_links', 10 , 2 );
    function woohoo_add_auth_links( $items, $args )
    {
    if( $args->theme_location == 'topmenu' )
    {
        if ( is_user_logged_in() ) {
        $current_user = wp_get_current_user();
        printf( 'Welcome %s!', esc_html( $current_user->user_firstname ) );
        }
        elseif ( !is_user_logged_in() ) {
            $items .= '<li><a href="'. site_url('wp-login.php') .'">Log In</a></li>';
            $items .= '<li><a href="'. site_url('wp-login.php?action=register') .'">Register</a></li>';
        }
    }
    return $items;
    }

    Any ideas?

    #177727
    Robkk
    Moderator
    #177726
    Robkk
    Moderator

    I add create a ticket and include @expectancy’s patch. Hopefully this will be included in the next version of bbPress.

    #177725
    Robkk
    Moderator

    bbPress doesn’t have any fontawesome css file.

    Check to see if its a theme or plugin. Most likely a theme.

    Try some plugin and theme troubleshooting.

    https://codex.bbpress.org/getting-started/troubleshooting/

    #177724
    van24
    Participant

    I think BBPress is loading a fontawesome CSS file in my header. Is there any way to defer it so it’s not render blocking?

    #177720
    Robkk
    Moderator

    @robin-w

    Oh no problem Robin. 🙂

    I should have stated its just my opinion that we should try to help users that may come across “forum page” related issues by creating a guide in the codex to better explain how to do it, and show how helpful it would be, but more importantly stop all these similar issues users would get that I see in these forums all the time, so that us moderators do not have to repeat ourselves or try to guess what could be causing an issue.

    You can either change recommended in my earlier statement with required. As it is not required during setup. I am sometimes terrible at choosing the right words to explain what I mean. Great that you pointed that out Robin!

    And although yes, it is recommended for further customization of a users forums in the settings. Like I said, my opinion is that the “forum page” is not recommended, until most of the user generated issues are laid out with possible solutions for users in a new guide, and either we or anyone that wants to can make a trac ticket to avoid these type of issues all together, and improve the bbPress plugin user experience.

    I would like to talk to you privately through email if you have time, about improving your codex guides also, and I do not want to butt heads with you over just some guides.

    Edit: Created the ticket https://bbpress.trac.wordpress.org/ticket/2993

    #177718
    Robin W
    Moderator
    #177716
    yourfishfinder
    Participant

    Hello there everyone and thank you for reading my post.

    I have just installed BBPress in order to make a forum very similar to that of “http://www.ultimatereef.net/forums/forum.php&#8221;, but I literally do not even know where to begin. May someone attempt to offer me some assistance in where I can start and what I need to do and how to do so.

    Thank you very much, a huge appreciate in advance

    my website is : http://www.yourfishfinder.co.uk

    #177715
    Serchgdl
    Participant

    I was the same on my site, google searching I found this, I do not remember where I found it but works.

    You must add the following to functions.php of your chil theme, for the title:

    //Titulo bbpress
    add_filter( ‘aioseop_title’, ‘packeteater_bbpress_forum_title’ );
    function packeteater_bbpress_forum_title( $title ) {
    if ( is_post_type_archive( ‘forum’ ) ) {
    $title = “Your forum tittle”;
    }
    return $title;
    }

    And for the description:

    //Descripcion bbpress
    add_filter( ‘aioseop_description’, ‘packeteater_bbpress_forum_description’ );
    function packeteater_bbpress_forum_description( $description ) {
    if ( is_post_type_archive( ‘forum’ ) ) {
    $description = “Your forum description”;
    }
    return $description;
    }

    I hope it helps you

    #177714
    heisenberghb
    Participant

    Hello guys when I activate both plugins bbpress and buddypress my admin panel + login panel is going away. When I activate only one of them it’s working again.

    I hope sb knows how to fix this

    #177713
    Robkk
    Moderator

    @robin-w

    By me, its my opinion that first time users/beginners should not create a “forum page” right now until there is a guide that could outline the possible issues users might encounter while creating it.

    If you want to make a forum page an initial part during bbPress setup, then you would need to create a ticket in the trac. It could be possible to make it similar to how Woocommerce shop page is setup to avoid most of the user generated issues.

    Also we are probably going to split this into a new topic. If you want to talk to me further about this like I said you can email me.

    #177712
    Robin W
    Moderator

    @Robkk

    Its not recommended during a setup of bbPress.

    BY whom???????????????????????????????

    Robkk
    Moderator

    Is the TinyMCE editor showing in your regular topic forms as well?? If not then you would have to just enable Post Formatting in Settings > Forums.

    What specific code did you use to enable the visual editor.

    Does the forum form page work fine in a WordPress default theme like TwentySixteen. If not this could be plugin related. If it works fine then it is theme related and some function in your currently active theme could dequeuing bbPress scripts.

    If it is plugin related it could be a plugin that dequeue bbPress scripts unless its on forum pages.

    It might be possible to come across this issue while trying to minify or combining JavaScript files too.

    #177710
    Robkk
    Moderator

    @robin-w

    Its not recommended during a setup of bbPress.

    In most cases, unless there is a forum archive bug from the theme/bbPress theme compatibility, its not a requirement for a forum site.

    It could be a possible recommendation for further customization, but a lot has to be laid out before then in a guide somewhere in customizing section or theme development (like I told in my email to you) so users do not come across possible issues.

    If you want to debate any pros and cons of creating a “forum page” you can go ahead and email me and we can discuss that, and what I emailed you before about moving your guides content into other sections.

    #177708
    Robin W
    Moderator

    @Robkk

    I usually do not say use a “forums page” as it is not recommended during setup

    1. Can’t see where it is not recommended -Indeed in dashboard>settings>forums it says “Customise your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.”

    2. There’s a massive difference between recommending something and saying ‘it is not recommended’ As far as I know bbPress is just neutral – either works fine.

    #177705
    Robkk
    Moderator

    I was just pointing out that its possible that you may need to use another conditional as well if you did create a “forum page”.

    So you would possibly need another conditional for a user created “forum page”. If you didn’t already make sure that the “forum page” was set to have the same page slug as the default forums slug in your site set in Settings > Forums.

    An example of the additional conditional you would use would be is_page{1} where “1” is the specific page ID of your “forums page”.

    if (!is_bbpress() || is_page(1) ) {

    You can also use is_page(‘forums’) as well instead.

    https://developer.wordpress.org/reference/functions/is_page/

    I usually do not say use a “forums page” as it is not recommended during setup, but it could be useful to workaround bugs that I think usually happens when using a Genesis theme, but I guess use it until the bug is fixed in bbPress/Genesis. Well if there is still a bug.

    I would contact your theme developers support since you have a paid theme, and they can help you better since they understand the code in that specific theme, and only if you really want to dig into the code and modify it like your trying to do, or you can just use a plugin like Widget Logic to use a conditional to hide/display widgets depending on certain conditionals like is_bbpress() and is_page{}.

Viewing 25 results - 10,551 through 10,575 (of 64,535 total)
Skip to toolbar