Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 353 total)
  • @rossagrant

    Participant

    Actually @henrywright – I just noticed there is indeed a notifications table and a notifications meta table.

    There’s a separate table for message notifications, which I would leave well alone.

    I guess the only other notifications that would be useful to keep intact would be the friendship requests. If I deleted notifications, would people lose the ability to accept friend requests?

    Not quite sure where they are stored.

    @rossagrant

    Participant

    Hey Henry!

    I don’t think site members would mind about losing old updates at all and the stream will contain old, broken links in parts yep.

    Notifications is the only issue that I’d be concerned with.

    Is there a table in the DB that deals specifically with notifications?

    If so, I guess I could just empty it before I emptied the stream and stream meta tables.

    Shout up if anyone thinks that could be a problem.

    Thanks again Henry!

    @rossagrant

    Participant

    Ahh, okay – thanks Henry!

    So is the general consensus that you never purge the stream?

    What if I emptied the DB of notifications, then purged the stream?

    I just know it will contain lots of old, dead links – particularly now I’ve deleted lots of forums etc.

    @rossagrant

    Participant

    @imath you got it in one.

    My theme just needed a template update to fetch the filters after BP 2.1.

    All works great now, so thanks so much for your input – really appreciate it!

    @rossagrant

    Participant

    @henrywright Cheers Henry – I’ve passed this on.

    I’ll report back what I find if we manage to fix it.

    @rossagrant

    Participant

    Here’s the error in pastebin:

    http://pastebin.com/V3q3WdyS

    @rossagrant

    Participant

    When I google that error I see posts referring to WP running it’s jQuery library in no-conflict mode.

    People say that errors like this are syntax issues – the jQuery library included with WordPress loads in “no conflict” mode. This is to prevent compatibility problems with other javascript libraries that WordPress can load. In “no-confict” mode, the $ shortcut is not available and the longer jQuery is used, i.e.

    jQuery(document).ready(function ($) {

    By including the $ in parenthesis after the function call you can then use this shortcut within the code block.

    This is a bit beyond me – does anyone else see this behaviour and have any idea if the above solution is implemented in BP to cause no conflicts?

    Would love some help!

    Ross 🙂

    @rossagrant

    Participant

    Will post as a pic instead:

    http://postimg.org/image/p6reyra3p/

    @rossagrant

    Participant

    Oh, it won’t let me post code, even between tags?

    @rossagrant

    Participant

    @djpaul Ahh okay, cheers Paul.

    Well I’ve ran the Go live URL WP plugin to change all references in the DB from www. to no www. (there were only a few) and it’s all good.

    I guess the site was originally set up as no www. and I ended up editing the WP settings in the general panel to have www. – screwed it up.

    We’re all good now though!

    @rossagrant

    Participant

    @djpaul Hey Paul – not spoken to you in ages – hope you’re well mate!

    Right I’ve just had a look in WP settings and indeed the URL’s were set to www.

    I have a very blurry recollection that I very well might have added those http://www.’s years back after my staging site was created by Boris.

    Deleting the www. from both URL fields AND THEN REMOVING that Htaccess fix above still keep ajax working which is great!

    It’s something I have never ever looked into before, but what would be hardcoded into my install to cause this mix up where it is expecting no www. but getting one.

    Obviously I know where the www. came from – it was in those 2 general settings field, but where in the install was WP picking up that it was expecting no www. – and why would that only affect iPhone.

    I’m just trying to figure out where that no www. stuff that WP was expecting is kept.

    It’s bloody confusing for a simpleton like myself! Haha!

    What ultimately determines what WP expects to see? The ajax was expecting a no www.

    Thanks in advance.

    @rossagrant

    Participant

    @danbp Hey Dan,

    Took me til 2AM this morning to work this out but got there in the end – whether it was to do with my WP setup or something that wp-admin/ajax.php is doing though I’m not sure.

    I eventually found out how to debug on my iPhone and I when using any ajax on my staging site, I was given this kind of error:

    ‘XMLHttpRequest cannot load http://www.staging.mysite.com/wp-admin/admin-ajax.php.

    Origin http://staging.mysite.com is not allowed by Access-Control-Allow-Origin.’

    So it was to do with a mix of www. and non www. prefixes.

    To allow this kind of cross site scripting securely you can add this to your htaccess file:

    Header set Access-Control-Allow-Origin http://staging.mysite.com

    And everything works just fine.

    Any ideas if this would be caused by my initial WP install – even though from what I can tell it’s set to www.

    My live site doesn’t have any issues – so maybe it just was my staging site’s setup.

    Anyway, wanted to let you have a look incase anyone else has this issue in the future.

    Ross 🙂

    @rossagrant

    Participant

    @danbp I’m getting no JS errors at all. Still totally bonkers.

    @rossagrant

    Participant

    Hi Dan, I’m on a dedicated sever so the sites are hosted in the exact same environment.

    I’ll take a look JS errors now!

    @rossagrant

    Participant

    @danbp Thanks for a comprehensive answer Dan!

    The sites run on the same server, but they don’t share the same database.

    I’ve been into mySQL and each DB has the same tables set up – nothing looks odd or anything.

    In terms of turning the option for BP’s activity button on and off – do you mean the auto-refresh option?

    I’ve tried that to no effect.

    With regards to BP-Default – I’ll certainly help test this – but for my issue, the fact the theme works on one install and not the other, would suggest that the theme isn’t an issue.

    I’m going to keep looking through each site’s settings and see what the score is with any differences.

    It’s such a mystery – and even more of a mystery that only iPhone/ iPads are affected on just one of the installs!

    Thanks again for your help so far!

    Ross 🙂

    @rossagrant

    Participant

    It’s not just the dropdowns that don’t work by the way – ajax just in general doesn’t.

    The ‘Load More’ button at the bottom of the activity stream does nothing on iPhone either and the sorters in the Members Directory don;t work either.

    @rossagrant

    Participant

    @espellcaste Did you manage to take a look?

    Anyone else know if there are plans to implement anything like this in core?

    @rossagrant

    Participant

    @rossagrant

    Participant

    @marcella1981 as @hnla suggested, members will not be added to the Members’ Directory until they have actually logged into the site.

    Try installing the plugin ‘User Switching’ and log in as one of the members not showing. They should then be added.

    @rossagrant

    Participant

    @henrywright-1 Still doesn’t work.

    Instagram have 100% changed something recently.

    Images from last June/ July work no problem, but newer links just display a blank frame that still links to the image on Instagram, but displays nothing on a BP activity stream for example.

    @rossagrant

    Participant

    Have confirmed this on 2 more brand new installs.

    Tried to explain it as best as I could in this ticket:

    https://buddypress.trac.wordpress.org/ticket/4792

    Cheers 🙂

    @rossagrant

    Participant

    The friends component is great to quickly filter the activity stream to see what certain people have been upto on the site.

    It’s probably the sole feature of it to be fair, but it is useful in that respect.

    It also ties in nicely with instant chat plugins such as comet chat.

    @rossagrant

    Participant

    I use @etivii’s BuddyPress Pending Activations plugin on a daily basis.

    It’s brilliant. Check it out!

    @rossagrant

    Participant

    @aaclayton To find out why those entries weren’t being deleted by wp-cron on a daily basis, if you install the lightweight plugin wp-cron dashboard, you will be able to see the cron jobs in the dashboard.

    Check if you have the cron job bp_activity_akismet_delete_old_metadata listed.

    See if the plugin has a tick next to it or a cross saying ‘no action exists’. This is what I am seeing at the moment, and I’m not sure if it’s BP or something else at fault.

    Regardless that those queries were being created even when you had them turned off, they still should have been cleared out daily by that cron job.

    Let me know what you see.

    Cheers 🙂

    @rossagrant

    Participant

    Cool, no worries Paul!

    I guess Clayton’s 25,000 entries would have been cleared if the cron job was running on his install though?

    Rather than me mucking p this thread though, we can discuss it here:
    https://buddypress.org/support/topic/bp_activity_akismet_delete_old_metadata-what-does-this-do/

    Any ideas on how to re initiate that cron job wold be very much welcomed!

    Cheers mate 🙂

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