Forum Replies Created
-
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
Well that was simple, just needed to comment out of the echo statements, and the files stopped being created.
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
I just wanted to report, that the cron is in fact working, buddystream successfully imported twitter & facebook posts since my last post.
Ok after reading through this( http://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.
stwc, found this post and using your method I haven’t had a spam registration yet. thanks so much.
Thanks for the fix ray using that file worked like a charm! I have my Wire back

I’m using the buddy press 3 column theme.
I have searched a lot, I googled and I tried searching here, and I can’t figure anything out.
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.
is there anyway to hide the User join notices from the activity stream?