Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 101 through 125 (of 574 total)
  • @henrywright-1

    Member

    @beenyoung you can submit a BuddyPress Trac ticket at:

    https://buddypress.trac.wordpress.org/

    Trac is where the core developers hang out so if you think there is a bug in the way the BP core works then that is the best place to raise the issue.

    @henrywright-1

    Member

    As an example, if you wanted to align-right the “active time ago” text you could put this in your theme’s style.css

    .item-meta .activity {
        float: right;
    }

    As I said though, there are many ways to do it depending on your exact needs. text-align: right is an example. Make the parent element position: relative; and then use position: absolute; right: 0; top: 0; is another. The best approach will all come down to what you’re trying to achieve visually overall.

    @henrywright-1

    Member

    You can align the page elements with CSS. Try taking a look at: http://w3schools.com/css/

    To position stuff, there are various approaches you can use. Look specifically at how floats work. Reading about positioning and aligning will be useful too.

    @henrywright-1

    Member

    Have you tried reverting to the default theme to see if the problem still happens? If the problem goes away then it is likely to be an issue with your custom theme.

    @henrywright-1

    Member

    After taking a look at how BP does it my questions 1 and 2 have been answered. Now facing a new but related problem:

    When I redirect the user back to the edit profile page to display the “Too many characaters have been entered” message – any new text the user may have entered into the input fields is lost.

    For example – the max characater limit for location is 10

    1. Location value is currently: London
    2. The user updates the location field to: London, United Kingdom
    3. The field validation kicks in – the page is refreshed with error message displayed “Too many characters”
    4. Location value reads: London

    So, you can see the illegal value the user has entered “London, United Kingdom” has been lost. My aim is to redisplay the illegal value so the user can modify it under 10 characters.

    Perhaps location isn’t the best example. Imagine if the user has written an about me paragraph which is over the character limit – on clicking submit the page refreshes and they are told they’ve entered too many characters. Their old about me text is displayed and all their new hard work has been lost.

    @henrywright-1

    Member

    <?php do_action( 'template_notices' ); ?> could be in a template file upstream such as home.php or member-header.php? It depends on your theme. As to why it isn’t working after profile edit – this could be down to your theme. Have you made any theme customisations? Do you get a confirmation message when using the default theme?

    @henrywright-1

    Member

    Hi @danbp, thanks for the link. That isn’t quite what I’m after. It is more to do with limiting the length of what is echo’d to screen where as I’m trying to validate and error handle the data which is captured.

    In reply to: Share Users

    @henrywright-1

    Member

    Hi @martinbeaulne

    And, if possible, not messing with multisite as I think it is overkill for the purpose

    To me, multisite sounds like it is exactly what you’re looking for but I could be wrong without seeing your exact requirements. Have a read of this article written by one of the moderators on wordpress.org – it should give you a good idea if multisite is for you:

    Don’t Use WordPress MultiSite

    @henrywright-1

    Member

    Right at the very top would be a good spot. It doesn’t really matter though as it will just determine where on the page the template notice text is displayed.

    In reply to: Follow

    @henrywright-1

    Member

    You can use them both at the same time. I’m 99.82% sure there won’t be any conflicts.

    @henrywright-1

    Member

    Hi @applegateian

    Make sure you have <?php do_action( 'template_notices' ); ?> in the edit.php template. The template notices hook on to this action.

    In reply to: Follow

    @henrywright-1

    Member

    Yes, it’s possible and very easily done using:
    https://wordpress.org/plugins/buddypress-followers/

    In reply to: Confirmation Message

    @henrywright-1

    Member

    Hey @mercime

    The answer on Stack Overflow changes the subject line and body text of the activation email. The text @derock299 would like to change is displayed on the registration page (registration.php template). Probably worth changing both though, for a complete custom look and feel 🙂

    In reply to: Confirmation Message

    @henrywright-1

    Member

    You could use a language file. See this article for more info:

    Customizing Labels, Messages, and URLs

    @henrywright-1

    Member

    I have to agree with @danbp’s rtMedia suggestion. It is one of the best media plugins I have come across. That said, I haven’t had the chance to use the Pro version yet.

    @henrywright-1

    Member

    Hi @unit9

    You’re right. <?php do_action( 'bp_footer' ); ?> and <?php do_action( 'bp_after_footer' ); ?> are points at which things can be inserted. If you want to remove (dequeue) the CSS documents and script, you can use remove_action()

    See this helpful tutorial on how to remove scripts and styles:

    How to disable scripts and styles

    In reply to: Pages semi-transparent

    @henrywright-1

    Member

    Have you tried opacity: 0.5;

    @henrywright-1

    Member

    Thanks @djpaul

    @henrywright-1

    Member

    Ah got ya! Thanks @shanebp i’m on your wavelength now. $date being a string I can perform some operations on.

    @henrywright-1

    Member

    I’m actually looking at formatting the date in private messages and in that case WP doesn’t call the function with true. $just_date is set to false by default so that part is all good.

    as you say I think i’ll have to write my own custom bp_format_time function. Thanks for your help!

    @henrywright-1

    Member

    @tatjanalekic glad you got to the bottom of the problem!

    @henrywright-1

    Member

    Hi @shanebp

    If you take a look at the bp_format_time function (I have copied to Pastie.org for easy access) you’ll see the $date variable that is being returned needs both the $date and $time variables (see line 22):

    http://pastie.org/8468225

    return apply_filters( 'bp_format_time', $date ) only seems to allow me to pass $date to my filter function. Is there a way to pass $time variable as well or am I looking at this wrong?

    @henrywright-1

    Member

    Redirect loops are pesky. Try deactivating all plugins, 1 by 1 until you find the culprit. By default – BP doesn’t cause redirect loops so it is highly likely a plugin is to blame.

    Perhaps you have a HTTPS plugin installed?

    @henrywright-1

    Member

    @yvonnetaylor no problem! I like your site by the way, I have a golden retriever 🙂

    @henrywright-1

    Member

    Have you tried Using the default theme to see if the problem happens? You should deactivate all plugins too, 1 by 1 until you find the source of the problem.

Viewing 25 replies - 101 through 125 (of 574 total)
Skip to toolbar