Search Results for 'buddypress'
-
AuthorSearch Results
-
June 24, 2015 at 11:37 pm #241056
In reply to: username changed, not sure why
danbp
ParticipantSome hints here:
https://buddypress.org/support/topic/my-usernames-appended-with-2/You could also check this in DB’s _users table.
June 24, 2015 at 11:09 pm #241053In reply to: Buddypress to Aweber seamless integration
Christopher Churchill
Participantok It’ll be going here:
https://wordpress.org/plugins/buddypress-to-aweber-integration/June 24, 2015 at 10:32 pm #241052In reply to: PDF Functionality
mnctigah
ParticipantThanks for the answers.
Taking it a bit further… I played around with the wpDataTables plugin which allows me to enter SQL queries into an interface and display database info into a table with options to export as PDF or CSV. The problem arises if I use BuddyPress XProfile Data plugin. Serialized array and SQL.
I also looked at Gravity Forms (with the User Registration Add-On). This handshakes with BuddyPress. GravityView, an additional plugin, allows me to access, extract, and display serialized data from the database, and then generate the desired PDF and CSV Membership Directory. A bit clunky, but then as luck would have it, there are conflicts with my theme (TwentyThirteen). When initially visiting the site, a manual refresh of the page needs to be done in order for GravityView’s search page to display correctly. And then the desired output (PDF + CSV) is garbled. TwentyThirteen is the only theme it will do it on. I’ve tried a CSS reset in the core css files to no avail. I’m running a TwentyThirteen child theme with a separate BP stack.
So this brings me to a PHP solution for which I’m sketchy. I could either do some sort of cron job periodically and unserialize the xprofile data and insert it into a new table. That would let me access it via SQL Query and the original wpDataTables plugin. This would peridocially update any new additions to my BuddyPress Membership into an unserialized table.
The better solution is to do it all with PHP. I now have the FPDF class up and running. I’m generating sample PDF output. So from my PHP script, I’m “requiring” fpdf.php and also an “include” for another php file to open a connection to MySQL.
Now I’m to the point where I need info and help as to construct the code and read serialized data into my newly created file to generate the PDF (i.e. “sql2pdf.php).
Thanks in advance.
June 24, 2015 at 10:51 am #241042In reply to: Custom Post Type Support for Activity
milenushka
ParticipantHi @imath, thank you so much for writing back. For some reason I didn’t get the notification, and was depressed over the site for a month. Today I decided to finally face the issue again, and what a nice surprise!
So my code is:
add_filter( 'bp_blogs_record_post_post_types', 'inspired_record_more_types' ); function inspired_record_more_types( $types ) { $types[] = 'projects'; $types[] = 'sfwd-courses'; $types[] = 'uig_image'; return $types; } add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { if( $post->post_type == 'projects' ) { $activity_action = sprintf( __( '%1$s created a new project, %2$s ', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' ); } if( $post->post_type == 'sfwd-courses' ) { $activity_action = sprintf( __( '%1$s added a new workshop, %2$s ', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' ); } if( $post->post_type == 'uig_image' ) { $activity_action = sprintf( __( '%1$s added a new image, %2$s ', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' ); } return $activity_action; } function bbg_record_my_custom_post_type_comments( $post_types ) { $post_types[] = 'projects'; return $post_types; } add_filter( 'bp_blogs_record_comment_post_types', 'bbg_record_my_custom_post_type_comments' );Thank you so much. I really appreciate it.
June 24, 2015 at 9:03 am #241039In reply to: bp_verify_nonce_request() not working
r-a-y
KeymasterI’ve created a ticket about this bug here:
https://buddypress.trac.wordpress.org/ticket/6528This should be fixed for v2.4, which is tentatively scheduled for an autumn release.
In the meantime, you could use the
'bp_verify_nonce_request_url'filter to remove the double port number, which should temporarily fix the issue.June 24, 2015 at 9:01 am #241038danbp
ParticipantHi lionel @prabin04
no directly the solution, but you asked for code, here it is:
https://buddypress.org/support/topic/adding-favourite-posts-as-a-tab-in-buddypress/
No screenshot ? Anyway, on group activity page, some action to take could be:
$my_fav_count = bp_activity_get_meta( bp_get_activity_id(), 'favorite_count' );The important thing here is
bp_activity_get_meta()Most of favorite action are related in bp-activity-actions.php, like
$favs = bp_activity_get_user_favorites( bp_displayed_user_id() );
also some in bp-activity-functions.php:659For other favorite skills, see also
June 24, 2015 at 8:59 am #241037In reply to: WP does emoji, BP does not?
r-a-y
KeymasterThanks for the report.
I’ve created a ticket about this here:
https://buddypress.trac.wordpress.org/ticket/6529BP will better support emojis after we’ve upgraded our database schema to support utf8mb4.
https://buddypress.trac.wordpress.org/ticket/6346More info courtesy of WP here:
June 24, 2015 at 7:37 am #241032In reply to: WP does emoji, BP does not?
danbp
Participantwas miffed too, and decided finally to not use emoji’s. IMO unnecessary built-in noise, coming from extarnal server and added to every page without warning the site admin ! I disabled them with this plugin. On another hand, 23% of websites use now emoticons and probably 90% ignore that… Marketing !!!
If you still want some pics (if childish public is the target), see WP MonaLisa, which is even tailored for BuddyPress.
Have a nice day ! 😉 (emoticon ?)
June 24, 2015 at 7:36 am #241031In reply to: bp_verify_nonce_request() not working
dinesh.ravajani07
ParticipantYa it works very well.
Thank you so much.
But now 1 question arise is that right now i had changed my code manually in bp-core-functions.php file but when i will update my buddypress plugin ,i think that my changes will be erased.
so is that any hook or actions are available so that i can use that hook in my theme functions.php file.
Many Thanks so far.
June 23, 2015 at 10:26 pm #241022In reply to: BuddyPress Basic Understanding Questions
r-a-y
Keymaster1) Yes
2) The same as the default user level you set up in WordPress. By default, this should be the ‘subscriber’ role.
3) https://codex.buddypress.org/getting-started/register-and-activation-pages/
4) BuddyPress does not come with a bundled login page. It uses WP’s default wp-login.php page. You can find plugins on the wordpress.org repo to modify the login page to your liking.
June 23, 2015 at 2:20 pm #241015danbp
Participanthi @maelga,
You can’t actually automatically associate a user to a category.
try Restrict Categories, which let you assign categories to each user via backend.To associate an xprofile value (or member_type), try this:
https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887June 23, 2015 at 8:07 am #241005In reply to: Cannot Using Other Registration form Plugin
danbp
ParticipantWhen you use WordPress alone, you can use many plugins for registering.
If you use BuddyPress, you also use his fonctionnalities.
One of them, is Members, which comes also with extra components, like extended profile.When you use extended profile, it is like using a register plugin for WP, with his own extra fields you can create/add to the original WP registering process. After that, each user can handle/view these fields on his profile.
Now you have to choose:
– WP alone, with his poor profile fields
– WP + BP, with rich profile fields
– WP + BP, without xprofile component (and users go back to the original profile fields aera).
– or ask on ninja plugin support for improvement guidance to apply with BuddyPress.June 23, 2015 at 4:49 am #240996In reply to: Cannot Using Other Registration form Plugin
Alexlim91
ParticipantHi Henry,
Currently I using Kleo Theme. All buddypress is already together with it.
you can try login to my admin url: http://www.kangtao.com.my/wp-login.php
username: alexlim
password: 0109770038You can login to view the problem
June 23, 2015 at 4:38 am #240994In reply to: Cannot Using Other Registration form Plugin
Henry Wright
ModeratorTry deactivating all plugins (aside from BuddyPress) and activate the TwentyFifteen theme. Do you still see the problem?
June 23, 2015 at 1:27 am #240989In reply to: Chat Plugins with one-to-many messaging?
djsteveb
Participant@jacipetersilie – best thing I have seen that is close to fbook like chat thing is the free “quick chat plugin” – however I do not use it to show as a widget on all pages and give a popup to users – as I think that would tax the server and web browser more than is reasonable if you have dozens of users – it might work, might not. I use quick chat for a single chat room on a single page.
From what you are describing however, I wonder if you really need a chat plugin to do what you are saying – one to many message – like the super-admin send a message to all users, kind of privately… I think there are some plugins in the wild that allow admin to send an email (Which I guess would be a buddypress inbox notification (?)) – to all users… that would “one to many” message – and give people a way to “message you back” privately I think.
I have also seen a plugin that will allow super admin to add a note to all dashboards – although I guess many bp users will not go to their dashboard when using most features –
I suppose you could also assign users to a group, and select settings for them to get a notice email when a new group message is sent. Which may achieve what you are describing.
If you just want one-to-many messaging chat with users who are actually logged into a chat room, I think it would be easy to do that with nusoft’s av-chat, there are settings in which you can make it so only certain users can post in the chat, have moderated chat, turn off pms and stuff like that – I guess I am not clear on what exactly you are trying to accomplish as I don’t use fbook and am not familiar with the kind of one to many fbook messaging you are talking about.
June 22, 2015 at 9:55 pm #240983In reply to: @ mentions in groups problem
Hugo Ashmore
ParticipantThis is an issue that has been identified and ticketed and in the process of being corrected, hopefully it will be included in a point release, if not we can show how to modify or replace the core file in the interim short term.
June 22, 2015 at 9:44 pm #240981In reply to: PDF Functionality
Henry Wright
ModeratorWhere do I “require(‘../fpdf/fpdf.php’);” and where in loop to call from?
You could place this at the top of your template file. So if you’re using the BuddyPress template hierarchy, that would be your members/index.php template. Be sure to adjust the path, unless of course you have the class stored in the parent directory.
June 22, 2015 at 7:33 pm #240973In reply to: How to Design BP?
peter-hamilton
Participanthaha, I have had 64 sleepless nights with lots of ciggies and coffee, but just before giving up it started to make sense.
(yep at least 64 days)
June 22, 2015 at 7:24 pm #240970In reply to: Activity Stream > Bump Activity on reply / comment
peter-hamilton
ParticipantStill works for my site, but have not updated Buddypress yet to latest version
June 22, 2015 at 7:01 am #240953danbp
ParticipantHi @rekwan,
Thank you for sharing !
But to be sure with that hack, i would recommend you do the same on NextGen support, and eventually ask the authors to take in account a better option, in case of BuddyPress.They’re also much cleaner and safe solutions, as explained here.
June 21, 2015 at 8:48 pm #240948Rodorm
ParticipantBy connect I mean become friends, interact, read posts, comment etc. Multisite is not what I’m looking for as Multisite installations are all managed by the same admin. I’m thinking about a kind of Diaspora or GnuSocial based on BuddyPress, a distributed social network.
June 21, 2015 at 8:30 pm #240947shanebp
ModeratorNot sure what you mean by ‘connect’.
Even if you could connect members from different installs, managing their interactions across multiple databases would be difficult.afaik, devs use multisite so that everyone uses the same db.
There are some threads about various multisite + BP approaches, here’s one:
https://buddypress.org/support/topic/resolved-how-multiple-buddypress-sites-with-some-shared-users/June 21, 2015 at 7:07 pm #240944In reply to: Buddypress Plugin all files inactive troubleshooting
shanebp
ModeratorNobody can walk you thru the issue based on your description.
Maybe:
https://buddypress.org/support/topic/activity-ajax-problem-with-bp-default-theme/June 21, 2015 at 6:51 pm #240943In reply to: activity ajax problem with BP Default theme
magicbmxfreestyle
ParticipantFixed the problem.
wp_enqueue_script( $id );i put this into
\buddypress\bp-core\bp-core-cssjs.phpjust under
wp_register_script( $id, $script['file'], $script['dependencies'], $version, $script['footer'] );Reference https://buddypress.trac.wordpress.org/attachment/ticket/5889/5889.01.patch
June 20, 2015 at 8:06 pm #240926In reply to: Unable to update user avatar as user
shanebp
ModeratorThe theme author is over loading the BP templates.
Sounds like the theme hasn’t been updated to work with the latest BP.
Instead of deleting the whole
[your-theme]\buddypress
Try just deleting this file:
[your-theme]\buddypress\members\single\profile\change-avatar.phpIf that doesn’t work, try deleting some more profile related files in
[your-theme]\buddypress.And tell the author about your issues.
-
AuthorSearch Results