Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,551 through 12,575 (of 68,934 total)
  • Author
    Search Results
  • #241056
    danbp
    Participant

    Some hints here:
    https://buddypress.org/support/topic/my-usernames-appended-with-2/

    You could also check this in DB’s _users table.

    #241053
    #241052

    In reply to: PDF Functionality

    mnctigah
    Participant

    Thanks 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.

    #241042
    milenushka
    Participant

    Hi @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.

    #241039
    r-a-y
    Keymaster

    I’ve created a ticket about this bug here:
    https://buddypress.trac.wordpress.org/ticket/6528

    This 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.

    danbp
    Participant

    Hi 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:659

    For other favorite skills, see also

    https://buddypress.trac.wordpress.org/ticket/5644

    #241037
    r-a-y
    Keymaster

    Thanks for the report.

    I’ve created a ticket about this here:
    https://buddypress.trac.wordpress.org/ticket/6529

    BP will better support emojis after we’ve upgraded our database schema to support utf8mb4.
    https://buddypress.trac.wordpress.org/ticket/6346

    More info courtesy of WP here:

    The utf8mb4 Upgrade

    #241032
    danbp
    Participant

    @djsteveb,

    was 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 ?)

    #241031
    dinesh.ravajani07
    Participant

    Ya 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.

    #241022
    r-a-y
    Keymaster

    1) 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.

    danbp
    Participant

    hi @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-232887

    #241005
    danbp
    Participant

    When 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.

    #240996
    Alexlim91
    Participant

    Hi 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: 0109770038

    You can login to view the problem

    #240994
    Henry Wright
    Moderator

    Try deactivating all plugins (aside from BuddyPress) and activate the TwentyFifteen theme. Do you still see the problem?

    #240989
    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.

    #240983
    Hugo Ashmore
    Participant

    This 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.

    https://buddypress.trac.wordpress.org/ticket/6517

    #240981

    In reply to: PDF Functionality

    Henry Wright
    Moderator

    Where 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.

    #240973

    In reply to: How to Design BP?

    peter-hamilton
    Participant

    haha, 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)

    here is my first buddypress site

    #240970
    peter-hamilton
    Participant

    Still works for my site, but have not updated Buddypress yet to latest version

    Onlijn.com

    danbp
    Participant

    Hi @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.

    Rodorm
    Participant

    By 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.

    shanebp
    Moderator

    Not 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/

    #240944
    shanebp
    Moderator

    Nobody can walk you thru the issue based on your description.
    Maybe:
    https://buddypress.org/support/topic/activity-ajax-problem-with-bp-default-theme/

    #240943
    magicbmxfreestyle
    Participant

    Fixed the problem.

    wp_enqueue_script( $id );

    i put this into
    \buddypress\bp-core\bp-core-cssjs.php

    just under

    wp_register_script( $id, $script['file'], $script['dependencies'], $version, $script['footer'] );

    Reference https://buddypress.trac.wordpress.org/attachment/ticket/5889/5889.01.patch

    #240926
    shanebp
    Moderator

    The 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.php

    If that doesn’t work, try deleting some more profile related files in [your-theme]\buddypress.

    And tell the author about your issues.

Viewing 25 results - 12,551 through 12,575 (of 68,934 total)
Skip to toolbar