Ambar Posted January 15, 2011 Posted January 15, 2011 I would ask them about it, I am not a shout box fan so sorry cant help
Gaffney Posted January 16, 2011 Posted January 16, 2011 I would ask them about it, I am not a shout box fan so sorry cant help If there was only an option which allowed you to choose not to apply the CDN onto js files and just the css and templates etc in this mod because I've paid $15 and I can't use it at all until it allows me to use all my ajax mods.
Ambar Posted January 16, 2011 Posted January 16, 2011 What did MaxCDN tech support say ? Its not the mods fault, the mod really is an API that sends a "new re cache" I was confused also ... its a hook the rest is up to us when we decide to install.. I think you can get MaxCDN up and running fist than buy the hook ... Ask MaxCDN they say it will work ???? I really struggled on this, its really a 3 part set up ... IPB Server Hook there are advanced setting :) in MaxCDN for problems like this, when some stuff will not work :) try playing around with the advanced stuff
Gaffney Posted January 16, 2011 Posted January 16, 2011 What did MaxCDN tech support say ? Its not the mods fault, the mod really is an API that sends a "new re cache" I was confused also ... its a hook the rest is up to us when we decide to install.. I think you can get MaxCDN up and running fist than buy the hook ... Ask MaxCDN they say it will work ???? I really struggled on this, its really a 3 part set up ... IPB Server Hook there are advanced setting :) in MaxCDN for problems like this, when some stuff will not work :) try playing around with the advanced stuff It wouldn't be able to do it that often, the shoutbox is updated every 5 seconds and another one every 60 seconds. For some reason it just makes them not react as well, eg ajax fast reply doesn't let you type. Cache can take around 3 mins to clear fully.
Gaffney Posted January 16, 2011 Posted January 16, 2011 what did MaxCDN tech support say ? I posted it a little while back, he said don't use ajax js files with maxcdn.
Gaffney Posted January 18, 2011 Posted January 18, 2011 11 days now and no reply, I want a refund unless there is news about the issue being fixed. I'm not paying for a broken product.
Ambar Posted January 19, 2011 Posted January 19, 2011 Thats so weird, I chatted twice on the site and through email about an account I was helping a few people here at IPB set up...
Zhana Posted January 19, 2011 Posted January 19, 2011 Dean helped me a lot, and now my site is working on MaxCDN, without any issues. Great guy. Thank you Dean.
Ambar Posted January 19, 2011 Posted January 19, 2011 Thanks I'm using about 1.5g a day what is your usage ? Trying to get a feel for costs on this ?
Ambar Posted January 19, 2011 Posted January 19, 2011 Thanks I'm using about 1.5g a day what is your usage ? Trying to get a feel for costs on this ?
Ambar Posted January 19, 2011 Posted January 19, 2011 Thanks I'm using about 1.5g a day what is your usage ? Trying to get a feel for costs on this ?
Zhana Posted January 19, 2011 Posted January 19, 2011 Yesterday after setting up I used 1.02gig. But today I'll find out the full day's usage.
Ken S. Posted February 14, 2011 Posted February 14, 2011 Hey Guys, Seems you all believe the plugin is working good for you? Has anyone attempted to upload a new photo? Seems when you do, the page goes to a blank screen, instead of going back to the Profile Photo page. Anyone have a second to do a test on their site? Thanks, Ken
prupdated Posted February 15, 2011 Posted February 15, 2011 Hey Guys, Seems you all believe the plugin is working good for you? Has anyone attempted to upload a new photo? Seems when you do, the page goes to a blank screen, instead of going back to the Profile Photo page. Anyone have a second to do a test on their site? Thanks, Ken I submitted a bug fix to the developer for this last month which doesn't seem to be integrated yet into a new release. Here is what I found and would require you to edit some of the provided files before installing them. 1. In the hook xml file make the following change: Find the following two lines: purgeUrl($apiKey, $apiUserId, $memberData['pp_main_photo'] ); purgeUrl($apiKey, $apiUserId, $memberData['pp_thumb_photo']); Replace those two lines with this one line instead: purgeUrl($apiKey, $apiUserId, $memberData['pp_main_photo'], $memberData['pp_thumb_photo']); 2. Then in the file maxcdn.php replace all of the code with the following: <?php function purgeUrl ($apiKey, $apiUserId, $url, $url2) { date_default_timezone_set('America/Los_Angeles'); error_reporting(E_ERROR | E_PARSE); include( dirname( __FILE__ ) . "/xmlrpc.php" ); $cur = date('c'); $namespace = 'cache'; $method = 'purge'; $authString = hash('sha256', $cur . ':' . $apiKey . ':' . $method); $c = new xmlrpc_client("/xmlrpc/cache", "api.netdna.com", 80, 'http11'); // this is the url to purge $f = new xmlrpcmsg("$namespace.$method", array( php_xmlrpc_encode($apiUserId), php_xmlrpc_encode($authString), php_xmlrpc_encode($cur), php_xmlrpc_encode($url))); $r = &$c->send($f); if ($url2) { $cur = date('c'); $namespace = 'cache'; $method = 'purge'; $authString = hash('sha256', $cur . ':' . $apiKey . ':' . $method); $c = new xmlrpc_client("/xmlrpc/cache", "api.netdna.com", 80, 'http11'); // this is the url to purge $f = new xmlrpcmsg("$namespace.$method", array( php_xmlrpc_encode($apiUserId), php_xmlrpc_encode($authString), php_xmlrpc_encode($cur), php_xmlrpc_encode($url2))); $r = &$c->send($f); } return ''; } ?>
djxcee Posted February 21, 2011 Posted February 21, 2011 Any possibility of creating one for Amazon Cloudfront?
djxcee Posted February 24, 2011 Posted February 24, 2011 I get the following error when trying to change my profile picture or avatar:Warning: require(/home/teenforum.net/web/public/hooks/../interface/maxcdn/maxcdn.php) [function.require]: failed to open stream: No such file or directory in/home/teenforum.net/web/public/hooks/usercpForms_members_maxcdn_avatar_4194141388126dd3be616ae42c2a5be2.php on line 9Fatal error: require() [function.require]: Failed opening required '/home/teenforum.net/web/public/hooks/../interface/maxcdn/maxcdn.php' (include_path='.:/opt/local/lib/php:/home/teenforum.net/web/public/ips_kernel/') in/home/teenforum.net/web/public/hooks/usercpForms_members_maxcdn_avatar_4194141388126dd3be616ae42c2a5be2.php on line 9
djxcee Posted February 24, 2011 Posted February 24, 2011 I submitted a bug fix to the developer for this last month which doesn't seem to be integrated yet into a new release. Here is what I found and would require you to edit some of the provided files before installing them. 1. In the hook xml file make the following change: Find the following two lines: purgeUrl($apiKey, $apiUserId, $memberData['pp_main_photo'] ); purgeUrl($apiKey, $apiUserId, $memberData['pp_thumb_photo']); Replace those two lines with this one line instead: purgeUrl($apiKey, $apiUserId, $memberData['pp_main_photo'], $memberData['pp_thumb_photo']); 2. Then in the file maxcdn.php replace all of the code with the following: <?php function purgeUrl ($apiKey, $apiUserId, $url, $url2) { date_default_timezone_set('America/Los_Angeles'); error_reporting(E_ERROR | E_PARSE); include( dirname( __FILE__ ) . "/xmlrpc.php" ); $cur = date('c'); $namespace = 'cache'; $method = 'purge'; $authString = hash('sha256', $cur . ':' . $apiKey . ':' . $method); $c = new xmlrpc_client("/xmlrpc/cache", "api.netdna.com", 80, 'http11'); // this is the url to purge $f = new xmlrpcmsg("$namespace.$method", array( php_xmlrpc_encode($apiUserId), php_xmlrpc_encode($authString), php_xmlrpc_encode($cur), php_xmlrpc_encode($url))); $r = &$c->send($f); if ($url2) { $cur = date('c'); $namespace = 'cache'; $method = 'purge'; $authString = hash('sha256', $cur . ':' . $apiKey . ':' . $method); $c = new xmlrpc_client("/xmlrpc/cache", "api.netdna.com", 80, 'http11'); // this is the url to purge $f = new xmlrpcmsg("$namespace.$method", array( php_xmlrpc_encode($apiUserId), php_xmlrpc_encode($authString), php_xmlrpc_encode($cur), php_xmlrpc_encode($url2))); $r = &$c->send($f); } return ''; } ?> Fixed my problem :)
tomturd2 Posted March 13, 2011 Posted March 13, 2011 Followed the guide first (its a bit confusing, but just go with it, it makes sense in the end!), then intalled using the instructions. working perfectly so far, page load speeds from USA dropped from ~7 to ~4 seconds. Huge improvement. Will see what google thinks of it in a few days. Thanks for your work. Would be great if you could purge the cache when making skin changes though! Tom.
Gaffney Posted April 18, 2011 Posted April 18, 2011 Either this is updated or I want a refund, it doesn't work and the developer hasn't listened. This is a 14 day notice for the author, if there is no reply in 14 days I will claim my paypal fees back.
.Ian Posted June 15, 2011 Posted June 15, 2011 Either this is updated or I want a refund, it doesn't work and the developer hasn't listened. This is a 14 day notice for the author, if there is no reply in 14 days I will claim my paypal fees back. Was about to look at this again - should we not bother? Would appreciate someone advising. Thanks.
Echelon One Posted June 15, 2011 Posted June 15, 2011 You could always change the CDN to a free one. I posted about this in a blog today, it requires no changes or add-ons to IP.Board whatsoever. Check it out. http://community.invisionpower.com/blog/3407/entry-6198-enhance-your-ipboard-with-a-free-cdn/ It could save you money...
.Ian Posted June 15, 2011 Posted June 15, 2011 You could always change the CDN to a free one. I posted about this in a blog today, it requires no changes or add-ons to IP.Board whatsoever. Check it out.http://community.inv...ith-a-free-cdn/ It could save you money... Saw that - but that appears to take over the site too much.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.