Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,351 through 5,375 (of 6,778 total)
  • Author
    Search Results
  • #85759
    dainismichel
    Participant

    that’s just fine…i’m trying to figure out the logic of groups really…someone made a plugin to have group discussions appear on the forum. I may just forget about “groups” altogether and remove them from the navigation…or I’ll just leave ’em and see what happens.

    again…yes…that’s a PERFECT template…and it looks like you have the BuddyBar working…kudos and I can’t wait to install…what do I do?

    #85758
    gerikg
    Member

    I have it done partly. The hold up is I wanted it to look closer to BuddyPress Group forum (http://testbp.org/forums/). I can just have bbpress look the way it does by default , that’s easy enough, would that be good enough for you?

    http://img32.imageshack.us/img32/1755/wpbbbbp2.jpg

    #34062
    driz
    Member

    I have integrated WordPress 3.0 and bbPress 1.1 user tables and done all the steps and everything works well apart from the cookies :/

    Here is the code I have for both my config files. Can’t see any reason why they shouldn’t be working…

    BBPRESS CONFIG

    <?php

    /**

    * The base configurations of bbPress.

    *

    * This file has the following configurations: MySQL settings, Table Prefix,

    * Secret Keys and bbPress Language. You can get the MySQL settings from your

    * web host.

    *

    * This file is used by the installer during installation.

    *

    * @package bbPress

    */

    // ** MySQL settings – You can get this info from your web host ** //

    /** The name of the database for bbPress */

    define( ‘BBDB_NAME’, ‘xxx’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘xxx’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘xxx’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘localhost’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    /**#@+

    * Authentication Unique Keys.

    *

    * Change these to different unique phrases!

    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define( ‘BB_AUTH_KEY’, ‘di*3e[%bIf}JWXFwxI=Qq|{c7J1%RA;aR5yQ,2-vsxhT}p<Me:wNq$*+1=@Ycj’ );

    define( ‘BB_SECURE_AUTH_KEY’, ‘b^/nwHK+FR&8;gP&Z+q!,,.5|f;[rLv2NIV}eu-PxtqX|S)6#|rIB+9|>S:A-Oid’ );

    define( ‘BB_LOGGED_IN_KEY’, ‘_>w2my8aud-$ Jv=%-wo [Fh+ /AQs^2:[^jY?}_oUNZ3dB>p<xol!]Z rq1;uIs’ );

    define( ‘BB_NONCE_KEY’, ‘MImWoLh!X(>E6IkvRY$}76Xx(IV$4ijql<R/Zd0QR-L%-h2!a-DHR{V hu@1V*O]’ );

    define(‘AUTH_KEY’, ‘di*3e[%bIf}JWXFwxI=Qq|{c7J1%RA;aR5yQ,2-vsxhT}p<Me:wNq$*+1=@Ycj’);

    define(‘SECURE_AUTH_KEY’, ‘b^/nwHK+FR&8;gP&Z+q!,,.5|f;[rLv2NIV}eu-PxtqX|S)6#|rIB+9|>S:A-Oid’);

    define(‘LOGGED_IN_KEY’, ‘_>w2my8aud-$ Jv=%-wo [Fh+ /AQs^2:[^jY?}_oUNZ3dB>p<xol!]Z rq1;uIs’);

    define(‘NONCE_KEY’, ‘MImWoLh!X(>E6IkvRY$}76Xx(IV$4ijql<R/Zd0QR-L%-h2!a-DHR{V hu@1V*O]’);

    define(‘AUTH_SALT’, ‘E[7bB=}$7&|c1t:^X=0(s9}-Cz^&9C%9z@O(x2@bJ^f[>%%T$9wuATh(?A9h#s’);

    define(‘SECURE_AUTH_SALT’, ‘,dxYkzRyNG+pc@- UkhDBbx qT[4N;+=_|/R~||W672Xh6%{T!x|,kdh!G

    -Pijs');
    define('LOGGED_IN_SALT', 'V|UcSSwm{H}joP<code><@m&2-%I Nvhw3|gM-{$</code>*uhaX4xa{5*J*FUK1wGaI{u#|8)=');
    define('NONCE_SALT', ')$rgk@ke2;]{(hJ~Od%N^8F(-R[o(rCg$!hvDYV(Gh*+?AE/Ruz8M[>HDc};G]ZU');

    /**#@-*/

    /**
    * bbPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $bb_table_prefix = 'pvbb_';

    /**
    * bbPress Localized Language, defaults to English.
    *
    * Change this to localize bbPress. A corresponding MO file for the chosen
    * language must be installed to a directory called "my-languages" in the root
    * directory of bbPress. For example, install de.mo to "my-languages" and set
    * BB_LANG to 'de' to enable German language support.
    */
    define( 'BB_LANG', '' );

    define( 'COOKIEHASH', 'abe2eb1549111222254c933716b86d46' );
    define( 'COOKIE_DOMAIN', 'www.paperviewmagazine.com' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    ?>

    WORDPRESS CONFIG

    <?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 http://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', 'xxx');

    /** MySQL database username */
    define('DB_USER', 'xxx');

    /** MySQL database password */
    define('DB_PASSWORD', 'xxx');

    /** 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);

    /**#@+
    * 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', 'di*3e[%bIf}JWXFwxI=Qq|{c7J1<code>%RA;aR5yQ,2-vsxhT}p<Me:w</code>Nq$*+1=@Ycj');
    define('SECURE_AUTH_KEY', 'b^/nwHK+FR&8;gP&Z+q!,,.5|f;[rLv2NIV}eu-PxtqX|S)6#|rIB+9|>S:A-Oid');
    define('LOGGED_IN_KEY', '_>w2my8aud-$ Jv=%-wo [Fh+ /AQs^2:[^jY?}_oUNZ3dB>p<xol!]Z rq1;uIs');
    define('NONCE_KEY', 'MImWoLh!X(>E6IkvRY$}76Xx(IV$4ijql<R/Zd0QR-L%-h2!a-DHR{V hu@1V*O]');
    define('AUTH_SALT', 'E[7bB=}$7&|c1t<code>:^X=0(s9}-Cz^&9C%9z@O(x2@</code>bJ^f[>%%T$9wuATh(?A9h#s');
    define('SECURE_AUTH_SALT', ',dxYkzRyNG+pc@- UkhDBbx qT[4N;+=_|/R~||W672Xh6%{T!x|,kdh!G

    -Pijs’);

    define(‘LOGGED_IN_SALT’, ‘V|UcSSwm{H}joP<@m&2-%I Nvhw3|gM-{$*uhaX4xa{5*J*FUK1wGaI{u#|8)=’);

    define(‘NONCE_SALT’, ‘)$rgk@ke2;]{(hJ~Od%N^8F(-R[o(rCg$!hvDYV(Gh*+?AE/Ruz8M[>HDc};G]ZU’);

    define( ‘BB_AUTH_KEY’, ‘di*3e[%bIf}JWXFwxI=Qq|{c7J1%RA;aR5yQ,2-vsxhT}p<Me:wNq$*+1=@Ycj’ );

    define( ‘BB_SECURE_AUTH_KEY’, ‘b^/nwHK+FR&8;gP&Z+q!,,.5|f;[rLv2NIV}eu-PxtqX|S)6#|rIB+9|>S:A-Oid’ );

    define( ‘BB_LOGGED_IN_KEY’, ‘_>w2my8aud-$ Jv=%-wo [Fh+ /AQs^2:[^jY?}_oUNZ3dB>p<xol!]Z rq1;uIs’ );

    define( ‘BB_NONCE_KEY’, ‘MImWoLh!X(>E6IkvRY$}76Xx(IV$4ijql<R/Zd0QR-L%-h2!a-DHR{V hu@1V*O]’ );

    define( ‘COOKIEHASH’, ‘abe2eb1549111222254c933716b86d46’ );

    define( ‘COOKIE_DOMAIN’, ‘www.paperviewmagazine.com’ );

    define( ‘SITECOOKIEPATH’, ‘/’ );

    define( ‘COOKIEPATH’, ‘/’ );

    /**#@-*/

    /**

    * 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 = ‘pvwp_’;

    /**

    * 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.mo to wp-content/languages and set WPLANG to ‘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);

    define( ‘MULTISITE’, true );

    define( ‘VHOST’, ‘no’ );

    $base = ‘/’;

    define( ‘DOMAIN_CURRENT_SITE’, ‘www.paperviewmagazine.com’ );

    define( ‘PATH_CURRENT_SITE’, ‘/’ );

    define( ‘SITE_ID_CURRENT_SITE’, 1 );

    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    /* 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’);

    ?>`

    Milan Dinić
    Participant

    E-mail subscription is one thing that most of my users miss. In trunk we have this built-in, but problem is that we can only have a link on which users could click to subscribe/unsubscribe and no checkboxes bellow post’s form or automatic subscription.

    I inspected trunk to see how this could be solved and found that there aren’t any hooks that could be used. Only way is to copy existing functions used for subscription and editing them so that they could work as we want.

    So I tried to follow this aproach and make function which would add checkboxes. I took inspiration from _ck_’s Subscribe to Topic plugin.

    First thing, I wanted checkbox to show option depending on if user is already subscribed or not. By hacking function bb_user_subscribe_link I succeed in this. Here is a code:

    function bb_user_subscribe_checkbox() {

    global $topic, $bb_current_user, $bbdb, $bb;

    if ( !bb_is_user_logged_in() )

    return false;

    $there = false;

    if ( $term_id = $bbdb->get_var( “SELECT term_id FROM $bbdb->terms WHERE slug = ‘topic-$topic->topic_id'” ) ) {

    $term_taxonomy_ids = $bbdb->get_col( “SELECT term_taxonomy_id FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    $term_taxonomy_ids = join(‘,’, $term_taxonomy_ids );

    $there = $bbdb->get_var( “SELECT object_id FROM $bbdb->term_relationships WHERE object_id = $bb_current_user->ID AND term_taxonomy_id IN ( $term_taxonomy_ids )” );

    }

    if ( $there )

    echo ‘<label><input name=”subscription_checkbox” type=”checkbox” value=”remove” ‘ . checked_on_front(false, $there) . ‘>Remove my e-mail subscription for this thread</label>’;

    else

    echo ‘<label><input name=”subscription_checkbox” type=”checkbox” value=”add” ‘ . checked_on_front(false, $there) . ‘>Notify me of followup posts via e-mail</label>’;

    }

    function checked_on_front( $checked, $current) {

    if ( $checked == $current)

    return ‘ checked=”checked”‘;

    }

    add_action(‘edit_form’,’bb_user_subscribe_checkbox’,9);

    add_action(‘post_form’,’bb_user_subscribe_checkbox’,9);

    As I said above, this works. But problem is with function that should take value of checkbox and subscribe or unsubscribe user. I used code from file bb-includes/action.subscribe.php but without succes. Here is it:

    function bb_checkbox_subscription_update($post_id=0) {

    global $bbdb, $bb_current_user, $bb_post, $topic, $wp_taxonomy_object;

    $bb_post=bb_get_post($post_id);

    if (!empty($_REQUEST)) {

    $checkbox_status = $_REQUEST;

    if ( ‘add’ == $checkbox_status ) {

    $tt_ids = $wp_taxonomy_object->set_object_terms( $bb_current_user->ID, ‘topic-‘ . $topic->topic_id, ‘bb_subscribe’, array( ‘append’ => true, ‘user_id’ => $bb_current_user->ID ) );

    } elseif ( ‘remove’ == $checkbox_status ) {

    // I hate this with the passion of a thousand suns

    $term_id = $bbdb->get_var( “SELECT term_id FROM $bbdb->terms WHERE slug = ‘topic-$topic->topic_id'” );

    $term_taxonomy_id = $bbdb->get_var( “SELECT term_taxonomy_id FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    $bbdb->query( “DELETE FROM $bbdb->term_relationships WHERE object_id = $bb_current_user->ID AND term_taxonomy_id = $term_taxonomy_id” );

    $bbdb->query( “DELETE FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    }

    }

    }

    add_action( ‘bb_insert_post’, ‘bb_checkbox_subscription_update’);

    It does nothing. State of subscription of user is not changed but I also do not get any errors.

    Is there any way to change this code so that it becomes useful?

    Apart from above, after inspecting this code, I think that this could be solved much better, by making more functions and hooks which could be used by developers.

    First, here is how subscription works. (links are to current revison, 2421).

    In topic.php file of template, we call function bb_user_subscribe_link. This function is placed in bb-includes/funtions.templates.php and what it does is to show link with subscribe/unsubscribe action. Checking for state of subscription is done inside this function. Those links make GET request so in bb-load.php there is check for them which includes file bb-includes/action.subscribe.php. In this file there is function which adds values for subscription in database, based on request from link above, and finally redirects user to topic’s page.

    Sending of notification is done via function bb_notify_subscribers in file bb-includes/functions.bb-posts.php. This function is called by action bb_new_post in bb-includes/default.bb-filters.php.

    As you can see, we can’t use functions for this nor could we add hooks. My idea is following:

    • splitting function bb_user_subscribe_link into one that does checking status of subscription for cuurent user, so that we can use it like in my example with checkboxes, and one which would only return link
    • in bb-includes/action.subscribe.php (or in other functions file) make function that would do subscribing/unsubscribing in database so that it could be called on other places like in my example above; rest of file would be used as it now, with difference that we call function from last sentence
    • in function bb_notify_subscribers add hook before sending e-mail so that we can, for example, have plugin which sends only one meesage to user, untill he visit topic again (as in other forum software, requested here)
    • add bb_user_subscribe_link inside if function which checks if e-mail subscription is turned on globaly by administrator (there are forum owners who don’t want this feature for any of reasons; would be turned on by default)

    What are others thinking about this, especialy those involved with development (commiters, patch-makers)? Could those solutions be made and included? I think that there isn’t much work for it because it is only hacking of existing code.

    #85757
    dainismichel
    Participant

    Just in case gerikg or Arturo can’t get around to it…what would be a way to hack/copy Arturo’s theme from the outside? I can see the CSS files…hmm…I sure hope you guys release the BuddyPress lookalike bbPress theme…what a great job!

    #85756
    dainismichel
    Participant

    Me too! :-) Yes http://forum.buddypress-it.it/ looks great…great job. How can we install that theme?

    #85755
    gerikg
    Member

    @wemaflo if arturo doesn’t get back to you, email me I’ll work on it.

    #85754
    wemaflo
    Member

    @Arturo:

    Your Theme at http://forum.buddypress-it.it/ looks great! Are you finished with the development?

    (I don’t want to push, but maybe you’ve forgotten it… :) )

    #87178
    brucini
    Member

    oops forgot to update the package-config.php

    fixed

    #34055
    brucini
    Member

    hi

    i have ck’s bb-smiley plugin installed. i just want to add two more smileys to the exisitng default folder of gifs

    i’ve uploaded the gifs and renamed them like the others

    however, they don’t appear in my forum

    what am i missing? in time i’d like to cherry pick other smilies to add in

    i also tried changing the folder another set {graemlins) and altered the php for the folder name and none worked

    what am i missing?

    tks in advance

    #86654

    In reply to: User Role Map

    psycheangels
    Member

    there is no documentation of default roles, but if you want to add or edit roles you can use this plugin

    https://bbpress.org/plugins/topic/role-manager

    gerikg
    Member

    Add

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    to your .htacess file. By default GoDaddy uses php4

    bah I should add pictures to my tutorial!

    #86822
    robalan
    Member

    Here are my config files, for reference:

    wp-config:

    <?php

    // ** MySQL settings ** //

    define(‘COOKIEPATH’, ‘/’);

    define(‘DB_NAME’, ‘###’); // The name of the database

    define(‘DB_USER’, ‘###’); // Your MySQL username

    define(‘DB_PASSWORD’, ‘###’); // …and password

    define(‘DB_HOST’, ‘internal-db.###.gridserver.com’); // 99% chance you won’t need to change this value

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    define(‘WP_CACHE’, true);

    define(‘SECRET_KEY’, ‘###’);

    define(‘AUTH_KEY’, ‘###’);

    define(‘SECURE_AUTH_KEY’, ‘###’);

    define(‘LOGGED_IN_KEY’, ‘###’);

    define(‘NONCE_KEY’, ‘###’);

    define(‘AUTH_SALT’, ‘###’);

    define(‘SECURE_AUTH_SALT’, ‘###’);

    define(‘LOGGED_IN_SALT’, ‘###’);

    define(‘NONCE_SALT’, ‘###’);

    // You can have multiple installations in one database if you give each a unique prefix

    $table_prefix = ”; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the

    // chosen language must be installed to wp-content/languages.

    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’

    // to enable German language support.

    define (‘WPLANG’, ”);

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

    define(‘ABSPATH’, dirname(__FILE__).’/’);

    require_once(ABSPATH.’wp-settings.php’);

    ?>

    bb-config:

    <?php

    /**

    * The base configurations of bbPress.

    *

    * This file has the following configurations: MySQL settings, Table Prefix,

    * Secret Keys and bbPress Language. You can get the MySQL settings from your

    * web host.

    *

    * This file is used by the installer during installation.

    *

    * @package bbPress

    */

    // ** MySQL settings – You can get this info from your web host ** //

    /** The name of the database for bbPress */

    define( ‘BBDB_NAME’, ‘###’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘###’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘###’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘internal-db.###.gridserver.com’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    define(‘COOKIEPATH’, ‘/’);

    /**#@+

    * Authentication Unique Keys.

    *

    * Change these to different unique phrases!

    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define(‘AUTH_KEY’, ‘###’);

    define(‘SECURE_AUTH_KEY’, ‘###’);

    define(‘LOGGED_IN_KEY’, ‘###’);

    define(‘NONCE_KEY’, ‘###’);

    define(‘AUTH_SALT’, ‘###’);

    define(‘SECURE_AUTH_SALT’, ‘###’);

    define(‘LOGGED_IN_SALT’, ‘###’);

    define(‘NONCE_SALT’, ‘###’);/**#@-*/

    /**

    * bbPress Database Table prefix.

    *

    * You can have multiple installations in one database if you give each a unique

    * prefix. Only numbers, letters, and underscores please!

    */

    $bb_table_prefix = ‘bb_’;

    /**

    * bbPress Localized Language, defaults to English.

    *

    * Change this to localize bbPress. A corresponding MO file for the chosen

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define( ‘BB_LANG’, ” );

    ?>

    #86821
    robalan
    Member

    Also found this in bb-settings.php:

    /**

    * Should be exactly the same as the default value of the KEYS in bb-config-sample.php

    * @since 1.0

    */

    $bb_default_secret_key = 'put your unique phrase here';

    Do I need to also define the keys here manually??

    #86819
    robalan
    Member

    Thanks guys—I’m going to have a more competent db admin switch over the WordPress database so that the tables have the wp_ prefix. Everything else seems to be default, so hopefully that fixes it (though if that’s what fixes it, I’m going to be pissed). ;o)

    I’ll keep you posted.

    #86809
    robalan
    Member

    Yes. Installed, copied the “define” code into wp-config… I’ve tried everything you’d find on other forum entries on the topic. I wouldn’t have started my own thread unless I had tried the default “have you…” options and still couldn’t get it to work…

    Any other ideas?

    #86835

    In reply to: Language Problem

    jurasiks
    Participant

    Скорее всего проблема в кодировке БД и хостинга,

    нужно, чтобы бд была utf8_general_ci

    проверь кодировку браузера, базы данных

    и ещё поставь в htaccess:

    AddDefaultCharset utf-8

    AddCharset utf-8 *

    <IfModule mod_charset.c>

    CharsetSourceEnc utf-8

    CharsetDefault utf-8

    </IfModule>

    после этого переустанови форум

    #70045
    Markus Pezold
    Participant

    In the german bbpress board (http://support.bbpress.de/topic/installation-der-sprachdatei) i found for the language problem the following code:

    // Load the default text localization domain.

    if ( !(defined('DB_NAME')) ) { // Include localization the bbPress-way when WP is not running.

    load_default_textdomain();

    }

    else {

    $locale = get_locale();

    $mofile = BB_LANG_DIR . "$locale.mo";

    load_textdomain(‘default’, $mofile);

    };

    But this seems not to work with the new version. :(

    Markus

    #33967

    Topic: BuddyBar in bbPress

    in forum Plugins
    Markus Pezold
    Participant

    Hi gerikg,

    i saw your post about your problems with the integration of the BuddyBar in bbPress – (http://bbpress.org/forums/topic/buddypress-default-theme-for-bbpress). I found it after a short research in Google – because I’ve the same problems yesterday.

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid call

    But … I think I have an “hack” for you – I changed a few lines of code in my installation and now it seems to work. :)

    These was “myWay”:

    1. Deep Integration between WordPress and bbPress

    2. Plugins on bbPress: buddybar-in-bbpress

    3. Edit bp_buddybar.php – I only comment out the following lines

    /* add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );

    add_action( 'bb_head', 'bp_core_add_js', 1 );

    add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );

    add_action( 'bb_admin_head', 'bp_core_add_js', 1); */

    4. Edit bp-core-adminbar.php

    Here I’ve a error code because auf “$wpdb” – so I commet out:

    /* $blog_prefix = $wpdb->get_blog_prefix( $current_blog->id );*/

    5. header.php in my theme

    I put the Stylesheet-Link to my header.php file.

    <link rel=”stylesheet” href=”http://www.mysteria3000.de/wp/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css&#8221; type=”text/css” />

    No the best solution – but it works for me. :)

    Greetings

    Markus

    Positics
    Member

    I have a similar challenge to the earlier topic “Linking back to main website”. It is for a site I have configured for someone, who has asked for the same ability for their logo to have a link associated to it, that will take the user back to the home page of site that pointed them to the blog / forum.

    I have installed bbpress 1.02

    You suggested the following;

    in header.php where the body tag starts.

    ===========================

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    How do I locate this logo in the top right hand corner of the header where the default bb_emblem was located?

    “<a’x’ href=”http://www.reflexology-uk.net/site”><img src=”images/iior.jpg” alt=”ITEC” /><‘x’/a>”

    ===Note===== ‘x’ === added in string above to break code so it will print =====

    At presentI have a logo situated in the CSS file as a background, which you suggest is not the right way to go about achieving this.

    Any pointers will be useful. Thanks.

    #86633

    In reply to: Thesis integration?

    A “Thesis page” is just like any other html/php/css WP page except that it uses Thesis Hooks, which is the framework Chris Pearson created to sit on top of WP and is far more efficient than the underlying WP code. It looks like this…

    <?php

    // Using hooks is absolutely the smartest, most bulletproof way to implement things like plugins,
    // custom design elements, and ads. You can add your hook calls below, and they should take the
    // following form:
    // add_action('thesis_hook_name', 'function_name');
    // The function you name above will run at the location of the specified hook. The example
    // hook below demonstrates how you can insert Thesis' default recent posts widget above
    // the content in Sidebar 1:
    // add_action('thesis_hook_before_sidebar_1', 'thesis_widget_recent_posts');

    /**
    * function custom_bookmark_links() - outputs an HTML list of bookmarking links
    * NOTE: This only works when called from inside the WordPress loop!
    * SECOND NOTE: This is really just a sample function to show you how to use custom functions!
    *
    * @since 1.0
    * @global object $post
    */

    function custom_bookmark_links() {
    global $post;
    ?>
    <ul class="bookmark_links">

    <li><a rel="nofollow">&title=<?php urlencode(the_title()); ?>" onclick="window.open('http://delicious.com/save?v=5&noui&jump=close&url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>', 'delicious', 'toolbar=no,width=550,height=550'); return false;" title="Bookmark this post on del.icio.us">Bookmark this article on Delicious</a></li>
    <?php
    }

    Thesis is on one level, just an additional library of high level functions, and at another, its an incredibly easy way to design and manipulate your theme/template. The structure of the framework and the finished theme it provides also happen to be presented in a very SEO conscious way, which is obviously a big selling point.

    What I would really like to see is a BBPress Template written for Thesis. Hmmm. I wonder. How hard can that be?

    #76041
    chrishajer
    Participant

    If this is the home page of the website:

    http://oakleafmeadowshoa.net/

    Then that is what your link will be. Just like this:

    <a href="http://oakleafmeadowshoa.net/" title="website home">Website Home</a>

    Is it any more complicated than that? You don’t necessarily need a page name in there, the web server will serve up the default index page for that site. If that’s the page you want, then you’re done.

    #76039
    juboe
    Member

    What I am ultimately trying to do is allow the users to get back to the home page of the website from this home page of the forum. You’re right! I didn’t think that it should be in the phpBB folder. This is my first website and I guess it shows. When I tried once before to just add link path back to http://oakleafmeadowshoa.net/default.html it gave an error page stating that this url page was not found.

    I don’t want the default.html in the forum folder but just need a proper path back to the home page of my website.

    #76038
    chrishajer
    Participant

    The home page link should not be to http://oakleafmeadowshoa.net/phpBB/default.html

    but should link to http://oakleafmeadowshoa.net/ right? What do you mean by “Home”? Home of the website? What URL?

    If you really want to link Home to http://oakleafmeadowshoa.net/phpBB/default.html then you will need to adjust the path to your CSS and images. I can’t figure out why you want that default.html in the forum folder though. Please explain further what you’re trying to do.

    #86551
    chrishajer
    Participant

    Seems like a separate issue from the one I was having here then, and even the trac ticket. We should focus on your issue.

    What sort of server are you on (Linux, OSX, Windows)? Any plugins that might affect this? How about changing to the default them. There was a problem for a while with both delete and undelete links being visible in some themes.

Viewing 25 results - 5,351 through 5,375 (of 6,778 total)
Skip to toolbar