Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 39,226 through 39,250 (of 94,565 total)
  • Author
    Search Results
  • #143955
    EthanVan
    Spectator

    By modifying the code to deduct points for wrong answers! It’s that simple.

    I would start by going to w3schools.com and reading everything they have on PHP. Then read the codex for BuddyPress. Then, read the code for the plugin you are using and use analytical thought processes to contrive your own solution.

    Basically you want to write the reverse of the code you already have.

    I’m sure you will figure it out. I have faith in you igid26!

    9087877
    Inactive

    @ethanvan I understand your feelings but you should understand that the software and the team of people that support it does not discriminate against those who do not have coding experience. Its in bad taste to make such a statement because at one time you was a beginner. How would you feel if no one helped or mentored you? Think about it!

    #143953
    9087877
    Inactive

    @ethanvan FYI I have already submitted a track ticket #4508 to see if the core team will add the plugin as a core component that can be turned on or off just like the rest of the buddypress components.

    #143951
    9087877
    Inactive

    I already have a plugin my friend and it is free.
    https://wordpress.org/extend/plugins/buddypress-friendpress/
    I can customize it to your liking for some beer money lol!

    #143945
    EthanVan
    Spectator

    I second that emotion @mattriggins. That’s how Facebook operates, one stream with you and your friends, one stream with just you (profile view). I still don’t get why they didn’t build BuddyPress that way in the first place.

    I’m working on a plugin that does exactly what Facebook does but unfortunately it’s proprietary to the project I’m working on and our dev team doesn’t want to share. ):

    Hint hint BP plugin dev community… Deliver one of these as described and you’ll probably make bucks selling it.

    #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.

    #32585
    ryan_dolan
    Participant

    Hi everyone, looking for some advice and guidance
    I am new to buddypress and before I design the ui for a site I have in mind that will use buddypress i wanted to just install it and see what its like. Good thing i did because I cant get it to work.
    I am running Mamp Pro and the latest version of both WP and BP. I have tried manual installs as well as through the plugins installer. The only time I got it to work was with the default BP theme, but then I couldnt edit anything via wp-admin. Does this make sense? When I would try to go to my dashboard i would get server errors. I saw some posts about changing the memory size in wp config etc but nothing is working. Any help or advice would be great. Thank you!

    #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/

    ouyagamingsource
    Participant

    I got nearly everything set up with the BuddyPress and bbPress forum plugins, however there’s a few tweaks I need to finish it off and I’m trying to figure out which files I need to adjust the html settings to match my custom theme.

    I’m using the bbPress plugin for my forum and I want to change the font style & color, BG colors, and fix the tables so the data is lined up correctly on the forum page:
    http://ouyagamingsource.com/forums/

    As for BuddyPress I want to change the background tables that defaulted to white or yellow to a darker color so the white font can be seen on all related pages:
    http://ouyagamingsource.com/members/bryan/
    http://ouyagamingsource.com/groups/
    http://ouyagamingsource.com/members/
    etc

    Also, is there a short code for Recent Activity stream from the forum (including replies) that I could drop into the lower table on my homepage? – http://ouyagamingsource.com/, WP Symposium had a shortcode where you could put a dash and number representing how many posts you could see in the table giving visitors a quick look at what’s being discussed in the forum while on the homepage, it was something like “[symposium-stream-30]” or around those lines.

    Thanks ahead of time!

    –Bryan

    mattriggins
    Participant

    First, thank you to ALL the BuddyPress team! You ROCK!

    Second, as title says, trying to figure out if the “View” link on the Members page can be removed. Looked around in the members index.php and the members loop but could not locate it there. The link typically goes to domain/activity/p/X/

    Thank you again!!!!

    #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!

    #32581
    ahmedselim
    Participant

    I am trying to get buddypress up and running with my current theme I am step 3 of the template pack process.. and I am unsure of what to do. I am not sure if i can get away with the creation of the three “-buddypress.php” files or if I need to modify the 16 files and which code I need to copy.

    Any help is GREATLY appreciated.

    #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) ;`

    Stefan
    Participant

    I’m trying to fix the layout of my registration page in my theme. I’ve installed the compatibility plugin and I’ve moved the template files to my theme folder but editing the register.php file in ‘theme-folder/registration/’ does not make a difference. Making changes to the register.php in ‘plugins/buddypress/bp-themes/bp-default/registration’ does not work wither. Where else is this page stored? What am I doing wrong?

    #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.

    #32576
    ffadler
    Participant

    Ok. So I uninstalled BuddyPress on my production community WP site. I want to reinstall it. I can not get the installation wizard to come back up. Can I mannually navigate to the installation wizard and if so, what is the address?

    Also, what is the best way to reinstall BuddyPress?

    Thanks.

    #32575
    Ansidious
    Participant

    Hi, I have posted here once before (thanks to all that helped me so quickly), my situation is that I have inherited a site from a web designer that passed away. He has customized the code quite a bit in the backend and as a result the versions of wordpress (3.4.1) and BuddyPress(1.2.8) cannot be updated or the site crashes (There are comments in the php warning against updates). The site is a social photography site that allows users to “like” images via BP Album+(0.1.9) and BP like(0.0.8). My question is: Is there a way to see the “most liked” images in the admin backend or is there a better suited plugin than BP like to accomplish this goal? I have seperated the images to display in 3 groups via their tags, I would like to see the most liked images from each of these groups. Thanks in Advance!

    modemlooper
    Moderator

    fixed in 2.0.3

    mattryken
    Participant

    The BuddyPress Default Theme uses a bp-activity-oldestpage cookie to keep track of which page is showing when the “more” button is pressed at the bottom of the activity feeds. When setting the bp-activity-oldestpage cookie the BuddyPress Default Theme uses the jquery cookie plugin and sets the path parameter to ‘/’.

    Here is an example from the BuddyPress Default Theme:
    jq.cookie(‘bp-activity-oldestpage’, 1, { path: ’/’ } );

    The “BP Profile Menu” plugin is also initializing the bp-activity-oldestpage cookie (along with some other buddypress cookies) in the bp-menus.js file but is not using the path parameter.

    The result is that two bp-activity-oldestpage cookies end up getting created causing unexpected results with the “more” button in the BuddyPress Default Theme. What happens is that when the “more” button is press the first time everything works as expected and the next set of results are returned, but if you then scroll down to the bottom of the activity feed again and press the “more” button the same set of results are returned as were returned the first time.

    I was able to fix the issue by patching the bp-menus.js file in the “BP Profile Menu” plugin, updating all calls that are setting cookies to have a path parameter of ‘/’.

    For example I updated:
    jQuery.cookie(‘bp-activity-oldestpage’, ‘1’);
    To Be:
    jQuery.cookie(‘bp-activity-oldestpage’, ‘1’, { path: ‘/’ });

    @modemlooper – I’m hoping you will consider making this update in an upcoming version. Thanks for the great plugin!

Viewing 25 results - 39,226 through 39,250 (of 94,565 total)
Skip to toolbar