Search Results for 'register'
-
Search Results
-
Topic: New member’s username
Hi
It’s not a big deal but, I am just curious why I am getting new registered members with usernames that are random letters.
WP 5.3.2
BBpress 2.6.4
Buddypress 5.1.2 (with private forums)Hi,
When entering a registered user name via [bbp-search], messages from this user are shown eventhough they are in a private forum and the requesting user is NOT a member of that group.
This clearly violates the privacy and should not be happening.I have removed all occurences of [bbp-search] , and with that lost the ability to search through the forums.
To test
– create 2 users (eg user-1, user-2)
– Make user-1 member of a private forum (forum-1) and create a topic and some replies.
– Make user-2 member of anothher private forum (forum-2) and create a topic and some replies.– create a testpage with content [bbp-search], publish
– login with user-1
– got to testpage and search for user_2No messages should show up, but i’m afraid they will.
Could anyone please try and get back here to share the result?
Topic: bbPress + Elementor Header
Hi there,
I’m building a website with Elementor Pro and bbPress.
I created 2 different Headers: a main one for the Landing page and blog, and another one for the forums.
I used the shortcode to display the forums index on a page I’ve built with Elementor and the Header works fine. But when it comes to the automatically created single pages (topic, reply, search, etc.), it displays the main Header.I contacted Elementor support, not knowing if the issue was on their side or on yours, and they told me I had to contact you, explaining me this :
“For your information, we usually find this happening when creating custom post types where it is excluded from showing in menus via the custom post type’s “show_in_nav_menus” option; this option is found in the post type’s “register_post_type” function used to add it in WordPress and may be set to “false” in this case […] we highly recommend contacting the bbPress support team to help with changing this option to “true”. The solution we suspect would be similar to using the function code mentioned in this bbPress support post but with the ‘show_in_nav_menus’ variable set to ‘true’ > https://bbpress.org/forums/topic/plugin-snippet-hack-to-include-bbpress-topics-in-wordpress-search/ ”So, here I am! Can someone help me, please?
Thank you!
Topic: Oh no!
I read many posts for removing the “Oh, bother” message.
I tried to remove it with
1. function.php
2. tried to change feedback-no-topics.php and feedback-no-forums.php
3. tried bbpress style packWould like to show “Only for registered users” but the only thing I get with solution 2 and 3 is a blank yellow field with nothing.
I use a Content Restrict Plugin for EDD and they say it’s a bbpress problem.
Any suggestions?
Thanks
MatthiasI’m using buddypress + bbpress + ultimate member
I found that only avatar from ultimate member has been fetched, which is not what I want.
I think the ultimate member caused this bug but I need ultimate member to create login and register page.
Can I fetch buddypress avatar to show up in the bbpress forum without deleting ultimate member?
Thanks in advance!
The website is https://marshallyin.comWP 5.3.2
Buddypress 5.1.2
Website https://connect.commium.fr/
Theme : Woffice wordpressHi guys,
I’m beginner developper and i have a problem which i’m trying to solve on my website, i created a function to show groups website statistics on their group -> stats tab on group page, the thing work perfectly with an embedded public stats API, but i want to show theses tab on user dashboard too, not only on group -> stats tab, so i tried to copy past the function display() but it didn’t work, the $setting variable and $setting2 variable are NULL..
Someone can help me on this problem please, you can check the code below for more informations :
function stats() { if ( bp_is_active( 'groups' ) ) : class Entreprise_Statistiques extends BP_Group_Extension { /** * Your __construct() method will contain configuration options for * your extension, and will pass them to parent::init() */ function __construct() { $args = array( 'slug' => 'entreprise_statistiques', 'name' => 'Statistiques', ); parent::init( $args ); } /** * display() contains the markup that will be displayed on the main * plugin tab */ function display( $group_id = NULL ) { $setting = groups_get_groupmeta( $group_id, 'entreprise_statistiques_setting' ); $setting2 = groups_get_groupmeta( $group_id, 'entreprise_statistiques_setting2' ); $group_id = bp_get_group_id(); ?> <script> StatHatEmbed=new function(){function d(){var a=document.getElementsByTagName("script");return a[a.length-1]}function e(a,b){var d=document.createElement("script"),c="//www.stathat.com/embed/"+a+"/"+b.s1;b.dev&&(c="//localhost:8081/embed/"+a+"/"+b.s1);b.s2&&(c+="/"+b.s2);b.s3&&(c+="/"+b.s3);c+="?w="+b.w+"&h="+b.h+"&tf="+b.tf;b.style&&(c+="&style="+b.style);b.dev&&(c+="&dev=1");b.title&&(c+="&title="+b.title);d.src=c;d.type="text/javascript";document.getElementsByTagName("head")[0].appendChild(d)}function f(a){return[a.s1, a.s2,a.s3,a.w,a.h,a.tf,a.style].join("_")}this.render_graph=function(a){DIV_ID="statd_embed_graph_"+f(a);d().insertAdjacentHTML("AfterEnd","<div id='"+DIV_ID+"' style='display:none'></div>");e("graph",a)};this.render_histogram=function(a){DIV_ID="statd_embed_histogram_"+f(a);d().insertAdjacentHTML("AfterEnd","<div id='"+DIV_ID+"' style='display:none'></div>");e("histogram",a)};this.render_data=function(a){DIV_ID="statd_embed_data_"+f(a);d().insertAdjacentHTML("AfterEnd","<div id='"+DIV_ID+"' style='display:none'></div>"); e("data",a)};this.render_table=function(a){DIV_ID="statd_embed_table_"+f(a);d().insertAdjacentHTML("AfterEnd","<div id='"+DIV_ID+"' style='display:none'></div>");e("table",a)};this.render_text=function(a){DIV_ID=["statd_embed_text",a.s1,a.u].join("_");d().insertAdjacentHTML("AfterEnd","<div id='"+DIV_ID+"' style='display:none'></div>");e("text",a)};this.render=function(a){a.tf||(a.tf="week_compare");a.kind||(a.kind="graph");switch(a.kind){case "graph":this.render_graph(a);break;case "histogram":this.render_histogram(a); break;default:this.render_graph(a)}}}; </script> <div id="stats"> <script>StatHatEmbed.render({s1: '<?php echo($setting); ?>', w: 760, h: 235, tf:'month_compare', style:'fill', title:'<?php echo($setting2); ?>'});</script> </div> <?php if ($setting == NULL) { echo ("Aucun site internet détecté, merci de contacter l'équipe COMMIUM."); } } /** * Création */ function settings_screen( $group_id = NULL ) { $setting = groups_get_groupmeta( $group_id, 'entreprise_statistiques_setting' ); $setting2 = groups_get_groupmeta( $group_id, 'entreprise_statistiques_setting2' ); ?> <input type="text" name="entreprise_statistiques_setting2" id="entreprise_statistiques_setting2" placeholder="Nom d'entreprise"><?php echo esc_attr( $setting2 ) ?></input> <input type="text" name="entreprise_statistiques_setting" id="entreprise_statistiques_setting"placeholder="Code suivi"><?php echo esc_attr( $setting ) ?></input> <?php $settingInfo = $_POST['entreprise_statistiques_setting']; $settingInfo2 = $_POST['entreprise_statistiques_setting2']; } function settings_screen_save( $group_id = NULL ) { $setting = ''; $setting2 = ''; if ( isset( $_POST['entreprise_statistiques_setting']) && isset($_POST['entreprise_statistiques_setting2'] ) ) { $setting = $_POST['entreprise_statistiques_setting']; $setting2 = $_POST['entreprise_statistiques_setting2']; } groups_update_groupmeta( $group_id, 'entreprise_statistiques_setting', $setting ); groups_update_groupmeta( $group_id, 'entreprise_statistiques_setting2', $setting2 ); } } bp_register_group_extension( 'Entreprise_Statistiques' ); endif; // if ( bp_is_active( 'groups' ) ) } echo stats();
Hi all,
I am designing a community website using WP and I would like to run multiple forums. Every forum will be connected to a group and for this, I am using the private group plugin.
Users can register to the community but not necessarily be part of any group.
Scenario:
As a user registered on the website (wp)
when I try to access a forum I am not a member
then I see a call to action that allows me to request access to the forum
then a request is recorded and an email is sent to the adminsIs there any plugin to do the above?
Thx!
F.
Hi All,
Is there a way to re-direct users that are logged in and land on the bbpress home location e.g /chat/ and re-direct them to a specific forum.
E.g, logged in users visits mysite.com/chat, and it redirects them to mysite.com/chat/forum/support.
i am using the code below found in the bbpress forums which re-directs guest to another page. It works great.
/** * Redirect bbPress pages to registration page */ function kleo_page_template_redirect() { //if not logged in and on a bp page except registration or activation if( ! is_user_logged_in() && is_bbpress() ) { wp_redirect( home_url( '/register/' ) ); exit(); } } add_action( 'template_redirect', 'kleo_page_template_redirect' );
Hi, I am trying to use the wordpress restAPI to get topic data. I am trying to do so via
add_filter( ‘bbp_register_topic_post_type’, ‘enable_restAPI_bbpress_topics’, 10,1);
function enable_restAPI_bbpress_topics ($args) {
$args[‘show_in_rest’] = true;
return $args;
}That is to enable some functionality in another plugin.
But for some reason, doing so causes the bbpress topic editor to alter behavior. It shows a different editor type.
Instead of normal editor which shows a title field and then a content area below, it shows a Gutenberg block for title and content.
But more importantly, when I submit a topic it gets saved with userid set to 0. The revision is saved with correct user id, but the post itself is saved with post_author 0.
Any idea what is going on?
Brian