Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 39 total)
  • @oldskoo1

    Participant

    If anyone else is looking for the answer to this see my post here : https://buddypress.org/forums/topic.php?id=1979#post-10620

    Simply, i made a dirty little hack, as follows:

    So, simply put, add the following SQL : AND EXTRACT(DAY_MINUTE FROM wb.last_updated)!=EXTRACT(DAY_MINUTE FROM wb.registered)

    to the functions :

    function get_by_letter

    function get_all

    in the file:

    /wp-content/mu-plugins/bp-blogs/directories/bp-blogs-directory-blogs.php

    @oldskoo1

    Participant

    I asked a very similar question recently Matt.

    My community is filled with Hello World blog posts which spoils the blog directory. The Blog defaults didn\’t work for me. Taking a look at the SQL that grabs these blogs / posts you see why.

    Anyway, since you asked this i\’ve dug into the code myself and made a dirty little hack. Looking at the SQL used to pull out blogs / posts for listings, the only reliable way i could find to ignore any default posts was to compare the registered datetime and the last_updated datetime. The common trend was that the two datetimes were typically recorded within seconds (as you would expect as its a default post inserted when the blog is created). So i used a MySQL function EXTRACT(DAY_MINUTE FROM…).

    So, simply put, add the following SQL : AND EXTRACT(DAY_MINUTE FROM wb.last_updated)!=EXTRACT(DAY_MINUTE FROM wb.registered)

    to the functions :

    function get_by_letter

    function get_all

    in the file:

    /wp-content/mu-plugins/bp-blogs/directories/bp-blogs-directory-blogs.php

    Its a hack and it will get overwritten with any updates, but its the best i can do until / if this gets included by default, in some way.

    @oldskoo1

    Participant

    Give this plugin ago but last time i tried it, the blogs were still being listed in the BP blogs directory, but when you click through, it said something like not found here.

    @oldskoo1

    Participant

    Yea its pretty easier, as Paul said, just upload the files and replace them. Normally you can leave the templates alone.

    However if your going from RC1 to SVN trunk then you need the new templates too. Its like this because this software is still in beta and things change for the better.

    But normally with templates you just need to update the functions and header.php files (although don\’t rely on my advice)… just change them all and make sure any mods are made in custom.css and images are in a custom folder :)

    But when v1 is ready you can update via the admin interface.

    As Nicola said always make a backup first, i like to make a duplicate copy of my public_html / www folder.

    @oldskoo1

    Participant

    Yep, completely normal and its actually a good way to scale a site.

    You could then install one the few multiple db plugins like hyper DB so you can then buy another server and spread the load. OR you could just run it on the same server if you don\’t have the requirements for more processing power as if you split into chunks using hyperdb it does make it easier to manage.

    Think of it like this, 2 million rows in 1 DB or 200,000 rows spread over 10 db\’s.

    If you\’ve ever tried to manage a DB with 2million rows which is kinda modest in the grand scale, you will need a pretty decent server, but you could run 200k rows on a celeron with 1 gig of ram! :)

    @oldskoo1

    Participant

    Personally i think it is your shared host; WPMU+BP needs pretty healthy servers to run optimally. I’m quite obsest with speed and testing. The WPMU+BP sites need at leats 512MB ram and CPU resources so any servers with avg load >3 it will just die. I’d say on shared hosting the HDD is being battered and trying to run BP MySQL queries on a shared host for it will run out of memory and start using the already busy HDD to store temp tables and data. Even using Super Cache you are reading and writing from an overworked HDD.

    I’m not saying it is your shared host but i think its likely.

    But i would still test it. Move your site to one side. Install the latest stable WPMU + BP and see what happens. If its still sluggish on those then its your host.

    In my experience you need at least 512Mb free RAM, CPU load averages <3, good HDD health, basic apache (unnecessary modules removed), Super Cache, WP_Cache and e-Accelerator or x-cache if you can compile it into apache.

    I tried to get nginx setup as a reserve proxy but had issues, that would be the ultimate.

    @oldskoo1

    Participant

    Take a look at the latest trunk

    https://trac.buddypress.org/browser/trunk

    They have re-organised the themes into a bp-themes folder. Maybe in the future you could drop any member theme in there and manage it through the admin to select what theme you want to use.

    At the moment its just more logical.

    @oldskoo1

    Participant

    Wow – this is snowballing into one awesome social networking platform

    @oldskoo1

    Participant

    Yep makes more sense and working great now :)

    @oldskoo1

    Participant

    They know about this

    I logged it a week or 2 a go and there are tickets on the tracker about SEO

    Hopefully will be done fairly soon

    @oldskoo1

    Participant

    Yea nice job on this – looking v.good

    @oldskoo1

    Participant

    I\’d be very happy to discuss my experiences and how BP and WP have helped me achieve what i have here: http://parentdiary.co.uk

    @oldskoo1

    Participant

    What nicolagreco said about categorizing groups

    If this does happen i thought i should mention that its probably going to need some admin management so we can assign existing groups to categories.

    I’m about to add nearly 100 groups and i’d hate to have to delete them or loose them whilst moving over to the new (if planned) tagging / categorizing method.

    Thanks!

    @oldskoo1

    Participant

    v1 is delayed until WPMU 2.7.1 is released so the guys can get automatic update built in etc – as far as i’m aware

    However RC1 or the latest trunk build from SVN seems stable. Theres just bug fixes going on and i’ve just launched a BP site using an SVN build and so far so good.

    Don’t delay – seems fine.

    @oldskoo1

    Participant

    My baby / parentdiary site went live a couple of days ago

    http://parentdiary.co.uk

    Cheers all

    @oldskoo1

    Participant

    Cheers guys!

    Just need some members members now :)

    Its a new domain too so nice old google have sandboxed me for a good ooooo 6 months :)

    @oldskoo1

    Participant

    Give them a change BP is a big big project

    I too would like galleries but they already have a lot on their plate.

    There is a guy here who is the bp dev master who runs http://bp-dev.org/ – he built a flickr plugin i think.

    @oldskoo1

    Participant

    Awesome, i binned nginx because i was having problems!

    I will get it back on my server and give this a go.

    Thank you

    @oldskoo1

    Participant

    ooops

    False alarm on my blank page sarga.

    It was NOT connected to the bp-components; it was the super cache plugin since i moved directories.

    The plugin uses a fixed path!

    I only found that out by going through the code echoing a timestamp and exiting code block by block. Finally followed the culprit code to an advanced-cache include in wp-settings.

    Oh well!

    Looking forward to bp v1 with its auto upgrade.

    @oldskoo1

    Participant

    Hi all,

    Are these instructions still applicable to the latest SVN version of BP.

    I downloaded the latest trunk last night and replaced the mu-plugins with the SVN one. I left the themes as they were as the theme works with RC1 components.

    However, after replacing all the components with the latest SVN copies i got a blank screen.

    A PHP error probably, i shall turn on logging when i get back and have another look.

    Just wondered if there was a new way to upgrade now?

    @oldskoo1

    Participant

    +1 – Great read.

    Often i have moments of reflection on just how incredible software is becoming these days.

    I’m amazed at the collective effort that is put by people that usually just get involved because it makes them tick.

    I’m sure most of them / us have families and do a lot of this in spare time. That is impressive.

    The best software is always produced out of communities or dev teams that place their trust in a community to help out. Most of the time the people involved are the community which is great compared to what was happening 20 years ago.

    @oldskoo1

    Participant

    Sounds like you have tried to edit the POT file in a text editor by doing something like a find and replace.

    Or – you haven’t filled in all the headers correctly

    Download the latest POT here : https://svn.buddypress.org/trunk/bp-languages/buddypress.pot

    Before opening in POEDIT, open it in your fav text editor, lines 8 to 16 (assuming word wrap isn’t on) need to be filled in with your own values. Save and close

    Open with POEDIT and make your changes in there and save.

    @oldskoo1

    Participant

    Sounds like there is a lot yet to come from BP

    I do think that the BP core should be as solid as possible and then increase features by the use of plugins.

    It is sometimes a bit annoying to find really great software thats full of bloat and things that aren’t needed. So provided the core is solid features can be extended with plugins.

    That imo creates great software.

    @oldskoo1

    Participant

    Awesome

    Cheers Trent

    @oldskoo1

    Participant

    No worries – the hack is easy enough :)

    Thanks for letting me know

    cheers

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