Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 43,551 through 43,575 (of 68,947 total)
  • Author
    Search Results
  • bgrun80
    Participant

    Cheers @boonebgorges.

    So, if I can clarify the whole process. Please tell me if I’m right or if I’m wrong,
    and I’ll post it up on my forum, and make a page in the codex if you want.

    When a visitor loads the URL of a Buddypress-supported site:
    1. the WordPress environment loads and loads the Buddypress plugin
    2. buddypress/bp-themes/bp-default is loaded (if you have activated that theme)
    3. as the visitor browses through different pages, functions are activated in those pages
    4. these functions draw their code from the core files (checking first if bp-custom.php contains same-named functions that will overwrite code in the core files)
    5. there are 9 core files
    6. these 9 core files require/include other groups of code from folders that are named the same way
    e.g. ‘bp-core.php’ requires/includes the files from the ‘bp-core’ folder
    7. The files in these folders are groups of code that share a similar category (e.g. classes) (e.g. bp-core/bp-core-classes.php)
    because modularizing them this way makes it easier to find the code you need.
    8. extra code that is hard to categorize clearly is simply put into the main file (e.g. bp-core.php)

    Questions:
    a. Is the above list right?
    b. Do the core files need to be loaded every time a user visits a page and activates a related function?
    e.g. if a user activates a function related to friends, does bp-friends.php need to be loaded?

    #101578
    luvs
    Member

    put in bp-custom.php, and functions.php, i get Parse error: syntax error, unexpected T_VAR in /home/content/47/6114047/html/wp-content/themes/*****/functions.php on line 116

    #101577
    luvs
    Member

    put this where?

    #101574
    @mercime
    Participant

    Check out this walkthrough to get a bird’s eye view of what kind of work is entailed and some tips to ensure compatibility with BP Template Pack.
    https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    Btw, BP Template Pack still needs to be upgraded to BP 1.2.7 version.

    modemlooper
    Moderator

    You have to edit the part about the server. On mamp it will be localhost and your user name and password is usually root. This is so WP can connect to your local database.

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

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

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

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

    As for creating a database you go to phpmyadmin enter a name of the db in the create database input and hit create.

    Then in the wp-config file you enter the name you entered here define(‘DB_NAME’, ‘ PUT YOUR DB NAME HERE’);

    Boone Gorges
    Keymaster

    I would like to see a full fidelity import-export tool, but it’s a lot of work. Look for it in 2011.

    #101571
    Boone Gorges
    Keymaster

    `var jq = jQuery;
    jq(document).ready( function() {
    /* @mention username help button display */
    if ( jq( ‘span.highlight span’ ).length )
    jq( ‘span.highlight span’ ).toggle();
    });`

    #101570
    victor_moura
    Participant

    Really? Is this still the case with the new versions of buddypress?

    I thought that allowing avatar uploads in open registration installs was the default.

    If that is still risky, which solutions would you recomment, @mercime ?

    victor_moura
    Participant

    Hey @boonebgorges – I’d love to suggest a standalone import/export – doing all these database imports and exports is definitely not an easy task for the below-average user like me, who became pampered with WordPress turn-key solutions :)

    If you can share some light on the 3 questions I made on my reply to @aljuk that would be fantastic! Sorry to bother with these simple questions…

    victor_moura
    Participant

    Hey @aljuk – this was superb!

    I am a newbie, but a newbie with endurance :-)

    I confess I was puzzled by your answer, but then asked the support staff of my hosting company to help me with steps one and two you listed.

    But now I am stuck. On step 3, I understand I should use Notepad (Text Editor on MAC OS) to edit the wp-config.php file that I have downloaded doing step 1 (I’m copying the entire public_html folder using FTP).

    Questions:

    a) what are the specific modifications I should do on the wp-config.php file in my hard disk after the copying of the remote files?
    b) how do I create a new local database? With MAMP? Which configurations should be set for this new database (never did that before)
    c) how do I import the gzip backup of the remote database I made with phpMyAdmin?

    #101567
    luvs
    Member

    bump since the flood last night

    #101564
    gregfielding
    Participant

    Thanks @r-a-y

    This is a better solution. Any thoughts on how to solve the same problem with @mentions?

    #101562
    luvs
    Member

    Thank you! It worked to perfection.

    Thanks a ton @gunju2221 :-)

    #101561

    Don’t seem to work for me, but I may have added code in the wrong stylesheet. Also is there a way to add another url link to buddypress profile? For example i have a custom login page with information about the site that i would like users to refer back to. Somehow i cant get the widgets to display on buddypress pages

    #101559
    Virtuali
    Participant

    @luvs123, Here is a fix that might work. In bp-activity-classes.php, change
    `if ( !empty( $filter_array ) ) {
    $user_filter = explode( ‘,’, $filter_array );
    $user_sql = ‘ ( a.user_id IN ( ‘ . $filter_array . ‘ ) )’;
    $filter_sql[] = $user_sql;
    }` With…
    `if ( !empty( $filter_array ) ) {
    $user_filter = explode( ‘,’, $filter_array );
    $user_sql = ” ( a.user_id IN ( ” . $filter_array . ” ) “;
    foreach ( $user_filter as $user_id ) {
    $search_terms = ‘@’ . bp_core_get_username( $user_id ) . ‘<';
    $user_sql .= “OR ( a.content LIKE ‘%%”.like_escape($search_terms).”%%’ ) “;
    }
    $user_sql .= ” ) “;
    $filter_sql[] = $user_sql;
    }`

    luvs
    Member

    @nahummadrid, does not work, post from simply does not appear. You are missing pieces.

    #101553
    Mark
    Participant

    @boonebgorges @LPH2005 Great work on this guys,

    I’m bringing up errors on file uploads after activating the extension as detailed on the mediawiki extension page:

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/collabbo/public_html/figshare.com/figures/extensions/buddypress-activity/buddypress-activity.php on line 61

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/collabbo/public_html/figshare.com/figures/extensions/buddypress-activity/buddypress-activity.php on line 68

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/collabbo/public_html/figshare.com/figures/extensions/buddypress-activity/buddypress-activity.php on line 75
    Table ‘collabbo_figures.wp_bp_activity’ doesn’t exist

    Lines 61, 68 and 75 are as follows:

    ‘$resultarray = mysql_fetch_array($result);’
    ‘$bpresultarray = mysql_fetch_array($bpquery);’
    ‘$checkRecentArray = mysql_fetch_array($checkrecent);’

    WP 3.0.1 bp1.2.6

    Any ideas and help would be much appreciated. Thanks

    #101552
    Boone Gorges
    Keymaster

    Please go ahead and open a bug ticket on trac.buddypress.org with a detailed description of what you know, steps to reproduce, and a link back to this thread. You can use the same user name and password as on this site. Then I or another dev can have a look at whether there is a bug in the way that that cookie works.

    Thanks!

    #101549
    @mercime
    Participant

    You’re welcome.

    P.S. Just in case you were thinking of changing the text about the blog creation in core file, you should instead change it either this way – http://blog.ftwr.co.uk/archives/2010/01/02/mangling-strings-for-fun-and-profit/ – or this way – https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/

    #101547
    luvs
    Member

    Hey look at this, Same problem that I have.

    #101546
    Ehegwer
    Participant

    Yep, I just did the update, and so far so good. But if you are concerned, you should do a backup just in case.

    Boone Gorges
    Keymaster

    The procedure suggested by @aljuk is probably as good as you’re going to get right now. For now, the WP import/export process does not recognize the majority of BP content, and there is no standalone BP import/export tool yet.

    #101542
    Boone Gorges
    Keymaster

    WP upgrades, especially security and maintenance releases (ie when the version number is 3.x.x rather than 3.x), are generally very unlikely to break any plugins, including BP. I’d recommend that you upgrade to maintenance releases immediately.

    Feature releases, like WP 3.0 and 3.1, are somewhat more likely to cause problems with plugins like BP. But the BP core team works closely with the WP core team to ensure that BuddyPress is ready for whatever changes come along ahead of time. If there is something in BuddyPress that absolutely cannot be fixed prior to a major WP release, we’ll do our best to warn you about it before you upgrade.

    aljuk
    Member

    I work with local mirrors on MAMP Pro. This is what I do :

    1. Copy the remote files (the whole install) to my local machine (I do this so the file creation dates are the same).
    2. Backup the remote database with phpMyAdmin (be sure to select Add DROP TABLE) as a gzip file.
    3. Edit the local copy of wp-config.php for my local machine’s database connection.
    4. Create a new local database and import the remote backup (I personally always destroy the local db and create a new empty one to import into – then I know it’s clean).
    5. Use this tool to change all absolute URLs from remote to local: http://spectacu.la/search-and-replace-for-wordpress-databases/

    Then I’ll test new plugins locally before deploying. Also I update plugins locally, and then manually copy them to the server, having had a few past failures updating plugins on production servers. Once it’s running, the only files I normally have to backup from remote to local are all in wp-content (avatars etc., which can easily be sync’d).

    Hope that helps.

    #101540
    modemlooper
    Moderator

    .profile{
    text-transform: uppercase;
    }

    Add that to your CSS file

Viewing 25 results - 43,551 through 43,575 (of 68,947 total)
Skip to toolbar