Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 29 total)

  • Kristian Yngve
    Participant

    @kristianngve

    AH I found the solution!

    Here for anyone else needing it:

    https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/

    // Function to change email address
     
    function wpb_sender_email( $original_email_address ) {
        return 'tim.smith@example.com';
    }
     
    // Function to change sender name
    function wpb_sender_name( $original_email_from ) {
        return 'Tim Smith';
    }
     
    // Hooking up our functions to WordPress filters 
    add_filter( 'wp_mail_from', 'wpb_sender_email' );
    add_filter( 'wp_mail_from_name', 'wpb_sender_name' );

    Kristian Yngve
    Participant

    @kristianngve

    Another screenshot showing the site as a sender “wordpress”

    Screenshot Link: https://prntscr.com/p9bz89


    Kristian Yngve
    Participant

    @kristianngve

    And thank you again for helping me out with the ticket thing. 😉


    Kristian Yngve
    Participant

    @kristianngve

    Ah, thanks…

    Okay, all done. Trac ticket is: #8079


    Kristian Yngve
    Participant

    @kristianngve

    Oh! about the other thing:

    So, I’ll raise a ticket for you to add the information as a suggestion to the devs.

    Where do i post this said ticket? or do I just post it as a separate question (like I did this one) but with the correct category and tags?


    Kristian Yngve
    Participant

    @kristianngve

    Ah the p…

    couldn’t get yours to work for some mad reason, but after adding your p idea to my crazy idea, I ended up with:

    #bp_messages_sitewide_notices_widget-2 p, strong {
        text-align: left !important;
    } 

    Can’t believe it, but it WORKED!

    Definitely couldn’t of done that without you. you even beat Google after I pumped “bp-sitewide-message” all over the internet.

    Anyway, we got there, so deep thanks for it 🙂


    Kristian Yngve
    Participant

    @kristianngve

    Ahh! I think I know what it is, but it’s not the theme – tried 2019 and as ugly as it displays, still stuck in center.

    Okay, let me tell you, it’s the widget I’m using to place it in a certain place on a page (amr shortcode any widget). The shortcode is: [do_widget id=bp_messages_sitewide_notices_widget-2]

    So, i used your CSS and tinkered it a little:

    #bp_messages_sitewide_notices_widget-2 strong {
        text-align: left !important;
    }

    But, believe it or not, the title (the part i wanted to keep center) is the only thing that goes left, body text still center. – getting so close!, But how to switch that?


    Kristian Yngve
    Participant

    @kristianngve

    Venutius, hi.

    So I tried that (as to align it left as it’s actually stuck on center position), but sadly it doesn’t work at all.

    I tried many variations too: for example #bp-sitewide-notice strong
    Thank you as always, but on getting this CSS right, any other ideas, my friend?


    Kristian Yngve
    Participant

    @kristianngve

    Hi Venuitus,

    Thanks for getting back with me with a suggestion.

    The thing is, I still want the email activation – to then that being it after clicking it.

    This plugin (old & very outdated), simply enable skipping the email completely, and just offers instant approval after the reg form -as it oversteps the email link (which I still want).


    Kristian Yngve
    Participant

    @kristianngve

    Simply, I am looking to not need to activate an activation key after accessing the registration link.

    For example: the link directs you to a page with a customized text of: “registration complete, you are now able to login in.”

    How do I go about that, anyone?


    Kristian Yngve
    Participant

    @kristianngve

    Test this, and it works! @shanebp, thank you for all your help in this – finally a resolution to this issue spanning 5 -6 years!

    Thanks again.


    Kristian Yngve
    Participant

    @kristianngve

    It all works, thank you so much @shanebp!

    so if there are more than one admin profiles, i can just use commas?

    for eg:

    function bpfr_hide_admins_profile() {
         if( bp_is_user() && bp_displayed_user_id() == 1,2,3 && bp_loggedin_user_id() != 1,2,3 ) {
    	bp_core_redirect( site_url() );
         }
    }
    add_action( 'bp_ready', 'bpfr_hide_admins_profile', 1,2,3 );
    

    This to do like that correct?


    Kristian Yngve
    Participant

    @kristianngve

    Thank you for this advice! I’ll give this route a go I guess.


    Kristian Yngve
    Participant

    @kristianngve

    I started googling stuff from your message, and I got this:

    Template Overload from a Plugin

    It looks super brain surgery style complex, and I was hoping it would of been more like “Use this code, and put it here…” Kinda thing?


    Kristian Yngve
    Participant

    @kristianngve

    Oh, sorry I misunderstood.

    No, I don’t even know what an access overload is.

    I’m just using ‘amr shortcode any widget’ to put what goes in the page side panel into the main page and then having it has full width.

    How do I get started with this ‘overload file’?I have to install it as a plugin?


    Kristian Yngve
    Participant

    @kristianngve

    Yeah. But it sucks as the register button is shown pretty insignificant to the Login button.

    Any ideas on how to get them having the same style of buttons?


    Kristian Yngve
    Participant

    @kristianngve

    WordPress: 4.9.8

    BuddyPress: Version 3.2.0


    Kristian Yngve
    Participant

    @kristianngve

    Some goodens here:

    10 Free BuddyPress Themes


    Kristian Yngve
    Participant

    @kristianngve

    What would it be for the CSS?

    This down;t work:

    .all-members {
    display: none;
    }

    (because I am not using the Buddypress theme to do it his way).


    Kristian Yngve
    Participant

    @kristianngve

    BOOM!! cracked the issue.

    The instructed root was missing vital info that could save a lot of us the headache…

    IT IS NOT /my-theme/buddypress/ as instructed the Template Overload File.

    IT IS: /my-theme/buddypress/members/

    to then save your file in that folder.

    Ladies and gentlemen, you’re welcome.


    Kristian Yngve
    Participant

    @kristianngve

    After clearing the cache and browser history, it seems to have nothing to do with the root.

    But the only option I have for this Template Overload File to work is to tweak the file itself.


    Kristian Yngve
    Participant

    @kristianngve

    https://buddypress.org/support/topic/how-to-edit-the-text-in-registration-page/

    I have found and followed this as best I can, my Template Overload File is in this root:

    Wp-content/themes/child-theme/buddypress/register.php/

    The problem is, I think, that Buddypress isn’t finding my Template Overload File in my child-folder.

    Should the ideal root for Template Overload Files be
    Wp-content/themes/buddypress/register.php/ ??

    It’s driving me crazy how most of my buddypress tweaks I make go with no affect at all.


    Kristian Yngve
    Participant

    @kristianngve

    Amazing! It worked perfectly!

    I couldn’t thank you enough, Aaron.


    Kristian Yngve
    Participant

    @kristianngve

    Anyone? 🙁


    Kristian Yngve
    Participant

    @kristianngve

    Oh sorry, I had copied it as is by the other moderator from a very old post. Thank you for cleaning that up for me, this should be the only one as a How to & Troubleshooting category.

    So, I did the changes and it didn’t work. I also tried changing the last part: hide_admins_profile’, 1 ); to hide_admins_user’, 1 ); but didn’t work sadly… resorted back to profile for that part.

    Any other suggestions that may work? I had also cleared the cache after any changes.

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