Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 2,951 through 2,975 (of 3,787 total)
  • @danbp

    Participant

    OK ! Give this a try:

    div#bbp_topics_widget-3 li a.bbp-forum-title,
    div#bbp_replies_widget-4 li a.bbp-reply-topic-title {
    	font-weight: bold!important;
    }

    @danbp

    Participant

    Yes, but it is incomplete. This code shows only the widget title part.

    Use the code button when you insert code here. Thank you.

    @danbp

    Participant

    When was Canvas latest update ? Do you use a child-theme ?
    Have you tested with one of WP’s Twentysomething theme ?

    @danbp

    Participant

    recent replies and most popular topics are not buddypress widgets.
    Recent replies belongs to bbpress, but i don’t know about most popular topics…

    Can you give the source code of those widgets please (but not the whole page) ?
    Highlight them in your browser, right-click > show selection source.

    @danbp

    Participant

    Do you use an old buddypress specific theme ? Do you use a custom function somewhere (functions.php or bp-custom.php) ? Do you use a child-theme ?

    Have you enabled Profile syncing in BP settings.

    On a default install, when a user log in, he’s not redirected to his profile.
    Can you test by deactivating all your plugins, except BP and with 2013 theme activated ?

    @danbp

    Participant

    What is redirecting ? BP Redirect to Profile is not updated since over a year and many things have changed since (given to be compatible to 1.7….)
    Also it was intended for:

    • Redirect all normal users to their profile on login
    • If the admin logs in from site front page,redirect him back to front page.
    • If the Site Admin logs in from site backend, i.e. using http://yoursite.com/wp-login.php, let him go to the WordPress dashboard

    You didn’t answered: what is the login plugin ?

    @danbp

    Participant

    In addition to @bphelp ‘s advice, my 2 cents concerning BuddyPress and the possibility to use forums in different configuration but also user groups, take a look here:
    https://codex.buddypress.org/buddypress-components-and-features/groups/

    and about group forums:

    Installing Group and Sitewide Forums

    As usage example, visit this site which use groups and forums. Hope you have nothing against motorcycles ! 😉

    @danbp

    Participant

    @bphelp,@henrywright,

    no not strange, you used a wrong opening tag for the code (' instead of `). I corrected it but your code was already stripped. Sorry for the stress ! 😉

    @dwsowash,

    your above URL goes to http://gothicspider.com/members-3/ which can bring errors if you use a plugin who check for the BP members page. Correct this to /members/ in the page permalink to avoid some weird issues.

    Clear the Trash from previous created members pages. 3 indicates that you used 2 others before the actual.

    Concerning the profile redirection, once BP is activated, the site use by default the BP profile and the WP profile is no more accessible publicly. So i wonder what that plugin is for ?

    And for your issue with login, what plugin do you use ? As i think it would perhaps be easier to modify that plugin instead of WP/BP.

    @danbp

    Participant

    You’re welcome. Glad you got it to work ! 😉

    @danbp

    Participant

    Ah haaaaaaa ! Interesting information. Thank you for sharing this 😉

    @danbp

    Participant

    Note to lazy people

    Definetly using the orange search button on the top right corner of this forum mostly brings good advice. But YOU have to search a bit before asking ! 😀

    https://buddypress.org/support/topic/making-buddypress-private/

    More ?
    https://buddypress.org/support/search/private/

    @danbp

    Participant

    I wrote:
    If the question is How to style the HTML of the messages (ok with a french accent, but seriously, is it so ambiguous? 🙄 ) On each WordPress plugin page, you have a description. Read it !

    @danbp

    Participant

    Don’t know your code !
    The BuddyPress login widget code looks like this: (source:/buddypress/bp-core/bp-core-widgets.php)

    <form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    	<label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    	<input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    
    	<label for="bp-login-widget-user-pass"><?php _e( 'Password', 'buddypress' ); ?></label>
    	<input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value=""  />
    
    	<div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    
    	<input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php esc_attr_e( 'Log In', 'buddypress' ); ?>" />
    
    	<?php if ( bp_get_signup_allowed() ) : ?>
    
    	<span class="bp-login-widget-register-link"><?php printf( __( '<a href="%s" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
    
    	<?php endif; ?>
    </form>

    You hardcoded several things.
    <label for="bp-login-widget-user-login">שם משתמש</label>
    and
    <input type="text" name="log" id="bp-login-widget-user-login" value="" width="10" />

    Be warned that such hacks will be overwriten at next BuddyPress or theme update.
    Modifications should only be done in a child theme.

    Begin to remove width=”10″ to fit to the original code. And see if this change something. If not, try

    input#bp-login-widget-user-login {
       width: 100%!important;
    }
    In reply to: Duda plugin Comercio

    @danbp

    Participant

    hola @miguelcrea,

    por favor, post in english. 😉

    @danbp

    Participant

    No, not both option.

    The language file will need to be maintained while using the filter method may be more flexible. In fact, it’s very project dependant. Choice is on your side.

    will I have the ability to change the message to HTML format?
    Why would you do this ? So far i know, wp/bp mails are sent out in multipart HTML and plain text email format.

    If the question is How to style the HTML of the messages, use a plugin like WP Better Emails.

    @danbp

    Participant

    Test first with one of the WP’s theme (2012, 2013….), as the js conflict can be related to your theme

    @danbp

    Participant

    Of course it’s possible and explained on this Codex page:
    https://codex.wordpress.org/Widgetizing_Themes

    But before, check your theme support. Maybe there is something related to mobile device ?

    @danbp

    Participant

    try this: (! mytextbox is an example name, not the the one used by your site probably)

    .mytextbox {
       width: 100%!important;
    }

    Read attentively the topic i mentionned you. 😉

    @danbp

    Participant

    hi @funkolector,

    It’s only a message, not a bug, who depends of the browser you use, your debug tool severity…. and the load order of some js files (from theme or plugins). And TypeError on BP Trac are rare.

    It’s anyway very variable, et puis quoi, is your site crashing or is something NOT working AT ALL once you created such a field type ?

    I’m asking because i have such js error message over years with my BP sites… and never had any dramatically issues with js. Maybe weird, but only if you check constantly the debug console. 😉

    @danbp

    Participant

    Why do you want to use code to add a widget to a theme ?

    Go to dashboard > Apparence > Widget and do your stuff from there.

    If your theme has widgetized areas, this is how you have to do. BP is only a plugin, not a “site” or a CMS.

    Of course, if you build your own theme from scratch, you have to create such areas first in the theme’s functions.php.

    https://codex.wordpress.org/WordPress_Widgets
    https://codex.wordpress.org/Widgetizing_Themes

    @danbp

    Participant

    The original register.php file is in bp-templates/bp-legacy/buddypress/members/register.php

    You copy this file and add it to your child-theme (mandatory in such case), to get:

    /your-child/buddypress/members/register.php

    It is in this copy where you do your modification.

    Remenber also to never modify a core file directly, as you will loose your work at the next update.

    References: https://codex.buddypress.org/themes/

    @danbp

    Participant

    hi @ideasdesigninc,

    can this be done by editing a language file ?

    Yes, this is also best practice and the easiest way to do that, even if your site is in english.

    Customizing Labels, Messages, and URLs

    And here a somehow recent tutorial about filtering such messages.

    Also to be clear, when it’s time to use, we all made errors. So “it’s not working” is mostly because we did something wrong. 😉

    @danbp

    Participant

    This is a cosmetic question which can be solved by CSS from within your child-theme.

    https://buddypress.org/support/topic/change-textbox-size/

    @danbp

    Participant

    Members are the heart of BuddyPress. When a user register on a BP activated site, this user is automatically a “member”.

    So i guess “they are not registering for the site, just the members area” is just impossible. Don’t know what you already did to get a “private” member area, but if you have an issue, it’s mostly because you did something wrong. 😉

    To confirm to readers what you already get to work:

    To modify the registration page, on which appears the login fields belonging to WP (user, username, email & password), BP adds his own additionnal fields, under condition you activated the xProfile component.

    By default, BP add only one field in the mandatory field group “Base”: NAME.

    When the admin add a new field, he can choose between different field status, and depending this status, you will see phrase such as “This field can be seen by: “.

    These settings are avaible in Dashboard > Users > Profile Fields

    @danbp

    Participant

    @tsabar,

    the widget remain in english because the translation is missing.

    The hebrew version on GlotPress, where BP picks the automatic translation in your language is not completly translated (64%).

    Download it and finish the translation on your computer. BP comes with a buddypress.pot file which you must use to do this. And use poEdit or a similar software.

    Concerning the widget, you have to translate this string in the po file:
    <a href=\"%s\" title=\"Register for a new account\">Register</a>

    Aside, bp and po files are always in UTF8.
    If you save a po file in ANSI, you have to use exclusively ANSI without BOM (.txt format and evtl. change the file extension to your need)

    To generate the mo file, you must use a compiler like poEdit.

    Also avoid to hack core files and don’t make a translation on the admin side.

    I’ll find more details around how to translate in some previous topics, since 2.1 is out.

Viewing 25 replies - 2,951 through 2,975 (of 3,787 total)
Skip to toolbar