-
My site has always been on Cloudflare to speed things up. No WP Super cache or other cache plugins. Switching cloudflare on, after login via userpro it goes to profile page showing you are logged in.
Then you navigate to other pages and it shows you are not logged in. You click on profile page it shows the login screen again when it showed you your profile 5 secs ago.
I purged cloudflare cache, cleared browser cache, delete cookies and restart and it’s same for as long as Cloudflare is on. I have to pause it to get login working normal. Surely it should be able to work with cache???
Anybody else have on cloudflare or WP-super cache can tell me you don’t have this problem??
How can I overcome this issue? Thanks
Hi @pbg2013,
Actually, I personally removed all of my WP sites from Cloudflare. Unless your host has the Cloudflare hosting plugins, and you have Cloudflare plugins to help WP with the Caching issues, you are going to have issues with it whenever there is dynamic content delivered.
You might go back to Cloudflare and remove certain pages from being cached.
You have to remember, when dealing with dynamic content, caching is difficult, as caching is designed to store content to show for faster delivery to the browser. If content is dynamic rather than static, you are going to have these issues. That is my understanding of it anyway. Someone else may have some solutions they have found. It wasn’t worth the pain to try and make it work, for me.
Cloudflare isn’t really forthcoming with the information needed to adequately understand how to make WP work with their service. IMO
Thanks Central Geek. I’ll have to try and see if I can set Page Rules to not cache any of Userpro pages.
I am seriously starting to struggle with Userpro as a plugin. Don’t get me wrong…love the look of it and “possibilities” and Ahmed’s support has been pretty good to cmplain. I actually bought it to replace Buddypress but I guess it’s all coming at a price!
1) No other frontend login plugins be it Buddypress, WP-Members, Modal login, Facebook login has any issues with Cloudflare. I’ve had no problems using any of above on my site while Cloudflare is on …WHY only USerpro?
2) Buddypress built in upload a Profile photo allows users to even crop the photo themselves. My site had no issue using this. My theme uses built-in wordpress media sizes without the need for timthumbs and can display them in any size with no issues simply using CSS. I can use Simple Local Avatars to upload avatar for users with no issues. BUT now, to integrate Userpro I have to upgrade my server plan to VPS bcos of the timthumbs. It’s a cost I wasn’t contemplating while setting up and testing site for next 2 months. This issue also affects my Postsbyuser output as Userpro is not using WP featured image calls but it’s own timthumbed images.
3) Frontend user post has no upload photos option. So how are all these plugins like Gravity form, frontend uploader doing it?
I’ve just spent the last week trying to make Userpro work as nicely as possible including changing the featured image call so I’m not about to give up on it but my question is why can’t Userpro be coded like any normal plugin, media plugin or Buddypress…one that will just work without conflicts???
*sigh* price you have to pay to look beautiful I feel.
Exactly! 🙂 Moving this topic to support as it is more appropriate in that forum. UserPro does work without conflicts, until you do a limitation or install a plugin that makes the conflict 😉
I don’t mean to be offensive or anything, but you are talking about BuddyPress which was released on April 30, 2009. That was 4 and one half years before UserPro. Given the fact that you have chosen to place UserPro in the same list as BuddyPress, I find that to be a compliment, because UserPro was not created to replace BuddyPress.
Yes, BuddyPress has features UserPro does not yet have. And given the fact that UserPro is a mere two months old (minus three days, I believe), and is already being considered as a possible alternative or replacement for other social networking plugins, I don’t think it is doing too badly. Do you?
Quite frankly, it doesn’t matter which side of a complaint or a praise a person is on, that person can always find something on the internet with regard to plugins, to support their position. I can name WP Symposium as one of the “social networking” plugins that does not work well with Cloudflare. And WP Symposium is three years old, or around there.
So, your number 1) isn’t entirely correct. UserPro isn’t the “only” plugin that Cloudflare needs to be adjusted to work with it. In fact, given that Cloudflare has the option to turn off caching, tells everyone that there are apps, and software that need to have caching turned off. They wouldn’t offer that if it were a rare occurrence.
Number 2) of your list simply points out that while BuddyPress has features in it’s much longer life than UserPro, BuddyPress still isn’t satisfying the needs of users like yourself.
I might remind you, UserPro has never been presented as a replacement or an alternative to BuddyPress. I don’t know where you would think it would be at any level of competition with BuddyPress. Yes, it is a fact, someday (and maybe soon) UserPro may be in that category. However, currently, and until this point in time, it hasn’t been and still isn’t presented in such a way.
Yes, you have to consider things like dynamic content when dealing with CDNs. That’s just a fact of life. You have to learn how to make things work together. And as time goes on and more and more dynamic content is delivered, Services like Cloudflare are going to have to become a little more open about how to set up software to better function with their service.
That’s just a fact of life.
“why can’t Userpro be coded like any normal plugin, media plugin or Buddypress…one that will just work without conflicts???” Did you really just ask that question? If, in fact all those other “Normal” plugins are doing what you imply they are doing, why are you using UserPro? Why would you have even looked for something else?
I suggest you take a step back and acknowledge that what you are claiming isn’t exactly correct. Otherwise you and I would have never had the opportunity to have this exchange. Don’t ya think? 😀
I want to re-state the fact that UserPro is not a BuddyPress alternative yet (But with upcoming development and current work on messaging/friends) it may! I have tested the site for you, and the problem is with JSON AJAX REQUESTS, didn’t we reach a conclusion that it was caused by the custom theme mods, what did change since that time? 🙂
BTW, I know users having userpro installed on CDN, and it’s 100% compatible.
I might also add, with WordPress, the automatic updates for WordPress, whenever there have been updates, have been affected by having the site on Cloudflare. That is the biggest reason I removed my sites. There are so many things that can have an effect on the functionality between WordPress and Cloudflare. To claim it is UserPro, is a completely unfair and inaccurate claim.
Hi Ahmed.
The JSON AJAX REQUESTS issue as I mentioned in my email which we thought its my theme mods, for the benefits of others out there I’ll put it here. Its the functipn below: I have the code in my custom functions to prevent people from being directed to WP logout/login screen when they click on login/logout using the Comments box link.
<?php
function non_admin_lockout(){
if( is_admin() && !current_user_can( ‘manage_options’ ) ) {
wp_redirect( home_url() );
die();
}
}add_action( ‘init’, ‘non_admin_lockout’ );
?>THIS conflicts with your plugin since yours does all the redirection already. Taking it out resolved Login/Registration issues so for anyone who has Userpro Login /Registration issues where it does nothing they might want to see if they have any other redirection plugins/functions or above function in their custom functions. ALSO, the Menu visibility control plugin does not work with Userpro.
I’ve resolved the Cloudflare issue by setting up Page Rules for ALL pages created/required by Userpro. Simply Bypass Cache for the dynamic. That solves the not logging me in issue.
To make userpro fetch WP featured image in Postsbyuser shortcode I had to change this code: <?php echo $userpro->post_thumb( $post->ID, $postsbyuser_thumb ); ?> in postsbyuser php to fetch different way so this was a theme conflict? don’t know dont care as long as it shows.
Only thing I haven’t done is upgrade to VPS which I’ll have to do when I launch bcos of my server issue with Timthumbs.
As you can see I am doing everything I can and googling to find solutions as I’m not a developer or coder (just a girl with 2 cats!!!) and if this was 6 months ago I would have simply asked for a refund as I would have no idea how to solve all these issues!!
So maybe you should have a Known/Possible Conflicts/Issues & How to Solve segment in this forum. I can’t be the only average user who came by this plugin by chance on codecanyon who are not coders.
cheers
Hi @pbg2013,
Sounds like you are learning a lot and I am quite sure this will benefit you for a long time to come. I would like to just address the statement “So maybe you should have a Known/Possible Conflicts/Issues & How to Solve segment in this forum. I can’t be the only average user who came by this plugin by chance on codecanyon who are not coders.”
Actually there is a section of this forum that provides for both the author of UserPro and users to show others solutions to issues, provide tutorials and how to’s. It’s located here http://userproplugin.com/userpro/forums/forum/tutorials/
I know it’s frustrating to have to do some things ourselves, but in reality, a plugin author cannot know all possible conflicts with the tens of thousands of other plugins and themes out there for WordPress. Ahmed has been doing as good a job as he possibly can to help with these, as well as attempt to give customers the enhancements they would like to see when using UserPro.
I will also add my support to the inclusion of a Forum section which provides an opportunity for people to see and comment on “Known Conflicts”. And when someone finds a solution to those conflicts, move those topics to the link provided above. That, I think is a good idea. It might help people to know at least for the time being what conflicts there are and help Ahmed to be able to work on those conflicts as time allows.
How does that sound? 🙂
Yes, I think a section for Known Conflicts & Possible solutions pinned to Forum will be most helpful. As a newcomer, I read the Tutorials section as just a section for what Userpro does and how to implement/integrate those things. Not tutorials on conflicts. Since you are on this board so often you would have come across all known conflicts and all possible solutions so to have it pinned to the board will make alot quicker search.
Another thing I think that needs to be pinned to the top is the link to download upgraded version http://userproplugin.com/userpro/customer_portal/ with instructions on how to upgrade via FTP. My web host cpanel doesn’t allow for moving of folders, only uploading zip file and unzipping it. But uploading and Unzipping the file to /plugins creates a new folder Userpro/userpro/….. Uploading to userpro folder and unzipping creates /plugins/userpro/userpro/userpro/……then files
^original ^unzipped folderDon’t even know what I did but I managed to do it. I did try the plugin you recommended theme and plugin upgrades plugin but that didn’t work and when I saw someone else struggling I knew it wasn’t just me. SO…. HOW TO UPGRADE PLUGIN VIA FTP pinned to the top of forum will be helpful.
Thanks!!
Hmm.. What didn’t work about the theme and plugin upgrades plugin?
I have never had an issue with that plugin in all the time I have used it. And I haven’t seen where someone else was having an issue with it. I would be happy to assist with it for sure.If you are unzipping the file, I don’t know how you are doing it, but you unzip it to “here” and the one folder gets created, just userpro.
When uploading via FTP, you upload that one folder to plugins, not inside the userpro folder. If done just uploading the folder to /wp-content/plugins/ you should not have a problem with other folders being created.
I hope this helps. 🙂
With regard to known conflicts, actually, I don’t know all of them. In fact, I don’t know of that many true conflicts. There are a lot of configurations of the plugin. There are a few conflicts that get repeated on here due to others not searching for the issue they are having, and those all are being answered as I can get to them, or as Ahmed can get to them.
One thing to remember as well, there are a lot of plugins that create conflicts with other plugins because the authors of those plugins do not follow WordPress suggested policies and use their own approach to things. That can cause issues with any plugin that does use WordPress Standards. UserPro cannot be expected to compensate for other plugins that aren’t coded correctly. In those cases, there might have to be a choice made.
One of the biggest problems withing WordPress is developers using their own libraries, instead of using the libraries provided by WordPress. And the use of Ajax the way some authors use it, outside the way WordPress suggests, will create problems with a great many other plugins. Ahmed attempts to follow WordPress Standards to the best of his ability. It can’t always be presumed that UserPro is the issue just because when UserPro is introduced the problem arises. Most plugins work if they are by themselves. But some really cause issues when something else (coded correctly) is introduced. That’s where having some knowledge of coding or troubleshooting comes in handy.
As far as providing instructions on how to upload via FTP, that really shouldn’t be needed here. There are ample YouTube videos on that subject, as well as explanations available on multitudes of websites if you do a search. In fact, even the software being used by you and others, probably has helps available. One thing to remember though, if you unzip a file, or folder, and you want to upload it to WordPress, when it comes to a theme or plugin, you use the innermost folder with the name of the plugin to upload. Uploading folders inside folders isn’t a good idea.
And if you attempt to upload a zip file from codecanyon via the plugin I suggested, it won’t work because codecanyon provides multiple folders inside their zip file and WordPress won’t find the plugin folder. WordPress always assumes the zip contains only the plugin folder.
I hope this helps some. 🙂
Whaaaaaaaaat? 😀 I can’t really track all the conflicts with thousands of plugins and themes, including “So badly coded ones” you said that you have to remove a code from another plugin to fix the login/register – and that was not userpro fault and It can’t be designed to work with that plugin, and with that code in place! So? I consider that UserPro does not conflict (itself) with another plugin, because I do not use hooks/redirects that stop other plugins from working, such calls are not recommended in a plugin. e.g. disable login from wp-login.php, or prevent avatar from showing.. plugins should not make “global” functions, and it ‘s not my responsability to find and fix these really. Yes, userpro has global functions such as global redirects (from login, register, etc) but that’s a part of the functionality – to redirect a user after login to X etc.
I want to say something simple, if plugin B has a die() function inside login, UserPro will fail at all times! And that other plugin may seem to be working fine on your install until you install UserPro – that’s not a case that I have to fix, actually plugins should follow API standards (as much as they can) to improve compatibility. And I am not trying to convince you that UserPro is super perfect and 100% compliant but I am following the standards as much as I could, really many of the issues that I’ve been fixing were due to conflicting CSS or JS in theme, or another plugin.
The link to customer portal is PLACED ON TOP of item page here: http://codecanyon.net/item/userpro-user-profiles-with-social-login/5958681
I think it’s Sticky enough there? You’re learning quite fast and I understand completely that you’re just trying to have a good website without worrying about the tech stuff. If a problem arises, the first thing you should try is:
– Disable other plugins
– Change your theme
and see which one causes the problems, This way you can debug it yourself and as I said there are many thousands of plugins, I can’t test them all.I’m not asking you to test them all Ahmed. I’m just saying it will help to have a segment like that on the forum. Jetpack has that on their site to tell people of known conflicts. As soon as I saw that did I see the need to email them? no. Cos I saw the solution. That’s why I said it will help not just us the users but actually also YOU…don’t have to answer/repeat yourself a million times. Many plugins states that upfront. It just avoids people facing with the same problems bombarding you repeatedly since someone else on the forum who has had the same problem can help others out. Having a segment that talks about Known Conflicts does not mean your plugin is inferior. It just helps you out on your end so you can rely on YOUR community to give you a hand with helping each other.
That link you have is on Codecanyon. This is your forum. …..? This is the Userpro support forum isn’t it? I don’t even visit Codecanyon unless I looking for a new plugin. Shouldn’t you have it on your own support forum?
Please don’t take my comments in a different way and think my suggestions are attacks on you or your plugin. I’m just suggesting how this forum can be handled more efficiently with the understanding that other than just YOU and possibly only central geek are answering questions. To free yourself and give youself less stress and more time you should be making use of the community you building over here in THIS forum to help each other.
cheers
By the way Central Geek.. just in response to
And if you attempt to upload a zip file from codecanyon via the plugin I suggested, it won’t work because codecanyon provides multiple folders inside their zip file and WordPress won’t find the plugin folder. WordPress always assumes the zip contains only the plugin folder.This was exactly the issue with the zip provided in http://userproplugin.com/userpro/customer_portal/
This file has a folder within the folder that’s why it was creating multiple folders when unzipped. SAME as when it get it off Codecanyon. That’s why the issues.
cheers
Interesting, which version of UserPro did that. I didn’t have that issue with any of the downloads from the portal. If you downloaded from the portal and uploaded via that plugin I suggested, and you used the dropdown and chose yes to update, there should have been no issue.
The Portal download does not contain two userpro folders in it.
If you download and you use a zip software and unzip to the folder userpro, then you will get two folders, one inside the other. And if you zip it back up you will have two userpro folders.
I also asked where you saw others were having issues with that plugin. I would be happy to talk with them about it. Where are they please.
You must be logged in to reply to this topic.