Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,701 through 3,725 (of 22,689 total)
  • Author
    Search Results
  • #263378
    danbp
    Participant

    Hi,

    BP devs are aware of this detail… Please read https://buddypress.trac.wordpress.org/ticket/7392

    #263358
    maccast
    Participant

    Thanks @shanebp. Yes for sure we would want to avoid the scenario where we are “re-uploading” the default choosen image for each user. I guess I was sort of hoping there was a way in the uploader to just offer them to choose images from our custom library. Sort of like when you use the WordPress media uploader and can choose to pick from the library limiting it to “uploaded to this post”. Overloading the template and using our own custom image picker will work fine. By it being stored in another custom user meta data field it does add some complexity in figuring out how to decide which cover image to use. Meaning that if they upload an image and have also chosen one of our images I need to decide which image takes priority. I’m not sure how I’d do that since meta data fields don;t maintain an “updated” timestamp.

    #263307
    rgrober
    Participant

    Thank you very much for the reply @shanebp!

    I found this on the member-header.php file.

    On a member’s profile page, I’m attempting to insert an element before the user’s name (directly before, not above), but I’m not sure which hook I’m supposed to use.

    I’m successfully adding content after/below the User’s name by using bp_before_member_header_meta

    Do plugins and themes create custom hooks in addition to the standard wordpress hooks?

    Again, I really, really appreciate your help!

    #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
Viewing 25 results - 3,701 through 3,725 (of 22,689 total)
Skip to toolbar