Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,426 through 6,450 (of 32,678 total)
  • Author
    Search Results
  • #254026
    r-a-y
    Keymaster

    The link has to be added on a new line.

    This is the same as how WordPress does embeds:
    https://codex.wordpress.org/Embeds

    #254021
    danbp
    Participant

    @emeraldcity,

    i suppose you already read the codex, thousand of topics and of course, that you have some php knowledge. 🙂

    Groups
    Add following conditionnal to the what’s new form of the group activity page.

    bp_current_user_can( 'bp_moderate' )

    To do this, you need a child-theme and to overload the template file. The original file is here:
    wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.php
    Copy it to child to get:
    wp-content/themes/child-theme-name/buddypress/activity/post-form.php

    Members
    See if these plugins can be usefull.
    Geo myWP or one or the other of @shanebp ‘s Geo plugins.

    #253992

    In reply to: Membership Codes

    danbp
    Participant

    @maganiza,

    it’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?

    1) generate a 6 digit code and show it on the register page
    2) asign that code to the user
    3) show the code on his profile

    1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php

    function bpfr_digit_generator() {
    $num = mt_rand ( 0, 0xffffff ); 
    $output = sprintf ( "%06x" , $num );
     
    	echo '<strong>Your personnal code: '. $output .'</strong>';
    
    }
    add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );

    2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.

    3) as the user entered the code in a xprofile field, you get automagically this field on his profile.

    I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.

    A bit raw, but at least you have a start point how to do that.

    Here also another method, you may use if you don’t want the user to copy/paste the code.

    #253991

    In reply to: Membership Codes

    Henry Wright
    Moderator

    Yes. Every member in your install will have a user ID. So both BuddyPress and WordPress users will get a number. In fact, at the back end WordPress users and BuddyPress members are the same thing.

    #253990

    In reply to: Membership Codes

    maganiza
    Participant

    thank you for the speedy response. If I am not mistaken the article is more related to signed in/loggen in user IDs.

    I am looking at a solution whereby I will even view the member ID numbers on the list with the backend buddypress/wordpress system. Also I would like for these numbers to be static. For example if I run a search I want the numbers to be populated. Is this possible?

    #253980
    danbp
    Participant

    Maintenance mode is related to WP. BuddyPress was updated 24th may and WordPress 6th may.

    Have you tried to debug by deactivating theme and all plugins (except BP) ? Use one of Twenty’s theme for that test and see if the notice remains.

    Read also here to have a global overview of how this notice is coming up.

    #253961
    mugluck
    Participant

    So I recently installed Buddypress (Version 2.5.3), we’re running WordPress 4.5.2, and I’m getting a weird thing where Buddypress is grabbing all the standalone links on the site. The image is below.

    Buddypress Link Error

    The site is here.

    I was able to set the page templates for the main buddypress pages, which solved it for them, but the profiles are generated dynamically, so I’m not sure where to begin. The Buddypress files have been moved to the website root. So they’re ready for modification, but I don’t want to mess around till this is fixed.

    Anybody got an idea of how to solve it?

    #253939
    Earl_D
    Participant

    I am running the lest version of Buddypress and WordPress on a VPS server NOT running multisite. Tiny framework is the theme I am using. However the first thing I did to trouble shoot was try to replicate problem without any plugin and using 2012 theme (which tiny frame is based on) and 2016 theme. The issues remained the same with but those thems and th social me theme.

    I will try to check the MYSQL question as I am familiar with that having done MYSQL database programming. However I have narrowed done the problem to something related to the extended profile fields component. Through trial and error and some research I surfaced the correlation which one other person seems to have referred as well. If extended profile fields are turned OFF the registration is completed and the activation email sent. If it is on the registration process is not completed. I tested this extensively turning on and off and it followed that pattern. I currently have the component turned off and users are able to register. When I turned on again I was unable to complete a registration.

    It may be unrelated but no registration spam protection plugins will work now either I have tried several with recaptcha and without and in every case the registration process short circuits.

    Thanks for any help in advance. I would like to get the extended field working again.
    EarlD

    #253938

    In reply to: BuddyPress Multisite

    Christian Wach
    Participant
    ariane1001
    Participant

    HI,
    Some time ago I have build an intranet for a company using Buddypress. Everything had been fine but recently I have got this problem:
    In the member directory overview it is working fine, I see the users full names below there pics but on the single member pages it shows the nickname (@a-gordijnairborne-nl) in stead of the full name.
    I have copied several buddypress files to my theme directory. In member-header.php I use the following code: “><?php bp_displayed_user_fullname(); ?>

    As said before, this used to work but now it is showing some kind of nickname. I checked as much as possible: WordPress and plug-ins up to date. Extended profiles is active and so on but it won’t work.
    It looks like an update caused this?

    I cannot give a link because thats only possible with an account and I cannot give you access before asking the client because it’s a intranet for employees but maybe you recognize the problem en know what has changed and can you help me whitout login.

    Thanks in advance,
    Ariane

    bdaguy20
    Participant

    Hello I am having a serious problem with the “Extended Profiles” addon for BuddyPress. It is duplicating the “profile fields” and Profile Groups non stop. I have tried deleting the data tables in my SQL Database, deactivating the plugin and re-installing it with no sign’s of the problem ending. I have been at it for day’s trying to fix this problem.

    As it keeps duplicating the profile fields, I eventually receive an error from wordpress stating Fatal error memory limit exceeded and I can’t view the profile tab on the BuddyPress Profile. Please Help…..

    Thanks for the post, and thank you everyone that chimed in to alert the OP about the protocol for security concerns. Understanding it’s possible there’s a communication gap here, this topic does also read (to my eyes) as condescending & inflammatory, which is honestly not going to yield a very positive conversation. I think y’all did a great job staying positive, and I for one greatly appreciate that.

    To be clear to anyone else that runs into this topic, what the OP sees is not a BuddyPress or bbPress bug; this is WordPress doing it’s best to show published content from public post types.

    About BuddyPress:
    * Neither BuddyPress nor bbPress modify this core behavior
    * BuddyPress does not use this interface; bbPress does
    * The .org sites have not disabled this, they just do not have any unusual content to leak

    The gist:
    * If plugins allow for private content, it’s up to those plugins to protect it
    * If you create roles with content limitations, it’s up to you to confirm they’re working

    For anyone looking to modify or restrict content that appears in this list, use the wp_link_query_args and wp_link_query filters to do so.

    Here is how WordPress calculates the results in this list. Note that it only uses published posts from public post-types:

    $pts = get_post_types( array( 'public' => true ), 'objects' );
    $pt_names = array_keys( $pts );
    
    $query = array(
    	'post_type' => $pt_names,
    	'suppress_filters' => true,
    	'update_post_term_cache' => false,
    	'update_post_meta_cache' => false,
    	'post_status' => 'publish',
    	'posts_per_page' => 20,
    );
    

    WordPress has a built-in way to calculate privacy scope using 'perm' => 'readable' and even that is not used here (though bbPress does use this in its own loops.) WordPress instead takes a strict position of published public content by default.

    If anything unexpected is appearing here, it is not because of BuddyPress or bbPress, and we are still happy to help anyone discover the source of this in a new & more friendly topic.

    danbp
    Participant

    @sbrajesh (BuddyDev) published a pretty cool tip about page titles:

    Using WordPress Page Titles for BuddyPress Directory Page heading & Titles

    harpodjc
    Participant

    Hi Guys. Any possible help or info on this topic would be greatly appreciated.

    WordPress version – Latest Updated Version
    BuddyPress version – Latest Updated Verion

    Here is the what I am trying to achieve with the BuddyPress Plugin for my Users.

    To create a ‘Print Profile Data as PDF” as an option within the BP User Nav section. Please see images –

    I want the user’s Profile Data and custom fields to display as a Print / Save as PDF option when the user clicks and selects it.

    It will generate this dynamic data in a presentable layout.

    Any advice or alternative PHP options for this option creation would be most greatly welcome. My print.css style-sheet is currently blank. I’ve no idea of the coding that needs to go into it to finish this idea below and make it work.

    Please Help!!!

    =============================================================================================
    The Modification’s I have completed to date to get it this far!!!
    =============================================================================================

    Creating Profile Print Navigation

    Created a print.css file in the WP Theme Folder.

    > WP Theme Folder folder / functions.php file.
    Added this custom code:
    wp_enqueue_style( 'thrive-print', get_template_directory_uri() . '/print.css', array(), 'print' );

    > Next – Theme > inc folder and opened up extras.php & added this code below:

    function theme_print_nav() {
        global $bp;
        $args = array(
                'name' => __('Print PDF', 'buddypress'),
                'slug' => '#',
                'default_subnav_slug' => '#',
                'position' => 30,
                'show_for_displayed_user' => false,
                'item_css_id' => 'print-pdf'
        );
        bp_core_new_nav_item( $args );
    }
    add_action( 'bp_setup_nav', 'theme_print_nav', 99 );
    

    It added a Print PDF navigation in the Profile Menu.

    Lastly I went to Theme > js folder and open theme.js file.
    Added this line of code.

    $("#user-print-pdf").attr("href", "javascript:window.print()");

    The Print Feature was then added to site.

    =======================================================================================

    This is as far as I have got. Any suggestions guys on how to sync / finish this would be amazing 🙂

    Thanks a mill,

    David.

    #253897
    Henry Wright
    Moderator

    In that case you could embed some CSS into the <head> section using the wp_head hook.

    Ref: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head

    #253895
    Henry Wright
    Moderator

    Is there a formal process for requesting this feature?

    Yes. The formal place to request features is Trac.

    #253884
    Anonymous User
    Inactive

    @earl_d

    As the registration process can be different according to WordPress configs, can you please provide some details about yours :
    – Multisite ? If so is BuddyPress network activated or activated on a specific blog of the network
    – Plugins ? Especially the ones that might play into the registration process.

    FYI, i’ve just rechecked on 2 freshes WordPress configs (regular & multisite) having only the BuddyPress plugin activated. Registration is working great.

    #253881
    Paul Wong-Gibbs
    Keymaster

    Did anything else update at the same time? Anything?

    2.5.3 contained changes to email implementation, and a security fix regarding user activation. The latter is most likely cause.

    What theme are you using? Do you have a custom registration template (did you make one)? What other plugins do you have running? Are you on multisite or regular WordPress?

    Can you think of any other useful information regarding any customisations around user or site registration?

    #253877
    Anonymous User
    Inactive

    @nnyorker you’re probably activated a standalone BuddyPress theme that has no support for the cover image feature.

    I advise you to have a look at this post:
    BuddyPress 2.4.0 will introduce Cover Images for members & groups!

    Paul Wong-Gibbs
    Keymaster

    Thank you for getting in contact with the BuddyPress team. Some of the attitudes displayed in this discussion have not been respectful and are not conducive to a productive conversation, so I am going to close this topic for that reason only. If anyone has questions about this moderation action and is prepared to discuss them civily, you can find my contact details on https://profiles.wordpress.org/djpaul/.

    All projects, including bbPress, BuddyPress, and WordPress, appreciate responsible reporting of suspected vulnerabilities. Read this page on the WordPress site for reporting guidelines for all the aforementioned projects: https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/

    @djsteveb On the whole, the BuddyPress team enjoys a good working relationship with rtMedia, and we have often discussed issues when it’s vague when the root cause lies. I appreciate that it’s frustrating to be passed from pillar-to-post when you’re trying to get support or report a problem. If you still have the information, I’d encourage you to get in contact with the rtMedia team to start the conversation.

    #253874

    In reply to: Menu translation

    Paul Wong-Gibbs
    Keymaster

    Hi @paulrooms

    The Italian translation of BuddyPress is up to date: https://translate.wordpress.org/locale/it/default/wp-plugins/buddypress

    For the menu items (at least what I think you mean), you’ll need to go into wp-admin > Pages > Edit, and just rename/translate the pages yourself.

    #253872
    Paul Wong-Gibbs
    Keymaster

    @alexdex, there’s no point in shouting. As @sharmavishal and @danbp have said, you’d need to develop a custom notification and to do that, you’ll need a basic understanding of PHP and a familiarity with WordPress’ APIs for plugin development.

    You’ll be lucky to find someone with enough time and desire to figure this out for your free, to be honest. I think writing such a thing, while it seems simple, could get pretty complicated because of the number of places the Activity Stream is used, and the various internal config tweaks for each.

    #253869
    Paul Wong-Gibbs
    Keymaster

    @navyspitfire BuddyPress does not use wp_mail(), so any calls to that function are ignored and not treated with BuddyPress’ email templating.

    If your BuddyPress emails were being sent plain text, then that means you have a plugin that re-declares the wp_mail() function — probably your SMTP plugin, I’d guess. There are other SMTP plugins that don’t redeclare the function, and so compatible with BuddyPress.

    We fallback to plain text in these cases to maximise compatibility with all the many ways of customising emails that WordPress permits.

    The equivalent function is bp_send_email(), and for the type of email you mention, here’s an example usage: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-filters.php#L533

    Masoud
    Participant

    hi.
    my problem is:
    for example.
    i have 2 users.
    user A
    user B

    user B, try to see something from user A’s profile. which ofcourse is not allowed to.
    so user B, will be redirected to login page. as to login and see that content (if he/she is allowed to)

    my problem is exactly here…!

    instead of getting redirect to my custom login page url. wordpress redirect that user, to default wordpress login page!
    i dont want users to see that page.
    for more info.
    i have functions which will redirect my users to my custom login/register/singup page.
    but it’s not working with buddypress.
    so i need another function for that.
    how should i solve it?
    ————–
    for more information:
    here is an example of what is happening…
    user B tried to see the messages of user A (which of course is not allowed to!)
    so instaed of getting redirect to:

    yourwebsite.com/login/redirect_to=http%3A%2F%2Fyourwebsite.com%2Fmembers%2FuserA%2Fmessages%2F&action=bpnoaccess

    the wordpress redirected to default login.

    yourwebsite.com/wordpress/wp-login.php?redirect_to=http%3A%2F%2Fyourwebsite.com%2Fmembers%2FuserA%2Fmessages%2F&action=bpnoaccess

    tnx for help.
    if you need more info. tell me. and i will provide it.

    #253840
    kevesp
    Participant

    I am trying to build a fan club type site using WordPress and wanted to integrate a community where fans can go to gather online, post stuff, and interact with one another. I’ve a whole lot about buddypress but want to make sure this would be a good solution alongside bbpress? Thoughts? I’ve personally never used this plugin so I wanted to make sure. Would this also work alongside a membership plugin for free and paid memberships like WP Simple Membership?

Viewing 25 results - 6,426 through 6,450 (of 32,678 total)
Skip to toolbar