Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 3,101 through 3,125 (of 3,962 total)
  • @hnla

    Participant

    Not sure what classes you may have but you would work off a descendent selector set along these lines:

    .directory #members-list .div.generic-button a {remove lots of styles here then add yours} or if you wanted to simply style all the buttons make the selector set more generic by removing parent /antecedent selectors

    @hnla

    Participant

    Simply re-style it, it’s only an anchor element nested in a div; CSS adds the visual styling to the anchor to create the button look.

    @hnla

    Participant

    Yes the posts above!

    The exact same problem seldom actually is or at least there are often different reasons for what manifests as a similar problem.

    If you want help you are going to need to create a fresh post along with a little more detailed information on your setup and the issue as you see it.

    @hnla

    Participant

    @ajaxmac It was never a procedure that would resolve all issues, sorry to hear it wasn’t a help in your case. If you want any further help with the issue then you will need to provide clear detail on your setup and of the issue you are encountering, and to create a new topic rather than continue in this one.

    In reply to: listing members

    @hnla

    Participant

    I’m guessing that worked then ? :)

    Had meant to add that it was tested setting a series of radio buttons and is why I had to change things around in that fashion. as field = the three radio options but also the parent radio as well

    @hnla

    Participant

    your not running the blog and BP in the root of the domain are you?

    @hnla

    Participant

    edit/ x posted with above reply.
    can you confirm that your .htaccess file is able to be written to? you will receive a notice saying not if there are issues when you try and re save the permalink structure from the dashboard.

    In reply to: Release for 1.2.6?

    @hnla

    Participant

    A couple of late tickets have been added to address an issue recently found so things may be delayed while they are being discussed and resolved.

    @hnla

    Participant

    Do not hijack threads please this practice is poor nettiquette. Problems may seem similar but often have different causes, having to answer two sets of questions in one thread can become confusing.

    @tungjacob You have a highly customised theme, can you return to the Bp-default theme and test whether the issue is still apparent; also go to your permalink settings first and ensure that your .htaccess file is updating correctly by selecting an option and saving.

    @jimboba much the same for you to; the lack of files is vague you either have the necessary BP files or not forget the lack of files for the moment BP wouldn’t be running if it were missing files. check whether you are able to update .htaccess file correctly

    In reply to: listing members

    @hnla

    Participant

    Try this:

    ` if( bp_get_member_profile_data( ‘field=busines type’ ) == ‘dj’) : `

    place it after the while loop on a members page and use it to wrap the looped member li elements. it tested as working on a version I ran up quickly but that’s no guarantee ;)

    In reply to: listing members

    @hnla

    Participant

    Maybe I missed the difference seemed to me we were still essentially discussing the same issue, but I may well have been wrong, if that’s the case let me know and I’ll reopen that other thread.

    In reply to: listing members

    @hnla

    Participant

    No that looks as though you typed it correctly, so not sure why it would cause issues, it works for me, try though outputting real data, to test just echo $member_business_type in place of that bear text as it would cause script issues.

    @hnla

    Participant

    Are you deliberately ignoring the other post Dorethy :)

    I gave you that exact example for:

    bp_member_profile_data( ‘field=business type’)

    Please take a care not to make those that try and help feel as though they are wasting their time ;)

    Thread closed! As I asked please continue in the original one you started.

    @hnla

    Participant

    @dorothysulzmann

    You are now running two concurrent threads on the same subject, please don’t. Why have you not simply continued in the original thread? this practice causes confusion and wastes resources.

    Did you actually try my half baked example? where did you get the example above from?

    Please continue this in the original thread where my examples do work in the members loop

    @bowromir if you have code to help can you post it to the thread I linked to above.

    @hnla

    Participant

    @dorothysulzmann
    Not sure I understand your statement ” can’t find anything to help”? what is you other thread about then? and if the help that you are getting in that thread isn’t working why haven’t you posted back to that thread.

    We can’t magic up code for you we can help you in the right direction, we all have things like this we are trying to solve or work out sometimes it does take a bit of time to get there.
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/listing-members/

    @katemgilbert

    field_5 cannot be the field ID they are numeric so not sure where you have got that idea, did you simply copy an example from the codex loop page/

    Read the thread I linked to, not necessarily the solution you are all after but should help. As for simply displaying a particular field it’s a relatively trivial matter and should be clear how in that thread.

    In reply to: listing members

    @hnla

    Participant

    bp_member_profile_data will echo out as the example in the file shows to get a field you would do:

    bp_member_profile_data( ‘field=business type’)

    if I wanted to see what a particular member had for that field then I might use:
    bp_get_member_profile_data() and do something like:

    `$member_business_type = bp_get_member_profile_data(‘field=business type’);`

    `if ( $member_business_type == ‘dj’ ) :
    do stuff here;
    endif;`

    Not sure how you might apply that to your requirements but it will get you further along; also there may well be a better approach than I have outlined.

    @hnla

    Participant

    Ask them if they can increase the php script memory limit, in fact ask then but also report back here how much is allocated, if they can’t or won’t and this is the issue there may be other ways around the issue.

    @hnla

    Participant

    That infection? what infection is that then? There are a thousand ways a server can be compromised, it might be possible that having ‘Safe Mode’ on helps to prevent one possible avenue, but you would probably be better off running a well configured Mod_Security module.

    As I wrote above I wouldn’t put a huge amount of faith in PHP Safe Mode due to the fact that PHP themselves are removing it entirely from distros.

    Not sure that your statement As you know we have to use BP with safe mode disabled is accurate I would advise it’s turned off to avoid issues but equally you can configure it to work for your setup and leave it on it you feel more secure that way.

    After all is said and done server security is outside the scope of this support group, it’s not essentially a BP issue, however there are a few good pages written on WP security if you visit the WP codex.

    @hnla

    Participant

    No doubt :) Depending on how one has customised things though adding the markup your theme uses may trigger descendent selector rulesets.

    Dimly recall chat about dumping the file altogether which sounds like best course of action.

    @hnla

    Participant

    Broadly speaking? It’s an odd file that permalink.php one :)

    You will probably need to compare it to the markup for a file such as members/index.php or some similar main template file for your theme. permalink.php has very little markup apart from calling the get_header() and get_footer() in between that you simply have a ul construct and activity/entry.php call so it’s never likely to work well in customised themes without some work.

    @hnla

    Participant

    If you want to run with PHP Safe Mode on then do but you will need to understand what it does and why it does it in order that you can manage the file upload issues.

    It was always? acknowledged as a fundamentally flawed approach to try and add server security for shared host environments via a scripting language and to back that up as it were PHP 6 removes ‘Safe Mode’ altogether. Server security is a deep and broad ranging subject ‘Safe Mode’ is probably not that useful or all encompassing as it may sound; but it’s your choice you can run with it on if you spend a little time configuring your server, but a little more reading up on hardening a server against attack would be advised if you are worried by this aspect.

    @hnla

    Participant

    makes me cry :( instantly start looking for rule conflicts and badly constructed descendant selector sets :)

    @hnla

    Participant

    And with sufficient weight for the element it should be possible to remove the improperly and too often used ‘!important ‘ :)
    You could also add the ruleset in a style tag via a function and add_action wp_head; that adds specificity via the cascade precedence and also won’t be cached by the browser.

    @hnla

    Participant

    Pop a link back to the ticket if you can and some of us may try and take a look, IE did historically have some horrendous show stopping issues with form controls causing it to return wrong values or no value at all. Be surprised though if those IE bugs transposed to IE8 but then again…

    @hnla

    Participant

    Radio Buttons are not multiple items though if one is selected the others are supposed to be deselected if they correctly share the same name, or have I missed the point?

Viewing 25 replies - 3,101 through 3,125 (of 3,962 total)
Skip to toolbar