christopheran
Forum Replies Created
-
Forum: Plugins
In reply to: [Wp Subcribe Author] Feature request: add subscription for non-subscribersHi Alex,
Sorry if I was unclear on that – I have not found a plugin for readers to subscribe to email alerts to notify them when an individual author has a new post. That’s what I was requesting as a new feature for this plugin.
Chrirs
I’ve been told their customer service is not very responsive – but I have never contacted them myself. Let me know what you experience – hopefully they are helpful.
The top-10-addcount.js.php I have set up so it’s not on maxcdn – but it is being loaded with rocketloader and is still working, the count is incrementing ok. So I don’t think it needs to be excluded from Rocketloader.
But I’m no expert, just an experimenter ?? You would know better than I if there is some other reason to exclude it.
Forum: Plugins
In reply to: [W3 Total Cache] How to use variables in fragments?Ok, I found that if I put the first section there is regular php tags and declare it global in the mfunc tag this will work.
.
Still can’t get it to do what I want to on my actual pages though.I don’t understand why there isn’t a really good tutorial on how to use mfunc/mclude with examples of how it is used in scripts – it’s such a critical part of this and there’s practically no documentation on how to use it….. or am I overlooking something somewhere?
Chris
hmm, well, when I turned it OFF site wide using Cloudflare’s admin section, the count showed, when I turned it ON, the count stopped showing.
When I added the above code to exclude rocketloader from applying to top-10-counter.js.php it shows the count (while rocketloader is on with everything else).
Rocketloader is on top-10-addcount.js.php and that is working ok. It’s just the top-10-counter.js.php that I had to turn it off for.
I am using MaxCDN as well, but both addcount and counter are excluded from that and loading directly from my server.
So it looks like, in my case, it’s rocketloader, but not sure why or what’s different between our sites. There is still a lot of this cloudflare/maxcdn stuff I don’t understand. I’m trying to though!
Ah, ok, found it.
I had to edit top-10.php a bit.
Added:
data-cfasync="false"
to
$output = '<script data-cfasync="false" type="text/javascript" src="'.$tptn_url.'/top-10-counter.js.php?top_ten_id='.$id.'"></script>';
That excludes it from rocketloader,
Chris
Ok, now I took the next step and added Cloudflare into the mix, so I’m using W3TC with MaxCDN and Cloudflare.
It’s working surprisingly well, faster than having MaxCDN by itself.
The only thing that doesn’t seem to be working is the top-10 js that displays the count.
The count is being maintained and updated, just doesn’t show on the page.
It seems to be related to Cloudflare’s Rocketloader. It puts this on the page in place of the regular src:
<script type=”text/rocketscript” data-rocketsrc=”https://www.mysitename.com/wp-content/plugins/top-10/top-10-counter.js.php?top_ten_id=14093″></script>
The rest of the js files on the page are done the same way, this is the only one that doesn’t seem to be working.
I can turn off the rocketloader site-wide and then the count is displayed. I haven’t found a way to just exclude this script from the rocketloader… still researching though,
Chris
Forum: Plugins
In reply to: [W3 Total Cache] Need help: should this mfunc/mclude situation work?Oh, and would I also need to set the file.php to be rejected on the cdn settings page?
Ajay, I’m sorry, my mistake.
I had added the path to the page-cache not to cache section when it needed to be set in the cdn ‘rejected files’ section – just go confused going back and forth trying out different thing!
Now that I have it in the right place – it is working, ie: not using the cdn for the top-10-addcount.js.php file!
Thanks ??
Chris
Forum: Plugins
In reply to: [W3 Total Cache] MFUNC still not workingInteresting…
If I do this:
————–
<? $test = “testing”; ?><? echo $test; ?>
—————–I get the expected result.
If I do this:
————–
<? $test = “testing”; ?><!–mfunc mysecret –> echo $test; <!–/mfunc mysecret –>
—————–I get nothing – nothing echos out.
If I run this though:
———–
<!–mfunc mysecret –>
echo rand();
<!–/mfunc mysecret –>————-
That works, so I know that W3TC is recognizing those tags and running the code im between as php…
Any thoughts on this? I’m stuck because it won’t echo what I need it too,
Chris
I just started using W3 Total Cache too and found the same thing others are experiencing here.
I added
/wp-content/plugins/top-10/top-10-addcount.js.php
to the “Never cache the following pages:” on the W3TC page cache page – but when I look at my page source, it still shows the url for it as the subdomain for the cdn.
Why would it work for gearhungry correctly but not work on my site?
When I test site speed using pingdom, it shows the top-10 plugin as one of the slowest pages… but I suspect that’s because it’s cached on the cdn and not working correctly,
Any suggestions?
Chris
Forum: Plugins
In reply to: [JResizr] Very handy!Sorry, I don’t know of any others like this. Wish I knew how to help you more…
Chris
Forum: Plugins
In reply to: [JResizr] Very handy!I’m not sure, I haven’t had that happen.
Was is a really large (file size) image you were uploading? Does it work if you try something smaller?
Chris
Forum: Plugins
In reply to: [JResizr] Very handy!Hi t6233,
Just upload an image using the media upload link and it will resize it on the fly.
Chris
Forum: Plugins
In reply to: [BulletProof Security] Does BulletProof provide complete security protection?ah, ok, found out I have FCGID.
Apparently that is the default PHP Execution Mode with Virtualmin.
‘course, I don’t know much about that, but I am looking it up. The folks on the Virtualmin forum say “FCGID is quite similar to FastCGI in function”