Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 18 replies - 1 through 18 (of 18 total)

  • doubleF
    Participant

    @doublef

    Hello,

    Anyone having any clue about this? Or any idea about the problem might be?

    Many thanks


    doubleF
    Participant

    @doublef

    Hello @henrywright

    Thanks for taking the time to reply.

    Yes, it does, that indeed make sense with the way BuddyPress is working.

    We figured out that it’s also linked to an AJAX call we’re making on the page load.

    I need to understand how / why BuddyPress router conflicts with that Ajax Call and create a 404 on the next page. I continue digging.

    Thanks a lot!


    doubleF
    Participant

    @doublef

    Dear BuddyPress devs,

    Any idea?


    doubleF
    Participant

    @doublef

    Update 1:
    – Whenever theme/buddypress.php is loaded, a template redirect hook is fired for theme/404.php.
    – The next page returns a 404, except if it’s a single-*.php.

    Update 2:
    – Most likely, bp_do_404() is triggered.

    I do not what could cause impact that.

    Many thanks


    doubleF
    Participant

    @doublef

    Hi!

    For anyone having the

    Cannot read property ‘add’ of undefined bp-plupload.min.js issue.

    There is a conflict between BuddyPress’ upload js and the lodash.js library. Probably because it’s using the “_” object as underscore.js.


    doubleF
    Participant

    @doublef

    Thank you SO much, that did the trick just fine 🙂


    doubleF
    Participant

    @doublef

    Ok I had a look on the other extensions, I understand what you mean about the callback functions.

    Is there any other way around ? Because I don’t need a “new extension”, we just need something pretty simple :

    Post created > New Activity > New notification on Buddypress

    Do I need to create a new Bp component for that ?

    The activity item is created, just no notification triggered…

    Thanks for your precious help


    doubleF
    Participant

    @doublef

    Thanks for the help @shanebp, I’ll give it a go on tomorrow morning.


    doubleF
    Participant

    @doublef

    That might be the issue, I’m only using some : bp_activity_set_action() calls within a :
    add_action( 'bp_register_activity_actions', 'myfunction_register_activity_actions' );

    Do I need to do anything else ? If I’ve missed a documentation page, please let me know.

    Also, within the bp_activity_set_action(), I’ve let the default callback function as I didn’t found any details within the doc and in the functions’ code. I’ve let : bp_activity_format_activity_action_activity_update

    Do you think that could be the issue ?


    doubleF
    Participant

    @doublef

    Hello,

    Yes, several times and I’ve also looked the function within the Buddypress’s plugin and it seems to work out as a notification ID is returned.

    That’s why I’m out of clue on that one…


    doubleF
    Participant

    @doublef

    Hello @shanebp,

    I’ve changed the secondary_item_id with : get_current_user_id()

    And it’s the same issue, notification is created but doesn’t seem to be assigned to any profile :/

    Thanks for the help.


    doubleF
    Participant

    @doublef

    Hi Shane,

    Please can you open a ticket here : http://2f.ticksy.com/

    Let me know the ticket’s ID by email at contact[at]alka-web.com so I can assign the ticket to myself. I’ll be there to help tonight ! 😉

    Keep me updated,

    2F


    doubleF
    Participant

    @doublef

    Hi @cassionunes,

    It’s fixed, and the updated version is available here (https://woffice.io/updater/) or on Themeforest since yesterday 😉

    Feel free to open a ticket if you need more details.


    @wvmohzoibar
    : I’ve replied on your ticket

    Best regards

    2F


    doubleF
    Participant

    @doublef

    Hi there,

    Okay the issue is that the field_id parameter has to be an INT and not a string. Otherwise the save() won’t work out…500 error.

    Regarding Woffice buyers, you can turn off the extension for now, the fix will be available in the next 30 minutes 😉

    Thank you @r-a-y !


    doubleF
    Participant

    @doublef

    Hi @r-a-y,

    Here is the function :

    function woffice_birthdays_add_field() {
    	
    	if ( bp_is_active( 'xprofile' ) ){
    		global $bp;
    		global $wpdb;
    		// We check for multisite : 
    	    if (is_multisite() && is_main_site()) {
    		    $table_name = $wpdb->base_prefix .'bp_xprofile_fields';
    	    } else {
    	    	$table_name = $wpdb->prefix .'bp_xprofile_fields';
    	    }
    	    $sqlStr = "SELECT <code>id</code> FROM $table_name WHERE <code>name</code> = 'Birthday'";
    	    $field = $wpdb->get_results($sqlStr);
    	    if(count($field) > 0)
    	    {
    	        return;
    	    }
    		xprofile_insert_field(
    	        array (
    	        	'field_group_id'  => 1,
    	            'field_id' => 'woffice_birthday',
    				'can_delete' => true,
    				'type' => 'datebox',
    				'description' => __('We will only use it for the Birthday widget, so we can celebrate everyone\s birthday.','woffice'),
    				'name' => 'Birthday',
    				'field_order'     => 1,
    				'is_required'     => false,
    	        )
    	    );
    	 }
    	 
    }		
    add_action('bp_init', 'woffice_birthdays_add_field');

    I’m able to reproduce it so I’ll try to troubleshoot it now 😉 I keep you updated,

    2F


    doubleF
    Participant

    @doublef

    Hi @Sweeny,

    Woffice developer team here !

    Do you have any ticket open here : https://2f.ticksy.com/ ? Please send us some access to your website so our team can figure out what’s going on 😉

    The issues is also present with some other themes but it seems to be caused by the Birthday extension. As we create new Xprofile fields, but if was working fine before 2.4.0 and we can’t reproduce it.

    That’s why we need more details 🙂

    Thanks @r-a-y btw !

    Cheers

    2F


    doubleF
    Participant

    @doublef

    Thank you very much @danbp, I’ll look on that 😉

    Best regards

    2F


    doubleF
    Participant

    @doublef

    Hi,

    Well the main idea is to find out that ID, because I don’t know this ID for the guys using my theme 🙂 In my case yes, but I’m looking to get it from PHP.

    Thanks 🙂

    2F

Viewing 18 replies - 1 through 18 (of 18 total)
Skip to toolbar