Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 238 total)
  • Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @insearchofasolution no problem mate.

    Seems like you know what you are aiming for so its really down to time and research, you do not need to be a master with PHP to pull this off yourself, although knowing the basics helps. If you can understand what you need to change or integrate you can find answers with a little google searching and quite often you can find various different solutions to similar problems others may of come across.

    About the plugins I mentioned, you should go to the wp-types website and set up a demo install of toolset for yourself, just search the website and there will be an option for you to have a test environment set up for free hosted on their servers where you can test out all the plugin suite, it will even let you install the dummy content for various complex website setups that have been created with toolset for demonstration purposes, it shows what is possible with these plugins when used together as a package. Its worth taking a look at trust me on this one.

    I have only messed with the vendors plugin you have mentioned briefly so I have not tried it out with buddypress but as @sharmavishal has mentioned above you might also want to check out the paid plugin he mentioned to if it has BP compatibility.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @insearchofasolution Just thought I would chime in on this.

    You would be able to do this but it depends on the approach you take, You could use buddypress for the social network side of things for the messaging between users etc and profile pages/groups etc whilst building a custom user interface for most of the other options you mentioned and tie them together for each user.

    Its good you are clear about what you are exactly wanting to build and its all down to research, You can most definitely create separate vendor pages and account pages using custom post types and fields and creating templates for these pages etc.

    If you don’t know how to do all of this you may struggle though, unless a specific plugin meets your requirements, I myself have been using an amazing suite of plugins over the past year or so that will help you do a lot of this yourself , they are brilliant for creating complex websites and layouts without having to write everything from scratch. You will have to have knowledge of html and css etc at the very least to use them efficiently though, they do come at a cost and you are looking at $300 for the complete set, these plugins are a little more advanced than other plugins to use as they are developer orientated and can be overwhelming at first if you are new to them, but if you stick with them you will start to realize the doors these plugins can open for you on wordpress and can help make your workflow loads faster and make your project come to life. do a search for TOOLSET PLUGINS by wp-types.

    I hope this helps a little bit, creating a complex website as you mentioned above will take patience and time if you are new to doing it, I am in the middle of a few complex builds myself and to be honest with you I now pre-fare to use these plugins for most of my projects now as I can easily create any type of custom post with custom fields and display them via content templates without having to create the templates from scratch on each project.

    The best thing about the custom fields you can create with these plugins is that you can create user specific fields and control access to everything with the access plugin, giving you full control over everything and you can create quite complex membership sites yourself.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @rlfstars So did you build the website yourself? If you did you should sort of be able to retrace some of the steps you took before Buddypress suddenly quit as you have described, can you explain what you mean a little better about Buddypress suddenly quiting? do you mean certain parts of Buddypress stopped working or didn’t work as it was before? or do you mean Buddypress somehow got deactivated? there must of been something that triggered what you are describing for it to happen in the first place, I am just finding it very strange the way you are describing Buddypress as suddenly quiting.

    First off, try to ask yourself a few of these questions below and think back:

    Did you install any new plugins after you had set Buddypress up and had it working?
    Did you by any chance have Buddypress working with your current theme and plugin configuration or was it all working correctly when it was on another theme?
    How much memory does your wordpress install have allocated to it?
    Did you do a WordPress version update recently? the newer versions of WordPress since 4.0 are known to have broke quite a few older plugins that are outdated or don’t have much support. maybe this could be causing a clash…I dunno?

    I know your site is live and you don’t want to mess things up and maybe you are worried about deactivating some of your plugins, but have you yet tried deactivating plugins one at a time and then with each deactivation tried to reactivate Buddypress?

    In future it may be better for you to also have some form of testing environment too (preferably a local install), this will allow you to test as many different plugins/theme combinations and tweak things such as combining scripts etc before doing the changes to your live website. (This will ensure everything works how it should and nothing is broken). Also please note, I would not recommend you diving into the combining of JS and CSS files etc on a live site as you can often break things and it can be trial and error to get right depending on what plugins/features you are using (this is also a different issue than what you have, I only mentioned it to give you an heads up on the shear amount that your website loads on a per page basis whilst I was looking at your source).

    Other than the above steps it really is hard to help out any more from this end without being able to check it out pal. Like shane said maybe you need to hire someone in to take a look at it all.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @rlfstars Hi mate, like shane has already mentioned, it would be really hard for anyone to troubleshoot this for you without having access to your account, you said you are the owner and not the ‘web dude’, so the question is why don’t you approach the ‘web dude’ who built the site for you to try take a look at it?

    If you cannot get help from the ‘web dude’ then it may be worth doing some troubleshooting for yourself, what kind of hosting solution is your account using via godaddy? is it shared hosting with limited capabilities and server access? it could well be a memory issue and lack of resources if this is the case, because if you have over 300k users and 200k pending you must be getting lots of traffic and maybe its time for you to upgrade to either a VPS or dedicated server where you have full control over your resource allocation.

    It could also be a plugin conflict, but like shane said without access no-one but you can really troubleshoot the cause.

    Viewing your source code just now and analysing the page with yslow I can see you have some serious amount of JS and CSS loading on each page and I’m a little confused, you seem to be using another social networking plugin called peepso, have you uninstalled buddypress and are now using peepso? Or have you been trying to use these two plugins together at some point? To me this could cause allsorts of mixed results no doubt.

    This is your yslow report and is an insane amount of scripts to be loading on any one page without doing some tweaking and combining of files.

    This page has 75 external Javascript scripts. Try combining them into one.
    This page has 37 external stylesheets. Try combining them into one.
    This page has 18 external background images. Try combining them with CSS sprites.

    Anyhows which ever way you decide to go all the best mate and hope you sort it out.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    The reason I havent really mentioned it again for over a year is because I have been so damn busy and I have implemented my own sort of work around by adding an expand/collapse comments button next to the favourite and delete button that lets users close and open all comments at will when scrolling further down sitewide activity, if a post has too many comments they don’t want to read because of this issue they can just click collapse and all the comments will collapse until they re-click it, it was the only solution I could think of and works well, but would be much better if this got fixed as I could then use both.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @henrywright yes I will add it to trac later today when I have some spare time, there is no need for me to test on the default themes again as it will be the 100th time or more I have tested this over and over and over and over and yes you guessed it over again! for the past 2 years 🙂

    It happens on every single theme that you use Buddypress on, it has never worked as I think it was intended to, its probably been completely overlooked and always has. If you test every version back to Buddypress 1.7 you will find the same issue in every single version of Buddypress up until the most recent, I havent gone further back than 1.7 so if it ever did work it was pre 1.7.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @ubernaut , Yer maybe your right about adding it to trac directly for attention I think I will wait until morning as its so late and I need sleep, maybe in the mean-time @henrywright could take another read of this as he commented on my original thread over a year ago, but I gave up explaining as no-one was quite seeing what i was getting at back then.

    Ok, fair enough no-one is noticing the problem that this could cause yet because it seems most Buddypress sites just are not active enough to realise this yet for themselves, but I can guarentee that if a few Buddypress websites started to get really popular and used by masses of people this would become a real big issue when it comes to popular activity posts because these posts would just scroll on forever in the sitewide activity.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    Not that I am aware, this is not a recent thing @ubernaut, it is something I have mentioned a few times over the years, this has been happening since I started using Buddypress well over 2 years ago (probs 3 years), The reason I haven’t added a trac ticket is because of how descriptive I have to be when explaining the issue, it may be better that a few mods confirm it and add the ticket to make it easier to explain, I felt like I had to write a story about it above just to explain the issue correctly and make it understandable.

    This is why I keep mentioning feeling baffled as to why after a couple of years no-one else has spotted this??? Maybe its because most websites that use Buddypress don’t often receive more than 5 comments on an activity huh? who knows.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    Hi @imath, I have tried out this plugin and really like it, as was already mentioned in the original question it would be better if users could reposition the image, this way you would not have to worry about what size of image was uploaded, if users were able to select which part of the image should be visible this would stop the auto cropping and make sure users get to see the part of the image that they choose.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @henrywright @rosyteddy just thought I would update you on my testing of php7, ok so it goes like this, yes the php7 speed improvements are infact amazing but I have a few issues with using it right now because if you use w3 total cache or any other advanced caching plugin then you are forced to use disk enhanced for object cache due to lack of support for Apc cache xcache etc etc.

    It would be great if I could get memcached running along side it but I have tried and failed all day long lol, even though my server is showing memcached as running I just cannot get w3 total cache to recognize it, neither is it showing in my php.info, I know its early and memcached should be available soon and working correctly on php7, so for now im confused a little as to stay with php7 and sit it out for the object caching or revert back to 5.6 with memcached? what do you think henry wait it out or revert? what do you reckon to the pros and cons of this?

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    🙂 no probs i was very confused for a second haha

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    sorry henry? you lost me with ask my host to deactivate the mail server?

    I do all my own server administration bud and i fail to see what my mail server has to do with the question? you just baffled me lol 🙂

    I was trying to avoid having to do it manually because I have already sets of js combined and served as cached and then move the cached js files to the footer using the plugin, oh well im going to have to undo some things and hunt em down I suppose.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    After thinking about it this is probs not the way to do it anyhows huh henry? buddypress doesn’t even register custom post types does it? you can tell i haven’t bothered for a few months on the buddypress side of things I need to give my head a shake, been awake too long lol, been so busy with server admin and css recently, a case of too much at once.

    So any ideas how I would get this plugin ‘Scripts To Footer’ to work on the buddypress members pages and groups pages?

    See the plugin I am using works flawlessly on ever other page of my website so I dont really want to stop using the plugin just because it cannot be used on single profile and single groups pages, I just need to find a way to make this plugin also move the javascript to the footer on these pages too and all will be good, its been a while since ive come back to this after a break, I really don’t want to undo everything and then hunt the files down and make them load in the footer manually.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    Talking about JavaScript @henrywright, without going off topic or meaning to hijack this thread I have a question for you that you may be able to help me with that’s driving me nuts, you know how we spoke ages ago about combining js scripts etc? well I have a problem on my members pages that is frustrating me, I have all my js files combined how I need them to be and working great on every single page of the website and have all js moved to the bottom instead of being at the top with the use of a plugin.

    Now the problem I have is on a users member/profile pages, on these pages 2 of my js files remain at the top which is causing me problems with another plugin I use on these pages, the plugins all work fine but makes the pages briefly flash when switching tabs, i have narrowed it down to these js files loading in the head that are causing the problem. The plugin I use to move the js to the bottom only supports pages and posts and not custom post types (so it works fine on the activity/members/groups main pages but not in the individual groups or personal members pages), now I have got the code to add the custom post types so that it can move the js to the bottom on the members profile pages but I am not sure what custom post types these pages use?

    The code I need to use is below, but what custom post type should I add for the buddypress personal members pages to be included any ideas?

    function stf_add_cpt_support( $post_types ) {
        $post_types[] = 'project';
        
        return $post_types;
    }
    add_filter( 'scripts_to_footer_post_types', 'stf_add_cpt_support' );

    sorry @rosyteddy but i only brought it up as henry mentioned JS 🙂

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    Ty for this great plugin @shanebp i will try this later and leave a review on wordpress repo.

    I may even be swayed to purchasing the premium version soon as the redirect would come in handy for me when restricting them.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    See that is what confuses me so damn bad @henrywright, these cheap hosts really just cannot be bothered upgrading something as simple as PHP versions, I mean why stay behind the times? it really does annoy me, this is why web design stands still whilst the tech to power it for performance is readily available to those that choose to upgrade, if the majority of hosts was using the latest PHP, MYSQL etc.. then dramatic changes could happen and performance gains would start happening ten fold.

    I am stunned at how many people are still using PHP 5.4 when the major increases came into effect from PHP 5.5 and PHP 5.6 with the introduction of opcache being inbuilt, leaving apc cache in the dust due to it not being developed for future PHP support. The improvements I am seeing in real world performance with each jump since 5.4 is so damn nice.

    I reckon plugin devs should just start using these extra features forcing people to take action if they want to start using these plugins. It is the only way to move things forward, if plugin devs are to scared to make the jump then so is everyone else.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    there are various wordpress plugins that remove it completely or via useroles etc, do a search on the wordpress repository
    do a search for this plugin maybe? Disable WP Admin Bar Removal

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    Hmm, Using desktop server is only available on the specific computer you are using, it installs itself for use similar to using xxamp etc and is only a local install, so you would be better off taking your laptop that your running desktop server on to your professor, if your using a desktop then your out of luck. why dont you sign up to some cheap hosting plan and upload it to that if your just using it for testing? you could get the most basic shared server, this way you can access your website from anywhere.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    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.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    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.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    Nice 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.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @henrywright

    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_Machine

    hxxps://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 🙂

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @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. 😉

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    @daveneich it is doo-able as @henrywright (BTW long time henry im back hope your good) said but to be honest its not all that easy, you have to realize that facebook is forever changing certain features and constantly adding new things in a multi billion dollar fashion (in otherwords it has tons of cash and 100s of thousands of servers at its disposal) like for instance facebook has just rolled out the notion of adding a dislike button whilst buddypress doesnt yet even have a like button that works as standard, this will need a plugin and configuring to work with whatever other plugins you have running and is quite sketchy at best.

    Also live chat is another big thing to implement correctly and will come at a cost and need huge resources if you have a busy social network, out of the box buddypress has a joint user stream (news feed or whatever you want to call it) whilst facebook has individual streams per user, again this can also be configured to work in this way but again if your new to buddypress or changing code it could be a task.

    You have to then think carefully at what you expect your notification sytem to deliver and how it interacts with users actions the way you percieve it to.

    It will also most likely take alot of existing different plugins or building them yourself (or getting a dev to build them) to do exactly what you want, but then again if you do opt for using alot of different plugins your going to have to find a way to make them work in unity together without effecting your websites performance and therfore grounding you to a halt.
    So things like caching and combining of certain js and css scripts will take time to play around with to get optimum performance without breaking things.

    Building a social network isnt easy from the outset anyhows and has to be one of the more challenging sides of website design to get it exactly how you visualize it.

    Also if you do want a website to do what facebook does with thousands of different users using it at any given point in time like i have mentioned before you will need to plan your scaling of it correctly from the outset and this will mean server clusters and advanced configurations.

    This is just my take on it and hope it helps you in your venture to realize what road maybe ahead of you 🙂

    Also i have just been considering the move to HHVM (hip hop virtual machine) on my server to see what boosts i may gain from using buddypress with it.

    Profile photo of mcpeanut
    mcpeanut
    Participant

    @mcpeanut

    oooooo wicked! I may just have to try get down to this! I will be watching this closely cheers for the heads up paul 🙂

Viewing 25 replies - 1 through 25 (of 238 total)
Skip to toolbar