Search Results for 'wordpress'
-
AuthorSearch Results
-
August 22, 2016 at 9:36 am #257864
In reply to: 2 sites, shared userbase?
Paul Wong-Gibbs
KeymasterHi @sfarinsky! Let’s get the terminology right, that may be why you’ve had struggle searching for answers.
A Multi-Site is a collection of individual Sites (blogs). A Multi-Site runs inside one Network. It is possible to have Multi-Networks, which lets you run multiple Networks — all from the same set of WordPress files.
Multi-Networks are not exposed by default, and require extra plugins to enable and manage (they’re a fairly advanced option; I have no idea how they work, to be honest).
So, yes. You have a multisite and a network (though the latter is normally a technicality). 🙂
Single Sign-On (SSO) should “just work”. Multiple domains should also “just work”, though you need to have a plugin that helps you achieve SSO across a multiple domain environment (because WordPress sets authentication cookies per-site, and cookies set on one site can’t be read from another site).
If your question is how do you get domain mapping and single sign-on, I’d suggest this plugin: https://github.com/humanmade/Mercator
Hope this helps
August 22, 2016 at 9:18 am #257863In reply to: Errors showing bp core ?
Paul Wong-Gibbs
KeymasterOK, lots of plugins. I am pretty sure it must be caused by one of the other plugins, but unfortunately we can’t get any more detailed information from this error.
Do you have a test site / development site for this? What you really need to do is switch to a default WordPress theme and see if the error message still shows up.
If it does, then you’ll need to start deactivating your plugins until you find which one causes the error to disappear when you turn it off. Once you have that, maybe someone can look at the code for that plugin and try to understand what’s happening.
An alternative is to add some debug code to print a more useful error message, but that’s something that should also only be done on a test/dev site.
August 21, 2016 at 7:22 pm #257845In reply to: Favorite Count in Buddypress Group in each activity
Ariful Alam Tuhin
ParticipantAugust 21, 2016 at 6:49 pm #257841In reply to: Lost password link and wrong password
idichoo
ParticipantHi guys,
thanks for the reply, I think you have miss understand what i mean.
At the frontend buddypress user page, every time any user login(include admin) when entered a wrong password is keyed redirect to the wordpress page. I would like to know you have any advice to show wrong password or user name entered instead of redirect to wordpress page.
And at the frontend buddypress user page, there is no forget password link, what if the user lost his or her password (exclude admin), how can the user receive it password thru email.
August 21, 2016 at 5:51 pm #257839In reply to: How to import a list of members (link needed)
danbp
ParticipantWich file format do you use for your list ? Where is this list taken from: wordpress, private list,… ?
Pehaps you could use this plugin if you used CSV ?
For more details, check on WP codex how to achieve this task. BP shares users with WP and is not concerned directly by your question.
August 20, 2016 at 5:30 pm #257821danbp
ParticipantTry this one which use CSS – and is working !
Add the snippet to child-theme’s functions.php
function replace_some_admin_menu_icons() { // dashicons-performance = f311 // dashicons-smiley = f527 // adminmenu is the ul ID // the second ID is the li // div is where the icon goes ?> <style type="text/css"> #adminmenu #toplevel_page_bp-activity div.wp-menu-image:before { content: '\f311'; } #adminmenu #menu-posts-reply div.wp-menu-image:before { content: '\f527'; } </style> <?php } add_action( 'admin_head', 'replace_some_admin_menu_icons' );Reference: WordPress Dashicons
August 19, 2016 at 8:45 pm #257804In reply to: [Resolved] Wrap embeds in div
Henry Wright
ModeratorPerhaps that filter hook is for filtering embeds in WordPress content? BuddyPress must have a filter for this. I’ll need to have a dig around…
August 19, 2016 at 3:51 pm #257787In reply to: Buddypress groups styles
danbp
ParticipantThis is confusing. Do we talk about group header image or site header image ?
The first post of the thread mention group header. You added yours saying “i have the same problem”.
It is not the same problem apparently !As example, when i go to Lotus group, the group header image is in
<a id="header-cover-image" href=..../groups/lotus/"></a>So i’m pretty sure my solution should work for the group header image.
Your custom-header-image is in a div, that’s right, but it is the general site header image.
You received an answer on your theme support, but i suggest you try it without the error:
The single group page
body.single-item.groups #custom-img-headerinstead of (which is the group directory page)
body.directory.groups #custom-img-headerThis one is working on my theme
body.single-item.groups img.header-imgAugust 19, 2016 at 11:49 am #257776In reply to: [Resolved] Register form not working on mobile
danbp
ParticipantThat’s very theme dependant and eventually if you customized your site it needs adjustment too. Essentially CSS and JS. Unable to tell more as you didn’t mention wich theme you use.
Perhaps you can also try to use this plugin
https://wordpress.org/plugins/buddymobile/August 19, 2016 at 9:56 am #257773In reply to: Errors showing bp core ?
Paul Wong-Gibbs
KeymasterWhat version of WordPress, BuddyPress, are you using?
What theme, and what other plugins do you have active?
August 19, 2016 at 9:11 am #257772In reply to: Register LABEL
Paul Wong-Gibbs
KeymasterAh, what’s the profile field type for that? Is it a date field type or a “Birthday” field type?
Are you using the https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ plugin ?
August 18, 2016 at 3:34 pm #257748danbp
ParticipantSee in bp-templates/bp-legacy/buddypress/members/single
and read here for some general guidance. Note: even if only Twenty theme are described as example, you can use (more or less) the same technique for any other theme.
What ever, all starts by creating a child-theme as very first step.
Related to your question, do drop down list of the sub nav and hide them in the object nav fields, i think you don’t need to alter a template, but to write a custom function.
As i can be wrong about you goal, perhaps take also a look to core file bp-core/bp-core-buddybar.php to understand how nav and subnav are instanciated.
Read also https://codex.buddypress.org/developer/navigation-api/
August 18, 2016 at 7:40 am #257739In reply to: Group with multiple forums?
mlwilkerson
ParticipantI posted the final bit of my solution to this problem over on BBPress Ticket #2191 here:
https://bbpress.trac.wordpress.org/ticket/2191#comment:17It’s filter code that helps bbPress to know what BuddyPress group is associate with any activities that might happen in a sub-forum.
So the BuddyPress group still has just one forum, but that one forum can have multiple sub-forums.
August 18, 2016 at 7:13 am #257737In reply to: Post On Buddypress Profile
danbp
Participant[URL’s removed] by user request.
Only 5 tickets of your’s on Trac: https://buddypress.trac.wordpress.org/search?q=dono12August 18, 2016 at 1:52 am #257734In reply to: Group with multiple forums?
mlwilkerson
ParticipantThanks for the suggestion, @earl_d. I had tried it already, but at your suggestion, I tried again. I did find one user error on part that was partially responsible for the fact that it didn’t work previously (the root group forum had a visibility of “Hidden”, which breaks makes the topic inaccessible to non-admin users). But still, your suggestion didn’t work for me.
TLDR: I got it working, mostly, though not entirely, and not using the approach you suggested, but your suggestion sent me down a fruitful path that ended up working out. See Scenario 4 below. Posting all of this for the benefit (hopefully) of others that may come along some day trying to work through the same issue.
(BTW, the way I interpreted your suggestion was that I should set the top-level group forum to have type=category instead of type=forum. In any case, here are my results…)
Versions
- WordPress: 4.6
- bbPress: 2.5.10
- BuddyPress: 2.6.2
Scenario 1:
(a) Create the BP Group without an associated forum.
(b) Separately, later, create a forum with type=category
(c) Go to the BP Group’s settings to try and associate the Forum to the BP GroupFail: The forum drop-down has the category forum greyed out, probably because it’s type=category.
Scenario 2:
(a) Create the BP Group *with* an associated Forum (which will automatically have type=forum)
(b) Separately, later, go edit that new Forum’s type, setting type=category
(c) Navigate to the forum’s page within the group. Say’s “the forum is empty.”
(d) Add a new sub-forum type=forum
(e) Create Topic A in the sub-forum
(f) Navigate to the group’s forum again (as a non-admin user)Expected: Topic A should appear
Actual: Topic A does not appear(g) How about directly linking to Topic A? Maybe Topic A is accessible to the user, but somehow the template simply isn’t outputting it under (f) above?
Expected: Topic A should be accessible
Actual: Topic A is accessibleTherefore: the user can see and interact with Topic, but BuddyPress doesn’t know about it as being part of the forum.
In retrospect, what seems to have actually happened here is that the original group of type=forum was regenerated and associated with the BP Group. So our topic is probably not showing up in the Group because it’s parent is the sub-forum of a forum the forum that is no longer associated with the group.
Scenario 3:
I thought: If sub-forums don’t work, then maybe multiple sibling forums could work. The Settings page for BuddyPress obviously only allows you to attach one forum, though the data model seems to allow for multiples. However, after slogging through the code, it’s clear that the current version of bbPress thwarts the adding of multiple forums. In at least two places that I saw in the code (like includes/extend/buddypress/groups.php), you have something like this:// No support for multiple forums yet $forum_id = (int) ( is_array( $forum_ids ) ? $forum_ids[0] : $forum_ids );So even if you were to completely bypass the user interface and do a hack of some kind to attach multiple forums to the group, this sort of code would thwart the hack.
Scenario 4:
So what if we go back to Scenario 1, but set up the initial group-associated forum with type=forum, instead of type=category. It would then be selectable in the admin UI, or could just be created automatically upon creation of the group.(a) Create a new private group with an associated forum
(b) Go create a new private forum and set its parent to be that initial group forum
(c) Create a topic in the sub-forum
(d) Navigate to the forum within the group as a non-admin userExpected: The sub-forum should be visible and navigable
Actual: It is! The user can click through, see the topic within the sub-forum, and reply on it.Conclusion: Success! This is the best and most functional scenario thus far.
Key differences from what I’d tried and failed before:
- All forums involved have to be set to Private visibility. If Hidden, then some aspects of this may success, but others will fail.
- The forum that is associated with the group will have to be type=forum, not type=category. But I wrote a little plugin that disallows creation of new topics within a forum, without having to mark it CLOSED (thereby also disabling comments). So this will functionally turn this top-level group forum into a category/container forum anyway
Caveat: I have noticed that when my admin user replies on the topic within the sub-forum, the BP Activity is created as expected (seen in the admin screen under Activities), but it doesn’t show up in the BP news feed of my non-admin test user. The other way works, though: if my non-admin user posts a reply to that topic, then this activity shows up in the news feed of my admin user. I need to debug that.
August 17, 2016 at 9:13 pm #257732In reply to: Post On Buddypress Profile
Dono12
Participant@shanebp and @hnla Can you please remove my site URL from this code snippet and from the other URL below? I’m sorry to ask but the snippets
seems to be added in Bing and Google searches. Thanks in advance.https://buddypress.org/support/topic/showing-wordpress-posts-on-buddypress-activity/
Also I submitted a ticket earlier today making the request can you check if it’s in moderation and cancel it? It’s not showing in my Topics Started Page. Thanks again in advance and sorry for the trouble.
August 17, 2016 at 6:31 pm #257726In reply to: Group with multiple forums?
mlwilkerson
ParticipantI have the same need/concern.
Unfortunately, I think the suggestion from @openring to use https://wordpress.org/plugins/bbp-private-groups/ won’t work. I’ve looked closely at that plugin. It doesn’t seem to have anything to do with BuddyPress groups. Rather, it seems to have to do with creating it’s own role based access groups. So that’s a way of having more access control over your forums, which is valuable in and of itself, but it doesn’t pertain to BuddyPress.
August 17, 2016 at 3:29 pm #257723In reply to: Can’t seem to work on Yoast SEO plugin
mairaj
ParticipantIf you like to keep using Yoast for WordPress pages and exclude BuddyPress from using Yoast, you may try this.
function wpseo_fix_title_buddypress($title) { // Check if we are in a buddypress page if ( function_exists( 'buddypress') && ( !empty( buddypress()->displayed_user->id ) || !empty( buddypress()->current_component ) ) ) { $bp_title_parts = bp_modify_document_title_parts(); // let's rebuild the title here $title = $bp_title_parts['title'] . ' ' . $title; } return $title; } add_filter( 'wpseo_title', 'wpseo_fix_title_buddypress');August 17, 2016 at 9:33 am #257710In reply to: Can’t seem to work on Yoast SEO plugin
Paul Wong-Gibbs
KeymasterIt’s quite probable it just won’t work. BuddyPress intentionally interferes with the page that WordPress thinks its loading (when it’s a BuddyPress URL), and I suspect Yoast SEO will look at this page object, and because we’ve messed with it and because it doesn’t map to a real WordPress Page, it won’t work.
Sorry!
August 17, 2016 at 9:30 am #257707In reply to: Redirect does not work
Paul Wong-Gibbs
KeymasterWelcome Pack! Small world.
Can you try disabling Welcome Pack? That certainly interferes with user registration.
Please also try disabling iThemes Security.Then, test registration again, and see what happens.
If it still doesn’t work as expected, if you can switch your theme to one of the default WordPress themes (leaving those two plugins disabled), test again. If you have a test environment (say you might be using Pantheon hosting, for example), this should be easy to do, though if it’s only one server, I appreciate you might not want to modify your production site too much.
August 16, 2016 at 5:22 pm #257690In reply to: Modifying the “read more” activity link behavior.
r-a-y
KeymasterAs of right now, you would have to make a copy of the JS to make your required change:
https://buddypress.trac.wordpress.org/browser/tags/2.6.2/src/bp-templates/bp-legacy/js/buddypress.js?marks=530#L513This file should reside in your theme’s
buddypress/jsfolder.Keep in mind that this is the source JS. When used in production environments, this JS is minified to
buddypress.min.js.August 16, 2016 at 10:19 am #257677Apokh
Participant– checked- theres only one Activity page
– resaved permalink structure
– i dont use custom code, but activity+ plugin
– i use quiet a bunch of additional plugins:
–BoweCodes
–Buddypress
–DisableFeeds
–DownloadManager
–DynamicWidgets
–EventsManager
–GoogleAnalyticsDashboard
–GoogleFonts for WP
–HungryFEED
–LayerSliderWP
–Mediapress
–Members
–Metaslider+Pro
–myCred
–myCredHookBP
–PageBuilder Siteorigin
–PaypalDonations
–Peters Login Redirect
–PHP Text Widget
–SimplePress
–Siteorigins Masonry
–SpamProtect by Cleantalk
–TablePress
–Wordpress VideoGalery
–WP FullCalendar
–WP Lastlogin
–WP TwitterFeeds
–WP ULike
–WP touchmobileAugust 16, 2016 at 9:31 am #257669In reply to: Creating User Class Systems Out/Inside Buddypress
Paul Wong-Gibbs
KeymasterOur user details and activity goes into a massive database; however I don’t want this to be impacted by the forum users
If this is absolutely non-negotiable (don’t share the database), you are going to almost certainly have to set up a separate WordPress site, just for your community.
There is one users table in the database, provided by WordPress, and as BuddyPress is a plugin that runs on top of WordPress, we also use that users database table.
If you don’t want new community users mixed up with existing users, you need to put the community stuff on a separate WordPress. Or, write code to filter and customise various lists of users as/when/if you need. BuddyPress Member Types might help.
August 16, 2016 at 9:25 am #257668In reply to: role field in register form
Paul Wong-Gibbs
KeymasterAugust 16, 2016 at 9:21 am #257665In reply to: Front-End Publishing
Paul Wong-Gibbs
KeymasterThis is a better question for somewhere on the WordPress.org forums. More people over there, and this isn’t specific to BuddyPress. 🙂
-
AuthorSearch Results