Search Results for 'theme'
-
AuthorSearch Results
-
February 5, 2017 at 7:49 pm #263524
In reply to: Pending Activation
leo1951
ParticipantThanks for the response, djsteveb.
Every thing is using my own dedicated server. Therefore, I have access to all functions.
With buddypress deactivated all works and its the same theme that is working on the old site. Also, I do not think it could be a theme issue since that I can resend the activation email from the backend but it is still not coming. Also, I see not error message in my log unless that I am missing the message, which I am going back to test again.
I suggestion that I have in mind could be a compatible issue between Buddypress 2.7.4
and WordPress 4.7.2 but since buddypress was set-up on the old site when wordpress was version 3 and when through the many upgrades it still works on that old site.I am just having thoughts since I cannot see the issue and from the searches this issue goes back a long time and there seems to be no one fix.
I have tried with and without Easy WP SMTP.
Thanks
Fred
February 5, 2017 at 7:58 am #263516In reply to: Pending Activation
djsteveb
Participant@leo1951 – if you switch to default 2015 theme – does the same issue occur?
are you sure the emails are not being sent? OR.. could it be that when bp is running, the emails that are sent are “blockholed” by the liked of geemail and aol mail services?
similar situation for me – then I registered an account using my own non-filtered catch all email going to my domain name – and it came right through.. so the issue was really related to getting through the gates of the big providers – not an issue with bp sending them exactly.
there was a plugin a while back.. hmm. maybe its par tof core now.. is you go to users -> sub menu manage signups – do you have such a menu on yours or is this plugin created?
try resending and checking your junk fail folders – and then check your server for error logs and bounces perhaps.
February 5, 2017 at 4:58 am #263514porubcansky
ParticipantExample of error logs:
[Sat Feb 04 21:43:29.117033 2017] [:error] [pid 10835] [client 92.19.41.202:36229] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY ID DESC LIMIT 1 /* From [lettermo.com/2017-badge/postal-explorer/] in [‘ at line 1 for query SELECT ID FROM wp_posts WHERE post_status=’draft’ AND post_type=’attachment’ AND post_author = 22943 AND post_parent = ORDER BY ID DESC LIMIT 1 /* From [lettermo.com/2017-badge/postal-explorer/] in [/nas/content/live/maryrobinette/wp-content/plugins/badgeos/includes/submission-actions.php:1783] */ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/buddypress/bp-themes/bp-default/single.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, badgeos_achievement_submissions, badgeos_submission_form, badgeos_get_submission_form, get_attachment_from_draft_submission, referer: http://lettermo.com/quests-and-badges/February 4, 2017 at 6:33 pm #263508leo1951
ParticipantHello, I don want to invade your thread but open my own days ago and its not getting viewed so no replied.
I have searched for ever and is still searching for a solution and not getting answers.
I setup this new site: WordPress 4.7.2 and running MesoColumn theme. The Buddypress version is Version 2.7.4.
In my backend I see the registration Pending and I re-sending the activation sever times while experimenting with other things and my server but to no success. And its not my server because I do have another site working with the same Buddypress version. The only difference the working site has been online since 2014.
Thanks
Fred
The
February 2, 2017 at 2:04 pm #263461In reply to: Change Colors on Buddypress Notifications !
Florian Bansac
ParticipantIf there are still people looking for help, I have been trying different things today to:
-add the notifications counter in menu
-style differently if 0 notifications or 1+
-target only the mainIt works for me, maybe you can check from here:
// filter to target only main menu add_filter('wp_nav_menu_items','my_nav_menu_notif_counter', 10, 2); function my_nav_menu_notif_counter($menu, $args) { $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/'; // counter to target unread notifications = 0 or 1+ $bpnotifcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); // condition: user must be loggedin if (!is_user_logged_in()) return $menu; else // condition: only main nav if( $args->theme_location == 'primary' ) { // condition: 0 unread notifications if($bpnotifcount == 0) { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } else { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount countnot0">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } $menu = $menu . $notif; return $menu; } else return $menu; }And CSS
/*Notifications counter in menu*/ .notifmenucount { border-radius: 25%; border: 1px solid #ccc; color: #888; display: inline; margin-left: 1px; padding: 2px 6px; text-align: center; vertical-align: center; font-size: small; } .countnot0 { color: #ffff00; background: #ff0000; border: 1px solid transparent; }π
February 2, 2017 at 1:57 pm #263460In reply to: Live time stamp broken
s4ow7ime
ParticipantYou added recently a new plugin.
Deactivate it. Personal unchanged in activity((, but WordPress has changed in the settings, the time was correct.
You added recently a custom function.
Deactivate it. Nothing change.
You havenβt tested with a twenty theme.
Change on twenty theme. Nothing change.February 2, 2017 at 1:54 pm #263459In reply to: How display the notifications on header (colors)
Florian Bansac
ParticipantI tried all sorts of things on this topic today, I ended up with something that looks like it’s working. Maybe you can try it:
// filter to target only main menu add_filter('wp_nav_menu_items','my_nav_menu_notif_counter', 10, 2); function my_nav_menu_notif_counter($menu, $args) { $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/'; // counter to target unread notifications = 0 or 1+ $bpnotifcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); // condition: user must be loggedin if (!is_user_logged_in()) return $menu; else // condition: only main nav if( $args->theme_location == 'primary' ) { // condition: 0 unread notifications if($bpnotifcount == 0) { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } else { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount countnot0">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } $menu = $menu . $notif; return $menu; } else return $menu; }And CSS:
/*Notifications counter in menu*/ .notifmenucount { border-radius: 25%; border: 1px solid #ccc; color: #888; display: inline; margin-left: 1px; padding: 2px 6px; text-align: center; vertical-align: center; font-size: small; } .countnot0 { color: #ffff00; background: #ff0000; border: 1px solid transparent; }I hope it helps!
February 2, 2017 at 1:38 pm #263457In reply to: Live time stamp broken
danbp
ParticipantYou added recently a new plugin. Deactivate it.
You added recently a custom function. Deactivate it.
You haven’t tested with a twenty theme. You should.I ignore what is a podobonoy problem! Sorry.
February 2, 2017 at 1:28 pm #263455In reply to: Cover image
danbp
ParticipantHi,
it is not available for header cover image, because it is theme dependant (in most of cases).
More about custom size in the documentation
February 2, 2017 at 1:24 pm #263454danbp
ParticipantIn brief, yes ! Because a BP member is already a regular wp user. As soon as you register to a wp site, you became a wp user, whatever the plugin(s) you use.
Historically, WP is a CMS specialized in blogging… and is still this today… even if it can do much more as in 2003. But if we can today customize theme from within the wp-admin, we’re still confronted to a vintage user manager. Don’t know why, but outside subscriber, author and such (in fact, readers and newspaper actor’s terminology), there is not much you can do (simply) with “users” or “members”…Perhaps you need some documentation to understand. WordPress distinguish users by roles and access capabilities. There is no “member” consideration. Member is a frontend term who sounds better as subscriber or editor when associated with a plugin like BP0. The term sounds also more accurate when you promote a “crew”, a “team” or a “community”. But technically, there is only a user with a role in WordPress, not a member.
https://codex.wordpress.org/Roles_and_Capabilities
https://codex.wordpress.org/User_LevelsFebruary 2, 2017 at 10:16 am #263450In reply to: Live time stamp broken
s4ow7ime
ParticipantDid you checked your WordPress time settings ?
yes
if i change on UTC its
Universal time (UTC) is 2017-02-02 10:10:22. Local time is 2017-02-02 10:10:22.
if i change on Moscow its
Universal time (UTC) is 2017-02-02 13:11:50. Local time is 2017-02-02 16:11:50.
if i change on UTC+3 its
Universal time (UTC) is 2017-02-02 12:14:27. Local time is 2017-02-02 15:14:27.What is your server time ?
10:08:27 02.02.2017
On my computer its (my local timezone 13:09)
Do you use a new plugin ?
yes
Have you changed your theme ?
no
Have you add a custom function somewhere ?
yes
Have you tested by using a twenty theme ?
noI assume that the problem is hidden in WordPress, but plug-ins that change the time I did not install. Who faced with podobonoy problem?
February 2, 2017 at 8:50 am #263448In reply to: Live time stamp broken
danbp
ParticipantDid you checked your WordPress time settings ?
What is your server time ?
Since when do you have that issue ?
Do you use a new plugin ?
Have you changed your theme ?
Have you add a custom function somewhere ?
Have you tested by using a twenty theme ?For the moment, don’t panic. There is no problem in any js file on a common WP/BP installation. π
February 1, 2017 at 6:52 am #263405In reply to: Don’t hide fields when user views his own profile
john.horning
ParticipantOkay – discovered that the overload file needs to be in wp-content/themes/buddyboss-child/buddypress/members/single/profile and verified it by making a random change to the file, but I’m still not seeing fields without values.
PS For some reason, the system won’t allow me to paste the code.
February 1, 2017 at 1:07 am #263397In reply to: Don’t hide fields when user views his own profile
john.horning
ParticipantThanks for the quick response, but doesn’t seem to be working for me. I created the template overload of profile-loop.php and stored it in wp-content/themes/buddyboss-child/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile. I’ve pasted the entire file below after modification.
I can’t find it now, but there was a thread somewhere that indicated that the following line needed to be changed in bp-xprofile-template.php so was wondering what you thought of that.
$hide_empty_fields_default = ( ! is_network_admin() && ! is_admin() && ! bp_is_user_profile_edit() && ! bp_is_register_page() );Anyway, here’s my profile-loop.php:
`January 31, 2017 at 11:44 pm #263392In reply to: Don’t hide fields when user views his own profile
shanebp
ModeratorThe easiest way is to create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.phpThen, in the overload, remove this conditional:
if ( bp_field_has_data() )January 31, 2017 at 5:52 pm #263382In reply to: Show custom activity in stream
djsteveb
Participant
@mr3k – I assume “their shortcode for activity” this has to do with the paid version of said theme.. and if you are trying to get something to work with a paid theme, then you are likely not going to get any help in the bp forums from what I have seen over the years.I wish you luck. Modding the activity stream in bp is such a pain point.
January 31, 2017 at 5:45 pm #263380In reply to: Is Buddy Press for me?
djsteveb
Participant@rickaltman – I think buddypress can do most of what you describe here right out of the box. I would search for forum threads and maybe plugins to have your members auto join a group –
this would give you something like “your site dot com / groups / mainGroupName / members
for this kind of list – although it would be a list rather than grid system – you may find another way to do it, but it’s probably gonna take some hacking-up things to get the grid layout if you really want that – I’d try to find something less robust – like maybe just the wpmudev membership2 plugin in the wp repo – and hackup a page to list authors with a wp theme or something…bp can do a profile pic.. but it needs plugins to really “upload photos” – and that’s a can of worms in which some is over-baked, some under baked, and future possibilities are endless.. some built in bp hooks have been made a while back but.. well not sure what meant exactly by “upload photos” –
its going to be much easier to get community support for regular wordpress themes and such.. buddypress is probably a lot more power than your use case is gonna need.. and with that is gonna be spam issues – virtually no support for customizing anything.. even if you knew php really well, you’d have learn wordpress well, and then try to digest all the BP docs and sort through tracs.. gits.. and other random stuff on the web that is not well documented, no well supported, and leaves you wondering if it’s secure… and the chances of all the various hackedup things working well together is blah… and future updates – hahaha.. who knows that is going to happen.
In your situation I’d say it wouldn’t hurt to play around with BP – as it’s free.. but if it doesn’t do what you want out of the box.. then I would delete it all – and try a basic wordpress with members plugin.. maybe even just a ‘multi-author blog” – you’ll get less spam, and much less work.
Others may think / feel differently about all this, my experience comes from my issues – your mileage may vary..
January 30, 2017 at 8:52 pm #263308In reply to: Syntax Question: bp_before_displayed_user_fullname
shanebp
ModeratorI don’t see that hook in
member-header.phpYou can create a template overload of that file and add what you need directly to the template.
>Do plugins and themes create custom hooks
Yes.
January 30, 2017 at 8:22 pm #263307In reply to: Syntax Question: bp_before_displayed_user_fullname
rgrober
ParticipantThank you very much for the reply @shanebp!
I found this on the member-header.php file.
On a member’s profile page, I’m attempting to insert an element before the user’s name (directly before, not above), but I’m not sure which hook I’m supposed to use.
I’m successfully adding content after/below the User’s name by using
bp_before_member_header_metaDo plugins and themes create custom hooks in addition to the standard wordpress hooks?
Again, I really, really appreciate your help!
January 30, 2017 at 1:23 pm #263293In reply to: CSS help for Groups Page, please, please!
shanebp
ModeratorFor the text, look at this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\cover-image-header.phpFor the nav, look at this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\home.phpBut don’t change those files, make a copy in your theme, aka template overload.
January 27, 2017 at 5:25 pm #263222In reply to: Social connect & Buddypress
netixel
ParticipantHi,
I use this plugin : BuddyPress Social Connect – Author : Vibethemes
Regards
January 27, 2017 at 4:47 pm #263221In reply to: delete user profile fields
danbp
ParticipantHum, i have not noticed such an issue on any of my BP sites, what ever theme i use…
Have you tested with all plugins deactivated ?Afaik you have to debug properly.
Use WP and BP only, with Twenty Sixteen and wp_debug activated.https://codex.wordpress.org/Debugging_in_WordPress
Read also here and give details.
January 27, 2017 at 4:40 pm #263219In reply to: Social connect & Buddypress
danbp
ParticipantWell and good, but BuddyPress doesn’t connect to facebook without a plugin. Which one do you use ?
And your theme author is right. That said caching may also imply server latency or bandwith throttling…If you use a FB plugin, try to ask on their support.
January 27, 2017 at 4:25 pm #263217In reply to: user role box under profile picture
danbp
ParticipantHi,
you have many errors in your code.
– in the css you declare a class (a dot ) while you use an ID (#) in the html
– in the code, you omit to close a p tag, and you need also a user_id and a way to get the displayed user (WordPress) role. Both are missing.Here, the whole thing corrected.
– we don’t need a extra div, as we only add a p tag in an existing div.
– the code to get the role holds in 2 small lines.The CSS (goes into child theme’s style.css)
#item-header-avatar p { margin: auto; border:1px solid green; background: yellow; width: 110px; text-transform: capitalize; }The html and php for the template (starts aroud line 24 of cover-image-header.php)
<div id="item-header-avatar"> <a href="<?php bp_displayed_user_link(); ?>"> <?php bp_displayed_user_avatar( 'type=full' ); ?> </a> <?php $user = new WP_User( bp_displayed_user_id() ); echo '<p>'. $user->roles[0] .'</p>'; ?> </div><!-- #item-header-avatar -->Do it simple ! π
January 27, 2017 at 1:16 pm #263213In reply to: delete user profile fields
bsreverman
ParticipantThat’s the problem – when I try to delete the field from my admin dashboard>users>xprofile fields than the situation I described in the initial post is what is happening. The developers of my theme said they had encountered this as a buddypress issue before and asked me to contact you. As this happens in twenty-fourteen as well I’m assuming it is not a theme issue.
-
AuthorSearch Results