Forum Replies Created
-
Hello @multimartin,
2 nd question:
in the private blog settings, general > reading > search engine visibility, check disallow box. This will hide any of the private blog activities to appear on site activity and user feeds, except for those who are members of this blog.If it is not enough, considerer this plugin
1 st question:
read hereHello @saurabhsjain91,
first let’s see what is normally going on with group settings:
This is a public group
Any site member can join this group.
This group will be listed in the groups directory and in search results.
Group content and activity will be visible to any site member.
This is a private group
Only users who request membership and are accepted can join the group.
This group will be listed in the groups directory and in search results.
Group content and activity will only be visible to members of the group.As you see, the only difference is the group content and activity visibility.
The easiest way would be to create only private groups, so the members had to request membership to access them. But it is not what you want to do and unfortunately, modifying group privacy for better flexibility is not very doable.
So, we have to focus on what it is possible to do with public groups accessibility, the one with the fewest restrictions.
Lukily, core developper @imath stumbled also upon this problem a few mounth back. And finally produced a plugin.
The features are:
- allow users to submit a request to join the group.
- selectively hiding group tabs.
- add a custom group homepage when non-members are viewing the group.
More about this experimental plugin on @pollyplummer ‘s WPTavern.
The original post (fr) on @imath ‘s blog
The plugin can be downladed on github.May this help ! π
In reply to: Xprofile fields – Per Member Visibilityyou will find some usefull posts about this on the codex.
Add custom filters to loops and enjoy them within your plugin
https://codex.buddypress.org/plugindev/playing-with-the-users-id-in-different-contexts/
https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/Searching on the forum can also help.
https://buddypress.org/support/search/xprofile+conditionnal+fields/In reply to: [Resolved] Auto-generate password & name?Thank you for your information @bridieamelia. Topic is now closed.
In reply to: Registration page NOT working!MOD: removed the word HELP from the title as it is not necessary on a support forum.
In reply to: Not getting the activation mailIs yor site allowed to send mails ?
Deactivate buddypress and regisrer from WP. If you don’t receive the mail you have to get in contact with your hoster or read the host documentation.Good read here, with some wise recommendation from @hnla
In reply to: using placeholder attribute instead of labelDo you mean such kind of text ?
Name (required)
-------------------------- | | --------------------------This field can be seen by: Everyone
In reply to: using placeholder attribute instead of labelHi @mmadden,
not sure i understand what you want to achieve. Are you creating a register page from scratch ?
Anyway….
Open the original BP register file (/buddypress/bp-templates/bp-legacy/buddypress/members/register.php). It contains many placeholders and conditionnalsSo, for the mandatory NAME xprofile group (the only one you use), you have line 65
if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); --- blah---Line 75 sit this placeholder
do_action( 'bp_custom_profile_edit_fields_pre_visibility' );where you can hook your additionnal information.Line 98 there’s another one:
do_action( 'bp_custom_profile_edit_fields' );just above this function:<p class="description"><?php bp_the_profile_field_description(); ?></p>In register.php, the section you speak about goes from line 50 to 112
From/***** Extra Profile Details ******/to</div><!-- #profile-details-section -->Of course, you can also add your own placeholder to your register template.
Sorry if i’m wrong.
OK, well done ! π I mark this topic as resoled and close it.
You’re welcome. Glad you got it to work ! π
Oops !
iβm customize the buddypress template files in bp-legacy folder in buddypress plugin directory.
Don’t that, as at next BP update your work will be overridden.
Message URL’s are built dynamically. So you can’t fetch them diretly from within the template. You need a custom function to do that and use it from your theme’s functions.php.
Read in file bp-messages/bp-messages-classes.php
Read this topic for some inspiration.
In reply to: Password Protect Forum with Single PasswordOK !
maybe this can help you go further….Try with another theme. Use 2013 or 2014 and test.
In reply to: [Resolved] No button for finishing registrationhave you salt keys in your wp-content.php ?
http://stackoverflow.com/questions/18771957/wordpress-does-not-properly-display-css-file
and use the given script to check the db.
aside, @r-a-y responded on the ticket. Unsurprisingly, like me, he couldn’t replicate the issue
In reply to: [Resolved] Problem with extra admin in h2 titleYou’re welcome. Glad you got it to work ! π
In reply to: [Resolved] How do I modify the navigation?Which theme do you use ?
And have you already created a child-theme ?Generally such modification can be done by CSS.
In reply to: Password Protect Forum with Single PasswordHi @hcthomas,
if you already can’t edit your htaccess, how would handle an htpasswd file ?
Please indicate hostname and hostplan.
Can use FTP on your site or are you obligated to manage exclusively your site throught your host’s cPanel ?Also ask on the bbPress forum, which is better indicated to answer forum related questions.
In reply to: register.phpok, supposing you did a translation file (even if you use english by default) to test the above solution and assuming it hasn’t work, let’s try the hard way.
Add this to functions.php, it will force gettext to translate the string.
function bpfr_force_translation( $translated, $original_text, $domain ) { if ( 'buddypress' !== $domain ) return $translated; switch ( $original_text ) { case 'Registering for this site is easy, just fill in the fields below and we'll get a new account set up for you in no time.': return 'Join PushkarGuide.com - share your experience, thoughts about this pretty town Pushkar (INDIA).'; default: return $translated; } } add_filter( 'gettext', 'bpfr_force_translation', 10, 3 );If it doesn’t work i have no other solution to propose.
In reply to: [Resolved] Problem with extra admin in h2 titlePlease indicate also your theme name when you ask for help.
Check your theme header.php
i suspect there is a little syntax error in the “title”.Compare with one of the WP theme (2014 or 2013) how the header.php is written.
Example
<strong><h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1></strong>IMHO, the error is here: rel=”home”>
Grumpffffffff ! Sorry have no idea, as the wp search is intended the search in the wp_post table.
This is OK:
http://example.com/?s=WORDDo you use a WP single or multisite install ?
Did you set pretty permalinks during the BP install ? Can be anything but not “default”.
Verify that you checked “Allow activity stream commenting on blog and forum posts” in the BP settings.
Verify also that ” Discourage search engines from indexing this site” is not checked.
(dashboard > general > reading)No i can’t, i’m not a developper, sorry. But i understood what you want to do.
If you don’t know how to accomplish this task, try to hire a freelancer. Open a new topic on the Job Board.Did you read and understood my previous answer ?
In reply to: register.phpthere are only two files […] which need to be modified.
False.
If you use the old BP-default theme, you only modify a copy of bp-themes/bp-default/registration/register.php placed in your child-theme
If you use any other theme, you modify only bp-legacy/buddypress/members/register.php
placed in the child /your-child-theme/buddypress/members/register.phpThe one or the other, but not both. And don’t forget that you should never modify core files, as your work will be lost at the next BP update. That’s why child-theme exist and is so important for customization.
If this change doesn’t work (but it should), you have to try something different.
Create a language file containing only the mentionned string.
Read here.Do you already use a language file ? Β§Is your site in english ? If not indicate the used language.
And gave your plugin list and theme name. It could be you have somewhere a conflict with ajax who block something on the registration page.Asking for help and guidance is OK. But asking for doing the job at your place is something completely different. How much do you estimate my work ? The one already done and the one you ask for now ? If you need a professionnal, you can post on the Job Board to hire a freeelancer.
I told you how to accomplish it.
You use a theme that i even don’t know the name, and which is most probably a Premium theme.
How to customize it is certainly explained on the theme support. And if it’s Premium, you already payed for this service, so use it and if you don’t know, ask there.You’re welcome ! Glad you got it to work. ,;-)