Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,126 through 6,150 (of 6,788 total)
  • Author
    Search Results
  • #49658

    In reply to: Emoticons For bbPress?

    _ck_
    Participant

    The plugin currently allows you to change the smilie “set”.

    I intend future versions to be able to use multiple sets at the same time.

    If you want to make your own sets, just look at how the default folder is done and build your own. There is a single PHP file to edit.

    #66335
    _ck_
    Participant

    topic_time is meant to be used in topic loop, not a forum loop so it doesn’t know the last topic id.

    You could get around this by passing the last topic id in the topic_time however you’d have to do a custom query to determine the last topic in a forum, as it’s not stored/available by default.

    I think I’m going to make this into a plugin “forum_last_poster”

    update: I seem to have finally made it work!

    RossB
    Member

    Oh yeah, I do already use Google’s reader – but you can’t actually subscribe to a site from within that, can you? And I have tried Firefox – I use it spasmodically. It’s illogical and even stupid of me, but I am so used to IE I find myself opening it up by default, as it were. No question, it is inferior to Firefox.

    #66313
    chrishajer
    Participant

    The closest thing I know of is “Comment Quicktags”:

    https://bbpress.org/plugins/topic/quicktags-4-bbpress/

    I think a WYSIWYG editor would be overkill since a lot of the markup is not allowed by default. I suppose you could disable the buttons that use non-valid markup.

    Or, these forum posts:

    https://bbpress.org/forums/topic/i-added-wysiwyg-to-my-bbpress

    https://bbpress.org/forums/topic/bbpress-wysiwyg-status

    #66332
    _ck_
    Participant

    I highly doubt anyone else is working on it, it’s a very complex plugin. Not something I would even try to tackle – go for it Nightgunner5.

    #66331
    Ben L.
    Member

    “Also, the plugin (the original and my modded version) is completely unorganized. It should be rewritten …”

    If nobody else is already remaking it, I could make it my next project.

    Is anyone working on a remake of Private Messaging?

    #66322
    _ck_
    Participant

    I think you are missing the point that some people don’t want such features (for example, me) on their forums and by keeping it plugin based it can be an option instead of forced.

    #66297
    775251
    Inactive

    One other quick note. I just tried to view the default forum stylesheet in my browser, so navigated to:

    http://mysite.com/forums/bb-templates/kakumei/style.css

    And again was redirected to my blog’s homepage. I’m confused as to why this is happening?

    #66330
    Detective
    Member

    Also, the plugin (the original and my modded version) is completely unorganized. It should be rewritten …

    #66329
    _ck_
    Participant

    bbPress will never have a feature like that built-in.

    #3669
    csseur3
    Member

    What do you think about integrate the private message by default? :)

    http://bbpress.org/plugins/topic/private-messages/#post-43

    #3668
    csseur3
    Member

    I think it is important to have a memberlist in a forum, so, why don’t integrate the plugin by default?

    see: http://faq.rayd.org/memberlist/

    bye

    #3666
    csseur3
    Member

    Hello,

    in the default theme, i see the link for the profile is on the title “admin”, etc.. but this is correct? i think no! I think it is more normal to have the link of the profile on the name of author, no?

    How to change that?

    bye

    #3660
    775251
    Inactive

    During step 3 of the installation process, I accidentally inputted the wrong URL for my forum.

    It asked me for the Site address (URL), which was defaulted to:

    http://mysite.com/wp-content/plugins/bbpress/

    I changed this to

    http://mysite.com/forums/

    Now I can’t access the forums at all, and I can’t figure out how to change the URL back. I looked at bb-config.php, but didn’t see any way to fix this.

    I’m not good with PHP and I’m new to WordPress in general, so any novice advice would be much appreciated!

    #3658
    csseur3
    Member

    Hello,

    with the last installation of bbpress revision 1595, i have sql errors:

    SQL ERROR!

    >>> Database: forum_bbpress (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bb_forums (

    forum_id int(10) NOT NULL auto_increment,

    forum_name varchar(150) NOT NULL default ”,

    forum_slug varchar(255) NOT NULL default ”,

    forum_desc text NOT NULL,

    forum_parent int(10) NOT NULL default 0,

    forum_order int(10) NOT NULL default 0,

    topics bigint(20) NOT NULL default 0,

    posts bigint(20) NOT NULL default 0,

    PRIMARY KEY (forum_id),

    KEY forum_slug (forum_slug)

    ) DEFAULT CHARACTER SET ‘utf8’ COLLATE ”;

    >>>>>> Unknown collation: ”

    SQL ERROR!

    >>> Database: forum_bbpress (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bb_meta (

    meta_id bigint(20) NOT NULL auto_increment,

    object_type varchar(16) NOT NULL default ‘bb_option’,

    object_id bigint(20) NOT NULL default 0,

    meta_key varchar(255) default NULL,

    meta_value longtext default NULL,

    PRIMARY KEY (meta_id),

    KEY object_type__meta_key (object_type, meta_key),

    KEY object_type__object_id__meta_key (object_type, object_id, meta_key)

    ) DEFAULT CHARACTER SET ‘utf8’ COLLATE ”;

    >>>>>> Unknown collation: ”

    SQL ERROR!

    etc, etc…

    why?

    bye

    #66265
    _ck_
    Participant

    Block may never have worked like one would think.

    I think it just treats them like “bozo” status.

    It gives them the capability of “not_play_nice” = true

    hmm actually…

    function bb_block_current_user() {
    global $bbdb;
    if ( $id = bb_get_current_user_info( 'id' ) )
    bb_update_usermeta( $id, $bbdb->prefix . 'been_blocked', 1 ); // Just for logging.
    bb_die(__("You've been blocked. If you think a mistake has been made, contact this site's administrator."));
    }

    function bb_reset_password( $key ) {
    global $bbdb;
    $key = sanitize_user( $key );
    if ( empty( $key ) )
    bb_die(__('Key not found.'));
    if ( !$user_id = $bbdb->get_var( $bbdb->prepare( "SELECT user_id FROM $bbdb->usermeta WHERE meta_key = 'newpwdkey' AND meta_value = %s", $key ) ) )
    bb_die(__('Key not found.'));
    if ( $user = new BB_User( $user_id ) ) :
    if ( bb_has_broken_pass( $user->ID ) )
    bb_block_current_user();
    if ( !$user->has_cap( 'change_user_password', $user->ID ) )
    bb_die( __('You are not allowed to change your password.') );

    .

    According to all that, their password should be scrambled and they should be unable to reset it – so they can’t log in.

    But you can’t stop them from seeing the website.

    There’s no IP based blocking (yet) in bbPress.

    To really block an IP, you’d have to go into htaccess and add a “deny from” – at least for now.

    I guess someone could write a plugin to block the IP of blocked users, perhaps for 48 hours or so. Since bbPress doesn’t store the last login IP for users by default, this makes it difficult, the plugin would have to start storing IPs on every login.

    #65998
    _ck_
    Participant

    == The Shared User List (table) ==

    The most essential concept to all integration is that WordPress and bbPress just share the same list of users in the database.

    This is where some people make a mistake right at the start and accidentally create or keep using two separate copies of the user lists (usually one complete with many users and the other just themselves because it’s a fresh install of bbPress).

    If you find that after your integrated install of bbPress that it cannot “see” any of your WordPress uses, you must check that bbPress is using both the correct DATABASE, and the correct TABLE.

    The most common name for the user table is called WP_USERS

    The WP_ is what we call the prefix and indicates that it’s part of WordPress by default. If bbPress is running by itself and not integrated, the prefix is likely BB_. Unless you are doing reverse integration and don’t want to change the table name, there is a 99.9% chance that your user table should be WP_USERS.

    If your bbPress cannot see the WordPress users, check your “User database table prefix” in the bbPress integration admin menu OR add this to the bottom of bb-config.php

    $bb->wp_table_prefix = 'wp_';

    #3634
    parthatel
    Member

    How do I make a link that directs the user to their profile?

    The default code in bbPress is

    <?php printf(__('Welcome, %1$s!'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?.

    Yet if I use this, the name of the user will be the linked text. Also, I’m not able to use this code alone. If I try:

    <?php bb_get_profile_link(bb_get_current_user_info( 'name' )); ?>

    …it doesn’t work. I also tried:

    <a href="<?php bb_get_profile_link(); ?>">My Profile</a>

    How can I change the text to My Profile and also let it stand alone? (standalone meaning on its own paragraph and with no Welcome, %1$s!)

    _ck_
    Participant

    By popular request here is “The Hybrid”

    download:

    http://bbshowcase.org/themes/the-hybrid.zip

    demo:

    http://bbshowcase.org/forums/?bbtheme=the-hybrid

    Essentially it’s a mash-up between the bbPress support forum theme here and Kakumei, with a few tweaks.

    Requires the Topic Views plugin to be installed.

    It’s older work and not as pretty as “FutureKind” (I won’t be releasing that one this year) and you can forget about “validation” unless you want to work on it quite a bit yourself, but it’s a nice alternative to the defaults.

    Let me know if you get any errors or other problems.

    I’ll try to fix it up some more as I have time.

    #65133
    Null
    Member

    Ok (just asking this cause i am working on a plugin myself), but how about the next step. I have this to create a table if it doens’t excist:

    bb_register_activation_hook(__FILE__, 'bbmenu_install_check');

    function bbmenu_install_check() {
    global $bbdb;

    $bbdb->hide_errors();
    $installed = $bbdb->get_results("show tables like ".$bbdb->prefix."bbmenu");

    if ( !$installed ) :
    $bbdb->query(" CREATE TABLE IF NOT EXISTS <code>&quot;.$bbdb->prefix.&quot;bbmenu</code> (
    <code>item_id</code> INT(3) NOT NULL AUTO_INCREMENT,
    <code>item</code> varchar(50) NOT NULL default '',
    <code>set</code> varchar(50) NOT NULL default '',
    <code>page</code> varchar(50) NOT NULL default '',
    <code>location</code> varchar(50) NOT NULL default '',
    <code>order</code> int(9) NOT NULL default '0',
    PRIMARY KEY (<code>item_id</code>)
    )");
    endif;
    $bbdb->show_errors();
    }

    But I also want to put some data in it:

    "INSERT INTO$bbdb->menu` VALUES

    (DEFAULT, ‘Forums’, ‘active’, ‘index.php’, ‘front-page’, 0),

    (DEFAULT, ‘Search’, ‘active’, ‘search.php’, ‘search-page’, 1),

    (DEFAULT, ‘Statistics’, ‘inactive’, ‘statistics.php’, ‘stats-page’, 0);”;`

    How to do this in the same query?

    #3617
    parthatel
    Member

    By default, when a user creates a new topic, it becomes the first post in that topic. At the top of each topic is the area where the title, last poster, add to favorites, etc.. are. I want to add that first post into that area. How do I do this or where is the place to get the initial post.

    In this case, there would be no replies when the topic is first created. How do I make it so that if there are no replies, it would say “Be the first to reply”?

    Thank You.

    #65811

    In reply to: No user found

    chrishajer
    Participant

    mdawaffe: that has no effect. I logged out of this chrishajer account, then logged in with a new account from today, hajii. I tried to change the password since it is the default emailed one. I get the error about the user being unable to be found when I try to access the profile page. (Screenshot above.)

    It might be new accounts: that hajii account is from today. And it appears to happen only on member accounts, so you might need to create member account and see if you experience the same thing.

    The only people who can fix the problem won’t be able to see it, as moderator or keymaster. :D

    Tranny
    Participant

    Chris, thanks a lot. Now the forum page pulls and no longer gives an error message, but all my formatting and custom layout is gone. And the links to forums don’t work. It takes me to the bbpress default telling me that forum is not found.

    #52795
    chrishajer
    Participant

    To anyone reading in the future:

    Please use different table prefixes for bbPress and WordPress. bb_ for bbPress and wp_ for WordPress are the defaults, for good reason. You can change them to something else if you like, but make sure they are different for WordPress, bbPress, and anything else you might install in that database.

    Integration does not require the same table prefix, and using the same table prefix means bbPress will try to use WordPress tables (of the same name) that have already been created.

    #65698

    I am experiencing the same problem as well.

    I think it has something to do with user roles, as a registered BBpress user does not have get a defined role in WordPress (i.e author, contributor, editor etc…).

    It would be easier if a default wordpress role was automatically assigned to a user that registers via bbpress.

    If anyone has any ideas/solutions it would be much appreciated.

Viewing 25 results - 6,126 through 6,150 (of 6,788 total)
Skip to toolbar