Search Results for 'theme'
-
AuthorSearch Results
-
December 11, 2017 at 1:52 pm #269508
In reply to: Buddypress profile on existing navbar
peter-hamilton
ParticipantI think you need a child-theme and change the header.php to include your custom navigation, I have created a similar menu but did require a lot of work in the header.

When new messages the number of messages shows in the message-icon, links to profile page, also woocommerce integrated and a dashboard link for admin only.
The following is in my custom header.php
First code links to profile.
<li><a href="<?php echo bp_loggedin_user_domain(); ?>" class="activitylink" title="My Account"><span class="dashicons dashicons-admin-users"></span></a></li>This code deals with messages.
<li><a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>"><span class="dashicons dashicons-admin-comments"></span><span class="commentcount"><?php if (bp_get_total_unread_messages_count( bp_loggedin_user_id() ) > 0 ) { ?> <?php bp_total_unread_messages_count( bp_loggedin_user_id() ) ?><?php } ?></span></a> </li>Since I did not want too much in my nav I only used these buddypress features, more would clog up my website too much.
But where it comes down to is with a child-theme you can make it exactly as you like.
Good luck
P.H.December 11, 2017 at 1:40 pm #269507peter-hamilton
ParticipantI guess the only way to achieve this is to create a child-theme and override the buddypress templates there, then your theme stays ok unless they make a major change with hooks etc.
December 10, 2017 at 12:50 am #269493astrologeeks
ParticipantThen in your entry.php file in your custom buddypress theme folder (located in wp-content/themes/your-theme/buddypress/activity/), replace the delete link code from this
<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>to this
<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link_aside(); ?>December 9, 2017 at 3:41 pm #269479In reply to: Change gray font in group description
erraticramblings
ParticipantI’m using the Total theme from #Hash
December 9, 2017 at 3:31 pm #269478In reply to: Change gray font in group description
Gunu
ParticipantWhy not? What theme do you use?
Can you give me a link to a group page?
December 7, 2017 at 12:56 am #269456In reply to: Profile & Group Crop Avatar Issue
darren1985
Participantive just noticed the same thing, its defo something with the theme inspirebook.
if i switch to a different theme it works, i can upload cover images to profile and group.
if i enable the theme again, i cant.
i have deleted the theme and uploaded it again and still nothing.
i have disabled all plugins except buddypress and still the same, so wondering what it could be
December 6, 2017 at 5:33 pm #269449In reply to: Choosing activity stream information
nomad365
ParticipantI too are in this vote but also i would like for profile updates, change their profile pictures to not show up on the sites activity feed. I have tried the code above but it does not appear to do nothing after adding to the child themes function.php. Please help very much appreciated.
Sorry it does remove the friendships made and blog posts from the drop down but not from the activity streams.December 6, 2017 at 3:34 am #269426@mercime
Participant@needynoipe Unfortunately, we don’t have the source code of that premium theme to help you out. The best place to ask is at the theme owner’s support forums.
December 4, 2017 at 11:12 pm #269412In reply to: Custom BuddyPress email not always sending
bcanr2d2
ParticipantI am using WP Mail SMTP to get the mail to send without issues. But it seems to affect this particular email only, I am getting everything else as far as I am aware.
Here are my current active plugins – There is quite a long list.
I do use Autoptimize, so not sure if it’s affecting anything.
One of note, is Social Login, which when logging directs to their site, and redirects back to my site to log the user in via their social network, this is where it falls over and does not send this one email. It manages to send other emails related to the login, but it now gives me an idea to look into the code that sends this social email sign up notification.(BuddyDev) BP Auto Login on Activation (1.0.3)
Advanced Custom Fields (4.4.11)
Allow Multiple Accounts (3.0.4)
Autoptimize (2.2.2)
BP Profile Message UX Free (1.5)
BP xProfile Location (1.2)
BP XProfile WordPress User Sync (0.6.4)
BuddyDev Username Availability Checker (1.1.1)
BuddyExtender (1.0.1)
BuddyPress (2.7.4)
BuddyPress Member Type Generator (1.0.3)
BuddyPress Security Check (2.1.2)
BuddyPress Simple Terms And Conditions (1.3)
BuddyPress Xprofile Custom Fields Type (2.6.3)
BuddyPress Xprofile Member Type Field (1.0.4)
BuddyPress XProfile Validate with RegEx (0.1.2)
Cherry Parallax Plugin (1.1.0)
Cherry Plugin (1.2.8.1)
Child Theme Configurator (2.1.2)
Conditional Profile Fields for BuddyPress (1.1.9)
Contact Form 7 (4.6)
Contact Form 7 – Dynamic Text Extension (2.0.1)
Contact Form 7 Conditional Fields (1.0)
Contact Form 7 Get and Show Parameter from URL (0.9.7)
Contact Form 7 Honeypot (1.10)
Contact Form 7 Modules: Hidden Fields (2.0)
Contact Form 7 Shortcode Enabler (1.1)
Custom Hooks (1.0)
Custom Post Template By Templatic (1.0)
Custom Post Type UI (1.4.3)
Disable Comments (1.6)
Display Posts Shortcode (2.7.0)
FacetWP (2.7.4)
FacetWP – Map (1.0.5)
Flamingo (1.5)
GeoIP Detection (2.7.0)
GEO my WP (2.7)
Google Analytics Dashboard for WP (4.9.6.2)
List Plugins (1.4.4)
Meta Slider (3.4)
Optimize Database after Deleting Revisions (4.2.1)
Page-list (5.1)
PHP Compatibility Checker (1.4.0)
Popup Maker (1.4.20)
Shortcodes in Menus (3.2)
Social Login (5.2)
Stream (3.2.0)
String Locator (2.2.0)
Sucuri Security – Auditing, Malware Scanner and Hardening (1.8.3)
SuitePlugins – Advanced XProfile Fields for BuddyPress (1.0.3)
Theme Check (20160523.1)
Visual Builder for Contact Form 7 (2.0)
WPFront User Role Editor (2.13)
WP Mail SMTP (0.11.1)
WP Private Content Plus (1.13.1)
WP Smush (2.6.1)
Yoast SEO (4.3)December 4, 2017 at 3:17 pm #269408needynoipe
ParticipantNot sure if this is the correct category and not sure if the latest status is a buddypress or buddy theme thing.
December 4, 2017 at 9:51 am #269403In reply to: How to hide tabs on the Sitewide Activity page
HDcms
ParticipantHello,
Ah, I have error messages. but I do not see how to correct!
04-Dec-2017 09:42:49 UTC] PHP Notice: Trying to get property of non-object in /home/../wp-content/themes/woffice-am/bp-am/bp-membres.php on line 7 => $user_roles = $user_info->roles; [04-Dec-2017 09:42:49 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /../wp-content/themes/woffice-am/bp-am/bp-membres.php on line 8 => if (is_super_admin() || in_array('membre2', $user_roles)) [04-Dec-2017 09:42:49 UTC] PHP Notice: Undefined variable: output in /home/../wp-content/themes/woffice-am/bp-am/bp-membres.php on line 10 => $output .= '<style type="text/css">body.activity.directory #activity-friends {display: none;}</style>';December 3, 2017 at 10:27 am #269379In reply to: User Profile Field Descriptions Showing Twice
Lars Henriksen
ParticipantI have the same problem.
Look in the right column of my register pageWhen I change to Twenty Seventeen the duplicates disappear, though. Can you confirm, @aubreyw?
I use a child theme of GeneratePress. How can we correct this duplicate issue in our themes?
December 3, 2017 at 1:25 am #269377In reply to: [Fixed] Groups Messages Disappear After Update
grimbot
ParticipantThe header.pho file had been renamed. It also had the code in it that hid the member directory. The problem was there while it was renamrd. I changed the (now) 2header.pho back to header.pho ( in the child theme) and it threw everything out of style. What kind of bothers me though is I don’t remember renaming the header.pho to 2header.pho and when I left it alone in January 2017 I remember thinking “good.. Every thing looks find, men er directory hidden, weird style glitches taken care of, removed incompatible plugins that were mrssing stuff up.. Now… If I never update Ill be fine”.. Haha.. Well.. 10 months later in.like ” oh man.. 30 updates? I better keep my stuff updated” now it’s glitched.. So it being renamed spooks me a little. I’ll look through the files in the child theme for that string. I’ll let you know if I can get it fixed and what fixed it. If you have any ideas let me know.. Thanks
December 3, 2017 at 12:50 am #269376In reply to: New user welcome email
madebyhuddy
ParticipantI have the same problem. Every plugins except Buddypress successfully send mails. ( woocommerce, WPForms… ) I tried disabling all plugins, default theme, tried default wp mail, tried smtp trough WP Mail SMTP, Postman…
Anyways. I’ll follow this thread too.
December 2, 2017 at 3:38 pm #269361In reply to: [Fixed] Groups Messages Disappear After Update
Boone Gorges
Keymaster@grimbot – When you swapped out the header.php file for the original, did it fix the AJAX problem you’ve described here? It’s likely that it’s unrelated, but worth checking.
> Perhaps something with the .httaccess files?
Unlikely – mods to the .htaccess file might prevent the call from going through in the first place. This AJAX call is successfully hitting the server, but it’s returning something incorrect.
Given that the item is showing up in the database/Dashboard, it’s highly likely that your theme is the culprit. As a test, try switching to the Twenty Fourteen theme to see if that makes the problem go away.
If you have the ability to search your codebase, either via SSH or as a local copy, you should search it to find the string from the screenshot. That’s how I’d start debugging.
$ grep -nR "why\-does\-width" wp-content/themes/staticcolonies_ctDecember 2, 2017 at 3:30 pm #269359In reply to: User Profile Field Descriptions Showing Twice
Boone Gorges
KeymasterCan you share a screenshot? (Upload to https://postimg.org/ and share the URL to the screenshot.) Seeing how the fields are rendered may give a hint as to why this is happening.
It may also be worth switching to the Twenty Sixteen theme momentarily (or some other WP default theme) to see if it solves the problem. If so, you can narrow it down to your theme causing the problem. If that’s the case, please share details about your theme.
December 2, 2017 at 3:29 pm #269358Boone Gorges
KeymasterIf you’re able, search your codebase for the string. It *must* be there somewhere. If you have SSH access:
$ grep -nR "Please upload your profile photo to start using this site" wp-content/pluginsRepeat for
mu-pluginsandthemes.December 2, 2017 at 11:39 am #269352In reply to: How NOT to redirect users after login.
peter-hamilton
Participantlol, did not mean to break your head.
Do you have a child-theme?
If you add the following code to your functions.php your members should return to the page they logged-in from.
if ( (isset($_GET['action']) && $_GET['action'] != 'logout') || (isset($_POST['login_location']) && !empty($_POST['login_location'])) ) { add_filter('login_redirect', 'my_login_redirect', 10, 3); function my_login_redirect() { $location = $_SERVER['HTTP_REFERER']; wp_safe_redirect($location); exit(); } }December 2, 2017 at 10:51 am #269351In reply to: Theme after login.
peter-hamilton
ParticipantIn your child-themes function.php paste the following code:
add_action( 'init', 'blockusers_init' ); function blockusers_init() { if ( is_admin() && ! current_user_can( 'administrator' ) && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { wp_redirect( home_url() ); exit; } }December 2, 2017 at 7:16 am #269345In reply to: [Fixed] Groups Messages Disappear After Update
grimbot
ParticipantIt is showing up in the activity area..
I looked over the child theme and noticed that the header.php has been renamed to 2header.php
It had a custom code in it that hid the members directory.. the code looks the same, but when renamed to header.php, it messes with the layout. Maybe when it updated it detected something strange and renamed the file? I’d hate to claim hacker. Very strange.. Hmm.. Custom code.. custom code. It’s been months since I’ve tinkered on this, and everything worked when I stopped messing with it. I even made a backup and am tempted to restore the backup but if I go that route I’ll never want to update again.. Strange how the image you sent has a link to a question on stack overflow. I visit there from time to time but pretty sure I wouldn’t have included a link in their code.
I’m stumped… I’ll need to hire more experienced help. Are you available for hire to fix this? If so how much would it cost?
December 1, 2017 at 7:34 pm #269328In reply to: How NOT to redirect users after login.
Boone Gorges
KeymasterYou could try using a different plugin for switching the login page. https://wordpress.org/plugins/search/login+page/ The one I’ve seen in use before is Theme My Login. Maybe it will work better with your setup.
December 1, 2017 at 7:33 pm #269326In reply to: Appearance of a profile page in BuddyPress
Boone Gorges
KeymasterHi @thelovebridges –
BP doesn’t have any built-in tools for modifying the appearance of the page from the Dashboard.
This leaves you with two options:
1. Use custom CSS. You can probably accomplish much of what you want this way.
2. Override BP’s templates in your child theme. Only do this if you need to change markup.If you can give more of an idea of what you’re trying to accomplish, we may be able to give more specific advice.
December 1, 2017 at 7:26 pm #269323In reply to: [Fixed] Groups Messages Disappear After Update
Boone Gorges
KeymasterI’ve logged in and reproduced the error.
One of two things is happening here.
1. The item is being posted, but cannot be loaded for some reason. Check Dashboard > Activity to see if the item is listed there; if so, then it falls into this category.
2. The item is not being posted.
When I click ‘Read More’, I’m seeing something like this in the console: https://postimg.org/image/40weara5j/ This suggests to me that there’s some custom code on your server – maybe the theme, I’m unsure – that’s interfering with the AJAX call. Does this code look like something you wrote? If you switch back to Twenty Fourteen (instead of your child theme) does the problem persist?
December 1, 2017 at 7:21 pm #269321In reply to: How to hide tabs on the Sitewide Activity page
Boone Gorges
KeymasterThese tabs are hardcoded into the theme template. So you have two options:
1. Override the theme template in your own theme (copy
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.phpto/wp-content/themes/[your-theme]/buddypress/activity/index.php, open the copied template, and remove the tabs you don’t want.2. Hide with CSS. Eg
body.activity.directory #activity-friends { display: none; }December 1, 2017 at 3:42 pm #269311In reply to: Organic Square theme
peter-hamilton
ParticipantThanks again, I do work better when sometimes tapped on the back, and there is such a need to improve on the available themes for BBPress/Buddypress, I feel they should not even be a separate thing… think they come from the same group of people!?.
I aim to produce a usable skeleton theme in the next few months, to be honest now trying to learn how to create a customization page in the dashoard.
-
AuthorSearch Results
