Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 376 through 400 (of 1,007 total)
  • @rogercoathup

    Participant

    It’s a WordPress Multisite question, not a BuddyPress one – this function would be a starting point: it returns all the blogs a user has access to:

    get_blogs_of_user( )

    @rogercoathup

    Participant

    Yes, use a PHP conditional statement to check whether they are logged in and include the appropriate code.

    As @modemlooper points out, it’s straightforward work for a web developer, but does require knowledge of PHP, HTML and CSS

    @rogercoathup

    Participant

    There are no spam members on there (or no more than a small handful). The site is monitored and administered on a daily basis.

    Enterprise Nation is a very successful company supporting UK small businesses. The membership comprises regular members, and special campaign sign ups.

    Spam sign ups are prevented through a number of techniques – including the alternative sign up page (it’s more than just a renaming of register), and the use of a membership plugin. Captcha is just an additional layer of protection in this case.

    10K Twitter followers, and 5K Facebook likes is a pretty impressive conversion ratio!

    @rogercoathup

    Participant

    Using the WP API you can sort by meta_value on posts (WP_Query), but not on users (WP_User_Query).

    You’d either have to do it in 2 passes, or write your own custom SQL statement.

    If you have a lot of users, and scores change infrequently, you might want to consider caching your results for a period.

    @rogercoathup

    Participant

    The following can be used on a single post page to give you a link to the author’s buddy press profile:

    `$author_id = get_the_author_meta( ‘ID’ );
    …
    <a href="” rel=”bookmark” class=”fn url”>…`

    @rogercoathup

    Participant

    In the members loop you can use: bp_get_member_user_id() to get the id

    It’s not well documented, I remember spending a while tracking through the code to find it.

    Then, yes, you can use that ID to fetch the email address.

    @rogercoathup

    Participant

    You’ll lose your amendments as soon as you upgrade BuddyPress – it’s not a good practice to be hacking core files.

    The safest way to address this one, would be to add a filter on: bp_get_the_profile_field_datebox

    In there, you’d have to do a bit of PHP string manipulation – replacing the option value parts for year in the HTML string, with the range that you want.

    It’s not straightforward, but it’ll work through a core upgrade.

    @rogercoathup

    Participant

    @enderandrew – yes – there are quite a few sites now going with the tiled approach, e.g. the ‘new’ look Facebook friends page tiles 3 per row, and linkedIn has some tiled directories (with the profile tiles having a business card type feel). You’ll also find lots of smaller community / event site examples.

    As HTML5 / CSS3 transitions become more prevalent, I expect to see more and more nice hover effects on the tiles – e.g. opening up in place to reveal more details about the member along with the ‘friend’ and ‘send message’ buttons. Andy Clarke’s “Hardboiled Web Design” book has some interesting examples of the type of effects that can be achieved, and the zurb playground is worth a look.

    @rogercoathup

    Participant

    @aminima – we undertake that sort of complex development work on a commercial basis, almost invariably as part of full site builds. We contribute on the forums to give general advice and guidance, and sometimes to give short outline code snippets and pointers, but not to provide fully coded components.

    If you need a developer to help build custom features for your site, we’d be happy to provide a quote, or you should be able to find other good BuddyPress developers who are available to take on freelance contracts.

    In reply to: Worship Ministry

    @rogercoathup

    Participant

    @mercime – yes, I paid them a lot of money to feature that video on the home page – I knew you’d appreciate it :)

    In reply to: Worship Ministry

    @rogercoathup

    Participant

    Thanks Tammy et al – the graphic design was done by Rebecca – she also produced the Hello Eco Living and Bitsy designs amongst others. I’ll make sure she checks in on the feedback.

    The header font is league gothic – which is available from typekit.com . We’re working with another header font from there on a new site – museo slab – which is giving similar strength to the layout

    I should mention the clients for Worship Ministry as well – they came up with a lot of great ideas, and we got some really productive debates going on both functional and design concepts.

    @rogercoathup

    Participant

    Hi Shane – thanks for the feedback.

    The site has now passed 75,000 members, but traffic has scaled back with the pausing of a business funding competition. There are some other new features coming online in the next few weeks though, so we’ll see how that affects server performance.

    The site is being cloud hosted, in conjunction with Harriman House’s online presence – a publishing company and part owner of Enterprise Nation.

    Unfortunately, I don’t have too many details on their hosting setup – with our efforts concentrated on front end strategic features of the site. I can report that initial hosting on a reasonably specced VPS box ran into some difficulties coping with the number of sign ups.

    Best regards, Roger

    @rogercoathup

    Participant

    Hi there –

    really pleased you like the way we layed out the members directory on Stuconnect.

    We’ve experimented with a few different directory setups – the row of ’tiles’ being one of our favourites. We’ve used a similar approach on http://www.enterprisenation.com/members , and on our latest BuddyPress based site: http://www.worshipministry.com/members

    The standard layout in bp-default is not very space efficient. The ’tile’ approach allows us to show more members in the same screen real estate, as well (in our opinion) as looking cleaner and more aesthetically pleasing.

    It’s a combination of work on two template files in the theme: /members/index.php and /members/members-loop.php . In our sites, we tend to rework all of the theme from scratch, but do stick with a similar folder-file structure as bp-default – as well as re-using some of the basic PHP loop structures.

    The clever work on the http://stuconnect.co.uk/members/ page is in creating the filter by University on the directory – we grab the name of the University from the query vars, and then do a little pre-filtering of the user IDs before passing them into the member loop (some restrictions on the BuddyPress loop filtering prevent us doing this in one step).

    Best regards, Roger. http://21inspired.com

    @rogercoathup

    Participant

    Hi Paul… PHP error_log is blank

    @rogercoathup

    Participant

    Yes, we used the predecessor plugin debug-queries, but debug-objects is the plugin author’s recommended update

    @rogercoathup

    Participant

    You need to hook on to the authenticate functions in WordPress:
    http://www.generalthreat.com/2012/02/adding-externally-authenticated-users-to-buddypress/

    @rogercoathup

    Participant

    BP does bring a lot of additional queries into the mix, so can increase load (sometimes dramatically as you’ve experienced).. but often there are optimisations you can try to overcome this (some server configuration, but others in your template code loops).

    Try profiling your database queries – that may give you some pointers to where the load on the system is coming from. Your top member lists (number of images, etc.) might be a likely candidate in how they interact with the BP profiles.

    @rogercoathup

    Participant

    We have job postings and different user roles running on a couple of our BuddyPress based websites.

    Essentially though, it’s a task that requires a skilled developer, rather than being a simple configuration.

    You’ll need a bespoke build – in our case, we have our own custom post types for jobs, use WordPress user roles & capabilities to differentiate between user types, and ‘hook’ them in to BuddyPress as a new component. For the bells and whistles, we also integrate payments and cron jobs to monitor and tidy up when job ads expire.

    @rogercoathup

    Participant

    You’ve also got the problem that a lot of the API isn’t clean – it churns out presentation HTML (targeted for the bp-default theme) rather than just performing function (as you’d hope).

    So, as well as adding a JSON API, you’d have the additional challenge of filtering / cleaning the API (already enough of a challenge when developing on BP for standard platforms).

    —

    Note: if you are accessing an external API, i.e. needing the app to have an Internet connection, then you would probably be wiser to create it as an HTML5 mobile optimised site, rather than a full blown app.

    If you want it to operate offline as well – then you may be better creating your own streamlined platform, that can work well within the restrictions of local data storage on the mobile.

    @rogercoathup

    Participant

    Just doing the plain: remove_action call in bp-custom.php isn’t working for me either on 1.5.n

    Instead, to get it to work, put the remove_action call in a hook on init in your bp-custom.php

    add_action("init","my_on_init");
    function my_on_init(){
    remove_action('bp_adminbar_menus', 'bp_adminbar_thisblog_menu', 6);
    }

    @rogercoathup

    Participant

    @boonebgorges – the sites go out to clients, so it’s not good to have warning messages littering wp-admin

    @rogercoathup

    Participant

    @mycreativeway –

    jqueryui has an autocomplete widget you can work with (or have a look at the older autocomplete plugin that’s used already in BuddyPress for usernames e.g. when you send a message). http://jqueryui.com/demos/autocomplete/

    The correct way to set up it up in a WP environment is by getting the autocomplete plugin to make an AJAX request to admin-ajaxurl, which will call on to an action that you create to return suggested names.

    It’s not straightforward, but a Google around will retrieve details on how to best setup an Ajax call in WP – alternatively the book “Professional WordPress Plugin Development” has a good chapter on it.

    @rogercoathup

    Participant

    ok, we are experiencing the same problem on one of our client sites

    @rogercoathup

    Participant

    You need to create / edit the bp activity item for that post directly in your gravity forms filter.. As you are not saving / updating the post, so missing the default bp hook that does the activity admin for you

    @rogercoathup

    Participant

    @thinkluke –

    A couple of points:

    1. You are passing the post_id into your my_set_post_thumbnail() function – so don’t know why don’t just use that, rather than doing a get_post with that id, and then trying to use the ID from that post. Similarly, with your thumbnail ID.

    2. Naming your variable $post may be causing some conflict with the global $post – at the very least, it makes your function difficult to read

Viewing 25 replies - 376 through 400 (of 1,007 total)
Skip to toolbar