Forum Replies Created
-
yo henry it might be worth noting that the speed increases in installing php 7 alone are worth the upgrade to it, i have just installed and tested it and ive gained amazing speed increases in page loading times since installing php 7 over php 5.6, what ever magic is in php 7 is defo working great for me.
In reply to: How to share my development site to test?Hi @bruce30
I don’t quite understand your question?
If you want test your website on another computer or device simply log in to it via the other computer or device, this is why I am confused by the question, if your website is online and you know the login url you just go to the login url on any device to log into it of course.
In reply to: BuddyPress 2.4.0 – PietroNice one @imath and congrats to you and all the team, although i have not had time to try this out yet i will do do sometime soon, i have not been as active on here recently due to being so tied up with what i am doing myself, the cover was a well needed implementation and i am so glad it was added to core. now if only you guys could get a dedicated like system built into it or a favourite feature that would lets users favourite other pages and custom posts other than just on buddypress posts and related pages 🙂 … hehe.
Are you using Nginx with php-fpm?
Yes that is correct henry, as far as your httacces rules yes you will need to convert them to work with nginx as it does not use them, otherwise things like permalinks will not work straight off.
I would suggest looking into using HHVM too if your gonna check out nginx as it would be a perfect time for you to test it out.
Here are a few links below you should read about hhvm and nginx
hxxp://hhvm.com/
hxxps://en.wikipedia.org/wiki/HipHop_Virtual_Machinehxxps://bjornjohansen.no/hhvm-with-fallback-to-php
hxxps://github.com/facebook/hhvm/wiki/fastcgi
also please make sure you dont overlook certain things such as this etc
hxxps://nealpoole.com/blog/2011/04/setting-up-php-fastcgi-and-nginx-dont-trust-the-tutorials-
check-your-configuration/change the xx to tt in links couldnt get them to post, ive tried posting this 4 times so i will leave it as it is haha but im sure you can get to the links 🙂
@ch1n3s3b0y Hi there, im gonna chime in on this as im starting to believe that buddypress can most definately scale vary well (even though its not been proven yet to scale to say a million users+ i think its quite possible), as henry may remember from previous threads i have commented in i have decided to look into the ultimate server configurations to try and find the best way to actually move forward into my own buddypress build.
This has meant concentrating and learning about lots of different server configurations for the past couple of years in-between my other projects.
Do you think Buddypress can support hundreds of thousands, if not millions of users?
Lets just switch this notion right on its head, rather than ask yourself if buddypress can scale to a millon users start asking yourself if your server setup and configuration can scale to a million concurrent users instead.
The key to success on a buddypress active and busy site becomes more of a server and administration task rather than how you have buddypress setup on a basic server config (before long you will bottleneck somewhere if you do not setup for expansion).
I know it seems daunting to think about all of this rather than install it build it and launch it and expect it to scale! But to me doing something half hearted isnt the way forward with a serious build on any project. If you prepare and understand the potential problems before you have that killer network built with 100s of thousand of concurrent users its much better to be prepared than to sit back and go NOW WHAT! when you finally grind to a halt and noone can use your site anymore and you dont know how to fix and expand it. Proactive is the way forward.
I am currently testing my buddypress install on one of my servers with nginx and HHVM (hip hop virtual machine) that was created by and is used by facebook instead of standard php, this speeds up the PHP execution speed PHP code is translated into C++ compiled into a binary and run as an executable to really speed up the way php works, therefore making everying load much much much much faster! I have only just started messing around with HHVM and will keep you updated. is anyone else actually running HHVM? if so please do share with me your finding, to me this seems the way forward with any buddypress installed website.
Also as i have stated before once i have decided on my final server configurations and im 100 percent happy with exactly how my setups work with wordpress/buddypress to scale to massive amounts of users i will create a post and guide on how i have it all set up, but still will take me more time yet. and also as stated before if anyone else does want to give there 2 cents on it feel free because on these forums there is not much talk about actual configs that people are using, even though i do realize this is server tech department, i also believe it is a valid issue for buddypress because instead of questions about scalability there could also be a few answers which is my ultimate goal. 😉
In reply to: BuddyCamp Brighton (UK)oooooo wicked! I may just have to try get down to this! I will be watching this closely cheers for the heads up paul 🙂
In reply to: nginx vs apache installs with buddypress@hnla lol sorry my bad i didnt realise the HE was infact a SHE :), yes i agree its slightly off topic as a whole for buddypress but isnt that some point serious buddypress users are in-fact going to have to deal with in the future?
This is why i said maybe have its own section in the forums than just having to post it under miscellaneous?
What good is it having a porche with only a sinclair c5 engine under the hood ? 🙂
In reply to: nginx vs apache installs with buddypressThats the thing henry alot of people dont even understand what you just said more than likely and if they do once they have performed their initial install of Linux/ Apache/ MySQL and PHP everything is left as default for most people. I guess what i have been trying to do for the past few years is come up with the best possible config and environment for true scalability, this is my 4th server and i have upgraded from first having a vps to then having 3 dedicated servers each more powerfull than the last, i have now decided to stick with my newest server for the initial release of my buddypress built site and may keep my other 2 online for when i want to delve into the world of adding servers together for scalability (which i still have alot to learn as i know how to do this in theory but not yet in paractice) as i have a good deal on them and use them for testing with.
my new server is an 8 core xeon @3.3ghz with 32gb eec ram and 4 x 3tb hardrive in raid 10 with a dedicated hardware raid controller so should be great for buddypress.
In reply to: nginx vs apache installs with buddypresscool he will probs read this when hes online, this is the thing with buddypress, i just didnt understand when i first came to these forums a few years ago even though i had been comming longer without registering, I myself had shared hosting and thought yippee i have found a plugin that i was looking for and installed it, then after messing around with buddypress it dawned on me that shared hosting just was not gonna cut the ice with buddypress let alone wordpress for a serious install.
I then decided to delve into the world of dedicated/vps servers. I am by no means an expert in this world yet but i believe from my own experience that it is a very daunting task moving to these kind of setups at first, once you get the basics of initial setup and general security right its then time to tweak everything for future proofing and scaling and performance tweaking if your serious about the future of your website, unless your willing to pay ALOT of cash out to people who can do his for you full time.
This is why i sort of pushed my buddypress websites design back in favour of looking into all this. I think this is one of the biggest points concerning every website build and believe that not enough info is out there to make people understand just how important all this is to succeed with their websites, alot of people see these one click easy installs and adverts off companys telling them to come build your website with us its easy then see wordpress installed and think yippe look at my new website and what it can do, until of course they then get popular crash and burn then fail and give up because they just dont understand the reality involved in pushing forward a scalable environment. This is why i believe people doing a massive project such as buddypress should really be able to share this info with each other from nivice users to experts in this field.
In reply to: nginx vs apache installs with buddypress@henrywright who is the best person to ask on these forums to add a new section?
I would love to see a server configuration and hardware setups section for buddypress in these forums, i have mentioned this before.
It could be a specific place for people to share all kinds of server configuration settings and tips and server scalability issues etc along with initial setup advice to.
I mean i would be willing to post a few server tips and tricks i have learnt along the way into this section and maybe write a few guides etc for server lockdown and shh hardening tips etc, even though i am still learning alot of server administration tasks (because the scope is vast )it would be good to have a place for vps and dedicated server users to all have a chat about issues and setups etc for buddypress. I do realise as a rule that there are plenty of server setup and config info all over the web on other forums etc and in articles but hey would it not be great for users of buddypress to have a tips and help section for this to? this would let users share their experiences with setups running with buddypress installs specifically and could also cover things like server level caching php caching and many other tweaks needed to run at optimum performance. lets be real here buddypress is not designed to run very well on shared hosting (not for very long anyhows to you bottleneck yourself) and i think this would be good info for people making the leap to other setups.
In reply to: nginx vs apache installs with buddypresscheers @henrywright for the link to the article, its a good read and i am 100 percent certain that i am going to install nginx after reading many of good things about it, i am using whm/cpanel on my server and there seems to be an nginx cpanel plugin that i am looking into.
apparently using a properly configured nginx server can outperform apache by up to 50% thats some boost.
@danbp yes im always bang up to date pal, it just isnt worth the risk i was just posting this as a warning really to those who dont seem to think they have to update and the video may just make them think twice 🙂
@danbp hey dan their seems to also be a very big risk with the wordpress commenting system that i have come across from various wordpress expert groups on fb today, and i believe that wordpress are refusing communication on this matter, please take a look at these 2 links, this could affect anyone using the commenting system with buddypress installs too.
below is a fix that has been found
https://blog.anantshri.info/temp_fix_wordpress_comment_xss
and this is a video showing you the 0 day exploit being executed used and tested.
video doesn’t seem to format here properly i suggest doing a youtube search for it
ahh cool dan i wasnt aware as ive been offline for the past week or so traveling bud, cheers for the link.
In reply to: Performance of css Stylesheetsyou can also use something like this
add_action( 'wp_enqueue_scripts', 'remove_default_stylesheet', 20 ); function remove_default_stylesheet() { wp_dequeue_style( 'original-enqueue-stylesheet-handle' ); wp_deregister_style( 'original-register-stylesheet-handle' ); wp_register_style( 'new-style', get_stylesheet_directory_uri() . '/new.css', false,'1.0.0' ); wp_enqueue_style( 'new-style' ); }This way you can first dequeue/deregister styles you dont want and then register/enqueue the new stylesheets
In reply to: Performance of css Stylesheetsyes that’s how ive been doing it henry, but cheers its a good idea like you said to post the code so others know what we are talking about lol
In reply to: Performance of css Stylesheets@henrywright cheers henry any little info and suggestions how others do it always helps, i know that it mainly boils down to each specific website how this is done in the best possible way, and alot of it can depend on how many stylesheets various plugins load, i wish more developers would give you an option in the backend to use your own stylesheets as standard and let you just turn them off from loading, i know more and more plugins are giving you this option but there are alot that still don’t, i like to customize everything myself and would rather not have to dequeue these stylesheets manually. its quite annoying.
In reply to: Performance of css Stylesheets@rosyteddy a couple of good reads there man, i like to read through the comment sections on articles like the ones above because there is some good points raised, there are alot of varied opinions as how to effectively pull this off dependent on the complexity of your site, which i would consider mine as quite complex, the reason for the questions and advice is because of how complex i consider the website to be, i have alot of stylesheets for various different things here there and everywhere loading when not needed etc, in the past i have used plugins to successfully combine and serve them as one cached minified version etc.. but i was just wanting to go more in depth with it and configure it all myself to run at an optimum level.
I am going to be messing around with this over the next few days and will get back to you on what i feel was the best way to do it, any more advice off anyone else who has tackled doing this manually for wordpress/buddypress give us a shout.
In reply to: Why is there no ajax on profile tabs?No worries m8, as far as sleep is concerned, what is this sleep you speak of? hahahaha
Besides i just woke up at 12am so im up all night now, damn my sleeping pattern is a mess at the minute :/Oh i always forget about the top menu as i have disabled the top bar, i hate it!
I hate the wordpress bar at the top and always have , it screams your using wordpress above anything else. I always disable it hence why i was working on my own notifications i a previous post.In reply to: Why is there no ajax on profile tabs?@danbp haha and? i was just saying bud so you knew what tabs i was on about lol, shlaaps my head for not being clear in the first part! lol
In reply to: Why is there no ajax on profile tabs?@danbp hey dan after re-reading your comment bud ive just realized we are on about different tabs hehe, i was talking about the actual top level tabbed navigation on your profile. examples:
Activity
Profile
Friends
Groups
settings
etc…..and the sub navs for each tab. examples:
Personal
Mentions
Favorites
Friends
Groups
etc….In reply to: Why is there no ajax on profile tabs?I tried that plugin but my plugin setup is far to complex for it to work without breaking ALOT of things on my site, it wouldn’t be worth all the troubleshooting with these other plugins (as i suspected), the website is very ambitious and i have a set amount of plugins i need running to achieve it, removing features is not an option, the main thing im concentrating on is performance with all of the plugins active (which is alot more than the average site so hence the problems) and im trying to combine all my js files in the most efficient way i can without again breaking functionality , i don’t really need all the website to be ajaxed as such it is more a case of just the buddypress tabs on the profile areas that is the issue really
In reply to: Why is there no ajax on profile tabs?Ok after some thought (i dont have a clue if this can be done ) but is there anyway that you could upon clicking the buddypress tab ‘profile’ (for example) on a members page you could have it anchor to a specific part of the page after it refreshes the page? Let me explain why, the reason i ask is that to get to the profile tab on a members page involves scrolling a little down my page, so upon clicking the profile or any other tab on a members page it will refresh the page and jump back to the top making you have to scroll back down to the subnav that is just out of view.
So the question is this, could i make each of the top level navigation tabs after being clicked and the page reloads anchor back down to the corresponding sub nav tab?
I hope this explains exactly what im trying to say haha, if it can be done can you give me any clues as of how to do this?
In reply to: Why is there no ajax on profile tabs?@mrgiblets i once recall downloading lots of various ajax all plugins and testing them but i noticed that alot of things could easily break for me due to the plugins i use, maybe worth trying it again? what is the issue with messaging with that plugin?
@danbp i understand what your saying but maybe just have all the default tabs ajaxed? if this was the case plugins that create new tabs within buddypress would have to follow suit, no?
@henrywright yes im gonna take a look later through the link you posted.cheers
In reply to: Why is there no ajax on profile tabs?After doing some reading this has come up a few times in the past and it seems its not going to happen, i see brajesh tried creating a theme a while back that used ajax on the members single profile pages but even he states its not for a production site, so no worries, i was just curious as to why its not as standard same as the way the other tabs work that’s all.