Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,176 through 6,200 (of 6,774 total)
  • Author
    Search Results
  • #64803
    chrishajer
    Participant

    Are you talking about bbPress or megabb? For bbPress, the keymaster (admin) password is randomly generated and displayed in the last step of the installation. It is also emailed to the email address you entered when configuring the installation.

    In any case, if you have direct access to your database, you can insert a password hash for a known password value, then log in using that password for the admin account. I think that’s your best bet if you don’t know the admin password.

    For bbPress anyway. I had not heard of megabb until today.

    #3331
    jllo2035
    Member

    I’ve installed megabb and can accesspages until i change the constants file to not be in emergencymode.

    I can’t access the admin id even in emergency mode and all of the functionality I’m trying to get to seems to be unavailble

    Help?

    mrhoratio
    Member

    Is there a way to show a paginated list of front page stickies? In the default bbPress template file “front-page.php”, I found this code:

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; // $super_stickies ?>

    It display a list of front page stickies, but it doesn’t have any pagination if you have a lot of stickies. I tried adding this:

    <?php forum_pages(); ?>

    But it doens’t work.

    Any suggestions on getting this to paginate?

    #64746
    Bloggsbe
    Member

    Yea, I noticed :-)

    Just as I uploaded the plugin I read my emails.

    But still, this also gives you control with the size of the gravatars (and identicons etc), and you can specify your own default image by stating an URI to the image, so hopefully it gives a bit more control!

    Regards,

    RG

    #3310
    Bloggsbe
    Member

    I’ve made a plugin that lets you set your own default gravatar.

    You can also choose to use Identicons, Wavatar or monsterID as the default gravatar.

    You set the size and the rating you want.

    This plugin overrides the built in Gravatar function, but you still have to choose to show the avatars in the standard options page, but all other gravatar options from that page is ignored.

    I’ve tested it on bbPress 0.9.0.2 and 1.0-dev (from trunk), but it should work on all 0.9.x versions.

    You can download the plugin from here.

    I’ve also submitted it to the plugins list here on bbpress.org, and will (hopefully) show up there to :-)

    RG

    #64031
    affacat
    Member

    Not sure what you mean – the code I had above should do what I say it did, it just didn’t do what I wanted.

    That said? I now have it working the way I wanted.

    This code:

    Gets the bbPress avatar, if it exists.

    Checks to see if it’s an Identicon…

    No? Display it.

    Yes? Display Gravatar… but with the URL of the Identicon set as the default in case none exists.

    Problem solved.

    Note: I believe Gravatar recently integrated Identicons as a default setting, so you can probably do this now without Identicons setup in bbPress by modifying the code some. But this works.

    PROFILE.PHP:

    $ava = avatarupload_get_avatar($user->ID,1,1,0);

    if ( avatarupload_get_avatar($user->ID) && !(usingidenticon($user->ID) )) {

    avatarupload_display($user->ID);

    }

    else {

    echo bb_get_avatar($user->ID,48,$ava[0]);

    }

    POST.PHP:

    $ava = avatarupload_get_avatar(get_post_author_id(),1,1,0);

    if ( avatarupload_get_avatar(get_post_author_id()) && !(usingidenticon(get_post_author_id()) )) {

    avatarupload_display(get_post_author_id());

    }

    else {

    post_author_avatar(48,$ava[0]);

    }

    #3303
    kikloo
    Member

    Hi,

    I am looking for a similar theme to wordpress blog’s default theme. Anyone has it for bbpress ?

    Thanks.

    #64644
    chrishajer
    Participant

    You’re stuck with the default of ‘none’ if your server doesn’t support mod_rewrite or Options +MultiViews. You can read about setting up permalinks here if your server supports either of those.

    Setting up permalinks on bbPress is not as straightforward as it is on WordPress, but they’re working on it.

    #64626
    _ck_
    Participant

    Okay version 0.8.7 of this can now indicate forums with new posts:

    https://bbpress.org/plugins/topic/unread-posts/

    You will have to change the optional setting to true near the top of the plugin.

    It defaults to highlighting the title in blue but you can also change the css to append an icon, etc. instead.

    #64609

    In reply to: No SECRET_KEY in WPMU

    freshestnoob
    Member

    since this is about WPMU, I guess I don’t need to open a new thread. We have common problems.

    To get you secret key: go to http://yourdomain.com/wp-admin/options.php

    It lists out your option and your SECRET_KEY is a long alphanumeric character in front of the key ‘entry’.

    For the second secret (I’ve forgotten which is which), just define one in the wp-config.php of your installation.

    I’ve not checked user-integration on my side by downgrading bbpress sounds like a pain.

    Now, to my own problem;

    I just installed bbpress on my new WPMU based website. I used the automated wordpress registration.

    Everything is working fine but I’ve got two concerns:

    1. I got this error on installation: Duplicate key name ‘user_nicename’

    >>> User tables will already exist when performing a database integrated installation.

    It looks pretty harmless, but I want reassurrance that it will not be harmful in the future.

    2. The only pretty permalink feature working is the default forum.php?id=1. The others give 404 errors.

    Any idea what I might do?

    #64578
    howtogeek
    Member

    You’ll need to use the PHP functions to check the cookies… bbpress doesn’t use sessions by default.

    Also, you wouldn’t want to simply use the userid, because that would be insecure since anybody could hack a cookie with any username.

    bbPress and WP both store two cookies, the username and the encrypted hash of the password. You’ll have to use those in combination to do a lookup to the database to make sure they both match. I’d advise taking a look through the bbpress source code… it’s not terribly difficult to understand.

    The other thing you could do… you could create a plugin / hack for bbPress to assign a session parameter after a successful login, which you could then check for in your other code.

    #64424
    _ck_
    Participant

    The word “swedish” is in there only because MySQL was originally a Swedish product and it’s legacy. Has nothing to do with any local language settings – just means it’s at the default.

    Perhaps a database upgrade failed at some point and left it at a weird miss-match?

    #3254

    Topic: 404 errors

    in forum Troubleshooting
    kikloo
    Member

    Hi,

    I installed bbpress with wp and it all went smoooth. Now when I am trying to view the demo post which is created by default I get: “Error 404 – Not Found” and that of Word Press and not bbPress. Please help me fix.

    Thanks.

    #64493
    _ck_
    Participant

    Very nice layout!

    Remember my theme switcher won’t work unless cookies are enabled. Many personal firewalls (and paranoid people like me) block them by default unfortunately.

    #3253
    fokjulle
    Member

    I seem to have the Avatar Upload plugin working. Problem is, if someone makes a comment that is, say, one sentence in length, the height of the avatar and the bottom of the same post seem to miss each other, creating an almost ripple effect as the thread continues downward.

    Is there a way to make a post a default height, assuming the comments are less than the height of the avatar?

    #64412
    chrishajer
    Participant

    I have no idea what that is, but I can try and help until someone more knowledgeable comes along.

    Did you set any of these three lines to something different than the default in your bb-config.php:

    define('BBDB_CHARSET', 'utf8');
    define('BBDB_COLLATE', '');
    define('BB_LANG', '');

     

    I found this online:

    http://www.datutorials.com/mysql/mysql_ref_manual_Charset.php

    What is your MySQL version?

    #3226
    jaydedman
    Member

    We came up with a hack for email notifications: http://showinabox.tv/forum so people can get an email when someone posts to a thread they are following.

    We are using RSS Forward.

    But it seems that our bbPress feed updates itself very slowly.

    Anyone know how often feeds refresh by default?

    #64359
    citizenkeith
    Participant

    glanceup: Just cut and paste it into a plugin template. Here’s what I did (apologies to _ck_ if the headers aren’t quite right):

    <?php

    /*

    Plugin Name: Fix Number of Front Page Topics

    Plugin URI: https://bbpress.org/forums/topic/how-to-restrict-number-of-latest-discussions-on-front-page

    Description: Fix Number of Front Page Topics

    Author: _ck_

    Author URI: http://bbshowcase.org/

    Version: 0.1

    */

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    ?>

    _ck_
    Participant

    Front page topics plugin isn’t working? Hmm. Should be.

    I have a modification I’ve done somewhere…

    Try this:

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    #3210
    ajvngou_
    Member

    1) I need change default gravatar image at forum to my own. Where is the link? i cant find it.

    [ RESOLVED – i found it at: bb-icludes/pluggable.php ]

    2) i saw Karma/Reputation plugin… but again, i cant find it.

    #64291
    berfarah
    Member

    Precisely. I want to have a preview of what’s inside the forum, essentially, so that people can click on links from outside them. Kind of like what PunBB has by default. But right now, they way I set it up, it seems to copy the first one for all the forums… I don’t know how I’m supposed to set it up.

    #3191
    Ryan
    Participant

    The first two user registrations I’ve had on my new forum are both using @mail.ru email addresses. Experience with other forums tells me these are probably spam registrations. On the SMF forums I admin I block @mail.ru email addresses from being able to register at all. Is there a way to do this in bbPress? Maybe have them default to Inactive or Blocked depending on the email address used?

    #64265
    raygene
    Member

    OK, solved for the moment but I had to reset the forum’s permalinks to default, which I had originally set to “Name-based”.

    Unless there’s a fix for this, I don’t mind using the standard “ugly” permalinks.

    Gene

    #64246

    In reply to: Change Gravatar Size?

    wyvn
    Member

    Here is what a quick grep came up with:

    bb-includes/template-functions.php:function post_author_avatar( $size = ’48’, $default = ”, $post_id = 0 ) {

    #64029
    affacat
    Member

    to better illustrate my issue, my current code for the profile page is:

    if ( avatarupload_get_avatar(ID) ) {

    avatarupload_display($user->ID);

    } else {

    echo bb_get_avatar( $user->ID );

    }

    which means if uploaded avatar exists then display it, else get gravatar.

    but what i really want is:

    if uploaded avatar exists then display it, else if gravatar exists then display that, but if neither exists then display the avatar upload default avatar.

    Right now it displays gravatar default instead. which isn’t my first choice since avatar upload would give me control over the default image which is better for obvious reasons.

Viewing 25 results - 6,176 through 6,200 (of 6,774 total)
Skip to toolbar