Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 26,176 through 26,200 (of 68,915 total)
  • Author
    Search Results
  • #143943
    mattriggins
    Participant

    Only plugin that is active is Buddypress. Installed BP FriendPress, same issue. Once I logout, I get a redirect that goes no where and the screen is blank.

    Then, if I open a new window and go back to domain.com, it still shows me as logged in.

    I then opened a different browser, and went to domain.com. I put in my login info and tried to login. I again go to a blank white page, sitting at http://domain.com/wp-login.php

    If I refresh the page on the 2nd browser, it takes me back to domain.com/register

    Strange!

    #143934
    9087877
    Inactive

    Then check the other fields. Here is a copy of one of my local sites wp-config.php:
    <?php
    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information
    * by visiting { @link https://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don’t have to use the web site, you can just copy this file
    * to “wp-config.php” and fill in the values.
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘bpdev’);

    /** MySQL database username */
    define(‘DB_USER’, ‘root’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ”);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the { @link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define(‘AUTH_KEY’, ‘gKR[~e-<4 |Jj1DVfT-RM.m(|=M7(OB;tp/bfQt9+9[+FcIK<Gdp[(*u~2@-_H*J');
    define(‘SECURE_AUTH_KEY’, ‘_$y7AKT$.Zz`XHS3 DxndhyLGd/3ITTfE3oJqphSGS:x1*TH@45D 6NIjU7y64om’);
    define(‘LOGGED_IN_KEY’, ‘i6[pr$z#c,0E&EI]j]:K}cG9N`J[:JsL]wgy%[coeV>h(<c#W%Ye');
    define(‘NONCE_KEY’, ‘@GH9@ITlC&Py&cG3O5sKaVrm;vqP/4mKYz#=n>K?`%:C.q56yFO4WEaY:g^Rs+>+’);
    define(‘AUTH_SALT’, ‘QulXiJdP`zXXz*D*]RbfXfH[$C6 Z;:n>pLwcrSZvkY!7|*mHxyS>#n^qqiD2noO’);
    define(‘SECURE_AUTH_SALT’, ‘3/{(F|iduMA;QfF%OPY:jHTH:D8jcmWB&h`gfs$K4L&uTVhg1.05nz~h.COtvf+7’);
    define(‘LOGGED_IN_SALT’, ‘YG?P2/ <+A,W8L:r<0^9~n1c<aO-w|OTl~.o^T39ZPp)tz7&V~[x57X&n,(*(iA0');
    define(‘NONCE_SALT’, ‘|G0,AO(>,Ak @y a/A;Kf3it9W~Lv[/q*?,Pe!Dqf~WDzKzD?JJQ+V%.:]icGtzq/’);

    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de_DE.mo to wp-content/languages and set WPLANG to ‘de_DE’ to enable German
    * language support.
    */
    define(‘WPLANG’, ”);

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define(‘WP_DEBUG’, false);

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    #143929
    ryan_dolan
    Participant

    Heres my WP-Config file

    <?php
    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information
    * by visiting { @link https://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don’t have to use the web site, you can just copy this file
    * to “wp-config.php” and fill in the values.
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘ryanpaddlesite’);

    /** MySQL database username */
    define(‘DB_USER’, ‘root’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘password’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    define(‘WP_ALLOW_MULTISITE’, true);

    define(‘WP_MEMORY_LIMIT’, ’512M’);

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the { @link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define(‘AUTH_KEY’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
    define(‘NONCE_KEY’, ‘put your unique phrase here’);
    define(‘AUTH_SALT’, ‘put your unique phrase here’);
    define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
    define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
    define(‘NONCE_SALT’, ‘put your unique phrase here’);

    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de_DE.mo to wp-content/languages and set WPLANG to ‘de_DE’ to enable German
    * language support.
    */
    define(‘WPLANG’, ”);

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define(‘WP_DEBUG’, false);

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    #143928
    9087877
    Inactive

    Well I use xampp and I can assist you better if we are using the same software. I can tell you for certain that something is wrong in your wp-config.php thats causing these errors between buddypress and mysql database.
    Edit:
    Regardless of what software your using I would take a look at your wp-config.php and try to work it out from there.

    #143922
    9087877
    Inactive
    mattryken
    Participant

    @modemlooper – That fixed the specific issue that I outlined. I’m wondering if it would also make sense to add the { path: ‘/’ } parameter to all other cookies being set in the bp-menus.js file? Looking in the BuddyPress default theme’s _inc/global.js file I see bp-activity-scope cookie being set using the path parameter set to ‘/’. What do you think?

    #143920
    9087877
    Inactive

    If you can target that element using a development tool like firefox’s firebug then you could use css trickery to make it disappear. Example:
    #a_div {
    display: none;
    }
    That is probably the least destructive way to get rid of it in a child themes style.css If you wanna change the label then use a language file. Its super easy and also is not destructive:
    https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/

    #143914
    EthanVan
    Spectator

    We’ve been consulting with a business advisor that used to work at Bain Capital. This is definitely a legitimate venture and we are very proud to say that we have chosen WP and BP as our core CMS and social networking engines.

    Hats off to the great developers here at BuddyPress for providing a stable and reliable platform!

    #143909
    modemlooper
    Moderator

    You have to pass id # of field a string wont work.

    `$data = xprofile_get_field( 2, bp_displayed_user_id() );

    print_r($data) ;`

    This will not give you a members choice. It will only return the default visibility you set up in admin. to get a users visibility on a field you get from user meta.

    `$user_visib = get_user_meta( bp_displayed_user_id(), bp_get_user_meta_key( ‘bp_xprofile_visibility_levels’ ), true );

    print_r($user_visib) ;`

    #143906
    evagorasc
    Participant

    Aha. Problems.

    So, following the advice of @modemlooper I got this working just fine. Anything created under Buddypress custom user fields can display fine in the bbPress loops, using something like this:

    `
    $user_location = xprofile_get_field_data( ‘Location’, bbp_get_reply_author_id() ) ;
    if (strlen($user_location) > 0 ) :
    echo ‘

    Location: ‘ . $user_location . ‘

    ‘;
    endif;
    `

    However, how do I make sure I follow the custom fields’ restrictions regarding visibility? In BuddyPress we can create a custom field and set its visibility to be either:
    1) Anyone
    2) Logged In Users
    3) My Friends

    Furthermore, these fields’ visibility can be allowed to be changed by each user.

    So, before simply displaying a custom field for just everyone, I need to run the required checks to verify that it should be displayed for the anonymous/logged-in user. I tried getting a reference to the actual field, like this but the var_dump() doesn’t help me much:

    `$user_location_field = xprofile_get_field( ‘Location’, bbp_get_reply_author_id() ) ;`

    This is the var_dump($user_location_field):

    `object(BP_XProfile_Field)[29]
    public ‘id’ => null
    public ‘group_id’ => null
    public ‘parent_id’ => null
    public ‘type’ => null
    public ‘name’ => null
    public ‘description’ => null
    public ‘is_required’ => null
    public ‘can_delete’ => null
    public ‘field_order’ => null
    public ‘option_order’ => null
    public ‘order_by’ => null
    public ‘is_default_option’ => null
    public ‘default_visibility’ => null
    public ‘allow_custom_visibility’ => string ‘allowed’ (length=7)
    public ‘data’ => null
    public ‘message’ => null
    public ‘message_type’ => string ‘err’ (length=3)`

    Even though I see a couple of public methods like “default_visibility()” and “allow_custom_visibility()”, they don’t really help. Their value doesn’t even change even when I change the field properties in the CMS.

    modemlooper
    Moderator

    fixed in 2.0.3

    elmindo
    Participant

    @mercime thanks!

    Here’s the source codes of the following separately in pastebin.com

    – loop-page.php: http://pastebin.com/rC4W3k0Z
    – functions.php: http://pastebin.com/wSt1cg15
    – sidebar-page.php: http://pastebin.com/HrzsVHbF
    – header.php: http://pastebin.com/MgsbGE4f
    – index.php: http://pastebin.com/9Fu2EhFM
    – footer.php: http://pastebin.com/U0u8WJu8

    yidamweb
    Participant

    @mercime:

    1. Thanks; I managed to create a menu item of this name (the default menu item had got deleted by mistake), and linked it to the Members page using the URL given in BP>> Members>>Members page. This solved the problem.

    2. I am still struggling with resizing user images in the front end in a straightforward manner, and would appreciate your sharing how image resizing was handled by you.

    Thanks in advance.

    #143896
    ript247
    Participant

    Hi @PAUL GIBBS I apologize that I trolled into your topic yesterday, as I was not about to create a new topic. Far as the other topics they were within the same support criteria that I needed. And you are right I haven’t discovered an answer.

    I am using the latest version of buddypress and WordPress 3.4.2,which I installed via the dashboard and after review I do not have have within my editor/ftp directory called bp-custom.php file.

    @mercime
    Participant

    == How to create a list of members registered with the community, a la BP Support? ==

    @yidamweb that’s normal for list of members using the BP Default theme, child theme of BP Default theme or a WP theme with the BP template pack plugin.

    == Currently, the image has to be cropped and is not automatically reduced to size. ==

    If the image uploaded to be used as avatar is greater than 150px x 150px, then it will be cropped one way or another.

    @mercime
    Participant

    @elmindo Working with the framework will be more complicated than usual, but we’ll give it a try.
    Post the source codes of the following separately in pastebin.com
    – loop-page.php
    – functions/theme-layout-functions.php
    – sidebar-page.php
    – header.php
    – index.php
    – footer.php

    @mercime
    Participant
    #143894
    angslycke
    Participant

    @r-a-y: Thanks for the help with this! I haven’t found a plugin which searches through inactive members and creates an activity for them. One thing to note about the above code is that the user will show up as most recent active user in widgets such as the Members widget and in the Members directory so you might want to change the date to a few days/weeks back to prevent that.

    #143885
    Paul Wong-Gibbs
    Keymaster

    Please please stop posting this on multiple topics. If you haven’t had a reply yet, it means no-one’s sure what the fix is.

    How did you install BuddyPress? What versions of WordPress and BuddyPress are you using? Do you have a bp-custom.php file (if so, what’s in it)?

    #143883
    modemlooper
    Moderator

    Turn resend.php into a page template and place it in your theme folder. create a page and attach the page template to it

    #143881
    ript247
    Participant

    @shawn38 you disappeared, so I changed your role about an hour ago. If you are are still willing to help, I can change it back please

    #143876
    richcoy
    Participant

    Thanks @modemlooper I’ll check that out.

    #143872
    shanebp
    Moderator

    There is no existing plugin, afaik.

    You’ll need to write some custom code or hire somebody to do that:
    https://buddypress.org/community/groups/bp-jobs-board/forum/

    shanebp
    Moderator

    Please submit a ticket to https://buddypress.trac.wordpress.org/

    jaybird2214
    Participant

    I am having the same issue. I switched back to the default theme and the issue is still there so it must be something within the core files. I am looking into the issue now.

Viewing 25 results - 26,176 through 26,200 (of 68,915 total)
Skip to toolbar