Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,751 through 5,775 (of 22,621 total)
  • Author
    Search Results
  • #240039
    danbp
    Participant

    Hi @henrywright,

    it’s not exactly a problem ;-), more a pure php fact.

    As of WP Codex about gettext filter (codex.wordpress.org/Plugin_API/Filter_Reference/gettext)
    This filter hook is applied to the translated text by the internationalization functions (__(), _e(), etc.). IMPORTANT: This filter is always applied even if internationalization is not in effect, and if the text domain has not been loaded. If there are functions hooked to this filter, they will always run. This could lead to a performance problem.

    Some related articles:

    Introduction to the gettext Filter in WordPress

    The dangers of the gettext filter

    #240031
    Henry Wright
    Moderator

    Hi @joshdrok

    An alternative way of changing text is to use the gettext filter. See this article for more info:

    https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext

    #240027
    Henry Wright
    Moderator

    Hey @vanleurth

    You could use the bp_parse_args filter for this. It will allow you to perform a meta query.

    Hope this info helps šŸ™‚

    #240018
    Henry Wright
    Moderator

    Try the Theme My Login plugin.

    #240016
    shaquana_folks
    Participant

    Hello @hnla,

    Didn’t mean to be ā€œshoutingā€ through this message in the subject line, it’s because this is the 4th time I’ve tried to get my message through this BuddyPress forum and out of all my messages from a few days back, I noticed that this recent one I just did was the one that actually went through and I did the other messages just the same exact way as I’ve done before so I don’t understand why my messages haven’t went through the other times. So it’s just been a very frustrating time for the past couple of weeks trying to get help and I haven’t received further help so far from anyone so I’m just trying to resolve everything. But you’re right, and I’m trying my best to work with everyone to get the most feedback that I possibly can to get the job done and resolve these problems.

    The off site frame 404 not found page should be working fine now. I just updated the permalinks and when I went to click on the register link, the registration page (as well as the actual website link) was working properly from my end.

    As far as the BuddyPress plugin goes, I didn’t know that BP doesn’t have a setting for people to upload files, however when you go to the registration page on my site, there’s an ā€œChoose Fileā€ section for people to upload a picture file (for their profile page) on there as someone is filling out the actual registration form, so I just assumed that feature automatically comes with the BuddyPress plugin.

    There shouldn’t be nothing wrong with the theme for I had double-checked already from my backend and I spoke to a representative through my hosting provider and after explaining everything to them, they said that I would have to get in contact with one of the BuddyPress developers to resolve the issue and if it’s an issue from the hosting plan, to inform me about it that way I can contact them again to let them know what the specific problem is. So I’m basically going back and forth between BuddyPress and my hosting provider explaining the same thing, therefore I’m pretty much stuck on what to do, so that’s why I’m asking for anyone’s help if possible, because I’ve done everything on my end to the best of my ability.

    So here are some screenshots that I hope will be helpful of what I actually was doing through the registration process and hopefully someone can come up with a solution as far as why this is not working properly:

    SCREENSHOTS FROM MY MAGNUS WORDPRESS THEME FOR REGISTRATION PAGE:
    Screenshot 1
    Screenshot 2
    Screenshot 3
    Screenshot 4
    Screenshot 5
    Screenshot 6
    Screenshot 7

    Then I did the same exact process with one of the WordPress default themes from my dashboard:

    SCREENSHOTS FROM THE TWENTY FIFTEEN WORDPRESS THEME FOR REGISTRATION PAGE:
    Screenshot 1
    Screenshot 2

    And as you can see, the same result happens. So can someone please explain to me why this is happening? Is it a BuddyPress coding issue? Or is it from my end? Any feedback would be greatly appreciated.

    Thank you.

    #240007
    danbp
    Participant

    They are so many topics on this forum explaining how to do this ! If you think it’s not correctly documented, add your contribution to the Codex.

    That said, i made you a working buddypress-en_US file you can download with almost(hopefully) all groups related strings changed to Alliance. Some are not modified, but you can add your own words with poEdit.

    https://make.wordpress.org/polyglots/handbook/tools/poedit/

    danbp
    Participant

    Of course you can customize it, but as that need to rewrite the whole who’s online class, you would perhaps prefer to use an already made work ?

    Try BuddyPress Friends On-Line, which comes with a friend on-line widget.

    Install it, activate the widget and you’re done.

    danbp
    Participant
    #239985
    CodeMonkeyBanana
    Participant

    I’ve been staring at the code for a while and it’s starting to make sense.

    I’m not great with databases but looking at the function I gather it changes a few fields into primary keys that point to the data table so fields can be individual.

    It runs the table modification code on the dbdelta_create_queries hook.

    The wordpress codex seems to say that this action will happen anytime a database or a table is created.

    Am I right in saying that this only ever has to be run once? Can I just run it once on admin init then remove it and add the modify_bp_global_xprofiles_tablenames at runtime or have I misunderstood it?

    #239981

    In reply to: End User Blog

    danbp
    Participant

    You already have a blog if you run WordPress.
    Depending of how many authors you expect, and money you have, you can opt for MS and allow a complete blog (like the main blog) to each user. But a blogging farm is a BIG project who need space and powerfull server ressource. BuddyPress is tailored for that. But are you tailored to assume ? šŸ˜‰

    A good compromise for small and middle project is BuddyPress Groupblog wich comes with P2, an extra front-end editor theme. So you have two answer in one plugin.

    BuddyPress handles essentially members. Publishing is WP’s job and giving users a possibility of front-end publishing instead of back-end is an endless pros and contras discussion. And in any case, a long front-end dev work. At least.

    #239979
    danbp
    Participant

    That issue was solved in BP 2.2.2
    A topic with some explanation can be read here.

    You’re using a theme which latest release was 2013, before WP changed page title handling.
    Suggest you use a more recent one. Try also one of Twenty’s theme to check that the error message is no more there, and that your page title is correctly showing.

    Mickey
    Participant

    I have changed the text in new po and mo files uploaded it to proper folder and nothing has changed.

    I am confused by this, This example uses en_US as the sample language definition, and thus buddypress-en_US.mo is the name of the language file you will create. You’ll need to replace ā€˜en_US’ with the locale of your WordPress site.

    So the two file names should not be named

    buddypress-en_US.mo
    buddypress-en_US.po

    Is this the same for everyone using English or is it different for every user? Perhaps thats why its not working for me.
    THanks

    #239970
    danbp
    Participant

    BP doesn’t use a specific search page like WordPress does. Try to adjust your theme via a child theme or see theme support.
    Codex is your friend !

    danbp
    Participant

    This doesn’t need enhancement, as it is a unique string. You can modify it to your need very easily by using the language file (read here)

    The exact phrase used in BP 2.2.3.1 is:
    There was an error sending that message. Please try again.

    If you see “cant send a message”, you use an old BP version or a third party plugin. Check for this first if it is the case.

    FYI, there is also a ticket about error message, so consider your question as “work in progress”…

    #239953

    In reply to: Messages break theme

    danbp
    Participant

    Are you using this theme ? https://wordpress.org/themes/weaver-xtreme/

    Just tested it and seems to work correctly. As this theme comes with 30 (!) sub-themes, i haven’t tested all skins, just default and Black&White, but haven’t seen the issue you describe.
    Have you tested accordingly to Henry’s suggestion, and have you tried with other (sub-)theme colors

    Can you provide a screenshot of what you get ?

    shanebp
    Moderator

    I’ll bet you’re using echo in your shortcode functions.

    So their output appears before the page content is rendered.
    Use return instead of echo.
    https://codex.wordpress.org/Shortcode_API

    #239939
    Osisis
    Participant

    Not sure how to mark this topic resolved, but I’ve decided to go about this in another manner. I followed the BP model and have my admin bar acting in the capacity of a menu and deleted my primary menu. Is working out pretty well thus far. For anyone else that’s interested I

    Removed “howdy, $name” just because to me it screams WP

    function custom_adminbar_welcome() {
    	global $wp_admin_bar;
    
    		$name = wp_get_current_user()->display_name;
    		$avatar = get_avatar( wp_get_current_user()->ID, 28 );
    		$class = $class = empty( $avatar ) ? '' : 'with-avatar';
    
    		$wp_admin_bar->add_menu( array(
                    'id'    => 'my-account',
                    'title' => __('') . $avatar,
    				'class' => $class
    			) 
    		);
    }
    add_action( 'wp_before_admin_bar_render', 'custom_adminbar_welcome' );

    Removed WP links and change logo

    add_action( 'wp_before_admin_bar_render', 'custom_adminbar_welcome' );
    
    function rebranding_wordpress_logo(){
            global $wp_admin_bar;
            //the following codes is to remove sub menu
        $wp_admin_bar->remove_menu('about');            // Remove the about WordPress link
        $wp_admin_bar->remove_menu('wporg');            // Remove the WordPress.org link
        $wp_admin_bar->remove_menu('documentation');    // Remove the WordPress documentation link
        $wp_admin_bar->remove_menu('support-forums');   // Remove the support forums link
        $wp_admin_bar->remove_menu('feedback');         // Remove the feedback link
        $wp_admin_bar->remove_menu('site-name');        // Remove the site name menu
        $wp_admin_bar->remove_menu('view-site');        // Remove the view site link
        $wp_admin_bar->remove_menu('updates');          // Remove the updates link
        $wp_admin_bar->remove_menu('comments');         // Remove the comments link
        $wp_admin_bar->remove_menu('new-content');      // Remove the content link
        $wp_admin_bar->remove_menu('w3tc');             // If you use w3 total cache remove the performance link
     
            //and this is to change wordpress logo
            $wp_admin_bar->add_menu( array(
                'id'    => 'wp-logo',
                'title' => '<img src="http://test.theblackxperience.com/darklogo45.png" />',
                'href'  => __(home_url()),
                'meta'  => array(
                    'title' => __('eQubator'),
                ),
            ) );
            
    }
    add_action('wp_before_admin_bar_render', 'rebranding_wordpress_logo' );

    Moved BP child menus up to make them primary menus

    function make_parent_node( $wp_admin_bar ) {
    
    if ( ! is_user_logged_in() ) {
    		return false;
    	}
    
    	 $wp_admin_bar->add_node( array(
    		'id'     => 'my-account-activity',     // id of the existing child node (New > Post)
    		'title'  => '<span class="ab-icon"></span><span class="ab-item">'._x( '', '' ).'</span>', // alter the title of existing node
    		'parent' => false,          // set parent to false to make it a top level (parent) node
    	)); 
        $wp_admin_bar->add_node( array(
            'id'     => 'my-account-friends',     // id of the existing child node (New > Post)
    		'title'  => '<span class="ab-icon"></span><span class="ab-item">'._x( '', '' ).'</span>', // alter the title of existing node
    		'parent' => false,          // set parent to false to make it a top level (parent) node
    	));    
        $wp_admin_bar->add_node( array(
            'id'     => 'my-account-messages',     // id of the existing child node (New > Post)
    		'title'  => '<span class="ab-icon"></span><span class="ab-item">'._x( '', '' ).'</span>', // alter the title of existing node
    		'parent' => false,          // set parent to false to make it a top level (parent) node
    	));
       
    	$wp_admin_bar->add_node( $args );
    }
    add_action( 'admin_bar_menu', 'make_parent_node', 999 );

    Added CSS to turn the menu items into dashicons

    #wp-admin-bar-my-account-friends .ab-icon:before{
    	font-family: "dashicons" !important;
    	content: "\f307" !important;
    }
    #wp-admin-bar-my-account-messages .ab-icon:before{
    	font-family: "dashicons" !important;
    	content: "\f466" !important;
    }
    #wp-admin-bar-my-account-activity .ab-icon:before{
    	font-family: "dashicons" !important;
    	content: "\f130" !important;
    }
    
    #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a:before{
    	font-family: "dashicons" !important;
    	content: "\f319" !important;
    }

    Only problem I’m having now is that for some reason the logo has decided to move itself to the right, but that’s another question for another topic. But hope this helps someone else. admin bar as menu

    #239937

    In reply to: My favorites

    jessicana
    Participant

    Hello,

    Do you believe that I deleted all the users (including me admin) using this reference and I do still see that the members are 2!!

    Weird… So weird.

    Thanks

    danbp
    Participant

    Could this cause any problems.

    Don’t know, but looks so, no ?

    It’s even better to install WP (and plugins) manually via FTP on your server, as not all automated installer are using updated version or correctly setup preconfigured install. If you’re sure you can do this, do it. šŸ˜‰

    And if you’re sure you can do this, run phpinfo first, so you’ll also be sure you can (or not) use latest WP on that host. Remember that if you want to use WP + BP, you need php 5.4 and at least 64 mo of php memory_limit (128 recommended).

    I would also recommend you to read some general information about WP installation previously to any other action.

    torbenlund
    Participant

    Hi again,

    Thanks for the answer šŸ™‚

    I still have an issue with the login in the sidebar. It still sents me to the /wp-login.php where I see a “Blocked” text.

    I have installed WordPress with the “One Click Installer” on One.com. Could this cause any problems.

    I haven“t been running the phpinfo because I“m not sure how to run it.

    I can try to install WordPress manually if you think it would help?

    Thanks for helping!

    Regards

    Torben

    danbp
    Participant

    If your site is slow is not related to the fact of adding/removing a link, even programmatically ! šŸ˜‰
    Unadapted host plan, wrong settings, network issue, poor wifi connection and many, many other things can slow down a site.

    Have you at least the minimum requirements to use WP and BP ?
    https://wordpress.org/about/requirements/

    Requirements

    Run phpinfo if you’re unsure.

    #239917

    In reply to: My favorites

    danbp
    Participant

    What do you think?

    Hum… 🚧 🎢 🙏 !

    Have you checked the right table ? It’s not in _bp_activity_meta, but in _usermeta, at least concerning the case of site admin.

    I mentionned this topic for information on this ticket:
    https://buddypress.trac.wordpress.org/ticket/3794

    #239915

    In reply to: My favorites

    jessicana
    Participant

    Hello,

    I found something about this, see:
    https://buddypress.trac.wordpress.org/ticket/4393

    By the way, I followed the steps above and I have it in my database a:0{…some content ….}. I have not changed anything. What do you think?

    Thanks

    #239903
    danbp
    Participant

    If you feel comfortable with php, here’s a gist from @imath to autojoin users to groups.
    Modify it to add the member_type

    A little different, BuddyPress Registration Groups

    danbp
    Participant

    Have you removed BP Remove Profile Links plugin, as it was tested up to: WordPress 3.6 beta2 BuddyPress 1.8 beta1. Could be outdated after 2 years and without need if you use the snippet now.

    You have also to test your site with one of Twenty theme first.

Viewing 25 results - 5,751 through 5,775 (of 22,621 total)
Skip to toolbar