Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,851 through 16,875 (of 73,985 total)
  • Author
    Search Results
  • #244784
    Skvirly
    Participant

    Hi @danbp
    Bad news. I deactivated all plugins and activated WP theme 2015. All works well. I only activated BP 2.3.3. and the activity stream already gives me exactly the same error:
    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7680 bytes) in xxx/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(147) : runtime-created function on line 1

    Seemingly I am the only one with this problem. Should I proceed to a completely fresh install ?

    #244782
    danbp
    Participant

    Hi @skvirly,

    unfortunately, i think nothing about your issue, except that it seems that something is interfering somewhere.

    The best practice in such case is to start from the begin.
    Activate WordPress and 2015 theme. Check that anything is correctly working.
    Then activate BuddyPress. Re-check.
    Then bbPress. Re-check.
    Then, activate Sweet Date theme. Re-check.

    If all is Ok, and only if all, you now have a base install of WP/BP/bbP and your theme working correctly. There shouldn’t be any notice or warning at this stage. If you got one, it’s a probleme with the theme.

    If this is ok, you add one plugin. And re-check. This normally make things easier to debug.
    As it is apparently related to xprofile, it could be possible that if you use contactform plugin for your register page, that something is wrong with that plugin. But this is only a hypothesis, not a certainty.

    Note that php memory_limit of 128 mo is enought to run a script, when BP is running on a single install. Aside, note also it’s default for php 5.6 version.

    Happy debuging.

    #244781
    unwiredtech
    Participant

    Update:

    I tried to disconnect the plugin and the uploader is now available. However my customization and custom loop is no longer applicable. I really like the plugin but sadly I need to let it go.

    I will this one
    https://github.com/WebDevStudios/WDS-BuddyPress-Project-Framework

    #244763
    Skvirly
    Participant

    @danbp : I am checking my error logs generated by the server. I have a large amount of
    “PHP Notice: Undefined offset: 1 in /hermes/bosoraweb076/b2865/ipg.skvirlcom/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php on line 126”

    Can it be related to the problem or is this something else ?

    #244762
    Henry Wright
    Moderator

    Hi @damland

    Thanks for the report. Bug reports can be opened on Trac:

    https://buddypress.trac.wordpress.org

    The username and password you use here in the forums will work there too.

    #244760
    DAM
    Participant

    @shanebp @henrywright
    it’s a buddypress bug, I’ve added a fix here: https://buddypress.org/support/topic/bug-report-class-bp-attachment-avatar-php/
    hope it will be included on next update (soon)

    #244735
    bluerockerr
    Participant

    Just a quick follow up, I removed the “BuddyPress Members only” plugin and added a different one to restrict page access and everything works now. It seems the issue was with the plugin.

    #244732
    Skvirly
    Participant

    @danbp: I already had done the deactivation/activation procedure. It was inconclusive because it depended on which plugin I would activate first which one would create the error.

    The debug mode indeed gives a clue. The error message in the activity stream in the dashboard is:
    “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7680 bytes) in …/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(147) : runtime-created function on line 1”

    I already had asked Ipage to up my memory limit and they had increased it to 128MB. Seemingly even that is not enough. I am surprised how much memory is needed with this little plugins. How much should I ask for now knowing that I still want to include Paid Memberships Pro ?
    Thank you for your support !

    #244729
    wakeatlas
    Participant

    I tried adding a new field group as instructed in this page https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/ but i couldn’t see them on the /registration page. How do i make them visible on the registration page?

    #244724
    Eskymo
    Participant

    Hi danbp

    I’ve read through that before and it doesn’t sound so easy to me.

    I’m not a PHP, BuddyPress or WordPress expert I’m afraid, so editing core files is not something I feel comfortable doing. Plus if I wanted to add an image where would I do that? That’s why I was hoping there was a way to do this using a template file as I want to do more than just change the page title.

    I don’t know how to generate a .MO file and I wouldn’t know how to edit a .PO or a .MO file either or what to put in them.

    If you offer any further support, that’d be great.

    So far, I’ve copied this file: buddypress/bp-themes/bp-default/registration/register.php into my child theme and edited it and added content form tips where I want them, but I’m still left with the ‘Create an Account’ text at the top that I can’t get rid of – any ideas?

    Evie

    #244721
    danbp
    Participant

    The easiest way for that is to use the language file.

    Customizing Labels, Messages, and URLs

    #244719
    danbp
    Participant

    Please, try to do something before asking such trivial question. Seems you never used/modified a profile avatar. BuddyPress has no album or gallery. This can be added by plugin.

    danbp
    Participant

    You can add custom option fields for References and Places Worked:

    Profile → Edit

    Not sure that adding a memberlist as drop down is very clever. What if you get a community of hundreds of members ?

    To get database info, see here: (that’s a common WP task)
    https://codex.wordpress.org/Class_Reference/wpdb

    #244716
    wakeatlas
    Participant

    I dont see this page https://buddypress.org/wp-content/uploads/15/2013/10/reg-form-default-state.png
    when i go to my site /register.

    #244715
    danbp
    Participant

    The easiest way for that is to use the language file.

    Customizing Labels, Messages, and URLs

    #244707
    Eskymo
    Participant

    Thanks for the link, but I’m not a WordPress or Buddypress coder, so it’s all a bit beyond me to be honest…

    #244706
    Henry Wright
    Moderator

    This can be done with bp_parse_args(). See the Using bp_parse_args() to filter BuddyPress template loops article for a tutorial.

    #244705
    Eskymo
    Participant

    OK, I’ve gone through the buddypress plugin folder and found all instances of the words ‘Create an Account’ and there is only one file in which added edits will appear on the site and it’s this file:

    /wp-content/plugins/buddypress/bp-members/bp-members-screens.php

    How can I add this file to my buddy child theme so that I can make the text changes I require so that I’m not edited core plugin files?

    However this doesn’t help with wanting to edit the ‘Registering for this site is easy….’ bit of text. So Can anyone help with a complete solution here?

    Thanks

    #244704
    Skvirly
    Participant

    @danbp: Thank you for the suggestion. I forgot that. I did try and I get exactly the same behaviour so we can rule out any theme related issue. It really seems to be a Buddypress problem with several plugins.
    Any other suggestions to see where the problem might be ?
    Thanks.

    #244694
    shanebp
    Moderator

    Then create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    In that file, prevent the display of certain fields by checking them by using
    bp_get_the_profile_field_id() or bp_get_the_profile_field_input_name()
    in the loop: while ( bp_profile_fields() ) : bp_the_profile_field();

    #244692
    DanielEngelhardt
    Participant

    thanks for your input, @danbp.
    There is, of course, a reason why i want it as requested 🙂
    On my registration form, i only want to show one field to not bother new users with unnecessary fields. this one field is in my base group.
    All other fields are arranged in another group.

    From my point of view, it doesn’t make sense to show two tabs on the profile-edit page, but it does make sense to show as less fields as possible on the registration page. I think UX comes first today. Customers pay our rent, so we should avoid putting spokes in there wheel. I also think buddypress is doing a pretty bad job here regarding UX (Of course this behavior gives structure, but we pay with UX for it). Since we live in 2015 it shouldn’t be a matter of “hacking” to reduce the amount of inputs and clicks for such “trivial” actions (from a users perspective) like editing a profile.

    Is that reason enough? 🙂

    #244688
    danbp
    Participant

    See here:

    Filters & Constants Reference

    About bp_get_displayed_user_nav_ As you see, there is a a final undescore
    This is a dynamic function name which need to be completed, depending the place you want it to be modified.
    bp_get_displayed_user_nav_<css_id>.

    bp_get_displayed_user_nav_<css_id>

    See a working example here, to understand how to use it
    https://buddypress.org/support/topic/how-to-remove-sub-nav-only-for-displayed-user/#post-234852

    #244674
    Henry Wright
    Moderator

    The Theme My Login plugin is useful in handling redirection. Taken from the plugin’s feature list:

    Redirect users upon log in and log out based upon their role

    I’ve done this myself using the plugin and can confirm it works quite well with BuddyPress installed.

    #244663
    danbp
    Participant

    Hi,

    you need to track down the issue,perhaps a JS conflict in backend. Or have you the same problem on front end too ?

    Follow instructions from here:

    Troubleshooting

    #244658
    buddywhatshisname
    Participant

    Here’s a backtrace:

    
    [22-Sep-2015 02:59:19 UTC] bp_blogs_sync_delete_from_activity_comment::Started with $activity_id=14062
    [22-Sep-2015 02:59:19 UTC] bp_blogs_sync_delete_from_activity_comment::Done - about to return false
    [22-Sep-2015 02:59:19 UTC] bp_blogs_sync_delete_from_activity_comment::backtrace=Array
    (
        [0] => Array
            (
                [function] => bp_blogs_sync_delete_from_activity_comment
                [args] => Array
                    (
                        [0] => 1
                        [1] => 14043
                        [2] => 14062
                    )
    
            )
    
        [1] => Array
            (
                [file] => /wp-includes/plugin.php
                [line] => 213
                [function] => call_user_func_array
                [args] => Array
                    (
                        [0] => bp_blogs_sync_delete_from_activity_comment
                        [1] => Array
                            (
                                [0] => 1
                                [1] => 14043
                                [2] => 14062
                            )
    
                    )
    
            )
    
        [2] => Array
            (
                [file] => /wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php
                [line] => 2468
                [function] => apply_filters
                [args] => Array
                    (
                        [0] => bp_activity_delete_comment_pre
                        [1] => 1
                        [2] => 14043
                        [3] => 14062
                    )
    
            )
    
        [3] => Array
            (
                [file] => /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php
                [line] => 1115
                [function] => bp_activity_delete_comment
                [args] => Array
                    (
                        [0] => 14043
                        [1] => 14062
                    )
    
            )
    
        [4] => Array
            (
                [function] => bp_legacy_theme_delete_activity_comment
                [args] => Array
                    (
                        [0] => 
                    )
    
            )
    
        [5] => Array
            (
                [file] => /wp-includes/plugin.php
                [line] => 508
                [function] => call_user_func_array
                [args] => Array
                    (
                        [0] => bp_legacy_theme_delete_activity_comment
                        [1] => Array
                            (
                                [0] => 
                            )
    
                    )
    
            )
    
        [6] => Array
            (
                [file] => /wp-admin/admin-ajax.php
                [line] => 91
                [function] => do_action
                [args] => Array
                    (
                        [0] => wp_ajax_delete_activity_comment
                    )
    
            )
    
    )
    
    [22-Sep-2015 02:59:19 UTC] bp_activity_delete_comment::Quit after apply_filters
    
Viewing 25 results - 16,851 through 16,875 (of 73,985 total)
Skip to toolbar