Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 5,401 through 5,425 (of 6,788 total)
  • Author
    Search Results
  • #85751
    Arturo
    Participant

    after the easter vacation i release the theme! now is working great and all the function are ok ;)

    ~12-15 april.

    sorry for the delay, a new post coming with the link to download the theme.

    #85749
    gerikg
    Member

    and I don’t know what it means… I don’t code.

    #85748
    gerikg
    Member

    I’m working on it but I can’t get the admin bar to show in bbpress.

    I keep getting:

    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 callback, 'bp_core_add_js' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339

    #76029
    chrishajer
    Participant

    It is in the template folder. If you’re using the default theme, it’s located at bb-templates/kakumei/header.php. If you’re using a custom template, it should be located at my-templates/yourtemplatename/header.php

    It’s a template file, not a core bbPress file.

    #85747
    wemaflo
    Member

    @Arturo and etiviti:

    Are there any news concerning the forum theme? I see it’s working fine on BuddyPress Italy…

    #33726
    zaerl
    Participant

    Hi there, I wonder if there is a way to prevent users from choosing display names that are login names of existing users. I mean, for example, that I would like to forbid users to choose “admin” as display name in order to avoid confusion and/or potential annoying situations.

    I can’t find the desired option on the admin screen as well as I can’t find a useful filter on defaults.bb-filters.php.

    Thanks in advance.

    #33824
    #77528

    In reply to: All RSS Feeds Broken?

    Dailytalker
    Member

    I solved the problem!

    I removed all “»” in the rss.php

    Replace the code of your rss.php with the following code and it should work:

    <?php<br />
    require('./bb-load.php');</p>
    <p>// Determine the type of feed and the id of the object<br />
    if ( isset($_GET['view']) || bb_get_path() == 'view' ) {</p>
    <p> // View<br />
    $feed = 'view';<br />
    $feed_id = isset($_GET['view']) ? $_GET['view'] : bb_get_path(2);</p>
    <p>} elseif ( isset($_GET['topic']) || bb_get_path() == 'topic' ) {</p>
    <p> // Topic<br />
    $feed = 'topic';<br />
    $topic = get_topic(isset($_GET['topic']) ? $_GET['topic'] : bb_get_path(2));<br />
    $feed_id = $topic->topic_id;</p>
    <p>} elseif ( isset($_GET['profile']) || bb_get_path() == 'profile' ) {</p>
    <p> // Profile<br />
    $feed = 'profile';<br />
    $feed_id = isset($_GET['profile']) ? $_GET['profile'] : bb_get_path(2);</p>
    <p>} elseif ( isset($_GET['tag']) || bb_get_path() == 'tags' ) {</p>
    <p> if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {<br />
    // Tag recent topics<br />
    $feed = 'tag-topics';<br />
    } else {<br />
    // Tag recent posts<br />
    $feed = 'tag-posts';<br />
    }<br />
    $feed_id = isset($_GET['tag']) ? $_GET['tag'] : bb_get_path(2);</p>
    <p>} elseif ( isset($_GET['forum']) || bb_get_path() == 'forum' ) {</p>
    <p> if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {<br />
    // Forum recent topics<br />
    $feed = 'forum-topics';<br />
    } else {<br />
    // Forum recent posts<br />
    $feed = 'forum-posts';<br />
    }<br />
    $forum = bb_get_forum(isset($_GET['forum']) ? $_GET['forum'] : bb_get_path(2));<br />
    $feed_id = $forum->forum_id;</p>
    <p>} elseif ( isset($_GET['topics']) || bb_get_path() == 'topics' ) {</p>
    <p> // Recent topics<br />
    $feed = 'all-topics';</p>
    <p>} else {</p>
    <p> // Recent posts<br />
    $feed = 'all-posts';</p>
    <p>}</p>
    <p>// Initialise the override variable<br />
    $bb_db_override = false;<br />
    do_action( 'bb_rss.php_pre_db' );</p>
    <p>if ( !$bb_db_override ) {</p>
    <p> // Get the posts and the title for the given feed<br />
    switch ($feed) {<br />
    case 'view':<br />
    if ( !isset($bb_views[$feed_id]) )<br />
    die();<br />
    if ( !$bb_views[$feed_id]['feed'] )<br />
    die();<br />
    if ( !$topics_object = new BB_Query( 'topic', $bb_views[$feed_id]['query'], "bb_view_$feed_id" ) )<br />
    die();</p>
    <p> $topics = $topics_object->results;<br />
    if ( !$topics || !is_array($topics) )<br />
    die();</p>
    <p> $posts = array();<br />
    foreach ($topics as $topic) {<br />
    $posts[] = bb_get_first_post($topic->topic_id);<br />
    }</p>
    <p> $title = esc_html( sprintf( __( '%1$s View: %2$s' ), bb_get_option( 'name' ), $bb_views[$feed_id]['title'] ) );<br />
    $link = get_view_link($feed_id);<br />
    $link_self = bb_get_view_rss_link($feed_id);<br />
    break;</p>
    <p> case 'topic':<br />
    if ( !$topic = get_topic ( $feed_id ) )<br />
    die();<br />
    if ( !$posts = get_thread( $feed_id, 0, 1 ) )<br />
    die();<br />
    $title = esc_html( sprintf( __( '%1$s Topic: %2$s' ), bb_get_option( 'name' ), get_topic_title() ) );<br />
    $link = get_topic_link($feed_id);<br />
    $link_self = get_topic_rss_link($feed_id);<br />
    break;</p>
    <p> case 'profile':<br />
    if ( bb_get_option( 'mod_rewrite' ) === 'slugs' ) {<br />
    $user = bb_get_user_by_nicename( $feed_id );<br />
    } else {<br />
    $user = bb_get_user( $feed_id );<br />
    }<br />
    if ( !$user ) {<br />
    die();<br />
    }<br />
    if ( !$posts = get_user_favorites( $user->ID ) ) {<br />
    die();<br />
    }<br />
    $title = esc_html( sprintf( __( '%1$s User Favorites: %2$s' ), bb_get_option( 'name' ), $user->user_login ) );<br />
    $link = bb_get_profile_link($feed_id);<br />
    $link_self = get_favorites_rss_link($feed_id);<br />
    break;</p>
    <p> case 'tag-topics':<br />
    if ( !$tag = bb_get_tag( $feed_id ) )<br />
    die();<br />
    if ( !$topics = get_tagged_topics( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )<br />
    die();</p>
    <p> $posts = array();<br />
    foreach ($topics as $topic) {<br />
    $posts[] = bb_get_first_post($topic->topic_id);<br />
    }</p>
    <p> $title = esc_html( sprintf( __( '%1$s Tag: %2$s - Recent Topics' ), bb_get_option( 'name' ), bb_get_tag_name() ) );<br />
    $link = bb_get_tag_link($feed_id);<br />
    $link_self = bb_get_tag_topics_rss_link($feed_id);<br />
    break;</p>
    <p> case 'tag-posts':<br />
    if ( !$tag = bb_get_tag( $feed_id ) )<br />
    die();<br />
    if ( !$posts = get_tagged_topic_posts( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )<br />
    die();<br />
    $title = esc_html( sprintf( __( '%1$s Tag: %2$s - Recent Posts' ), bb_get_option( 'name' ), bb_get_tag_name() ) );<br />
    $link = bb_get_tag_link($feed_id);<br />
    $link_self = bb_get_tag_posts_rss_link($feed_id);<br />
    break;</p>
    <p> case 'forum-topics':<br />
    if ( !$topics = get_latest_topics( $feed_id ) )<br />
    die();</p>
    <p> $posts = array();<br />
    foreach ($topics as $topic) {<br />
    $posts[] = bb_get_first_post($topic->topic_id);<br />
    }</p>
    <p> $title = esc_html( sprintf( __( '%1$s Forum: %2$s - Recent Topics' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) ) );<br />
    $link = get_forum_link($feed_id);<br />
    $link_self = bb_get_forum_topics_rss_link($feed_id);<br />
    break;</p>
    <p> case 'forum-posts':<br />
    if ( !$posts = bb_get_latest_forum_posts( $feed_id ) )<br />
    die();<br />
    $title = esc_html( sprintf( __( '%1$s Forum: %2$s - Recent Posts' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) ) );<br />
    $link = get_forum_link($feed_id);<br />
    $link_self = bb_get_forum_posts_rss_link($feed_id);<br />
    break;</p>
    <p> // Get just the first post from the latest topics<br />
    case 'all-topics':<br />
    if ( !$topics = get_latest_topics() )<br />
    die();</p>
    <p> $posts = array();<br />
    foreach ($topics as $topic) {<br />
    $posts[] = bb_get_first_post($topic->topic_id);<br />
    }</p>
    <p> $title = esc_html( sprintf( __( '%1$s Recent Topics' ), bb_get_option( 'name' ) ) );<br />
    $link = bb_get_uri();<br />
    $link_self = bb_get_topics_rss_link();<br />
    break;</p>
    <p> // Get latest posts by default<br />
    case 'all-posts':<br />
    default:<br />
    if ( !$posts = bb_get_latest_posts( 35 ) )<br />
    die();<br />
    $title = esc_html( sprintf( __( '%1$s Recent Posts' ), bb_get_option( 'name' ) ) );<br />
    $link = bb_get_uri();<br />
    $link_self = bb_get_posts_rss_link();<br />
    break;<br />
    }<br />
    }</p>
    <p>bb_send_304( $posts[0]->post_time );</p>
    <p>if (!$description = esc_html( bb_get_option('description') )) {<br />
    $description = $title;<br />
    }<br />
    $title = apply_filters( 'bb_title_rss', $title, $feed );<br />
    $description = apply_filters( 'bb_description_rss', $description, $feed );<br />
    $posts = apply_filters( 'bb_posts_rss', $posts, $feed );<br />
    $link_self = apply_filters( 'bb_link_self_rss', $link_self, $feed );</p>
    <p>bb_load_template( 'rss2.php', array('bb_db_override', 'title', 'description', 'link', 'link_self'), $feed );</p>
    <p>?>

    Macmenddotcom
    Participant

    So a while ago now I moved my SMF site to bbpress and very successful it has been however I have only recently properly integrated my WP blog and bbpress. This now leaves me 15 WP members and the 3 or 400 forum members are gone. How do I import these BB press members and their meta data into WP. There is some talk o fthis on the forums but it is incoherent (for me). Is there a simple way to import them. Or to make the bbpress user table the default on instead of the WP user table.

    #85866
    inerxia
    Member

    Thanks, here is the php:

    And one final question , there is a way to reinstall using the same database and directory ?

    <?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', 'organica_foro' );

    /** MySQL database username */
    define( 'BBDB_USER', 'organica_ineFORO' );

    /** MySQL database password */
    define( 'BBDB_PASSWORD', '********' );

    /** MySQL hostname */
    define( 'BBDB_HOST', '' );

    /** Database Charset to use in creating database tables. */
    define( 'BBDB_CHARSET', '' );

    /** 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
    */
    // edited keys chrishajer 19 March 2010
    define('BB_AUTH_KEY', 'gUpvcuMfP+tDsXUus|(|9|/G4Owo@=;C697V[[ZPd+|W)BVK-[U,fi/H2r+VOj');
    define('BB_SECURE_AUTH_KEY', 'sf8;HNH}7%N#_|=$d4(_(yV8Wt&R($kL+)JS@}Kno-Q2jfkOm|BUL-i**&f_Wg');
    define('BB_LOGGED_IN_KEY', 'm}Xc?tvc 3;o)JUVdxDm%F[V96V<+zyka239SbV<^2)o[/tV>Q4&kW$B4ik(NA');
    define('BB_NONCE_KEY', ';k,c^0G4nz9eZS#-cF7((.smjv.GtAz+.WZd<G544PzG.Mz*Cztr]|Gaw:-(!=');
    /**#@-*/

    /**
    * 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', 'es_ES' );
    ?>

    kmxz
    Member

    Hi,everyone,

    The default tags page is like

    example.com/tags.php?tag={tag_name}

    but I want to make the url like

    example.com/tags.php?id={tag_id},

    is there any way to make it? could it be done by a plugin?

    I have to do so because using the tag’s name in url may lead to being blocked by Chinese government’s Internet censorship.

    thanks.

    #85746
    wemaflo
    Member

    @etiviti It’s awesome :) I like it!

    #85834

    In reply to: username function

    deadlyhifi
    Participant

    Have a look at bb-includes/functions.bb-template.php you’ll see the functions function get_post_author( $post_id = 0 ) and function post_author_link( $post_id = 0 ).

    You’ll need to recreate those in a plugin or in your functions file to use $user->user_login instead of $user->display_name.

    Have a look at profile.php in your theme to see how it is generated there. But remember that on post.php you’ll have to pass in the ID of the post to get the username otherwise you’ll be fetching details on the logged in user rather post author.

    I hope that helps, good luck.

    An easier way would be to take away the ability to allow change of display name. Then it will default to username anyway. Have a look at topic/help-with-basic-command-to-add-new-profile-fields if that’s the avenue you want to take. If you do, don’t forget to set everyones ‘nicename’ back to what their username is.

    #85744

    i started on something a few months ago… but the priority is low on the list

    http://files.etiviti.com/misc/bbpress-vwg-forum.gif

    http://files.etiviti.com/misc/bbpress-vwg-main.gif

    #85743
    wemaflo
    Member

    @Arturo:

    That’s great! It would be very nice to release it in public ;) Thanks a lot!

    #85742

    Yeah! I just pointed it to be one of those things which need to be fixed.

    Just get in touch with me when you release it. :)

    #85741
    Arturo
    Participant

    this is the background image original with bbpress kakumei theme… i make some changes to pagination :)

    1 week or so, atm i don’t have time to complete the theme, sorry

    #85740

    I meant a lil issue

    the background image doesn’t blend correctly with background

    http://img28.imageshack.us/img28/9716/26612833.png

    and any time sooner? Ping me if its possible

    #85739
    Arturo
    Participant

    @ashfame

    thank you!

    what do you mean for “glitch”?

    i think yes when it’s done, i’ve some thinks to resolve…

    #85738

    @Arturo

    Nice work mate!

    Just a glitch in images of pagination.

    Any chances of releasing it in public?


    @wemaflo

    You are lucky! ;)

    #85737
    Arturo
    Participant

    this is my bbpress installation with the new default theme http://forum.buddypress-it.it what do you think?

    thanks for the feedback…

    #85736
    wemaflo
    Member

    Yes, you’re right :)

    I was looking for an existing free option… Seems as if I were really out of luck :) Thanks for the offer, but I will port the Theme by myself :)

    #85735

    I just hit the nail, you see :)

    Well if you are looking for free option, then may be you are out of luck but if you are looking fo a paid option, then the sun is under your umbrella ;)

    #85734
    wemaflo
    Member

    @Michael R:

    Thanks, but this one is the BuddyPress 1.0 Theme, BuddyPress 1.2.x now oncludes a new default theme: http://testbp.org

    @Gautam:

    Yes, of course, but I want to run an external forum installation with the same design. BuddyPress has group forums, but there should be an external forum that has nothing to do with group forums.

    My site: http://musikinstrumentenbau.net

    External forum: http://musikinstrumentenbau.net/forum/

    #85733

    @wemaflo

    The link that @Michael R gave is for previous version of BuddyPress. (Good Resource!)

    But I see you want for the latest version 1.2+


    @Gautam
    is right about installing bbPress within BuddyPress or if you already have one, then you can link that too (I haven’t tried that yet but it should work easily).

    And if you want to run a standalone version with BuddyPress for some reason (may be because the limit that forums are within group only), then you are out of luck as nothing exists for now.

Viewing 25 results - 5,401 through 5,425 (of 6,788 total)
Skip to toolbar