Search Results for 'wordpress'
-
AuthorSearch Results
-
November 8, 2017 at 1:59 pm #268891
In reply to: Profile buttons not working (fixed)
Boone Gorges
Keymaster@louisarthur – Thanks for sending me credentials. I’ve logged into your site to have a look.
As you note in your email, there’s no
hrefattribute on these links. It’s not clear to me how this would be the case, but I can give you a starting point for looking into it yourself. Briefly, the buttons will be built without anhrefif the button constructing function passes an emptylink_hrefparameter to theBP_Buttonclass. The functions used in the two cases are different:Message public: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-activity/bp-activity-template.php?marks=3090#L3079
Message privé: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-messages/bp-messages-template.php?marks=1362#L1360
The logic in each case is different, but since neither is showing up, I’m guessing that one of two things is happening:
1. One of the conditional checks shared between them is failing for some reason:
bp_is_my_profile(),is_user_logged_in().2. Something on your installation – perhaps your theme but probably a plugin (since you said Twenty Seventeen was exhibiting the problem as well) – is filtering both ‘bp_get_send_private_message_link’ and ‘bp_get_send_public_message_link’, and then incorrect returning empty strings.
To test idea #2, you might try – if you can – searching through your codebase for those filter names.
November 6, 2017 at 7:25 pm #268865willallen83
Participant@boonebgorges Thank you so much!! I really appreciate your help and quick response.
Even if this doesn’t work for me, just to understand how better to debug in PHP (with wordpress) is AMAZING! (While I am not new to coding, I am new to PHP and WordPress).
Thanks again 🙂
November 6, 2017 at 6:12 pm #268857In reply to: Help Needed
Boone Gorges
KeymasterHi @chhayaparikh1963 – Thanks for the post!
I agree that the ability to post from the front end would be a good improvement for BuddyPress. It’s a bit complex to think about how it might be developed for BP itself, since it’s likely that many BP sites will want the feature implemented in different ways: limiting permissions to specific kinds of users, linking groups to sites within a multisite network, specific taxonomies for posts created from particular front-end contexts, etc. That being said, it’s something that’s long been on the radar of the BP development team. A recent ticket that outlines the issue is https://buddypress.trac.wordpress.org/ticket/6736
In the meantime, I know you said you have checked out all the third-party plugins, but I will say informally that I’ve had pretty good luck with BuddyForms. https://themekraft.com/buddyforms/
November 6, 2017 at 5:57 pm #268855Caprilli
ParticipantI wholly agree with the sentiments of the guy who posted this.
I think bbPress and BuddyPress are, frankly, appalling offerings to ordinary WordPress users.
They may well be excellent tools for developers, but they are the most user-unfriendly bits of software I have encountered in WordPress. Indeed, they make me wonder whether WordPress is for users anymore, rather than professional developers.
It simply should not be this complex, and dismally supported, to have a forum on WordPress.
I agree wholly with the view that there should be a premium paid-for service with a solution aimed at WordPress users – that is people who create editorial and run a site. Not the professional developers, who can look after themselves.
It does not surprise me that outfits like Wix are growing given this direction of WordPress. If it is for developers only – who hone their marketable skills doing this stuff – then fine.
For an ordinary user, who is not totally useless on WordPress, I have found this BBPress / BuddyPress combination utterly toxic and a waste of time.
November 6, 2017 at 4:42 pm #268854In reply to: Show number of posts per member
David Cavins
KeymasterWordPress has a built-in function for getting the number posts published by a user:
https://codex.wordpress.org/Function_Reference/count_user_postsIf you’ve been able to figure out how to display profile data, use the same approach here, and you should be in good shape.
November 6, 2017 at 4:15 pm #268848In reply to: Email activation
David Cavins
KeymasterThis is probably a server configuration problem. This simple plugin can help you figure out if your WP installation can send emails:
Alternatively, the emails may be being sent, but ending up in your users’ spam folders.
November 4, 2017 at 3:15 pm #268824In reply to: Buddypress does not work right anymore
shanebp
ModeratorAjax calls need access to wp-admin.
You’ve blocked it so the ajax calls will not work.
And you see that in the areas you’ve mentioned.You’ll need to add this conditional to your whitelist check:
wp_doing_ajaxSomething like:
if ( ! is_admin() && wp_doing_ajax ()) {November 3, 2017 at 5:14 pm #268808In reply to: Goodbye Buddypress?
David Cavins
KeymasterHi @VentureCore-
It seems like you can make avatars work remotely. Check
bp_core_fetch_avatar()for some filter opportunities. https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-avatars.php#L98I’ve not done what you’re trying to do, but it seems that the filter points
bp_core_avatar_folder_url,bp_core_avatar_folder_dircould be useful, but there’s a filter on the final result atbp_core_fetch_avatarfor the “html” output version andbp_core_fetch_avatar_urlfor just the url.Cover images should actually be easier to manage. Take a look in https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-attachments.php#L28
Alternatively, you could filter the other plugin to ignore avatar and cover image requests. Lots of ways to solve this, I’d bet.
November 3, 2017 at 4:53 pm #268805In reply to: set a default tab for non friends
David Cavins
KeymasterWhat about using a custom member front page? Then you’d have total flexibility:
Custom Front Pages for your users profilesOtherwise, I think you could conditionally filter
bp_displayed_user_get_front_templateto specifymembers/single/activity.phpfor self and friends andmembers/single/profile.phpfor non-friends. See this function:
https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-members/bp-members-template.php#L1397November 3, 2017 at 4:06 pm #268798kelvinnm
ParticipantGood morning Boone,
before I start. I just want to say a big thank you from Boulder, CO. You guys are awesome!
Below:
View Content url > https://www.community.newmessage.org/login/?action=bpnoaccess&auth=1&redirect_to=https%3A%2F%2Fwww.community.newmessage.org%2Factivity%2Fp%2F3284%2F
We are using Rocket Chat and have installed a plugin called: WP OAuth Server – CE
Description: “Use WordPress to power your OAuth 2.0 Server. Provide Single Sign On and other OAuth 2.0 functionality.”
Awaiting further instructions from you. In the meantime, I will try to turn off the above plugin and report back to you.
November 3, 2017 at 3:01 pm #268796In reply to: Magic Quotes? Strip Slashes? Why is this an issue?
Boone Gorges
KeymasterHa. Yes, this is an old and annoying issue in WordPress and WP plugins.
That said, we have done extensive work in the past to ensure that quotes are stripped where necessary throughout various interfaces. If you can share more detail about exactly where you’re seeing the slashed content, we may be able to help figure out where things are going amiss. For example, you say that you’re seeing this in the activity feed. But in what context? Is it when you type something directly into the “What’s new” box, or when something is syndicated from elsewhere on the site? Are you seeing the slashes when you refresh the page, or only when the content is returned from the database?
November 3, 2017 at 2:44 pm #268791Boone Gorges
KeymasterHi @mycraze – It sounds as something is failing to load the jquery-cookie script. BP attempts to do it in the function
bp_core_register_common_scripts(): https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-cssjs.php?marks=54#L18The first thing to check is to see whether the page is attempting to load the script in the first place. View the source of the page, and look for a tag that looks something like this, in the document head:
<script type='text/javascript' src='http://example.com/plugins/buddypress/src/bp-core/js/vendor/jquery-cookie.js?ver=2.9.2'></script>If you *do* see this, but are still having the problem, try the following:
* Load the script URL directly in a new tab. Does it load?
* Open the Network tab of your browser’s developer tools. Is the browser unable to access the file for some reason? Perhaps a 404 or some other error?If you do *not* see the script tag, then it’s a server-side issue. My guess, in this case, is that you are using a third-party theme that loads the bp-legacy JS file without also properly declaring the dependencies. To verify, switch to a default WP theme (like Twenty Sixteen) to see if the problem clears itself up. If this is the problem, you may want to talk to your theme author, or share the relevant code from the theme (probably looks like
wp_enqueue_script...) and we may be able to help you correct it. In the meantime, you may be able to work around this problem by manually enqueing the cookie script in your functions.php file. Something like:add_action( 'wp_enqueue_scripts', function() { wp_enqueue_script( 'bp-jquery-cookie', buddypress()->plugin_url . 'bp-core/js/vendor/jquery-cookie.min.js', array( 'jquery' ) ); } );November 3, 2017 at 2:24 pm #268788Boone Gorges
KeymasterHi @redcompolitica – I’ve built multi-page registration processes for clients in the past, but unfortunately, it’s not very easy to do – BP’s registration system is not built in such a way as to make it easy.
If your main goal is to make registration less overwhelming, you might consider moving some or most of your registration fields out of the “Base” group. This will mean that they don’t show up during the registration process, and users will have to fill them in by editing their profile after signing in.
If your goal is to have *conditional* registration steps – where, for example, step 2 depends on a specific value provided in step 1 – then I’m afraid it’d have to be custom-built. Much of the work could be done with a custom theme template
members/register.phpand by modifying the way that registration data is saved and validated https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-members/bp-members-screens.php?marks=113#L72Some Trac tickets that are somewhat related that you might want to follow:
https://buddypress.trac.wordpress.org/ticket/1842
https://buddypress.trac.wordpress.org/ticket/4278Good luck with your project!
October 30, 2017 at 11:11 am #268717In reply to: Registration form without password confirmation
topieng
ParticipantHi,
just for your information, we’ve created a plugin which remove the password confirmation in the registration form:
https://wordpress.org/plugins/nopassconfirm/Test it and tell us if that works fine for you!
Olivier
October 28, 2017 at 10:40 pm #268708In reply to: Gallery from users images posted to a specific group
johnsimoneau
ParticipantHere is more specific details. Ignore the $200 if it requires more then 2 hrs of work…
Buddypress Custom Queries to Feed Justified Image Grid Plugin
October 27, 2017 at 8:27 pm #268700TreeTrail
ParticipantNo sure if this was others’ experience, but for me the description duplication does not happen when tested with a WordPress theme. I just submitted a request to SeventhQueen regarding this, while using their “Kleo” theme.
October 25, 2017 at 8:07 pm #268672In reply to: Two different themes possible?
David Cavins
KeymasterBuddyPress uses a theme compatibility layer, meaning it uses its own templates that are designed to drop into any theme. You can overload all kinds of template parts for BuddyPress:
However, there are plugins (I’ve not tested) that you could maybe get to work if you have two themes in mind: https://wordpress.org/plugins/jonradio-multiple-themes/
Best,
-David
October 25, 2017 at 7:54 pm #268671In reply to: Non WP login page
David Cavins
KeymasterThis is sort of a big WordPress question that lots of people would like to change, but it’s not that easy. You could try using the plugin Theme My Login, which would need to be applied carefully, as it overlaps with BP a bit. https://wordpress.org/plugins/theme-my-login/ (I have no idea if this is a good plan, you’ll just have to try it.)
The black bar across the top is a WordPress per-user preference “Show Toolbar when viewing site”. There are many resources on the web about how to disable it/change the behavior:
https://www.google.com/search?q=wordpress+disable+toolbar+for+subscribersOctober 25, 2017 at 7:34 pm #268667David Cavins
KeymasterYou can save extra things manually on the
bp_core_signup_userhook:
https://buddypress.trac.wordpress.org/browser/tags/2.9.1/src/bp-members/bp-members-functions.php#L1900But I imagine that the simpler answer would be to use Profile Fields. If you add profile fields to the base group, then they appear on the registration form and are saved at signup. https://codex.buddypress.org/administrator-guide/extended-profiles/
Best,
-David
October 25, 2017 at 1:49 pm #268661Max
ParticipantHi moefahmy,
Just registered my first WordPress.org account since over hundreds of sites I’ve built in the past, hehe. I’m facing exact the same issue as you have. I seriously thought that BuddyPress would support features like this. In the wp-admin > Groups > Single Group, there’s even an option that says: ‘Who can invite others to this group?’, WHY is this option available but not ‘Which usertype can post to this group? e.g. Administrators, Moderators, Subscribers etc.’.
Is there a plugin that anyone in this community is aware of which handles above feature? I really need a feature to assign posting permissions to users or userlevels…
October 25, 2017 at 8:30 am #268659In reply to: Wiki within Each Group
wlaurito
ParticipantHey! I am using the plugin: BuddyPress Docs. You can create Wikis and upload docs inside the groups.
https://wordpress.org/plugins/buddypress-docs/“Part wiki, part document editing, part shared dropbox, “
It is working, but I would be interested too if there is a better solution..
October 24, 2017 at 7:03 am #268637In reply to: How to create member sitemap.xml
xmginc
ParticipantFor anyone interested, switching to WMPU Dev’s Smartcrawl has allowed us to automatically add all members to the sitemap. It also allows you to exclude specific roles in case you have Admins you’d like to exclude from the sitemap. While Yoast has been our goto plugin, Smartcrawl appears to hold it’s own – especially when it comes to Buddypress. Here’s a link for more info.
However, if anyone knows how @mugwumpman was able to create the members-sitemap.xml and work with Yoast, would still be great to know – thx!
October 23, 2017 at 5:41 pm #268630In reply to: Make friend field visible only to account owner
David Cavins
KeymasterHi @paksunny-
#1 can be accomplished by adding this code to you
bp-custom.phpfile (or wherever you keep your customizations): https://gist.github.com/dcavins/c65f3856dd6ed5be37eef115ab09405a#2 Try this plugin: https://wordpress.org/plugins/buddypress-private-message-for-friends-only/
-David
October 19, 2017 at 8:19 pm #268580In reply to: Please help! 404 Errors everywhere
David Cavins
KeymasterIt sounds like you need to change/update your permalink structure for your WordPress installation. Visit wp-admin > Settings > Permalinks to update.
-David
October 18, 2017 at 5:45 pm #268559In reply to: Users creating posts
ensuaralo
Participantfollow these instructions for a free way : https://www.en.suaralo.com/allow-user-wordpress-frontend-post/
-
AuthorSearch Results