Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 18 replies - 1 through 18 (of 18 total)
  • @doublef

    Participant

    Hello,

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

    Many thanks

    @doublef

    Participant

    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

    Dear BuddyPress devs,

    Any idea?

    @doublef

    Participant

    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

    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

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

    @doublef

    Participant

    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

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

    @doublef

    Participant

    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

    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

    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

    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

    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

    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

    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

    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

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

    Best regards

    2F

    @doublef

    Participant

    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