Search Results for 'wordpress'
-
AuthorSearch Results
-
December 5, 2016 at 9:47 pm #261770
In reply to: What WP theme should I use for BuddyPress?
Venutius
ModeratorBuddyPress used to come with it’s own theme, it’s still there though not really supported.
The theme dictates the look and feel of your site so recommendation is difficult, also there’s a choice to be made between premium and free themes.
For the free themes just take a look over on the WordPress Themes Directory
December 5, 2016 at 8:05 pm #261756In reply to: How can I get a registration shortcode?
danbp
ParticipantHi,
BuddyPress use templates to show his stuff.
The registration is part of WP and BP’s xprofile component add only some additionnal fields to the original register form.If you open a template file you will see a lot of code and many lines starting by do_action( ‘something’ );
These files are all stored in bp-templates/bp-legacy/buddypress/
Now you have already the where and the what. here’s the how.
To show some text on the register page you have two options:
1) altering the whole template file bp-templates/bp-legacy/buddypress/members/register.php
2) add what you want by using an action hookThe second method is the fasted and the easiest. You just need to write a function and you’re done.
function valeriemanne() { echo 'Here i am !'; } add_action( 'bp_before_register_page', 'valeriemanne' );Add this to your child theme functions.php file or into bp-custom.php
WordPress codex references
add_action
Child themeDecember 5, 2016 at 5:40 pm #261738In reply to: Cannot See Groups
Venutius
ModeratorThis may of may not be of help:
https://wordpress.org/plugins/buddypress-custom-profile-menu/
December 5, 2016 at 1:40 pm #261706In reply to: Read Only Group?
Venutius
ModeratorThink this was the plugin Hugo was thinking of, it’s not been updated in 4 years though.
December 5, 2016 at 4:14 am #261694In reply to: last_activity empty in members loop
ryanrain
ParticipantThanks @wordpressrene, I’m having a closely related issue. WP 4.6.1, BP 2.7.2.
Just to restate the issue for clarity, my client brought to my attention what she considers to be a bug: in places such as the members listing and individual profiles, no recent update is shown for some members who *have* been active.
looking around in the code, it appears that the bp_member_latest_update() function seems to not include forum replies or activity comments, just updates.
HOWEVER, the bp_member_last_active() function DOES include activity comments in its calculation of how much time has passed since the user interacted with the site. One sees that a person was active, but for some mysterious reason that activity isn’t shown. My personal opinion is that all activity, including activity comments, should be included in bp_member_latest_update() by default, but my guess is that this is by design.
Any advice as to how to print out a user’s most recent activity regardless of its type? Can anyone point me in the right direction? Thanks everyone!
December 4, 2016 at 7:59 pm #261685In reply to: Reconnecting BuddyPress links
Venutius
ModeratorWhat you could do is install WPFront User Role editor, one of the features of this plugin is that it allows you to choose menu items as not being visible until you are logged in etc.
December 4, 2016 at 10:47 am #261677In reply to: bp_send_email help
Venutius
ModeratorDecember 3, 2016 at 6:56 pm #261663In reply to: Buddy Press is not funtioning
rageshr007
ParticipantDecember 3, 2016 at 11:47 am #261658eavinu
ParticipantMakes perfect sense!
Thank you very much for this help, You helped me a great deal here. Really appreciate it and hope to learn better php so that I could also understand and be able to extend wordpress and plugins soon š
Should I mark this as resolved and make a new post on making a custom column which is not related to the orders post type filterable (or in the worst case sortable)?
December 3, 2016 at 11:19 am #261657In reply to: Ajax response with opening php tag
Marc Luther Capulong
ParticipantSo sorry @danbp.
Since installing BP 2.7.2, all the ajax response I receive starts with a php tag
<?php.
I already tried deactivating all other plugins, setting my theme to twentysixteen, but whenever I activate only BP, the issue is generated.1. WordPress version: 4.6.1
2. Installed wordpress as a directory
3. Root
4. Did not upgrade from a previous version of wordpress.
5. WordPress was functioning properly before I installed BP.
6. BP version 2.7.2
7. Did not upgrade from a previous version of BP
8. I have plugins other than BP. I already tried deactivating all plugins. Only BP causes the issue.
9. Customized theme
10. Social Portfolio
11. No
12. No
13. not running bbpress
14. Please provide a list of any errors in your serverās log files.
[03-Dec-2016 11:26:59 UTC] PHP Notice: bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996 [03-Dec-2016 11:26:59 UTC] PHP Notice: Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2085 [03-Dec-2016 11:26:59 UTC] PHP Notice: bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996 [03-Dec-2016 11:26:59 UTC] PHP Notice: Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2086 [03-Dec-2016 11:26:59 UTC] PHP Notice: bp_nav was called <strong>incorrectly</strong>. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.6.0.) in /var/www/html/evriend/wp-includes/functions.php on line 3996 [03-Dec-2016 11:26:59 UTC] PHP Notice: Indirect modification of overloaded element of BP_Core_BP_Options_Nav_BackCompat has no effect in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 2087 [03-Dec-2016 11:26:59 UTC] PHP Notice: Undefined index: font-style in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1163 [03-Dec-2016 11:26:59 UTC] PHP Notice: Undefined index: subsets in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 1164 [03-Dec-2016 11:26:59 UTC] PHP Notice: Undefined index: google in /var/www/html/evriend/wp-content/themes/social-portfolio/buddyboss-inc/theme-functions.php on line 116515. No one yet. running on my local machine
16. Apache
December 3, 2016 at 12:01 am #261652December 2, 2016 at 4:50 pm #261638In reply to: Registration form => 404 not found
danbp
ParticipantHi,
You have to install BP correctly on WordPress as very first.
This means particulary that you use WordPress with one of default’s Twenty theme.
– install BuddyPress
– activate the component you want to use
– ensure that each component has his own page
– pretty permalinks must be activated too.To get a proper register page, allow user registration in WP settings and add manually, if not created automatically, a “register” page to BP.
NOTE: BP pages are not usual WP pages. They are only placeholder (a unique ID in the wp ecosystem) where BP will show dynamic content. These page must be unique and shouldn’t be asigned to any template or model. Give them a title and you’re done.
once WP+BP work correctly together and you can access to the register page without trouble, you can be sure that this couple is definetly OK.
No it’s time to activate a custom theme if you use one. An if something gooes wrong at this stage you’re sure it’s the new theme who is the culprit.
And if the new theme is working correctly with WP+BP, you can install plugins.
And again, WP+BP+Theme = OK, but what about the plugin ?
Easy to understand, easy to build, very annoying to write this for the 589 000 time, but still the only way to install BP.
On your side, you need to follow these steps, but also to read the documentation from codex and of course, from any additionnal plugin you want to use !
That said, be warned that we can’t assist you on this forum with third party premium theme or plugins as we have no free access to their code.
December 2, 2016 at 2:12 pm #261628In reply to: Connecting the disconnected link
Venutius
ModeratorYou want to hide the Members menu item from non logged in users?
I use WPFront User Role Editor, that allows you to choose if menu items are displayed for non logged in members or not.
December 2, 2016 at 11:23 am #261620In reply to: Register Page Blank on Vanilla WP/BP Install
jackoneill87
ParticipantAh, OK, I think it makes sense now.
I’ve taken a look at the Register Page in the pages menu and can see that it does in fact permalink to “register” with a lower-case “r”.
It appears WordPress pretty permalinks aren’t case sensitive, so WordPress will take me to the Register page regardless of whether I visit /Register or /register. It seems BuddyPress only picks up the hook if the URLs are a case-sensitive match. This is why “/Register” is blank, but “/register” shows the BP content.
I just got confused because I had to test the register page from a different browser and manually entered the URL for the register page. Thanks for clearing that up!
Not sure if it’s really much of a deal, but is it worth me making a feature request for BuddyPress to use case-insensitive URL matching to match up with how WordPress does it?
Thanks again for all your help!
Jack
December 2, 2016 at 9:57 am #261610In reply to: [Resolved] get profile group name
danbp
ParticipantPerhaps you can spare time and use https://wordpress.org/plugins/buddy-progress-bar/ ?
December 2, 2016 at 9:55 am #261609In reply to: Allow user to take screenshot
danbp
ParticipantDecember 1, 2016 at 10:52 pm #261594In reply to: Refresh Users Submissions?
Venutius
ModeratorI actually think that’s a WordPress issue, however, I can’t replicate your fault, so it must be a plugin conflict or similar that is causing this.
December 1, 2016 at 9:50 pm #261591In reply to: Allow HTML Attributes in Profile Description Field
shanebp
ModeratorJust guessing…
Try using the
bp_readyhook instead ofbp_init.Try adding the priority to the call:
remove_filter( 'bp_get_the_profile_field_description', 'wp_filter_kses', 1 );Try adding your attributes to the
$allowedtagsglobal.
https://ben.lobaugh.net/blog/201762/add-html-tags-to-the-allowed-tags-list-in-wordpressDecember 1, 2016 at 8:51 am #261577In reply to: why there is no action for group photo upload?
Henry Wright
ModeratorYou can request one be added here
November 30, 2016 at 10:40 pm #261568In reply to: No Buddypress database
becorath
ParticipantExcuse me. I meant that it did not create the tables in the existing database. I use shared hosting from Hostgator and installed the plugin from the wordpress plugins page. I installed it to another site the same way and it created the tables with no problem.
November 30, 2016 at 10:36 pm #261565In reply to: No Buddypress database
danbp
ParticipantBuddyPress doesn’t create a database. It only add it’s own tables to the existing WordPress db.
Why are these tables not created ? Impossible to say without more details about your server configuration and more information about how, what and where you tried to install the plugin.
November 30, 2016 at 6:55 pm #261554In reply to: bp-template-notice failure
melodies
ParticipantYes, I have tried to create an error, and the code is not even appearing in the page source. What could be causing it not to appear there?
I have deactivated all plugins, and I also tried to get the “success/error” message to show up on some of the popular themes (Twenty Sixteen and Twenty Fifteen). It is still not working, and I have no idea why.
Since this issue started when I updated BuddyPress and WordPress, I think the problem is rooted in one of the two.
Can you please tell me which file is responsible for the ābp-template-noticeā functionality?
& Where can I find it?Thank you.
November 30, 2016 at 5:22 pm #261548In reply to: Problems with menu to BuddyPress
danbp
ParticipantHi @mthant,
sorry for your menu trouble, but it seems to me, after visiting your site, that you omitted some important settings steps. So let’s try to set up properly your site menu before adding BP related conditionnals.
1) Each active BP component should have his unique page.
2) Site should have pretty permalinks activated (whatever option but default)For example step 1 indicate that your register page is at /site/register-2. This could be correct, but tells that you created a page called register first, than removed it, and finally recreated a second “register” page. This explains why you have “-2” in the URL and probably a page in the trash. You have to clear it definetly. And you have to ensure that the slug is /register/. Go to dashboard > Pages > Quick edit and correct it.
As BP is active, you should also have a page called by default “members”. His default url should be http://7fc.d70.myftpupload.com/members/.
I assume you renamed it to “directory”. Problemen is that “directory” doesn’t show the member directory, or no message telling visitors they have to log in to see this page…And as you use a lot of different directories, it is confusing, even for you when you try to build a menu.
But you’re using Salutation, which is a premium theme and i can’t help you further to set it up correctly.
But you could activate a Twenty theme for the time you need to create and test how WP menus are created and displayed. And perhaps read through Salutation documentation too. šHere’s BP guide about the BP menu you can add aside the site main menu.
And here, the access to any menu related codex articles.
November 30, 2016 at 3:09 pm #261542In reply to: Problems with menu to BuddyPress
Venutius
ModeratorIf you are a newbie you might like to check out my website – http//:buddyuser.com, it’s aimed at getting newbies up to speed.
Regarding your issue with menus, is this not a more general WordPress/Theme issue? What happens when you replace those BuddyPress Options with other options, do you still get the same behaviour?
November 30, 2016 at 11:47 am #261532In reply to: Error 404 for non logged in users
danbp
Participantthank you for sharing @peterspliid, but it would also be usefull for the devs that you add your fix to this ticket: https://buddypress.trac.wordpress.org/ticket/7349
so at least it will be taken in consideration.
-
AuthorSearch Results