Forum Replies Created
-
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; }Yes, but it is incomplete. This code shows only the widget title part.
Use the code button when you insert code here. Thank you.
When was Canvas latest update ? Do you use a child-theme ?
Have you tested with one of WP’s Twentysomething theme ?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.In reply to: [Resolved] create a link or redirectDo 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 ?In reply to: [Resolved] create a link or redirectWhat 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 ?
In reply to: Hello, interested in buddypress but scared also!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:
As usage example, visit this site which use groups and forums. Hope you have nothing against motorcycles ! 😉
In reply to: [Resolved] create a link or redirect@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 ! 😉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.
In reply to: [Resolved] language problem in widget editYou’re welcome. Glad you got it to work ! 😉
Ah haaaaaaa ! Interesting information. Thank you for sharing this 😉
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/
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 !In reply to: [Resolved] language problem in widget editDon’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 Comerciohola @miguelcrea,
por favor, post in english. 😉
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.
Test first with one of the WP’s theme (2012, 2013….), as the js conflict can be related to your theme
Of course it’s possible and explained on this Codex page:
https://codex.wordpress.org/Widgetizing_ThemesBut before, check your theme support. Maybe there is something related to mobile device ?
In reply to: [Resolved] language problem in widget edittry 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. 😉
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. 😉
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_ThemesIn reply to: I cannot change the text on the Registration PageThe original register.php file is in
bp-templates/bp-legacy/buddypress/members/register.phpYou copy this file and add it to your child-theme (mandatory in such case), to get:
/your-child/buddypress/members/register.phpIt 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/
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.
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. 😉
In reply to: [Resolved] language problem in widget editThis is a cosmetic question which can be solved by CSS from within your child-theme.
In reply to: I cannot change the text on the Registration PageMembers 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
In reply to: [Resolved] language problem in widget editthe 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.