Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,351 through 9,375 (of 69,047 total)
  • Author
    Search Results
  • #258411

    In reply to: identify code

    idichoo
    Participant

    Hi,

    well… it sound complicated to me as i am still quite confuse.

    Anyway, i need to identify because i wish to change notification word in buddypress menu bar to chinese by hard coding or whatever.

    Can you advise what to enter into the css or where to change it.

    #258410
    steigw
    Participant

    It’s a staging site that doesn’t have public access, but I can put the code and info in here. Here is the complete code of the functions.php in the child theme. maybe I just put it all together wrong.

    <?php
    function nisarg_enqueue_styles() {
    
        $parent_style = 'nisarg-style';
    
        wp_enqueue_style( 'bootstrap', get_template_directory_uri().'/css/bootstrap.css' );
        wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/font-awesome/css/font-awesome.min.css' );   
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    
        wp_enqueue_style( 'nisarg-child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style )
        );
    }
    add_action( 'wp_enqueue_scripts', 'nisarg_enqueue_styles' );
    ?>
    <?php
    function custom_wp_mail_from( $email ) {
            $handle = ‘accounts’;
    	$find = 'http://'; 
    	$replace = '';
    	$link = get_bloginfo( 'url' );
    	$domain = str_replace( $find, $replace, $link );
    	return $handle . '@' . $domain ;
    }
    add_filter( 'wp_mail_from', 'custom_wp_mail_from' );
    ?>

    The email link is:http://mydomain.com/activate/JA0BvkK1Q0DND10SYegdOtkTMemhGUF0/

    When I click on it immediately, I get all this:

    Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: ‘accounts’@mydomain.com’ in /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/class-phpmailer.php:946 Stack trace: #0 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/pluggable.php(352): PHPMailer->setFrom(‘\xE2\x80\x98accounts\xE2\x80\x99@…’, ‘WordPress’) #1 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/pluggable.php(1726): wp_mail(‘webmaster@arlin…’, ‘[My Dev Sit…’, ‘New user regist…’) #2 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-content/plugins/buddypress/bp-members/bp-members-functions.php(2031): wp_new_user_notification(18) #3 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-content/plugins/buddypress/bp-members/bp-members-screens.php(364): bp_core_activate_signup(‘JA0BvkK1Q0DND10…’) #4 [internal function]: bp_core_screen_activation(”) #5 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/plugin.php(524): cal in /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/class-phpmailer.php on line 946

    If I wait a while, then I get the normal webpage and it says “invalid activation key”. I don’t understand the significance of an immediate click on the link in the email vs. waiting a few more seconds, but it definitely matters.

    #258407
    Paul Wong-Gibbs
    Keymaster

    BuddyPress is always global to the whole network on multisite.

    If you want to run multiple, separate BuddyPresses on a *multisite*, what you actually want is to set up WordPress multi-network (something like https://wordpress.org/plugins/wp-multi-network/).

    This is actually complicated, and if you do not need to share users between your BuddyPresses, I’d suggest setting up multiple standalone regular WordPresses (or standalone multisites).

    #258404
    Stacy (non coder)
    Participant

    There’s also this option for now @binary10 if I’m understanding your request, but it’s not so automatic. https://wordpress.org/plugins/buddypress-activity-plus/

    #258403
    jbboro3
    Participant

    @danbp I did not find any such string in the .pot file, this is why I had to search it manually to confirm it.. It looks like the buddypress component.. you can check in this http://imgur.com/Zc9rzVq to confirm it..

    #258401
    Stacy (non coder)
    Participant

    The vid explains that adding a bp activity link to a post embeds. Is embedding in the activity native yet?

    What the embed scripts? like of the provider.

    Would love to make this compatible , especially in the groups https://wordpress.org/plugins/iframely/

    Here was my old combo to achieve this. https://wordpress.org/support/topic/plugin-oembed-for-buddypress-embedly-oembed-4-bp-all-embedly-content-in-bp-forum-yaaay/

    #258393
    israelle
    Participant

    thank you Paul @djpaul for your replay
    i’m using host – http://www.hostinger.co.il its a free host for php and wordpress websites
    those are the plugins in my site

    Clef

    Limit Login Attempts

    Mailgun integration for WordPress
    Regenerate Thumbnails
    WooCommerce
    Akismet
    buddypress
    bbpress
    wipi Hebrew theme page editor
    hello doli

    #258390
    buddycore
    Participant

    Thanks, I’ve never got hold of working with core functionalities and thus I have failed miserably with some technical matters. Given there’s a lot of undocumented but feature rich functionality in BuddyPress this puts me in no mans land.

    I’m looking forward to BP-Nouveau for now I will work with what’s available and what you have written here.

    #258387
    Paul Wong-Gibbs
    Keymaster

    Right, good spot — not sure where got the .html on the end of the URL from. If it’s form a menu or template that BuddyPress generates, let us know which one and I’ll try to figure out this crazyiness. 🙂

    #258385
    Paul Wong-Gibbs
    Keymaster

    If you’re referring to this https://cloudup.com/cmbgottNhQf — yes, that particular autocomplete script is awful (the other at-mention auto-complete used elsewhere throughout a site are better). Sorry. 🙁

    I am not sure what you want, however. This autocomplete script is added to the screen via the messages_autocomplete_init_jsblock function. If you look at jquery.autocomplete.js, maybe there’s an option you could use, or initialize it differently.

    A different, maybe better approach than the hell that is this 2007-era jquery.autocomplete.js script, is to replace it with the other autocomplete script we use throughout BuddyPress. I forget why we haven’t done it yet; it may just be a lack of time, or perhaps there’s some complexity I’m forgetting as I write this message.

    — If this sounds interesting, let me introduce you to what we’re calling BP Nouveau — a replacement for the BP Classic set of templates. It’s not done yet for production use, but take a look at this specific function: https://github.com/buddypress/next-template-packs/blob/master/bp-templates/bp-nouveau/js/buddypress-messages.js#L524

    I am 99% sure that unhooking messages_autocomplete_init_jsblock and instead adding a copy of that JS function from BP Nouveau will switch over the auto-complete for the “Send Messages To” field. There may be further tweaks needed to make this work out-of-the-box, but it seems to work well in BP Nouveau, so dig arounds its CSS if something looks off.

    Hope this helps

    #258381
    Paul Wong-Gibbs
    Keymaster

    Do widgets work on non-BuddyPress specific pages? Such as, a site footer or sidebar. I am trying to understand if they are broken everywhere or only broken on BuddyPress screens.

    If widgets generally do work, have you confirmed that a widget that does work, does NOT show up on the BuddyPress page? If so, what widget is that? (Just need one example).

    Please also let us know the names of all active plugins on your site, thanks.

    #258368
    isavarg
    Participant

    Thanks. It’s working now. I wouldn’t have thought of looking under that as it’s not in the BuddyPress settings.

    Henry Wright
    Moderator

    wp_insert_post() takes an array as its first param. post_date is set to the current time by default so something is setting it to 0000-00-00 00:00:00.

    If you’re talking about BuddyPress activity items (not WordPress posts) then recorded_time also defaults to the current time. Again, in this case there must be something in your plugin that is setting it to 0000-00-00 00:00:00.

    Ref: https://codex.buddypress.org/developer/function-examples/bp_activity_add/

    David Cavins
    Keymaster

    Hi r083r7-

    Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/

    One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.

    Check our Bowe Codes for some other useful short codes and examples for your own: https://wordpress.org/plugins/bowe-codes/screenshots/

    #258361
    David Cavins
    Keymaster

    I really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the $_POST payload looks like.

    Code reference: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php#L1074

    I can’t see what moving hosts would change here, but the internet is a fragile thing. 🙂

    #258359

    In reply to: Remove header images

    David Cavins
    Keymaster

    Since it’s theme specific, your best choice is to create a child theme and override that template part when you don’t want to see the image. (There are lots of conditional you can use, like is_buddypress() which returns true on a BP page.)

    It’s extremely unlikely that there will be a plugin that changes one aspect of a specific theme.

    Child themes: https://codex.wordpress.org/Child_Themes

    #258356

    In reply to: 2nd Registration form

    danbp
    Participant

    Which plugin did you use for the 2nd register page ?

    WP need for any user, a username, an email and a password. That’s mandatory even if you have 2 or 50 register page.

    If you use only BP’s default register page and add a select box where you can choose Teacher or Student, you can afterwards give teachers a role of editor. That’s do able with built-in member_type

    Also, depending the role with help of conditionnal field plugin, you can show fields for teachers only, for students only or both.

    Another solution would be to add manually the teachers directly from within the admin. Usually, a school has less teachers as students. This shouldn’t be to difficult to add 10 or 20 teachers. This can also be handy as you can give them a lower capability (ie author) and attribute “editor” to only one or two of them, which will be in charge of students registering and dispatching. So in fact, only students have to register from front-end.

    Another alternative would be to use what’s described here.

    #258340
    danbp
    Participant

    Hi !

    BPB was made for BuddyPress, not to fit all existing membership plugins, especilly for premium plugins whose code is not public. If you need a feature related to paid membership pro, you have to ask this plugin author how to do this. I’m the author of BPB, but can’t help you for this. Sorry !

    #258336
    danbp
    Participant

    Hi,

    this question is not related to BuddyPress as it seems you use Events Manager to let your members add events. Accordingly to plugin’s demo, you’ll probably have such a page.

    From what i see on demo, the visual editor is the one used by WordPress. Read on WP Codex how to customize TinyMCE and use wp-editor function.

    Maybe you could use this plugin to your advantage ?

    #258330

    In reply to: Activities

    danbp
    Participant
    #258328
    EMar
    Participant

    I just diactivated all plugins, then installed BP again, still no save button.

    Using chrome to inspect elements for BuddyPress Settings page:

    http://www.site.com/main/wp-content/themes/music/musicband/events/css/jquery-ui-timepicker-addon.css Failed to load resource: the server responded with a status of 404 (Not Found)
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=4.6:9 JQMIGRATE: Migrate is installed, version 1.4.1
    http://www.site.com/main/wp-content/themes/music/musicband/events/css/jquery-ui-timepicker-addon.css Failed to load resource: the server responded with a status of 404 (Not Found)

    #258325
    danbp
    Participant
    #258323
    danbp
    Participant

    Hi,

    On your Toolbar you have the correct link to the correct register page !
    http://www.nyfertility.org/register/ (which is not blank at all !) 😉

    Note that WP/BP use mostly php files. Searching for file-name.html brings generally nothing else as blank pages.

    When you create a page or use one of BP pages, edit the page and get the permalink (underneath the page title), so you be sure to have the correct path to it.

    Other advice ? 🙂 Hum… read the documentation!

    #258322
    danbp
    Participant

    Hi,

    i would use a cleaner code like what is indicated here.

    WP function references
    wp_mail_from
    wp_mail_from_name

    BP function references
    bp_core_email_from_name_filter
    bp_core_email_from_address_filter

    NB: please use the code button when you insert code on this forum.

    ico33
    Participant

    I changed the theme as suggested. Nothing to do. If I create a discussion (bbpress), it is shown in buddypress activity. If I delete the discussion from the forum, it is still present in activity, but oviously clicking on it it shows 404 error page not found.

    Any Idea?

Viewing 25 results - 9,351 through 9,375 (of 69,047 total)
Skip to toolbar