latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: olly connelly

Sorry, I've not written a description yet. I'll get to it soon!


My Latest Replies (From Various Topics)

Viewing 18 replies - 1 through 18 (of 18 total)
Author Replies
Author Replies
Posted: Sunday Aug 11th, 2013 at 1:33 am #55538
olly connelly
Username: guv

k, tx Bruce, appreciate that, and note your point about Pro Forms.

Top weekend to you.

Posted: Thursday Aug 8th, 2013 at 8:58 pm #55457
olly connelly
Username: guv

cheers Bruce.

I understand that. And wonder (now) why I asked the initial question, at least quite as I worded it.

Seems to me there’s a gaping performance hole here, with this issue. I mean, the vast majority of page content – unless, say, it’s a forum – is static. …

… In my case, the only dynamic component, for logged-in users, on any given page is the “Logout | Profile” div which, when clicked, calls the user’s username, and which will either redirect that user to a successful logout, else take the user to his or her profile page. It seems very silly for that little box, however functionally important, to slow down the entire page.

… So my original question may better have been, “How can I isolate that single div to be dynamic, whilst retaining the rest of the page as static and, therefore, caching? Using fragment caching, perhaps?”

You see my point? And understand my revised question?

For the record, I know that W3TC, that I am using, supports fragment caching now. Might that be the solution, effectively to isolate the single div, as dynamic?

It strikes me that caching is a science all of its own!!! And like any science, it’s a total bugger until properly understood! I appreciate any heads-up on what appears to me to be a most understated yet important topic, (for billions of sites): the art of *fragment caching*.

Thanks guys.

Posted: Thursday Aug 8th, 2013 at 3:49 pm #55434
olly connelly
Username: guv

Tx again Philly, appreciated.

I am using a CDN for this, albeit suspended until I’m happy with the caching.

Appreciuate your tips, will persevere.

Posted: Thursday Aug 8th, 2013 at 7:40 am #55419
olly connelly
Username: guv

“Do you have full control over your server?”

Yes. Running APC too, BTW.

#hope!

Posted: Thursday Aug 8th, 2013 at 7:11 am #55416
olly connelly
Username: guv

Tx Philly.

“If you cache pages for logged in users (which are likely to be members) then you are going to serve them to non-members that are not logged in”

Good point.

“I’m not aware of any option which allows a cache to be created for logged in and a separate cache for logged out members.”

** Now that would be nice! **

I saw this in teh cannily titled no-cache-inc.php, for logged in users:-

if (!defined ("DONOTCACHEPAGE"))
	define ("DONOTCACHEPAGE", true);

But as you say, Philly, maybe this is best left alone.

But, well, how ruddy frustrating. I’d like to be able to offer a fast site to paying members, as well as to guests. Seems only right! Might there be some kind of workaround?

… Some use of fragment caching, f’rinstance? I see that w3TC supports that now.

Any keywords gratefully received, happy to research and post back anything useful.

Posted: Sunday Jul 28th, 2013 at 9:01 am #54294
olly connelly
Username: guv

Eduan, that is precisely the deal.

Mike, I’d tend to agree.

Thank you both. Due to time constraints, not ideal but I’m running with the iframe for now but will try again, taking into account the likely javascript conflict somewhere.

I’ll try to remember to add the eventual solution here.

Posted: Wednesday Jul 10th, 2013 at 9:43 am #53236
olly connelly
Username: guv

OK Bruce, appreciate that.

So you know, I’ve decided against Bitpay *for now* in favor of Coinbase, whose API allows for recurring subscription payments *but only from other Coinbase account holders*. I’m still playing with teh API though but it is more dev-friendly.

Also, FYI, Bitpay tell me that they are planning something similar.

I’ve heard rumours that Bitcoin v. 0.9 may provide support for recurring payments too, which presumably means subscribers could recur payments from any wallet to any other.

Thanks again. (Let’s ditch those damn banks!)

Posted: Tuesday Jul 9th, 2013 at 8:14 am #53176
olly connelly
Username: guv

Cheers Bruce. “Inconvenience” … well, it’s just web dev, huh!

Thank you for your help.

Posted: Monday Jul 8th, 2013 at 7:20 am #53116
olly connelly
Username: guv

Aah yes, for those wondering “What about syncing cookies?”, get the Root Cookie plugin.

… Set to go.

Posted: Monday Jul 8th, 2013 at 7:18 am #53115
olly connelly
Username: guv

Cheers Bruce, and nice link so thanks for that.

After all, I’m working on a slightly different registration solution now (in case it helps anyone else with similar issues, searching for this kind of stuff) …

