Microsoft sure can kill a good thing FolderShare

So, for years I have used the FolderShare applications a P2P program that can securely sync folders across  the internet.  It has some limitations but is still worked great. Then, Microsoft purchased and everyone was worried that they were going to kill the program. Luckily they did not kill it– at least not right away. They renamed the stupid thing about 3 maybe 4 times.

  • FolderShare
  • Live FolderShare
  • Live Sync
  • Live Mesh
  • (hope I didn’t miss one)

Each time they changed the name of the software you had to reinstall the software which was rather annoying.

Now they removed support for various operating system like Windows XP and some other server based operating system.

I logged into the program and was reviewing the new interface which forces you to use their cloud based storage service for the files that you want to share.  Which again, kinda sucks because it ruins the whole p2p aspect of the program.  On top of that it appears it did no migrate any of my old folders share were being shared from the last version of sync. This again, also sucks.

One more thing, they bundle the application with a ton of other crap, like messenger, photo  gallery, bing bar, writer, and some email client.  And even though you uncheck all the boxes that say don’t install this other stuff. It still installs all the crap anyways.  [rant] None of this stupid shit has anything to do with why you want this sharing application. Why not just bundle it in a windows update if you want it installed on everyones machine so bad. I already have outlook that I don’t use; why do I need another shitty email client? [/end rant]

It kinda sucks now that I can share documents with my friends that still are on windows XP for whatever reason.  Luckily there is other competition out there ready to take it’s place.

I ended up uninstalling the mesh and installed DropBox which appears to mimic many of the features without killing off support for your legacy users.

https://www.dropbox.com

HDMI BestBuy vs Amazon Digital Vs Digital

BestBuy 6.6 foot hdmi cable
$695.00
http://www.bestbuy.com/site/AudioQuest+-+Coffee+6.6’+HDMI+Cable+-+Brown/Black/1267646.p?id=1218245470758&skuId=1267646&st=AudioQuest%20-%20Coffee%206.6’%20HDMI%20Cable%20-%20Brown/Black&contract_desc=null

vs

$7.99
http://www.amazon.com/AmazonBasics-High-Speed-Meters-Supports-Channel/dp/B001T9NUJE/ref=sr_1_1?ie=UTF8&qid=1295277370&sr=8-1

I don’t think cable business model will last forever.

CIS Ink System HP Officejet 6500

[youtube]http://www.youtube.com/watch?v=jyVB_rPUr2Y[/youtube]

Quick video of my officejet 6500 wireless $160.00 printer + $60 the CIS ink system.

I have printed about 1500 color pages with the printer and still have the original ink that came with the cis system.

AutoChimp WordPress plugin mod enable autoresponder

I have been testing out this plugin for wordpress called autochimp. “Version 1.00 | By Wanderer LLC Dev Team ”

Visit plugin site

It seems to be pretty fantastic.

One issue I noticed is that for mailchimp to utilize a autoresponder automatically from leads from this plugin you need to submit a date field or registration date field with the lead. Otherwise the aut oresponder just doesn’t work.

The mod is pretty simple. I created a field on the list then added a field to be sent automatically.

I am not sure if you have to do the first setup but I did and it worked so..

File 88-autochimp.php

Line 408

$merge_vars = array( ‘FNAME’=>$user_info->first_name, ‘LNAME’=>$user_info->last_name, ‘REGDATE’=>date(“Y-m-d”) );

Added the REGDATE line.

I am not sure if it works for sub sites on wordpress. If it doesn’t I attend to modify it so that sub blogs on the network can use it to sync their own mailchimp accounts.

Varnish Rules WordPress Multi-Site

Getting your wordpress site to load fast can be a jaunting task. I have been testing out Varnish Cache for the last 2 weeks and found it to pretty effective and pushing our resource forward.

WordPress is crazy CPU and database intense. I have been playing Varnish and have found that there are several key areas that I need to have working.

First one would be our affiliate module at our site. It sets a cookie every time ends up on our network or on a affiliate link.

First rule looks for our affiliate cookie. If it doesn’t exist it passes the connection directly to Nginx. If it does exist it simply remove the cookie. The content at that point is cached so when the user visits the site again the page does not have to be reloaded.

