Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Troubleshooting – Duplicated Activity & Restricted Mapped Domain

  • Avatar of dasped
    dasped
    Participant

    @dasped

    Forgive me, for some reason I can not post any further updates to a topic I created yesterday: http://buddypress.org/support/topic/wpmu-bp-1-7beta-duplicate-activity-cant-adddelete-issues/ I have therefore posted this new thread with condensed and up to date information (Please delete previous thread, linked above) Thank you.

     

    WP Install – 3.5.1

    BP Install – 1.7 Beta

    WPMU Enabled (Sub-folders) – BPMB Enabled

    Domain Mapping Configured.

    Network Root = http://www.cyber-networks.co.uk

    Mapped Sub = http://cyber-chat.co.uk

    Current BP Theme: Dynamix – http://themeforest.net/item/dynamix-premium-wordpress-theme/113901

    Network root can post activity but duplicates it all (Posts it twice) I can delete activity threads from this site.

    Mapped sub is managing to auto post updates (New avatar insertion etc) But I can not manually post any activity. I can also not delete any activity.

    Troubleshooting tried: Disabled all plugins – No effect

     

    In brief:

    Duplicate post issues, would appear to be theme related as BP default theme rectifies the issue (All sites are running from an appropriately renamed child site)

    Inability to add/delete into activity from a sub-site would appear to be directly linked to domain mapping, as when I revert to sub folder URL, the problem is removed.

    Any assistance/advice to help further my trouble shooting or indeed any potential solution thoughts will be greatly received.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of dasped
    dasped
    Participant

    @dasped

    OK, duplicate post issues aside (for the moment)

    It would appear that the post/edit/delete in Activity issue via my mapped domain could well be ajax related.

    The ajax URL being loaded within mapped domains source relates ‘always’ to the site network root url.

    After searching numerous topics related to similar issues. Switching remote login within the plugin ‘off’, (not a route I wish to take), but after reading some threads off people who had resolved similar issues this way, I have tried it, but without any luck.

    All other sub site domain links within the page source are loading correctly and each belong to their individual mapped domain.

    Ajax, has to be the culprit. I’m convinced that many people looking for the same WPMU cross BPMB solution as I, must have come across this issue themselves. ‘I surely can’t be the first’ .

    Again, please,  ‘Any’ information you may be able to give in assistance will be greatly received.

    Thank you.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    From a recent post by Boone this duplicate content may be related then to 1.7′s aggressive loading of styles, and scripts theme authors are going to need to add:

    add_theme_support(‘buddypress’)

    to their themes functions file, preferably hooked to ‘after_theme_setup’

    but this will depend on how this theme has been configured to work with BP if at all?

    http://bpdevel.wordpress.com/

    Avatar of dasped
    dasped
    Participant

    @dasped

    Thank you @Hugo, much appreciated.

    I have passed the info on to the theme Dev’s in the hope they can help. I will let you know how it goes.

    Now, just the ajax issue to fathom.  The saga continues…  :)

    Avatar of dasped
    dasped
    Participant

    @dasped

    OK, so, I have been speaking to Ron Rennick via the WordPress MU Domain Mapping support pages in relation to the current ajax issue I’m having.

    To explain: Naturally the cyber-networks.co.uk Page source is showing the ajax url as http://cyber-networks.co.uk/wp-admin/admin-ajax.php

    The problem being is that my mapped domains also have the same url within their source. Default browser security is therefore blocking BP posting within these mapped domains!

    Ron suggested that I switch off Domain mapping plugin -”Redirect administration pages to site’s original domain”

    I’ve tried this but it resolves nothing and Ron seems to think that this may be down to Buddypress, Quote; ” Possibly the ajax url is being changed by BP to go back to the main site”

    If this is the case, then I can’t ever see a need for the enable bp multiblog function as it would surely fail in most case scenarios similar to my own?

    Very confused and need a guru on the scene to enlighten my dreams and set my site alive with their magic!

    Anyone holding a wand, wizzard staff ?…

    Please……

    Avatar of dasped
    dasped
    Participant

    @dasped

    *Buddypress Duplicate post issue resolved -

    Solution, I had to edit theme functions.php and remove the following line:
    wp_enqueue_script( 'dtheme-ajax-js', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/global.js', array( 'jquery' ), $version );

    Theme author thought you may like to know that although this appears in the directory, you don’t appear to be using it any more.

    (Ajax issue will be reposted in new thread with subject (Title) that suits.

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

You must be logged in to reply to this topic.