Search Results for 'bbpress'
-
AuthorSearch Results
-
September 10, 2016 at 5:08 am #177757
Topic: bbpress and RTL languages
in forum TroubleshootingRoozbeh Rahmani
Participanti 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
September 10, 2016 at 3:56 am #177754In reply to: Enque bbpress scripts only on forum pages
Themezly
Participant2 months not even a hint and you know it is a bug. is_bbpress does not work as advised.
September 9, 2016 at 3:20 pm #177748In reply to: New topic emails bug on sublevel domains
skyynet
ParticipantSince 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.deIMHO 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 ); }September 9, 2016 at 1:43 pm #177743In reply to: Hard Question: when we will see 2.6 out?
Robin W
Moderatorseems 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.
September 9, 2016 at 12:27 pm #177740In reply to: there is no bbPress sidebar
Robin W
Moderatoryou 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.
September 9, 2016 at 10:41 am #177738In reply to: Defer Font Awesome CSS file
van24
ParticipantFound it – it was being loaded with the GD BBPress plugin
September 9, 2016 at 10:15 am #177737In reply to: form to post multiple inputs into post_content
omarsammour
ParticipantSeptember 9, 2016 at 10:03 am #177736readmenow
ParticipantBig 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?September 9, 2016 at 6:46 am #177733Topic: there is no bbPress sidebar
in forum Troubleshootingcinges
ParticipantHello,
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
September 9, 2016 at 4:08 am #177730Topic: add Welcome User to menu?
in forum Showcaseajiaim
ParticipantI 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?
September 9, 2016 at 1:22 am #177727In reply to: Nested / Threaded Replies not working in Chrome
Robkk
ModeratorHere you go guys.
September 9, 2016 at 1:00 am #177726In reply to: Nested / Threaded Replies not working in Chrome
Robkk
ModeratorI add create a ticket and include @expectancy’s patch. Hopefully this will be included in the next version of bbPress.
September 9, 2016 at 12:33 am #177725In reply to: Defer Font Awesome CSS file
Robkk
ModeratorbbPress 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.
September 9, 2016 at 12:01 am #177724Topic: Defer Font Awesome CSS file
in forum Troubleshootingvan24
ParticipantI think BBPress is loading a fontawesome CSS file in my header. Is there any way to defer it so it’s not render blocking?
September 8, 2016 at 10:24 pm #177720In reply to: Genesis remove a widget area
Robkk
ModeratorOh 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
September 8, 2016 at 5:25 pm #177718In reply to: I dont even know where to start! Please Help
Robin W
ModeratorSeptember 8, 2016 at 4:02 pm #177716Topic: I dont even know where to start! Please Help
in forum Installationyourfishfinder
ParticipantHello 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”, 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
September 8, 2016 at 3:35 pm #177715In reply to: All in one SEO Pack Problem!
Serchgdl
ParticipantI 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
September 8, 2016 at 1:42 pm #177714Topic: Issue with bbpress and buddypress !
in forum Installationheisenberghb
ParticipantHello 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
September 8, 2016 at 12:36 pm #177713In reply to: Genesis remove a widget area
Robkk
ModeratorBy 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.
September 8, 2016 at 11:49 am #177712In reply to: Genesis remove a widget area
Robin W
ModeratorSeptember 8, 2016 at 11:26 am #177711Robkk
ModeratorIs 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.
September 8, 2016 at 10:52 am #177710In reply to: Genesis remove a widget area
Robkk
ModeratorIts 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.
September 8, 2016 at 3:20 am #177708In reply to: Genesis remove a widget area
Robin W
ModeratorI 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.
September 8, 2016 at 12:02 am #177705In reply to: Genesis remove a widget area
Robkk
ModeratorI 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{}.
-
AuthorSearch Results