Search Results for 'theme'
-
AuthorSearch Results
-
March 5, 2016 at 4:23 pm #250704
In reply to: BuddyPress + bbPress Breaks bbPress Search Widget
shanebp
ModeratorIs there a private method to provide a user/pw?
There is no PMing for this site.
But Dan has confirmed the issue with WP 2015, so it will be looked at.
Perhaps you could confirm that it does not occur with another WP theme, maybe try 2013?
And state which theme you are using?March 5, 2016 at 1:47 pm #250695In reply to: Login fields to long
danbp
ParticipantReplace in your child-theme css file
input.input { width: 300px; }by
input.input { width: 200px; }March 5, 2016 at 1:38 pm #250693In reply to: PUBLIC MESSAGE
danbp
ParticipantThe css tag ID
#aw-whats-new-submitmay exist, but if your theme use some specific height or width for it which is different from what is used by BP in the js/css file, you didn’t see the button.This is a very common theme issue, handled on many topics on this forum.
@tonyxs1 logically in the template. The what’s new form is used on activity, profile and group page.You’ll certainly find some good information from these one or other search results:
https://buddypress.org/support/search/what%5C’s+new+form/March 5, 2016 at 12:50 pm #250690In reply to: BuddyPress + bbPress Breaks bbPress Search Widget
danbp
Participanti tried to reproduce and got same result as @gretchenlouise with one of WP theme.
2016 = correct result (url /forums/search/word_to_search/)
2015 = wrong result (url /forums/search/word_to_search/) i got the latest post…
2014 = correct result (url /forums/search/word_to_search/)
2013 = correct result (url /forums/search/word_to_search/)
3rd party theme graphene = correct resultApparently 2015 doesn’t organize search like the other themes and/or ignore bbPress…
Have a nice week-end.
March 5, 2016 at 12:08 pm #250689In reply to: Emails showing as being sent from wordpress
danbp
ParticipantHi @jersey-peeps,
i’m using wp-better-emails on a multisite BP install (lastest version) without any trouble. I changed the “from” field within this plugin admin.
On a single WP install (lastest version), i use this from within child-theme’s functions.php
So if you uninstalled better_emails, you could try these snippets.//notification mail email change add_filter('wp_mail_from','custom_email_from'); function custom_email_from($mail) { $mail = 'your@mail.name'; // Replace the email address here // return $mail; } //notification name change; optional add_filter('wp_mail_from_name','custom_email_from_name'); function custom_email_from_name($name) { $name = get_bloginfo('YOUR SITE NAME');//put your own text here return $name; }In hope it helps you. 😉
March 4, 2016 at 8:23 pm #250671In reply to: translation email
Paul Wong-Gibbs
KeymasterIF your translation file is up to date (have you re-downloaded the files to check?), those strings should be getting translated.
Otherwise, another option is to edit the email template. Copy
buddypress/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.phpinto your theme and make whatever changes you want.March 4, 2016 at 7:35 pm #250664@mcuk
ParticipantThose selectors were based on the Themeforest demo site, so they may not match your actual site. Without seeing your site its not possible to say. So you’ll have to use f12 to find out if its correct.
Did you try ctrl-A without including any new bubble or top-menu CSS to see if anything was there?
Did you insert the correct name of your menu in the php code?March 4, 2016 at 6:16 pm #250659In reply to: Filtering Activity Loops
mtraps
ParticipantOkay thanks. I’ll have to do some more research.Do you recommend using a theme that is meant for buddy press or would any theme work perfect with buddypress?
March 4, 2016 at 5:39 pm #250652In reply to: Paragraph breaks in messages
shanebp
ModeratorYou mean when viewing a single conversation / thread on your site?
Paragraph breaks are shown properly when viewed in WP themes like 2013.
Try switching momentarily to a WP theme to see if your issue is related to your theme.March 4, 2016 at 5:30 pm #250651In reply to: Filtering Activity Loops
mtraps
ParticipantThanks for the super quick response! I’ve looked into that. I personally thought buddy press allowed user to post from the front end already? Without this plugin they would have to login a backend using wordpress admin type settings?
Is buddy press best used with a theme that has buddy press integrated or could I use a theme like Divi and it would work perfectly fine? Also, would you know of a plugin that will filter out all the users posts sort of like Kijiji or amazons filter on the left? I am not even sure what that is called to search for it on google. Thanks again!
March 4, 2016 at 5:18 pm #250648In reply to: BuddyPress + bbPress Breaks bbPress Search Widget
shanebp
ModeratorYou need to provide a user / pw if you want someone to look at your forums.
Make sure your issue is not related to your theme; switch momentarily to a WP theme like 2013.
March 4, 2016 at 4:48 pm #250640In reply to: Visible profile fields
idoobi
ParticipantForgot to mention: using latest BuddyPress, bbPress in Divi theme.
March 4, 2016 at 2:44 am #250594In reply to: BuddyPress file in child theme
richdal
ParticipantHad to also copy over a couple functions to my theme’s functions.php file, rename them and make a couple minor changes, but was successful for me.
bp_xprofile_get_field_types()
bp_xprofile_create_field_type()March 4, 2016 at 12:13 am #250589In reply to: How to create profile fields for certain roles?
shanebp
ModeratorYou’ll need to be able to write and debug code.
You can create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.phpSet a variable with the current user role. Google how to get that value.
Then create an array of profile field ids for a role.
For example :if ( $current_role == 'model' ) $show_fields = array( 1, 5, 23 ); elseif( $current_role == 'photographer' ) $show_fields = array( 1, 7, 12, 35 );Then check if the current profile field is in that array.
Something like:<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <?php if ( in_array( bp_get_the_profile_field_id(), $show_fields ) ) : ?> <?php if ( bp_field_has_data() ) : ?> <tr<?php bp_field_css_class(); ?>> <td class="label"><?php bp_the_profile_field_name(); ?></td> <td class="data"><?php bp_the_profile_field_value(); ?></td> </tr> <?php endif; ?> <?php endif; ?>Avoid setting any fields to ‘required’ if you’re only going to show them based on role.
March 3, 2016 at 9:30 pm #250579In reply to: How do I change the ‘activation successful’ text?
snazzypack
ParticipantThanks for your response Henry.
I am checking out your links now, but something came to mind. The issue I have is that this link sends customers to a WordPress login area, that looks exactly like the login screen for administrators (white screen with WordPress logo up top. I really don’t like that and would like the login page to look like the themes login page and I already have a login page that looks the way it should (which is why I am trying to which the link to direct to it).
Maybe, is there a way to change the look of the login page?
March 3, 2016 at 6:22 pm #250564In reply to: Widget memberbox
Mathieu M.
ParticipantWell,
I’ve tested your solution, and if it seems to duplicate all the elements from the Buddypress menu, it looks not so good : here’s the screenshot
Is it a problem with my theme (Hueman) ?
Thanks.
March 3, 2016 at 1:27 pm #250535In reply to: Activation mails not send after update
IngeB1983
ParticipantHi Paul,
Thank you for responding.
To answer your questions:
* How were you customising your activation emails?
-I was changing lines in the .pot file in PoEdit and generated a new .mo file in order to personalise the activation mail a bit more. (No core files were adjusted or changed)
-I made a change in the buddypress.min.css file* Is your site sending other emails correctly, or are all emails broken? Can you test to be sure?
I have only sent out activation emails up to this point. To test your question, I have manually added myself as a user and activated the account. Then, I send a confirmation email which it DID send, only the sender was WordPress instead of my site name.* Are you running WordPress multisite, or regular WordPress?
Regular WP. No multisite* Do you run any plugins that change wp_mail or affect how emails are delivered? For example, any plugins that send email via Mailchimp, etc?
Not to my knowledge. I am currently running these plugins:– BuddyPress
– Child Theme Configurator
– Jquery Updater
– Members
– Page Excerpt Widget
– Rating Widget
– User Submitted PostsAll of them were running as well yesterday when it still worked.
Let me know if you need any more info.
Inge.
March 3, 2016 at 12:27 pm #250523@mcuk
ParticipantHi mikee1001,
No worries :). I’m not familiar with that theme. But from your demo link (used the first of the three demos), the selector might be either:
.top-bar ul>li.bubbleor.top-bar ul>li.has-dropdown.bubble.This assumes that your live version of the theme is set up like their demo though. Note that I have added the
.bubble. As a check if you remove that bit from the selector and add something likeborder= 1px solid red;you should see a change on your site. If not then the selector is wrong.Have you got the bubbles appearing successfully somewhere on the page (even though you haven’t got the correct selector yet)? Check by pressing ctrl-A to select all, which highlights everything on your site in blue, then you can look for the numbers which are your notification counters etc. If you can’t see them then something may have been done wrongly and would need to be addressed prior to finding the correct CSS selectors.
If you manage to get them appearing and put a link to your site then I could tell you what the correct selector is.
March 3, 2016 at 10:12 am #250502Mike
ParticipantThanks so much for your step by step guide @mcUK. I’ve followed your instructions, but am stuck on changing the CSS Selector. The theme I’m using is (http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/full_screen_preview/4994573), I’m trying to put the notifications in the top menu (Welcome/Features/Forums… on the demo, but I’ve added Buddypress menu items there). Do you know which selector I would need to use for that? Many thanks.
March 3, 2016 at 9:58 am #250497In reply to: Creating a modern web community
Henry Wright
ModeratorThe alternative to having WordPress posts as “topics” and WordPress comments as “topic replies” is to theme bbPress. Check out the Theme Compat article for some introductory info. You can either use an already-made theme, or have a go at developing something unique yourself.
March 2, 2016 at 9:13 pm #250483@mcuk
ParticipantHi @mikee1001,
The code i used for inserting the bubble counters for notifications, unread messages and total friends is:
// Notification counter bubble function bptest_main_nav_notification_bubble( $items, $args ) { if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus $items_array = array(); while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) { $items_array[] = substr( $items, 0, $item_pos ); $items = substr( $items, $item_pos ); } $items_array[] = $items; array_splice( $items_array, 3, 0, '<li class="bubble">' . bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc $items = implode( '', $items_array ); } return $items; } add_filter( 'wp_nav_menu_items', 'bptest_main_nav_notification_bubble', 10, 2 );// Unread message counter bubble function bptest_main_nav_message_bubble( $items, $args ) { if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus $items_array = array(); while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) { $items_array[] = substr( $items, 0, $item_pos ); $items = substr( $items, $item_pos ); } $items_array[] = $items; array_splice( $items_array, 5, 0, '<li class="bubble">' . bp_get_total_unread_messages_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc $items = implode( '', $items_array ); } return $items; } add_filter( 'wp_nav_menu_items', 'bptest_main_nav_message_bubble', 10, 2 );// Total friends counter bubble // Note, 'bp_friend_get_total_requests_count' will give the total connection request count if desired function bptest_main_nav_friend_bubble( $items, $args ) { if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus $items_array = array(); while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) { $items_array[] = substr( $items, 0, $item_pos ); $items = substr( $items, $item_pos ); } $items_array[] = $items; array_splice( $items_array, 7, 0, '<li class="bubble">' . friends_get_total_friend_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc $items = implode( '', $items_array ); } return $items; } add_filter( 'wp_nav_menu_items', 'bptest_main_nav_friend_bubble', 10, 2 );In each of the above you will want to change the
theme_location == 'header-menu'totheme_location == 'INSERT YOUR HEADER MENU NAME HERE'. The name of your menu is found via your WP Dashboard > Appearance > Menus. The three functions above were inserted into bp-custom.php .The positions of the bubbles will also need changing depending on where they should be in your menu. Do that by changing the numbers on the section
array_splice( $items_array, 7, 0, '<li class="bubble">'. The comment alongside the line in the code should help you.You’ll also need some CSS for the bubbles otherwise you probably won’t see them even if they are functioning. If you hit ctrl-A to select everything on your web page, they should show up somewhere in your menu (assuming the code has been implemented correctly of course).
As you can see in the functions above all the bubbles have been given a class called “bubble”. So put in your style.css (of your child theme) something like:
#main-navigation .main-nav ul li.bubble { transform: translate(0, 50%); width: 20px; height: 20px; padding: 2px 6px; border: 1px solid #000; border-radius: 50%; margin: 0 10px 0 0; background: #fff; color: #000; font-size: 11px; }The selector (
#main-navigation .main-nav ul li.bubble) may be different on your site because it will depend on your theme etc. So use the developer tools, F12 button, on your browser to find out the correct one. It will be the bit before the.bubblethat is different.Hopefully the above helps!
March 2, 2016 at 5:57 pm #250477Mike
ParticipantHi @mcuk , I’ve added Buddypress menu items (e.g. messages, notifications etc.) in my main WordPress menu, together with WordPress menu items (e.g. home). I also want to have the notification counters next to each of the Buddypress items, but am struggling to get your solution to work for me (doesn’t help I’m not that proficient in coding)! Should I add the code above to the functions.php of my child theme, and is it only that one file I need to edit?
Many thanks.
March 2, 2016 at 12:58 pm #250464In reply to: place group & user meta outside of the header
Henry Wright
ModeratorThis can be done by modifying your theme. BuddyPress uses a Template Hierarchy. If you have any specific questions feel free to ask them here 🙂
March 2, 2016 at 8:45 am #250454In reply to: How to remove theme’s header from profile pages?
Hugo Ashmore
ParticipantThis requires an understanding of the WP approach to template parts and creating child themes (if you’re not already running as a child theme) plus the BuddyPress template hierarchy as outlined in our codex.
One approach would be to take advantage of the ability to call named template parts in WP so
get_header()can becomeget_header('no-logo')which would then look for a file namedheader-no-logo.phpA copy of header.php renamed to header-no-logo.php means you can now call a file that you can specifically modify – in this instance in the simplest terms you could remove any calls to rendering logos/backgrounds in this file.
Running your BP templates in your theme or child theme (see the bp codex templating guides) would then mean you could run a conditional query to see if in buddypress.php which get_header() template to use by using a check for bp_is_user() but you’ll need moderate php skills for this.
The better approach is to use the advanced BP template hierarchy which would allow you to create a file to act as index.php with all header/footer calls just for BP user screens.
The easy or possibly easier approach but not one I advice is to do what you have mentioned you have tried in using styles to hide the elements.
You’ll need a top level class identifier so we know it’s the BP screens we’re looking at and applying rules to:
body.bp-user .logo-element {display: none;}I can’t advice what the correct selectors are as I’ve no notion of your themes structure, you’ll need to identify them and test until you find the right combination.
`March 2, 2016 at 3:58 am #250448In reply to: Change profile button on hover
modemlooper
ModeratorNot too hard, add a button near avatar image and use css to place it over image. Hide the button until you hover.
Read here on how to customize bp templates https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
-
AuthorSearch Results