Am using Formidable Pro (top forms plugin) + their Registration plugin + their Captcha plugin + their MailChimp plugin to create the form and register the resulting user data in the usual way. Because mine is a Multisite install where I want users to be registered across all sites in one go, and because Formidable does not share data across domains (even with the WP User Management plugin, which otherwise is a cracking auto-sync-user-data plugin), I’m embedding the registration form (available on every page on the site) into an iFrame … this is one of those rare cases where an iFrame is a reasonable solution.

… So, along comes a visitor, to any page on any sub-domain, clicks the “Register me” link, up pops/slides in/whatever an iFrame with the registration form which pulls its content from the registration page on the main domain … *ajaxed if you like, all without leaving the current page*. The visitor registers via Formidable which inputs the data into the WP users table (while simultaneously setting up the Mailchimp user newsletter/opt-in email); the WP User Management plugin then syncs that user data across all sub-domains and s2Member recognizes the registration in the usual way.

… Hurrah! Hope that helps. Formidable is a premium plugin but great for all form requirements. It is not a substitute for s2Member.

** Let me say, I do hope that s2Member will soon be able to handle all of the above, seeing as Multisite is now such a big deal. Really s2Member (as with vast majority of plugins even if they do say Multisite compatible, is only a regular WP plugin. I know you guys are totally honest about this.)

Otherwise, re that “Math required” anti-spam measure. I worked out that it has nothing to do with s2Member but is actually a Simple:Press forums plugin option which, checked, hooks into the main WP registration. So sorry for the red herring.

Bueno. Ciao.

Posted: Friday Jul 5th, 2013 at 6:14 am #53049
olly connelly
Username: guv

Thanks Bruce. Appreciated.

I have some further thoughts on this, and a specific question first, please …

On the generic /wp-login.php?register form, how do I edit the “Math required … What is the sum of” code? I figured this would be in a class file, and intended to simply copy then edit the function into my /mu-plugins/s2-hacks.php file, but no joy looking, even using, say, this …

sudo find . -type f | xargs grep -l "What is the sum of"

… but I’m blessed if I can find any reference.

###

I’ve given up on the s2M Pro forms option, as you may have deduced from the above because the Math doesn’t work with those templates without undue fiddling … but also because I don’t like the user having the double password fields, for two reasons: 1. because this is an inline form and two fields take up too much space and 2. because I want to send them a secure password. I hope that feedback is useful.

What I’m doing instead is to use an amended version of the Registration Form Widget Plugin, which works quite as it should with s2, and vice versa, and therefore with MailChimp too.

… But …

I just need to know about that Math required edit, please. The first_name and last_name fileds, which I’m also playing with (basically, losing the labels and using input placeholder attributes instead to save space) I’ve edited from the custom-reg-fields.inc.php file).

If any of the above throws up any flags to you I’d be grateful to hear.

** Otherwise, I’d just like to say, s2Member is an awesome plugin (I’ve had a lot of prior experience with Wishlist, which is also good, but different, but I way prefer s2). I’m fairly pushing s2, using across multisite with single root cookie, sync’ed logins, all that … sure, it’s a bit hacked for that purpose but, damn, I’m really very pleased (still in dev, mind!) Just wanted to say that cos maybe I sound a bit over-critical here :/

Posted: Thursday Jun 20th, 2013 at 2:23 am #52268
olly connelly
Username: guv

OK, got that, will play, tx again, Sir.

Posted: Thursday Jun 20th, 2013 at 2:22 am #52267
olly connelly
Username: guv

cheers Bruce, and fair play to that.

Posted: Wednesday Jun 19th, 2013 at 7:16 am #52203
olly connelly
Username: guv

Tx Cristián,

I will work on this once the basic new site’s up and running, and if i have any joy will report back here.

“there’s a shortcode attribute for it from that attempt”

… Can you elaborate on that please? Something I might be able to play with?

Posted: Tuesday Jun 18th, 2013 at 2:27 am #52073
olly connelly
Username: guv

Tx again Eduan,

Sorted now … turned out it had nothing to do with s2member … got a pretty complex MS setup with a bunch of sub-domains reporting to one domain, all requiring single login, plus other separate domains/cookies … and just had to juggle Domain Mapping, Root Cookie plus various wp-config and htaccess hacks.

… Took a few days and a bit of hair to work that lot out.

That’s a nice server testing script from you guys, BTW … will certainly keep that handy.

Thanks again :)

Posted: Friday Jun 14th, 2013 at 3:09 pm #51969
olly connelly
Username: guv

Thanks Eduan, appreciate that.

Posted: Friday Jun 14th, 2013 at 2:22 am #51925
olly connelly
Username: guv

Bump!

Jason?? Pretty please! :)

Posted: Wednesday Dec 12th, 2012 at 4:03 am #34332
olly connelly
Username: guv

+1

Best to try the manual route?

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

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.