Forum Replies Created
-
In reply to: Trouble Creating new groups
If it’s ok now, edit your first post and mark it as [Resolved]
hi @sjaakkuil,
is WordPress correctly installed and running ?
As you use a windows server, you may have some extra config operation. 5see godaddy’s doc for that)
Also it is not recommanded to use a preinstalled WP or BP (if exist). Prefer manual upload by FTP.Once you’re sure WP is correctly setup and running, deactivate any third party elements first. Then activate 2015 theme and BP and setup BP pages if they aren’t created automatically.
Also, don’t forget to set your permalinks to something other than default.
https://codex.wordpress.org/Installing_WordPress
In reply to: @mention autolink to profileThe code works, but is not intended for what you want. 😉
What is used here is a custom function.
In reply to: where do I find hooks for actions?MyCred is very well documented. See their support.
How it works:
add_action ( 'hook_name', 'your_function_name', [priority], [accepted_args] );you’ll find the hook_name in the plugin file.
BP use action hooks like WordPress.
More about here: https://codex.wordpress.org/Plugin_APISee your theme or 3th party plugin documentation, BP has no star button for favorites.
https://buddypress.org/support/topic/favorite-button-in-the-post/
https://wordpress.org/plugins/wp-favorite-posts/Plugin has its own support. You can ask, or search there.
In reply to: @mention autolink to profileOn a profile header, it’s not intended to link to the profile, as you’re already on a profile when you see @username !
This is there as reminder for members who want to sent a message to that user.
When on any activity page and you use @mention in a notice, you get a userlist depending the first letter you type after @. But never a link to a profile.
Or do you mean that @mentions is not active, whithout any links on it ?
What does not work in that plugin ?
There is an option: Require users to be approved or confirm e-mail address upon registration.It’s the only alternative actually on hand for what you want to do. Don’t forget that this is in addition to WP (see my previous answer). It is not part of WP actually.
In reply to: @mention autolink to profile@mentions doesn’t work (actually) in bbPress.
To add it, so you can mention a user in a topic, add this snippet to bp-custom.php or child-theme’s functions.php
function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) { if ( function_exists( 'bbpress' ) && is_bbpress() ) { $retval = true; } return $retval; } add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );In reply to: Custom theme update after BP updateDon’t know any other source than Trac or Git mirror.
If you need to know such precise things, almost constantly, the best for you would to connect to by SVN or Git.
So you will be informed in real time which BP file is modified.
That said, templates are relatively quiet in regard of more in-depth core files….
And on Trac you have a revision number, so it’s easy to follow. And even on codex.Other:
Following dev’s blog: bpdevel.wordpress.com
git clone git:// buddypress.git.wordpress.org/
http://teleogistic.net/2015/03/the-number-one-reason-to-start-using-git-interactive-staging/In reply to: All comments being displayed on user profile page@nathoudu38 Please don’t double post.
Si tu veux que je te répondes en français: http://bp-fr.net
In reply to: Trouble Creating new groupsGroup page doesn’t exist. (page not found: http://www.earndailypay.com/groups/) Have you activated a page for groups ? (see BP settings > pages)
If you have several old group pagesin trash, you have to empty it, so that WP will find only ONE page when you call a the group page.Resave also permalinks. Sometimes things go better after.
You use also some exotic plugins which may create conflicts. So you will have to deactivate anything except BP to test it, and by using 2015 or 2013 theme to get a basic working install.
Once done and correctly showing you reactivate plugins one by one, until you stumble again on the issue.
In reply to: Blog for groups???
By default, each group has an activity feed where you can publish a notice or leave comments.
In reply to: Custom theme update after BP updateThis is the path to all BP templates /bp-templates/bp-legacy/buddypress/ and it would better that it stays untouched.
You can update manually from Trac or download the latest BP from plugin repo.
Your custom theme should be in WP’s theme folder and containing a /buddypress/ folder with all files you have modified. In brief, a copy from what you find in bp-legacy. You use only the files you want to modify, not the whole bp-legacy content.
That way, you can update BP without loosing anything and adapt, or not, your own templates.
See template hierarchy, if it’s unclear.
In reply to: Remove comments in the buddypress codeBuddyPress doesn’t handle post comments.
As you’re certainly using a premium theme (your picture is stored by that theme support), they have to tell you how you can deactivate those comments on BP pages.
You paid a licence with included support. And we have no free access to the theme, so it’s quite impossible to tell you exactly what to do.If they don’t give you support, change your theme or find by yourself. Sorry for that.
Technically, you have to create a child-theme first. Add a copy of the original page.php of your theme and remove the part related to comments.
Which part precisely, or even a specifif function of your theme is impossible to say, as we have no information. And you didn’t tell which theme you’re using.
Search for similar question on the forum, you’ll probably find some.
No.
Why ?
Because this is an error message. If you see it when you’re on profile fields admin, it is better for you to see this as nothing. As admin, it is you who set up field access. It is required ? Make it not required or fill in that field.
Maybe you can use or be inspired by
https://wordpress.org/plugins/cmb2/In reply to: Trouble Creating new groupsFYI, to stay independant of any theme, custom code lives better in /plugins/bp-custom.php
In reply to: Number of Topics and Replies in ProfileYes i have, but in french and sometimes in english… http://snippetbarn.bp-fr.net/
See Activity Sticker.
In reply to: Import old post activity to buddypressAs you already stated, BP activities are running once BP is installed. Anything done before is not considered as an activity. WP has no activity table like BP.
Have you tried the BP repair tool ? It can recalculate posts to users and such kind of things. Give a try and see if you got older posts prior to BP in user activities. Who knows ?
I’m really unsure because i never tested such a situation. But it would cost nothing to try if you have a lot of archieves. (it’s not my case) 😉
In reply to: Number of Topics and Replies in ProfileI would rather use it from within bp-custom.php, so you stay independant of the theme and can change theme without loosing these 2 functions.
Don’t know What is line 330 ? What are you doing at line 330 ?
What should i hide ?
If i have other snippets ? Huh… 🙄 why this question ?Add this snippet to your child-theme functions.php or bp-custom.php
Nedds also a template overload of
/your-theme/content.php
as you should add an action or the function call near the (blog) post.function bpfr_pm_to_author() { $author = get_the_author(); echo '<a href="'.wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . get_the_author() ) .' title="Private Message"">Private Message</a>'; }No worry, @mrgiblets ! 😉
we all started by 0 a day.
how was I supposed to search for the term “Activity Loop”?
Perhaps because you mentionned it 😉 ? A search is commonly made by using key words.
[…] that build the loops for the activity streams
8 words in your phrase which contains 3 key words. As simple as that (and i’m not sarcastic by saying this). Hold on, you have not finished to read. 😀
In reply to: Number of Topics and Replies in ProfileNo it doesn’t and is throwing an undefined function error, filters only the forums template topics. bbPress also has a similar function which cannot be used outside of the forum template.