Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    @wpmirwin yeah that could be the difference, I’m using the latest Buddypress.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    I want to mention, that I no longer needed this code once I set my time in wordpress using UTC instead of the city. It fixed the issue right up.

    So I went to wp-admin -> settings -> general ->Timezone

    and used UTC time instead of the city.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    @bphelp thanks didn’t see that before :)

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    @Ypswytch

    Thank you so much for posting that, it fixes things nicely :)

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    Sorry for the delay in reply, been busy as of late.

    Here’s a copy of my current import.php file http://pastebin.com/t3ew8vhn

    You’ll notice I simply commented out of any line in each function which begins with the word echo such as
    `echo “Twitter imported in “.$timeTwitter.” seconds”;`

    In php echo is basically just way of printing out content. for example if you created a php file with the following:

    `<?php
    echo “Hello World!”;
    ?>`
    and then uploaded it to a server which supports php then accessed it in your browser you would see a blank page with the words HELLO WORLD! on it.

    So removing these echo statements means that if you directly access import.php you’ll no longer get any messages telling you whether the import was successful or not. The problem I believe with them being left in the code is that when they were pulled into a cron job, there was no where to output the echo statements, so each cron resulted in the creation of a new file in the hosts root directory with the results written to it.

    Any way I hope I’ve helped you a bit ;)

    Angel

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    Well that was simple, just needed to comment out of the echo statements, and the files stopped being created.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    Well It seems there is a whole new problem with import.php as I just had to delete over 7000 files in my root directory. All of which had numbers tacked onto the end of them
    example:
    import.php.001
    import.php.002
    import.php.003
    etc…etc…etc..

    I’m trying to figure out what the cause of this is, but I’m have little luck. Maybe somebody with a bit more coding experience could help me out.

    Angel

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    I just wanted to report, that the cron is in fact working, buddystream successfully imported twitter & facebook posts since my last post.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    Ok after reading through this( https://buddypress.org/community/groups/buddystream/forum/topic/buddystream-1-0-3-1-feedback/ ) thread, I figured out if I went through /wp-content/plugins/buddystream/import.php and edited some lines it would work. So far the edit seems to have worked for manual import but I’ll have to wait and see if the cron works.

    Here’s the original: http://pastebin.com/Q63ijXTL

    Here’s the Modified version: http://pastebin.com/bY5zkrBd

    I was just a matter of changing a few lines.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    stwc, found this post and using your method I haven’t had a spam registration yet. thanks so much.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    Thanks for the fix ray using that file worked like a charm! I have my Wire back ;)

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    I’m using the buddy press 3 column theme.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    I have searched a lot, I googled and I tried searching here, and I can’t figure anything out.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    ahhh information overload….lol. Can you break that down slightly more me I’m kinda new to this whole thing. Possibly and example of the code.

    Profile photo of MrsAngelD
    MrsAngelD
    Participant

    @mrsangeld

    is there anyway to hide the User join notices from the activity stream?

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