Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 2,726 through 2,750 (of 3,962 total)
  • In reply to: Custom CSS Changes

    @hnla

    Participant

    That instruction to add !important :)

    The cascade and specificity should really be observed first and foremost where are you adding your styles and where is the custom css file called from.

    @hnla

    Participant

    One would have assumed that was the case, partly due to the lack of information provided to us.

    I would still not waste the time fixing a theme that wasn’t following a general WP convention.

    @hnla

    Participant

    Didn’t really mean you couldn’t ask but that certain issues might prove awkward to clear up or fall slightly outside the purvue.

    Still the fact remains that we have little to work with here, that you say the BP adminbar works once you get the correct WP hook in place is good, however there is little that can be said for why the theme presents other problems with the footer.

    There are countless number of badly written themes for WP some of these may work with BP some may not, not all themes, good or bad, will necessarily work with BP or at least will take some work to bring up to the level BP needs.

    Rather than waste time trying it might be better to simply discard those that don’t work and only keep ones that do or at least have fewer issues.

    @hnla

    Participant

    You’re not really supplying any information of any detail, helping out with custom themes or WP themes is slightly outside this sites focus really and is very difficult regardless without good info.

    I assume you meant to say you had ensured that wp footer hook was in each theme but why adding that should upset the themes original footer would be speculation other than to say that the theme sounds like it maybe breaks with WP conventions on template tags/hooks.

    @hnla

    Participant

    Clearly something is very much not correct is it (the error isn’t just with registration link but all links)? have you taken any steps to rectify the issue that we ought to know about that might help us help you or that we can rule out as potential causes?

    There are some pretty standard stock responses given in cases like this to troubleshoot issues that you will see in many posts here.

    Fist and most importantly disable BP your site must first work correctly with WP i.e permalinks, when that is established then activate BP but BP only! check if problem is manifest if it is then navigate to the permalinks page doing so flushes caches so check again , still not working? revisit permalinks page change settings and save confirm that you can actually write to the .htaccess file do you see instruction that WP could not save to .htaccess and then list the details that need to go in the file?

    if WP and BP work as expected start activating any plugins one by one checking every time to see if problem arises so that if it is a plugin you know which one caused the issue.

    I suspect that this is a plugin issue, but those steps above should help you narrow down where the issue is if not correct it.

    @hnla

    Participant

    @emailaya While we will always try to help out you have to bear in mind that this is volunteer unpaid support geared towards BP issues.

    In respect of lack of replies this thread is barely 24 hours old , it’s the weekend and sane people are taking a break from the stresses of coding.

    Another factor is that you issues are not unique and are asked many times over this means to some extent that there are many threads to be found and glanced over to see if they help. seeking help on support forums is very much a pro active exercise and it helps enormously if the OP is seen to be seeking some answers from threads and /or feeding the thread with pertinent info if things have been tried.

    To some degree this issue is not really one of BP’s making it sounds as though you are not able to correctly write to the .htaccess file, so questions arise that need to be investigated such as are you running Apache or IIS servers ? If Apache, is mod_rewrite enabled?

    Internal server error 500’s tend to mean an incorrect syntax usage in the .htaccess file and it is unforgiving of errors in the file. You mention uploading? an .htaccess file, what was in it? but later ask if the 500 error was due to apache access being removed, that is slightly confusing and contradictory but no you wouldn’t get an error if apache couldn’t access the file just simply that nothing would happen, unless your web host has some odd configs at work.

    You may well need to contact your tech support and ask them some of the questions here and perhaps explain that the server/group needs write access to the .htaccess file otherwise you will need to copy and paste the entries yourself and upload, when you try and change permalinks if it can’t write to the file it will display what it needed to write so that you may copy it manually.

    @hnla

    Participant

    Topic closed – duplicate.

    @Venred please keep to one post on a given issue

    @hnla

    Participant

    :)

    Could do with having set of admin links on the object nav really, adminbar always feels a little disconnected, maybe adminbar suffices though?

    @hnla

    Participant

    “there’s just no link for it” Are you sure Boone? what is it that I spy on the adminbar link ‘Admin Options’ ?

    @hnla

    Participant

    Increase script execution time? or better still manually download the BP zip unzip it to the plugins folder and activate, that would be the more usual approach really.

    @hnla

    Participant

    Playing around a little and added couple of little things:

    `
    if (is_user_logged_in() && xprofile_get_field_data(’13’ , bp_loggedin_user_id()) )`

    Added the get_field in as a check to see if users had made any selections

    If not added a final ‘else’ to provide convenient link to the edit screen (hard coded values to be adjusted)

    `

    Content of Interest

    You have set no content of interest, if you would like to please visit your
    <a href= "/profile/edit/group/4″>Content Interest settingsin your profile

    `

    @hnla

    Participant

    thinking about it it does need to be ‘!’ not otherwise the add_action will only run when that function returns true and we don’t want it running if true

    @hnla

    Participant

    ! == ‘Not’

    and isn’t really needed the function is either true or false 1 or 0 on it’s own it answers it’s own question – remove the ‘!’ and test again that it works as expected.

    Cool well done had a feeling it was better to simply not run function if user logged in

    @hnla

    Participant

    Looks good, going to give that play with later :)

    Wonder how well browsers work now with display:run-in; on that heading as the property was made for something like this.

    @hnla

    Participant

    You had it almost correct earlier a little more testing and playing around and you would have got there.

    add back in the outer ‘if’ parent to check first whether the user is logged in so that is as I have shown before:
    !is_user_logged_in()

    Then follow with the other ‘if’ as done before but make sure you have the ‘==’

    so the conditional query says if the user is not logged in then run second ‘if’ and check to see id the constant BP_DISABLE_ADMIN_BAR has been set OR $bp->doing_admin_bar == false is set if either of these two conditions are met then run the following style tag

    The !is_user_logged_in() should probably be run on the add_action rather than within the function to prevent a pointless function being parsed but that would need testing.

    You shouldn’t need the

    @hnla

    Participant

    @rogercoathup hmm yes like the sound of personalised content, in fact like the sound of that a great deal. think I was struggling to fit the profile checkboxes in to the equation despite having played around with using profile fields to, in some manner, confer extra meta data on members but penny finally dropped, and I’m wondering whether this can be taken further.

    @tak5haka It’s a really nice idea, I had played with profile fields to see how effective it was to use radio button choices and/or checkboxes to use in profile checks to control display actions. Completely agree on personalisation of data, stickiness etc.

    @hnla

    Participant

    This may seem to be nit picking but I noted the print_r on the array to actually render browser output and within a heading tag.

    The heading tag use is debatable but as a heading probably ought not have list items in that manner I would have probably thought to output a floated ul li construct either below the heading or run inline to the heading and as such you wouldn’t need to implode the array but simply do a while loop on it?

    something like:
    `
    while (list(, $value) = each($profileTagFull)): ?>

    `
    that might also cut down the need for both explode/implode ?

    @hnla

    Participant

    Sounds rather interesting although I’m struggling slightly to mentally envision this in a page but that’s my slow brain :) need to study what you’ve written above in more detail.

    @hnla

    Participant

    Probably need to look up your php functions, what about implode() ?

    @hnla

    Participant

    No you’re over complicating you don’t need to add whatever is already stated i.e padding-top: 25px just remove it if certain conditions are met.

    As Roger pointed out the single ‘=’ needs to become the correct ‘is equal to’ operator ‘==’

    @hnla

    Participant

    There you go that was my bad as I wrote that incorrectly in the original and then completely overlooked it when testing it earlier, time to give up this coding game!

    Good spot Roger

    @hnla

    Participant

    Nope can’t make it work tried many variances and approaches – sorry can’t really spend longer ion it I would now suggest you take this to the theme authors for support.

    @hnla

    Participant

    Erm have you actually tried to add the above snippet adjustment, it’s really not hugely more difficult than the stage you must have already completed in copying my function to your functions.php file.

    Take what I have shown above and add it to the end of the statements that live inside if ( ) so you’ll have a space then the &&

    There is a certain level of code manipulation that you’ll need to get comfortable with doing so give it a go and if stuck post back showing what you tried.

    @hnla

    Participant

    @svenson
    Your comment has no bearing on this thread, so not sure why you posted it here.

    if you wish to contact Boone please use appropriate methods, either an update directly using the @mention system or post your comment in the appropriate group for the plugin you refer to.

    @hnla

    Participant

    @twinfinity I am support for two web hosting forums, I understand very well to search first

    Thanks for trying, and apologies on behalf of the site search for not returning you any useful results – site search does need a bit of tuning :)

    I tend to search on more general broad terms due to this, I used ‘duplicate’ and it returned, as first reply, the post Ray linked to.

Viewing 25 replies - 2,726 through 2,750 (of 3,962 total)
Skip to toolbar