Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 16,326 through 16,350 (of 32,678 total)
  • Author
    Search Results
  • #144332
    @mercime
    Participant

    To make your WP theme compatible with BuddyPress, you need to install/activate the BP Template Pack plugin, then go through Appearance > BP compatibility process.
    – https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#the-process-at-a-glance
    – https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes

    #144323
    David Cavins
    Keymaster

    I’ve found that BP Humanity helps with spam robots but not human spammers.
    https://wordpress.org/extend/plugins/buddypress-humanity/

    For human spammers, you may need to approve each user.
    https://wordpress.org/extend/plugins/bp-registration-options/

    #144322
    David Cavins
    Keymaster

    I think a better bet is to collect that info on the BP registration page and then not display it on the user profile (that way you’ll still be able to use it in other ways). With BP 1.6. you can change the visibility of each xprofile field to friends only, logged-in users, or public (and force that level or allow the user to override your selection). (Visible to admin only is coming in BP 1.7, btw, which would totally fix you up.) At the moment, you can modify your theme template file (themes/yourtheme/members/single/profile/profile-loop.php) to hide some fields like this:
    `about line 17:

    <?php $no_display_fields = array( // Enter the field name of any field that you don't want to appear on the user profile.
    ‘E-mail’,
    ‘Name of Field Hide’,
    ‘Another’
    );

    if ( bp_field_has_data() && !in_array( bp_get_the_profile_field_name(), $no_display_fields ) ) : ?>`

    It’s a hack, but it works for me (until BP 1.7).

    Paul Wong-Gibbs
    Keymaster

    bbPress gets that “for free” because it uses custom post types and therefore WordPress’ template hierarchy. Let me see what I can do for BuddyPress.

    #144319
    snowlas
    Participant

    Any ideas anyone? The remove action code did not work. Maybe it’s set up wrong?

    #32700
    Jackie Chan
    Participant

    Hi, my wordpress buddypress site http://www.releasethereal.com seems to get a lot of spam profiles sign up. Whats the best way to keep the spam count down i currently use these plugins:
    Akismet
    SI CAPTCHA Anti-Spam

    Is there any others i should know about?

    #144300
    @mercime
    Participant

    Yes, thank you. I’ve seen your ticket and patch at https://buddypress.trac.wordpress.org/ticket/4634
    The same issue was posted before at https://buddypress.trac.wordpress.org/ticket/4608

    #32692
    NolanD626
    Participant

    In WordPress 3.5+ the upload avatar core doesn’t not work. The following function needs to be changed from:

    
    // Check image size and shrink if too large
    if ( $size[0] > bp_core_avatar_original_max_width() ) {
    $thumb = wp_create_thumbnail( $bp->avatar_admin->original, bp_core_avatar_original_max_width() );
    

    to this:

    
    // Check image size and shrink if too large
    if ( $size[0] > bp_core_avatar_original_max_width() ) {
    $thumb = image_resize( $bp->avatar_admin->original, bp_core_avatar_original_max_width(), null );
    

    Or something like that, it would probably be better to not pass a null parameter but it works.

    In WP 3.5+ wp_create_thumbnail is deprecated.

    #144297
    @mercime
    Participant

    == but im not able to find a way to allow members to post a blog. ==

    Not quite sure what you want;
    a) users able to publish a post in (single WP site) – just make default role of those who register as “Author
    OR
    b) users able to create blogs and publish posts (WP multisite) – you need to create a network first https://codex.wordpress.org/Create_A_Network

    #144287

    In reply to: adding new members

    This is default BuddyPress functionality. You might try https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/

    #144274
    @mercime
    Participant
    #144271
    stuffwelike
    Participant

    I updated Jetpack, BP Menus, Post Topics, Google Analytics, WP Facebook AutoConnect paid.

    When I disabled BP Menus I could see the Post Update button. After submitting the activity update through a non-Facebook WordPress account and then refreshing the page, the update displays. However when I try to login via Facebook and post a status update while it seems to submit the update properly when I refresh the page the update disappears.

    #32685
    stuffwelike
    Participant

    My custom theme Buddypress (1.6.1)/Wordpress (3.4.2) site was working perfectly fine. There was a Post Update button and activities were sticking.

    Yesterday I updated Jetpack, BP Menus, Post Topics, Google Analytics, WP Facebook AutoConnect paid. The Post Update button disappeared. I solved that problem disabling BP Menus v2.0.3. I only allow registration of Buddypress accounts through Facebook. Now some accounts can post perfectly fine – their post will stick on the website. However I’ve noticed with some other accounts that when they try and post simple text the post appears to go through and have been submitted, however the post disappears once the user refreshes the page.

    I’ve noticed that users whose post disappears on the Activity Stream can still send private messages and those work fine.

    Any ideas on what is causing this problem and how I can fix it?

    Roger Coathup
    Participant

    @djpaul, @hnla, @r-a-y, @mercime et al,

    I’ll move the conversation back over on to the trac ticket, as I think that’s the best place for this discussion to stop it becoming lost.

    As @hnla points out bbPress whilst supporting template parts auto injected into page.php, also allows you to provide full templates for specific content where you want to override the automatic mechanism (TBC). As with the WordPress template hierarchy it’s based on the type and name of the content being displayed. So, for example — you could create a template archive-myforumxyz.php.

    I suspect a similar hierarchy based system for BuddyPress would be best route — with template hierarchy names that recognise display of single groups, single profiles, directories, etc., and override the auto injection into page.php if defined.

    Will elaborate my thoughts on the trac.

    #144257
    snowlas
    Participant

    Ray,

    Thanks for the help. I created the custom file like the directions said to and placed the code in like this:

    `<?php
    // hacks and mods will go here

    remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );

    ?>
    `
    However, registration page still does the redirect. :/ Any other suggestions? It is in the wp-content/plugins/ directory.

    ahmedselim
    Participant

    I have a multisite wp install with buddy press and I am seeing the following behavior.

    If someone registers and puts a space in the username i.e. john doe, the username is changed by wp to johndoe, (it is my understanding that this is done by wordpress) The issue that it is not really highlighted to the user, so if they don’t pay close attention to the username and try to enter the username that they entered (with the space) they will get an invalid username message..

    My question is this, is there a way to notify the user during registration (they receive a confirmation email but honestly i don’t think they will read it close enough to realize the change in username) that the username with the space is not acceptable? maybe to add some king of validation or error message when a space is entered in the username field?

    I have tried several plugins that would restrict usernames without any success so though maybe I could approach this at the registration form itself.

    I am running WP 3.4.2 and buddy press 1.6.1

    Any help would be greatly appreciated

    #144245
    Dainismichel
    Participant

    if you consider accomplishing the task by hitting my laptop with a fuzzy mallet, pouring coffee into the keyboard to “wake up” the computer, downloading databases, failing at recovering my backup, then needing flop and then flip versions of BP back and forth, and then just waving my hands over the computer chanting “oh buddypress and wordpress update work oh work hhoooommiiiiii aaaah”

    and then it working.

    then yes.

    PS: i did very few of the above mentioned steps and do not recommend you try them at home.

    Ham Radio
    Participant

    Hi Everyone!
    First off, thanks everyone for your help, MUCH appreciated.
    Basically my problem is that when first creating a group, I get to the second step, then click next and all I get is a totally blank page. Absolutely nothing on it. Then I hit my back button, and click on the group tab, and the group has been created. So why is it giving me a blank page on the third step?
    Also, when I click on forum for that specific group, I also get a totally blank page. I did install the group forums in the BuddyPress settings.

    I also have the latest version of BuddyPress, and WordPress.
    Thanks for you help :)

    #144233

    In reply to: Registration Error

    tr.sa.buis
    Participant

    I’m using WP 3.4.2 and BP 1.6.1. I think they are the latest versions.
    It’s a single site.
    I’m hosted at Bluehost.
    I started the website by downloading WordPress then immediately downloading Buddypress.
    I have deactivated all other plugins except Buddypress and bbpress, and yes, I went back to the default theme.
    My registration page has been giving me problems. At first it was a blank page but I figured out how to get the registration to at least show up (the blank page was from conflicting plugins). Now I can fill in all of my information on the registration page but when I press “complete sign up,” it refreshes the page back to the registration page with all of my info still filled in except my password. No account is created. No email is sent.
    I have registration enabled and have tried registering as not just a “member” but some of the other ones. I have tried different themes, deactivating all of the plugins, and trying to find someone who knows what is wrong. I’m new to buddypress so I’m not sure what to really do.

    #144223
    meg@info
    Participant

    Hi @wpmirwin, this part of code above is from buddypress Notifcation manager plugin.
    https://wordpress.org/extend/plugins/buddypress-notifications-manager/
    mybe this plugin can help you.

    this function hide the notifications subnav, and it should work in bp 1.5 and bp 1.6

    function bp_hide_notifications_subnav(){
    global $bp;
    bp_core_remove_subnav_item($bp->settings->slug, ‘notifications’);

    if ( bp_use_wp_admin_bar() ) {
    add_action( ‘wp_before_admin_bar_render’, create_function(
    ”, ‘global $bp, $wp_admin_bar; $wp_admin_bar->remove_menu( “my-account-settings-notifications” );’ ) );
    }
    }

    //if is not bp 1.5
    if ( version_compare( BP_VERSION, ‘1.5’ ) < 0 )
    add_action( ‘wp’, ‘bp_hide_notifications_subnav’);
    else
    add_action( ‘bp_setup_nav’, ‘bp_hide_notifications_subnav’ );

    #32672
    staipa
    Participant

    Hi! I have sompe problems.
    In “Member page” if i click on a member I get redirected on homepage. The same thing with menu of buddypress: if i click on “messages”, “friends” or similar menu I get redirected in home page.
    Can you help me, please?
    My site is http://www.scheggedicristallo.com

    I think that maybe a problem in .htacess.

    My actual .htaccess is

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]

    deny from all

    order deny,allow

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
    RewriteRule . index.php [L]
    # BEGIN W3TC Browser Cache

    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4.0[678] no-gzip
    BrowserMatch bMSIE !no-gzip !gzip-only-text/html
    BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html

    Header append Vary User-Agent env=!dont-vary

    AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon

    FileETag None

    Header set X-Powered-By “W3 Total Cache/0.9.2.4”

    FileETag None

    Header set X-Powered-By “W3 Total Cache/0.9.2.4”

    FileETag None

    Header set X-Powered-By “W3 Total Cache/0.9.2.4”

    # END W3TC Browser Cache
    # BEGIN W3TC Page Cache core

    RewriteEngine On
    RewriteBase /
    RewriteRule ^(.*/)?w3tc_rewrite_test$ $1?w3tc_rewrite_test=1 [L]
    RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-.]+.[a-z]+).?(:[0-9]+)?$
    RewriteRule .* – [E=W3TC_DOMAIN:%2]
    RewriteCond %{REQUEST_URI} ^/(stefanogiolo|ameliapiscolla|martinatomasso|albertomolinaroli|chiaraperlini|sharonmissaglia|darklady|veracaiazza|jelkaserpieri|fabioscolari|veronicafratter|ninooriolo|melissabiancon|valentina|vincent|ninetta|claudia|giuseppepecoraro|annamariacuccu|valentinagestri|emisiarte|arturoavossa|simonabaralla|giancarloguidi|globals|lauraruggiero|chiararossini|pamelacozza|beatricecinollo|silviaenriconi|marcoschembri|dimitryrufolo|pattysimon|albadragoni|giulianourbano|nicolaspecchierla|giovannasgorbani|francescapellegrino|marcosposato)/
    RewriteRule .* – [E=W3TC_BLOGNAME:%1.]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* – [E=W3TC_ENC:_gzip]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =””
    RewriteCond %{HTTP_HOST} =lnx.scheggedicristallo.com
    RewriteCond %{REQUEST_URI} /$ [OR]
    RewriteCond %{REQUEST_URI} (sitemap(_index)?.xml(.gz)?|[a-z0-9_-]+-sitemap([0-9]+)?.xml(.gz)?) [NC]
    RewriteCond %{REQUEST_URI} !(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|/feed/|wp-.*.php|index.php) [NC,OR]
    RewriteCond %{REQUEST_URI} (wp-comments-popup.php|wp-links-opml.php|wp-locations.php) [NC]
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_[a-f0-9]+|wordpress_logged_in) [NC]
    RewriteCond %{HTTP_USER_AGENT} !(W3 Total Cache/0.9.2.4) [NC]
    RewriteCond “%{DOCUMENT_ROOT}/wp-content/w3tc-%{ENV:W3TC_BLOGNAME}%{ENV:W3TC_DOMAIN}/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}” -f
    RewriteRule .* “/wp-content/w3tc-%{ENV:W3TC_BLOGNAME}%{ENV:W3TC_DOMAIN}/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}” [L]

    # END W3TC Page Cache core

    #144219
    r-a-y
    Keymaster

    If you were using the WordPress registration page before while running BuddyPress, then it was actually a bug in BuddyPress! :)

    However, if you really need to use the WP registration page, add this code snippet to /wp-content/plugins/bp-custom.php:

    `remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );`

    This snippet disables the redirect from WP’s registration to BP’s registration page. It’s not really recommended to this, so I note this as a disclaimer now!

    You’ll also want to probably remove the “Registration” page from the BuddyPress admin settings area so that page cannot be used for registering.

    r-a-y
    Keymaster

    In BP 1.7, BuddyPress looks for the following files in your theme’s folder to determine which page BP uses for the skeleton:

    `’plugin-buddypress.php’
    ‘buddypress.php’
    ‘community.php’
    ‘generic.php’
    ‘page.php’
    ‘single.php’
    ‘index.php’`

    If you need to do a conditional based on a specific BP page component, there’s a filter in `bp_get_query_template()` to override it. Note: I haven’t tested this yet.

    You could also use BP page conditionals with template parts within one of the templates listed above. That’s probably the easiest way without having to use filters.

    References:
    bp_get_theme_compat_templates():
    `https://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-template-loader.php#L292`

    bp_get_query_template():
    `https://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-template-loader.php#L140`

Viewing 25 results - 16,326 through 16,350 (of 32,678 total)
Skip to toolbar