sub vcl_recv {
# This checks to see if the client has the affiliate cookie if not the page is not cached.
if (req.http.Cookie !~ “affiliate”) {
return(pipe);
}

#This one fixs uploading issues I had with larger files.
if (req.request == “POST” && req.http.Cookie ~ “wordpress_logged_in_” )
{
return(pass);
}

#Clipping

remove req.http.cookie;
return (lookup);
}

sub vcl_fetch {
if (req.url ~ “wp-(login|admin)”) {

return (pass);
}

## This line I found to be critical to stop the user getting someone elses cached cookies. 🙂

if (!(req.url ~ “wp-(login|admin)”)) {
unset beresp.http.set-cookie;
}
set beresp.ttl = 24h;
return (deliver);
}

Uploading Giant GB Files with PHP regardless of limits

Attached is a java app that with a php script that will allow you setup a upload interface for very large files. Basically the java applets splits the file into many peices and submits them to a php file handler. At the end of the batch the php file just assembles them back together. No memory limit. No file upload limit.

javaupload

Specify the upload folder in the split-chunk.php file.

//    specify upload directory – storage
//    for reconstructed uploaded files
$upload_dir = “/uploads/”;
//
//    specify stage directory – temporary storage
//    for uploaded partitions
$stage_dir = “/uploads/stage/”;

//    specify upload directory – storage     //    for reconstructed uploaded files    $upload_dir = “/uploads/”;
//    //    specify stage directory – temporary storage     //    for uploaded partitions    $stage_dir = “/uploads/stage/”;

From there set the upload applet paramaters in the upload_java.php file

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}

<param name=”uc_uploadUrl” value=”split_chunk.php”/>

<param name=”uc_partitionLength” value=”1048576″/>

<param name=”uc_maxFiles” value=”1″/>

<param name=”uc_fileNamePattern” value=”(?i)^.+.(cvs|txt|csv)$”>

<param name=”gc_loggingLevel” value=”DEBUG”/>

<param name=”ac_fireUploaderStatusChanged” value=”true”/>

uc_partitionLength = the max size your php server can handle or less.

BuddyPress BP admin bar mod work.

Problem with buddypress admin bar login functionality.

When a visit comes to a WPMU site and clicks on the login link at the bp admin bar the default function is to direct them to the primary domain login page.

Once they login they are then directed to the primary domain homepage. The user can still login to there admin panel at that point but it causes the user to have to login again at their own domain.

This is not ideal functionality with mapped domains.

I modded the bp-core-adminbar.php file temporarily to test  a alternate method for the login url. Thus far is seems to work.

//echo ‘<li><a href=”‘ . $bp->root_domain . ‘/wp-login.php?redirect_to=’ . urlencode( $bp->root_domain ) . ‘”>’ . __( ‘Log In’, ‘buddypress’ ) . ‘</a></li>’;
echo ‘<li><a href=”/wp-login.php?redirect_to=’ . urlencode( ‘http://’.$_SERVER[“HTTP_HOST”].’/wp-admin’) . ‘”>’ . __( ‘Log In’, ‘buddypress’ ) . ‘</a></li>’;

This seems to change the behavior so when the visitor clicks on the login page. They are redirected to the same url. Once they are logged in it directs them into there admin area. Seems more logical.

End plugin looks like this

// **** “Log In” and “Sign Up” links (Visible when not logged in) ********
function custom_bp_adminbar_login_menu() {
global $bp;

if ( is_user_logged_in() )
return false;

//echo ‘<li><a href=”‘ . $bp->root_domain . ‘/wp-login.php?redirect_to=’ . urlencode( $bp->root_domain ) . ‘”>’ . __( ‘Log In’, ‘buddypress’ ) . ‘</a></li>’;
echo ‘<li><a href=”/wp-login.php?redirect_to=’ . urlencode( ‘http://’.$_SERVER[“HTTP_HOST”].’/wp-admin’) . ‘”>’ . __( ‘Log In’, ‘buddypress’ ) . ‘</a></li>’;
// Show “Sign Up” link if user registrations are allowed
if ( bp_get_signup_allowed() ) {
echo ‘<li><a href=”‘ . bp_get_signup_page(false) . ‘”>’ . __( ‘Sign Up’, ‘buddypress’ ) . ‘</a></li>’;
}
}

function my_alter_bp_adminbar() {
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’,2);
add_action( ‘bp_adminbar_menus’, ‘custom_bp_adminbar_login_menu’, 2 );
}

// Modify BP Login
add_action(‘wp_footer’,’my_alter_bp_adminbar’,1);