Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,701 through 3,725 (of 22,688 total)
  • Author
    Search Results
  • #263286
    shanebp
    Moderator

    In which file are you seeing bp_before_displayed_user_fullname ?

    It’s probably a wordpress do_action hook.
    https://developer.wordpress.org/reference/functions/do_action/

    #263281
    danbp
    Participant

    You can activate wp_debug mode.

    #263280
    danbp
    Participant

    Hi,

    BuddyPress follow your wordpress registration settings. Some other details can be found here:

    Registration

    Modifying the Registration Form

    #263221
    danbp
    Participant

    Hum, i have not noticed such an issue on any of my BP sites, what ever theme i use…
    Have you tested with all plugins deactivated ?

    Afaik you have to debug properly.
    Use WP and BP only, with Twenty Sixteen and wp_debug activated.

    https://codex.wordpress.org/Debugging_in_WordPress

    Read also here and give details.

    #263218
    danbp
    Participant

    @deunit,

    it’s not an issue but eventually an enhancement.
    As nothing new appeared in the plugin sphere, and if you don’t know further, follow Shane’s recommendation.

    To monetize your BP, perhaps you can consider MyCred ?

    Closing this tread now.

    #263217
    danbp
    Participant

    Hi,

    you have many errors in your code.

    – in the css you declare a class (a dot ) while you use an ID (#) in the html
    – in the code, you omit to close a p tag, and you need also a user_id and a way to get the displayed user (WordPress) role. Both are missing.

    Here, the whole thing corrected.
    – we don’t need a extra div, as we only add a p tag in an existing div.
    – the code to get the role holds in 2 small lines.

    The CSS (goes into child theme’s style.css)

    #item-header-avatar p {
    margin: auto;
    border:1px solid green;
    background: yellow;
    width: 110px;
    text-transform: capitalize;
    }

    The html and php for the template (starts aroud line 24 of cover-image-header.php)

    <div id="item-header-avatar">
    	<a href="<?php bp_displayed_user_link(); ?>">
    
    	<?php bp_displayed_user_avatar( 'type=full' ); ?>
    	</a>
    
    	<?php
    	$user = new WP_User( bp_displayed_user_id() );
    	echo '<p>'. $user->roles[0] .'</p>';
    	?>			
    	
    </div><!-- #item-header-avatar -->

    Do it simple ! ๐Ÿ˜‰

    #263175
    shanebp
    Moderator

    Please use the support forum for that plugin –
    https://wordpress.org/support/plugin/bp-registration-options

    #263163

    In reply to: Update user Role?

    danbp
    Participant

    Hi,

    guess you confuse member types and user roles. MT where introduced to allow site owners to “categorize” their users. WP user role is slightly different, as it defines what user can do on a site, a kind of access management. So in brief, roles are independent from BP member types.

    MT and roles are also stored in different tables: MT in wp_terms and roles in wp_usermeta – with the denomination of wp_capabilities…

    By default, roles are automatically attibuted at registration level or manually by a site admin. Member types follow the same logic, under condition the xprofile component is activate.

    Now the question is: what do you want to do exactly after registration ? Change the role or change the type ?

    Roles can be affected from the admin user list page. I would recommand to not modify this behave at registration level, to avoid abuse by promoting fake user for example.

    MT can be changed from the xprofile admin interface. There is also this plugin for a more in depth management.

    Using a custom function is of course possible. But just to clarify, the one you give as example let’s suppose you have a need for bulk action over user status. Automated task is well and good, but in this case, why not attribute a higher role or type to all by default ?
    And if it is not intended for “all” (what i suppose is the case), do you have so many exception that you need such a function ? Can’t you do that manually ? Just my 2 cents. ๐Ÿ˜‰

    #263151
    #263145
    shanebp
    Moderator

    Did you try using the meta function?
    https://codex.wordpress.org/Function_Reference/get_user_meta

    And you don’t need user_can.
    Just request the meta and show if it exists.

    #263142
    danbp
    Participant

    I have looked everywhere and tried everything!

    If so, what could we do more for you ? You’re asking for help for a page question. Pages are part of WordPress and fortunately, WordPress has a codex, where “page” is a well documented department.

    https://codex.wordpress.org/Pages

    Page Templates

    Concerning BP pages, that documentation is much shorter, because BP doesn’t use page like WP and when it use a page it is internally only, and only for one of his component, not to allow users to write a page.

    #263141

    In reply to: Bug after install

    danbp
    Participant

    Deactivate all plugins before activating BP.
    Activate a Twenty theme.
    Then activate BP. If your admin remains blank again, remove BP from the server – there may be corrupted files – and upload a fresh copy by FTP.

    If still trouble, contact your host and see if you have minimum requirements to install BP (including enough php memory (at least 64 mo)

    As apparently you never have to debug your install, read here for more recommendation (to follow if possible).

    #263137
    danbp
    Participant

    [Topic moved and closed by MOD]
    Please don’t jump into topics who aren’t related to your question and don’t double post.

    BuddyPress use WordPress tinymce editor. See WP codex:
    https://codex.wordpress.org/Function_Reference/wp_editor
    https://codex.wordpress.org/TinyMCE

    #263118
    manishn
    Participant

    Hello there..

    I am newbie in buddypress, can anyone help me in this:

    I am using this plugin for hashtagin https://rup.wordpress.org/plugins-wp/buddypress-activity-stream-hashtags/

    Its working fine, but I want to show #hashtag filter on site. So when anyone can search particular #hashtag it will display the result for that #hashtag only. I know there must be a way which I can’t find.

    Thanks you in advance.

    #263079
    danbp
    Participant

    Hi,

    sidebar is part of your theme. The edit.php (members/single/profile/edit.php) template file doesn’t contain a sidebar, but a form. And this form goes into any theme who has a place for “content” (usually it is the main content).

    If you don’t want a sidebar on the member page or on the profile, you can add a conditionnal on your (child)theme sidebar.php or around the call to sidebar you can find in almost all your theme files.

    The thing to search is get_sidebar which calls the sidebar template.

    Note that BP use mostly to “page.php”, so if your theme has such a file, it is where to start. You already know the way to BP’s template doc. More about this on WP codex:

    get_sidebar()


    https://codex.wordpress.org/Function_Reference/dynamic_sidebar

    #263072
    danbp
    Participant

    Hi,

    seems you’re in wp-admin media library when you get that error. The message comes from WordPress. BuddyPress doesn’t use backend editing and doesn’t use edit tools on front-end like “mirror” or “rotate” when he handles pictures.

    With BP, a user can handle his avatar picture and the cover header for profile and groups, and all that from front-end.

    Where is the image in BuddyPress that you try to edit ?
    Please give details, so your issue could evtl. be reproduced.

    #263062
    danbp
    Participant

    Hi,

    BuddyPress hasn’t a video player. By default, BP use WordPress embeds. Read attentively this document, to understand how embeding videos is working and how READING videos is automatted.

    If you want thumbnails in place of the default wrapper, you could use some plugin like this one (untested). And they’re many other on the plugin repo. Only thing you have to take attention with such a plugin, is his compatibility with BP. For ex. wall activities are not exactly blog posts.

    If you’re comfortable with CSS, you can even try to modify the existing wrapper size.

    Note also that all of these tips have not very much to do with BuddyPress, but with theming.

    #263045

    In reply to: Email notification

    Henry Wright
    Moderator

    Crowdmentions will web notify members of a group if a @ keyword is used in the update’s text. However, emails aren’t sent for various reasons.

    Disclaimer: I’m the plugin author.

    #263039
    danbp
    Participant

    Thank you for the report. Devs are aware of the problem. You can also participate or follow this on Trac.
    Read from #7406

    #263038
    danbp
    Participant

    Hi and sorry for your issue. Could be a lot of things. From php version to file access rules… Best to do is to verify you have the minimum requirements needed by WP and BP on your host plan and to contact your host support.

    #263020
    Henry Wright
    Moderator

    This isn’t ideal. Can you open a ticket on Trac explaining the issue?

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

    #263014

    In reply to: Spam via messages.

    danbp
    Participant
    #262994

    In reply to: [Resolved] My Profile

    Humiges
    Participant

    Thank you @danbp,

    I saw those and others.
    What I can’t figure out is how to add the for example: bp_core_get_user_domain( $user_id ) . 'activity' to the existing nav-menu in wordpress ๐Ÿ™

    Thanks

    #262974
    danbp
    Participant

    You simply use one of the 6 action hook available on the group member template.
    The file to check is buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php

    The hook to use, for example bp_group_members_list_item.

    WP hook reference.

    #262949
    gprovostjr
    Participant

    1. Which version of WordPress are you running? 4.7.1

    2. Did you install WordPress as a directory or subdomain install? Directory

    3. If a directory install, is it in root or in a subdirectory? Root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? no

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes

    6. Which version of BP are you running? 2.7.4

    7. Did you upgraded from a previous version of BP? If so, from which version? no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? YES
    Analytics Cat 1.0.1
    bbPress 2.5.12
    Photo Gallery 1.3.26
    Ultimate Social Media PLUS 2.5.1
    User Role Editor 4.31.1
    WP Discord 0.2.3

    9. Are you using the standard WordPress theme or customized theme? Standard

    10. Which theme do you use ? 2017

    11. Have you modified the core files in any way? no

    12. Do you have any custom functions in bp-custom.php? no

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? listed earlier

    14. Please provide a list of any errors in your serverโ€™s log files.

    15. Which company provides your hosting? ipage

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?

Viewing 25 results - 3,701 through 3,725 (of 22,688 total)
Skip to toolbar