Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,701 through 6,725 (of 6,786 total)
  • Author
    Search Results
  • #52199
    Trent Adams
    Member

    I haven’t heard back, so why not. I am not saying for sure that everything is going to work on this one. Backup your current my-templates/ folder and then test with this one:

    Trent’s bbPress Default Template

    Trent

    #51682
    spencerp
    Member

    Nicki, I’m using another version of this plugin.. I had asked Thomas earlier in the thread, for one that sends one out no matter what, or who’s thread gets replied too. ;):)

    https://bbpress.org/forums/topic/313?replies=34#post-1766

    So, by default.. his original plugin won’t do that. ;) :)

    https://bbpress.org/forums/topic/313?replies=35#post-1528

    spencerp

    #52850
    lordcoder
    Member

    Ok the problem is solved by using this function instead of the default profile_menu :

    function profile_menu() {

    global $bb, $bbdb, $bb_current_user, $user_id, $profile_menu, $self, $profile_page_title, $bb_table_prefix;

    $user_id=(isset($user_id)) ? $user_id : $bb_current_user->ID;

    $list = "<ul id='profile-menu'>";

    $list .= "nt<li" . ( ( $self ) ? '' : ' class="current"' ) . '><a href="' . get_user_profile_link( $user_id ) . '">' . __('Profile') . '</a></li>';

    if ( isset( $profile_menu ) ) :

    foreach ($profile_menu as $item) {

    // 0 = name, 1 = users cap, 2 = others cap, 3 = file

    $class = '';

    if ( $item[3] == $self ) {

    $class = ' class="current"';

    $profile_page_title = $item[0];

    }

    if ( can_access_tab( $item, $bb_current_user->ID, $user_id ) )

    if ( file_exists($item[3]) || function_exists($item[3]) )

    $list .= "nt<li$class><a href='" . wp_specialchars( get_profile_tab_link($user_id, $item[0]) ) . "'>{$item[0]}</a></li>";

    }

    endif;

    $list .= "n</ul>";

    echo $list;

    }

    #51720
    Nicki Faulk
    Member

    Thank you, devils_adv. :)

    #51719

    wow.

    !!!!

    something to measure sucess by…!

    love it.

    #51718
    Nicki Faulk
    Member

    Thanks, spencerp! :)

    #51717
    spencerp
    Member

    I love it!! ;) :) You did an awesome job on the theme/forums there.. ;) :)

    /Get’s in line for downloading a copy of it, once she’s going to share it.. LoL! ;) :)

    spencerp

    /By the way, your link still stands on my main site: spencerp.net … under one of the links sections.. ;) :) I haven’t been there in a while though, but will stop in again then.. I promise! ;)

    #51716
    Nicki Faulk
    Member

    Thank you, ardentfrost. :D

    re: version – Whoops! Right you are, my bad. :)

    #51715
    ardentfrost
    Member

    btw, you’re using memberlist .73c, not .73a ;)

    #51714
    ardentfrost
    Member

    Very nice looking. Glad you’re using a few of my plugins :) Theming bbpress isn’t so easy yet, but it’s doable and you certainly did a good job.

    #51713
    Nicki Faulk
    Member

    Yeah, I know that once theming ability is added to bbPress, I’ll probably be fixing several things on this theme! LOL

    But hey, it’s yet another toy for me to muck up, I mean, play with. :D

    #51712
    Trent Adams
    Member

    That sounds great! I know so10 has requested (through TRAC) that we have something in the admin to choose themes. Here is what I have been doing for mine!

    /my-templates/theme1/

    /my-templates/theme2/

    /my-templates/theme3/

    Then I just have to copy contents of the theme folder I want to use to the root of /my-templates/

    It is a pain right now, but really simple when using FTP I guess!

    Trent

    #51711
    Nicki Faulk
    Member

    Thank you, Trent. :D

    I just may do that. I’m still working out little kinks here and there (mostly spacing issues), but I’ll definitely share here when I’m finished (or at least satisfied LOL!).

    :)

    #994
    Nicki Faulk
    Member

    I’ve tried to match it up as close as possible to the main site without looking too “off” and feel that I’ve done a pretty good job. :)

    http://www.nowwerecookin.org/bbpress/

    You’ll need a p/w and username: test/test

    Plugins used:

    • Allow Images 0.7.1
    • Avatar .73a
    • bbEmoticons version 0.72
    • Memberlist .73a
    • Google Sitemap Generator .6
    • BBPress Private Messaging 0.73
    • Use Display Name 0.7.2
    • Online List 1.3-fix
    • WordPress Integration .7

    (all plugs found via these forums :))

    Feedback would be greatly appreciated. I’ve checked on Firefox 2.0 and IE 6.0 but would love to hear from users of other browsers! :)

    Thanks in advance, and a huge thanks to those who’ve posted these plugins, as well as the FAQ and other solutions. Skinning this thing has been a bear, but everything else has been relatively easy as pie. :D

    #52419
    lordcoder
    Member

    Ok if my PHP/MySQL knowledge is still good , the plugin must , on the first use , add a new collumn to bb_topics table ( named for example cat_id ) , and a new table titled bb_cats .

    On each use of the plugin , it must check if everything is good ( the collumn cat_id , the table bb_cats ) before continuing , and if not , it must display the default structure of the forum .

    To perform this last , there must be new template tags which can be ignored if the plugin installation is wrong , so the plugin needs its proper template file …

    We know that the goal of BBPress is to be light and fast , so if you code all the things above and use them on a plugin , BBPress will be slower , i think like PunBB …

    So my tip is ; don’t use categories , try to remove no useful forums , merge some forums if they are similar , and you’ill have a good order without categories .

    #1142

    Basically I’m working on a plugin for bbpress that will skip wordpress all together ( no offense wordpress :-) )

    Frankly I think wordpress is too advanced for the average “myspace” type user / target visitor. And, I want to have a community like system like myspace or livejournal.

    So I want to basically add a blog section to bbpress where you can keep a private journal… with privacy options on each blog entry to either Private or Public, and if you select Public it will put it in a Forum as a new topic for people to discuss.

    I was hoping to get a few pointers as to what functions to look at to help me achieve this through bbpress or if I should even continue doing this and try to customize wordpress-mu instead to fit the visitor

    Heres what I have looked at so far:

    1) Add new topic / Write blog

    bb-templates/post-form.php

    ......

    <label for=”forum_id”><?php _e(‘Pick a section:’); ?>

    <?php forum_dropdown(); ?>

    </label>

    <!– DIRT_PRIVACY –>

    Set the privacy:

    <select name=”dirt_privacy” id=”dirt_privacy” tabindex=”6″>

    <option value=”public” selected>Public</option>

    <option value=”private”>Private</option>

    </select>

    <small>**Choose ‘Private’ if you want this to be a blog only readable by you</small>

    <!– END DIRT_PRIVACY –>

    <?php endif; ?>

    <p class=”submit”>

    <input type=”submit” id=”postformsub” name=”Submit” value=”<?php _e(‘Send Post’); ?> »” tabindex=”4″ />

    bb-includes/functions.php -> bb_new_topic();

    function bb_new_topic( $title, $forum, $tags = '' ) {

    // function bb_new_topic( $title, $forum, $tags, $dirt_privacy = ” ) {

    global $bbdb, $bb_cache, $bb_current_user;

    $title = apply_filters(‘pre_topic_title’, $title, false);

    $forum = (int) $forum;

    $now = bb_current_time(‘mysql’);

    if ( $forum && $title ) {

    // if ($dirt_privacy==’public’){

    // ADD AS NORMAL TOPIC HERE (depending on whether ‘adding new topic’ or ‘writting new blog’, determine whether to add as default normal Forum Topic (public) or include in users blog but also as public Blog Forum Topic

    $bbdb->query(“INSERT INTO $bbdb->topics

    (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id)

    VALUES

    (‘$title’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, ‘$now’, ‘$now’, $forum)”);

    $topic_id = $bbdb->insert_id;

    if ( !empty( $tags ) )

    add_topic_tags( $topic_id, $tags );

    $bbdb->query(“UPDATE $bbdb->forums SET topics = topics + 1 WHERE forum_id = $forum”);

    $bb_cache->flush_many( ‘forum’, $forum_id );

    do_action(‘bb_new_topic’, $topic_id);

    return $topic_id;

    //} elseif ($dirt_privacy == ‘private’) {

    // ADD TO DB AS PRIVATE BLOG HERE

    //}

    } else {

    return false;

    }

    }

    Sorry if I’m a bit confusing as I am a bit confused right now :-)

    Again, any functions/documentation/help I should look at would be appreciated.

    -BHensley.com

    -Bakedlog.com

    #49548

    I have successfully setup my site to integrate registrations/logins between wordpress on its own DB and domain (blog.bakedlog.com) and bbpress on its own DB and domain (forum.bakedlog.com).

    Files:

    WP: wp-content/plugins/bbpress-integration.php

    BBP: my-plugins/wordpress-integration.php

    • I can create a user in wordpress and log into bbpress with it.
    • I can create a user in bbpress and log into wordpress with it.(although the default role set for wordpress does not let me write (how do i change this?))

    However, I too cannot get cookies to authenticate between the two systems.

    I have included the following in bbpress’s config.php:

    $bb->cookiedomain = 'bakedlog.com';

    $bb->cookiepath = '/';

    I monitored the cookies created on my computer as I logged into each system, and noticed that bbpress was creating the cookie correctly, domain: bakedlog.com, while when I logged into wordpress it would set the domain on the cookie to blog.bakedlog.com.

    So the problem is with WordPress..

    Looking in WordPress’ wp-settings.php I see:

    if ( !defined('USER_COOKIE') )

    define('USER_COOKIE', 'wordpressuser');

    if ( !defined('PASS_COOKIE') )

    define('PASS_COOKIE', 'wordpresspass');

    if ( !defined('COOKIEPATH') )

    define('COOKIEPATH', $current_site->path );

    if ( !defined('SITECOOKIEPATH') )

    define('SITECOOKIEPATH', $current_site->path );

    if ( !defined('COOKIE_DOMAIN') )

    define('COOKIE_DOMAIN', '.' . $current_site->domain);

    So, in WordPress’ wp-config.php I inserted:

    // BBPRESS INTEGRATION

    define('COOKIE_DOMAIN', 'bakedlog.com');

    Clearing my cookies and logging into WordPress, I see the cookie domain is correct and matches my BBPress’.

    But, there is still another problem, the cookies set by BBPress appends an md5 hash based on the site url and table prefix to the cookie’s name (ie: wordpressuser_bf17f59023eb22f…..) while WordPress’ cookie name is only: wordpressuser

    I looked around in bb-settings.php and found:

    define('BBHASH', $bb->wp_siteurl ? md5($bb->wp_siteurl) : md5($bb_table_prefix) );

    if ( !isset( $bb->usercookie ) )

    $bb->usercookie = ( $bb->wp_table_prefix ? 'wordpressuser_' : 'bb_user_' ) . BBHASH;

    if ( !isset( $bb->passcookie ) )

    $bb->passcookie = ( $bb->wp_table_prefix ? 'wordpresspass_' : 'bb_pass_' ) . BBHASH;

    So, the next step is to define $bb->usercookie and $bb->passcookie in BBPress’ config.php:

    // COOKIE SHARING WITH WORDPRESS

    $bb->cookiedomain = 'bakedlog.com';

    $bb->cookiepath = '/';

    $bb->usercookie = 'wordpressuser';

    $bb->passcookie = 'wordpresspass';

    I cleared my cookies and tested it, VOILA! I can log into either section (bbpress or wordpress) and switch to the other without losing authentication!

    ==========SOLUTION===========

    BBPRESS CONFIG.PHP:

    // COOKIE SHARING WITH WORDPRESS

    $bb->usercookie = 'wordpressuser';

    $bb->passcookie = 'wordpresspass';

    WORDPRESS WP-CONFIG.PHP:

    // COOKIE SHARING WITH BBPRESS

    define('COOKIE_DOMAIN', 'bakedlog.com');

    ==========********===========

    Thats it I believe, let me know if it works for you or if you see anything I have done that could crash either program.

    -BHensley.com

    -Bakedlog.com

    #1132
    Rod
    Member

    one question … I take simply …

    I have several plugin about layout on my WP posts …

    I can for example do this

    [video]url-youtube-video[/video] … and I have a video with all the good code …

    or …

    [name-of-my-link->url-of-my-link] and my link has the good name … The question is … with integration, is it possible, by default, the forum has these possibilities ?

    #1129
    ardentfrost
    Member

    New release of my Member List plugin (version .73a). Changes in this release include better WPMU integration support, user count added to member list page, and pages are now supported (default is 10 users per page).

    Get the new release here: http://faq.rayd.org/memberlist/

    See it in action here: http://www.rayd.org/forums/mlist

    #51672
    chrishajer
    Participant

    Update: admin is receiving notifications of new posts on this topic even though it is not marked as a favorite.

    Does admin get a notification of all new posts and threads by default and that’s just how it works? Haven’t tried adding a favorite as a normal user to see how it looks to them.

    Thanks.

    #52610
    Trent Adams
    Member

    That is actually the way it is supposed to be with this template and the default template. It can be changed around by changing the code in front-page.php. I moved it inside for my site, but that is the way I believe it is supposed to be.

    Trent

    #1113
    aleko
    Member

    I’ve installed bbpress with wordpress integration, the database integration works correctly thanks your guide. But… when i try to see my posts i have this error:

    (

    Parse error: syntax error, unexpected $end in /home/mhd-01/www.alessandropagano.net/htdocs/blog/wp-includes/gettext.php(307) : eval()’d code on line 1

    1 post)

    you can try to show this at http://www.alessandropagano.net/blog/forum/

    I’ve heard that this could be related with language settings… but my config.php have the default setting (define(‘BBLANG’, ”);)

    Thanks in advance, i hope to hear you soon!

    #52544
    Ryan Fitzer
    Member

    Thanks for the help Trent.

    #52543
    Trent Adams
    Member

    Ryan, I stand corrected. I have bbpress-post which makes the topics unresolved by default, but any topic created in the forum is marked as mu (not support question). That is not telling you anything new beause you already knew this ;-)

    I have created an enhancement ticket in TRAC. Thanks for pointing that out.

    Trent

    #52542
    Ryan Fitzer
    Member

    Template-Functions.php seemed to be the pertinent one with function topic_resolved( $yes = '', $no = '', $mu = '', $id = 0 ) being the function that controls this. Although I tried to make some small changes, I was not able to affect which option was selected by default. Any ideas?

Viewing 25 results - 6,701 through 6,725 (of 6,786 total)
Skip to toolbar