Search Results for 'wordpress'
-
AuthorSearch Results
-
August 27, 2014 at 10:43 am #188550
In reply to: [Resolved] Add a button to all topics
heilyn
ParticipantI’m not really sure what button you are looking. Is it something like this kind of plugin?
https://wordpress.org/plugins/buddyforms-posts-to-posts-integration/
August 27, 2014 at 10:09 am #188549In reply to: [Resolved] Add a button to all topics
lmolenje
ParticipantIt is essentially a link that I want to add to every forum. Many plugins have this but they only apply to posts and pages. The link will connect to a third party app. I have some custom code that I can embed into the php so that I can link wont take me off my site. However, I am unable to find the forum.php for buddy press in my installation.
I am looking for it in:
/apps/wordpress/htdocs/wp-content/themes/buddyAugust 27, 2014 at 10:02 am #188548namrons
ParticipantThanks for getting back to me @danbp. I’m using the theme “SocialBuddy” mostly but I have tested this on different themes/versions of Buddypress/versions of WordPress as well as different servers – dedicated and shared and the result is the same everywhere so it appears to be a bug.
I would be curious to know if you could replicate this:
1) Inside a PRIVATE group add a status update and then comment on this update. (or add a few comments). All good so far.
2) Now go to “My Groups” feed and you will see your status update as well as the comments. Try comment on any of the comments and see if they post correctly.For me these comments only show up once I have refreshed the page.
August 27, 2014 at 7:54 am #188544In reply to: [Resolved] Create users Pages
Henry Wright
ModeratorIn the absence of a plugin, you would need to create a front-end form and a server-side processing script which makes use of
wp_insert_post().Ref: https://codex.wordpress.org/Function_Reference/wp_insert_post
August 26, 2014 at 10:17 pm #188539danbp
Participantyou jumped in a post started over 4 years ago ! Do you really expect to reuse a snippet given over 3 years back, without having any issue ?
Big changes came up between BP 1.0 and 2.0.2. The most change is that Notification is now a component and not a simple functionnality.
Please open a new topic or give a try to
BuddyPress Notification Manager. A bit old too, but it is already working with current BP.August 26, 2014 at 6:10 pm #188526In reply to: where to translate these words in memberpage
danbp
Participantbuddypress/bp-languages/buddypress.pot
Don’t use DW to read, modify or save a translation. Use a text editor (not word) like notepad or notepad++The NL translation is on Glotpress and the translation you need to put on your server is buddypress-nl_NL.mo
This is a compiled file used by gettext. You cannot read or modify it. If you want to do so, see poEdit.
https://translate.wordpress.org/projects/buddypress/dev/nl/defaultYou can find many other related topics if you search a little on the forum.
August 26, 2014 at 3:09 pm #188511namrons
Participant@hk12onos Did you ever manage to fix this? I know it’s an old post but I have the identical issue when commenting on updates of a private group. I’ve tried it on various themes/versions of WordPress/versions of Buddypress and I get the same result.
August 26, 2014 at 1:22 pm #188505In reply to: Register CSS Style
danbp
ParticipantAugust 26, 2014 at 8:48 am #188492In reply to: [Resolved] Group Edit Dashboard broken
danbp
ParticipantIs it a fresh instal you working on ? Are you on a local server ?
If you test only with a private group, nothing will appear publicly.Assuming all active components have all their dedicated pages and that you set pretty permalinks an use Twenty Fourteen.
If so, install BP Default Data which will install 50 fake members, groups and many other things and see if you get a result.
August 25, 2014 at 9:22 pm #188472danbp
ParticipantHi @doremdou
BP group activities notifier perhaps ?There is also Buddypress Notification Manager which make this for groups
- A member invites you to join a group
- Group information is updated
- You are promoted to a group administrator or moderator
- A member requests to join a private group for which you are an admin
it does not send notifications when SOMEONE JOINS the group and I need it
You need it ? Well, but that isn’t enough !
Who should receive the notif ?Both are old, and the 2nd is still working with 2.0.2.
August 25, 2014 at 8:33 pm #188467In reply to: most active users
danbp
Participantbuddypress doesn’t handle the blog(s), it only show them à la BP.
BP comes up with some witget and you can activate them from the widget dashboard. The most relevant, even if he doesn’t exclusively handle author’s post, is Recently active members, who let you choose from 3 different filters: active, recent, popular.You can also search on the WP plugin repo if a more accurate plugin exist
August 25, 2014 at 4:18 pm #188454Halo Diehard
ParticipantThanks so much for your response! First I created bp-custom.php and pasted
define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );into it, then I put it in my plugins folder, and I got the same 404 except this text was across the top of the page:define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true ); Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/(database here)/htdocs/(mywordpressfolder)/wp-content/plugins/bp-custom.php:1) in /homepages/33/(database here)/htdocs/(mywordpressfolder)/wp-includes/pluggable.php on line 1121By sheer luck I recognized that the ‘ and ‘ were the curly ones, and I had JUST read about that last week, so I deleted the apostrophe’s and typed them in myself in notepad++, crossing my fingers. But when I saved and ftp’d the new file, I had the same thing across the top, just with the fixed code!
define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true ); Warning: Cannot modify header information - headers already sent by (output started at /homepages/33/(database here)/htdocs/(mywordpressfolder)/wp-content/plugins/bp-custom.php:1) in /homepages/33/(database here)/htdocs/(mywordpressfolder)/wp-includes/pluggable.php on line 1121I went and took a peek at pluggagle.php, line 1121, and it is the third line up from this:
/** * Filter the redirect status code. * * @since 2.3.0 * * @param int $status Status code to use. * @param string $location The path to redirect to. */ $status = apply_filters( 'wp_redirect_status', $status, $location ); if ( ! $location ) return false; $location = wp_sanitize_redirect($location); if ( !$is_IIS && php_sapi_name() != 'cgi-fcgi' ) status_header($status); // This causes problems on IIS and some FastCGI setups header("Location: $location", true, $status); return true; } endif;So 1121 is this bit:
header("Location: $location", true, $status);That block of code is just above “Sanitizes a URL for use in a redirect”, using function wp sanitize redirect.
Not sure if any of that points to any clear problem, but it’s pretty much Greek to me 🙁
August 25, 2014 at 4:16 pm #188453In reply to: How can I add some users/members to BP site?
@mercime
Participantbut I want to add more users for testing … I looked at the ‘Demo Data Creater’ plugin
@simple-man check out https://wordpress.org/plugins/bp-default-data/
The number of users and groups created are limited so it’s much easier to delete test users by batch in wp-admin/users.php laterAugust 25, 2014 at 3:59 pm #188451In reply to: Members Page search box missing
@mercime
Participant@mjc82in I think you still need to install https://wordpress.org/plugins/genesis-connect-for-buddypress/ for theme compatibility.
August 25, 2014 at 1:32 pm #188438danbp
Participanthi @vivis,
try with this function
<?php bp_notifications_toolbar_menu ?>
Read also the documentation of your Premium theme (Kleo) about menu and the WP codex on how to add toolbar menus and sub menus.August 24, 2014 at 10:26 pm #188379In reply to: Increase search member performance
shanebp
ModeratorPrior to BP 1.7, last_activity was stored usermeta.
Now it is stored in the activity table, (although you may see it still in usermeta for legacy purposes).Moving it to the activity table resulted in much improved performance.
You’ll probably see similar results.also – sometimes 2 queries are faster than one massive one with multiple joins, ands, ors.
also 2 – Have you studied this?
https://wordpress.org/plugins/bp-profile-search/
It’s been around for several years and the query has become more efficient with each release.August 24, 2014 at 8:38 pm #188375Jencina
ParticipantResolved! I used this:
How to Build a Facebook-Style Members-Only WordPress-BuddyPress Site
August 24, 2014 at 8:04 pm #188370shanebp
Moderator>Okay, it worked!!!
You mean using the register_activation_hook ?
btw – you should still check to see if the field exists before you create it – to avoid duplications if they deactivate / reactivate the plugin.Or delete the field by using this hook:
https://codex.wordpress.org/Function_Reference/register_deactivation_hook>can you please tell me what if it’s in the functions.php file, do I need to use the bp_init then or something else?
Perhaps bp_loaded is more appropriate, you’ll have to try it and find out.
BP related functions are usually placed in bp-custom.php
August 24, 2014 at 2:19 pm #188361shanebp
ModeratorFor a plugin, instead of bp_init, use:
https://codex.wordpress.org/Function_Reference/register_activation_hooknote: I’m not sure BP is loaded before that hook is called.
Or you could use bp_init, but in your function, check for the existence of the xprofile field before you create it.
btw – you don’t need the global in that function.
August 24, 2014 at 7:57 am #188350danbp
ParticipantHi @jencina,
set the registration page as homepage. (dashboard > Setting > Front page view).
Make also a child theme and add a copy of the register.php file who is in /bp-templates/bp-legacy/buddypress/members/ and add it to your child, using the same path.
/your-theme/buddypress/members/register.php
On this copy you can add/remove and make any change you want for your new homepage.
Reference
https://codex.wordpress.org/Creating_a_Static_Front_PageAugust 24, 2014 at 7:40 am #188349In reply to: [Resolved] Make members list default to alphabetical
danbp
ParticipantHi @bnowthen,
this is one of the most common thing you can do with BuddyPress. 😉 .
To do that, you have to read the Codex, about members loop.First, you will create a child-theme of 2014.
Than you add a folder called buddypress to it.
In this folder, you add a sub folder called members.
You than make a copy of members-loop.php.
This file is inwp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/Now, you open the copied file and replace the content of line 16.
Replace this:
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
with this:
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&type=alphabetical' ) ) : ?>Save and enjoy.
References
https://codex.wordpress.org/Child_ThemesAugust 23, 2014 at 9:22 am #188317danbp
ParticipantHi @noise,
did you searched in existing plugins ?
https://wordpress.org/plugins/search.php?page=2&q=race+result+pluginMy 2 cents:
Ideally, the admin would enter in the results for each user for each race.
well, this let’s you to be so only plugin user. No need for a specific BP plugin in this case.From the plugin, you fetch the datas and insert them into a profile textbox called “result” Original isn’t it ? This work can more or less be automated. Depends of the plugin i guess.
On the members directory, you output the content of the result box under each member name/avatar.
August 22, 2014 at 9:31 pm #188288In reply to: Activation not possible
r-a-y
KeymasterBased on this thread, I’ve created a new ticket:
https://buddypress.trac.wordpress.org/ticket/5831August 22, 2014 at 6:26 pm #188282In reply to: [Resolved] No button for finishing registration
1a-spielwiese
ParticipantI did nothing since trying the script yesterday and I myself receive stil this ‘redirecting error’-message.
Would it be useful to give you the passwords for my WordPress-Installation, my FTP-Server and my MySQL-Database for checking them? – Of course, afterwards I would change password.
August 22, 2014 at 4:11 pm #188274In reply to: Registration page NOT working!
bulltalk.65
Participant@bp-help I added or wrote what the message holder asked me to add, “current version of wordpress” current version of buddypress” and link to site so that’s what I did, it didn’t ask for anything else and I didn’t know..
Anyhow, I figured it out this morning, the homepage was cached and the registration link had been changed since it was cached when we opened the site a month ago. I went in and removed the cached files from the server/database and now everything is working fine.
Thanks
-
AuthorSearch Results