_ck_ (@_ck_)

Forum Replies Created

Viewing 25 replies - 476 through 500 (of 2,186 total)
  • @_ck_

    Participant

    bb_is_user_logged_in() is right there, still in 1.0.1

    The problem is you are checking too early, right when the plugin loads which is too soon.

    A user is not determined as logged in until bb_init happens. So you have to make a mini-plugin

    add_action('bb_init','check_login');
    function check_login() {
    if(!preg_match("/bb-login.php/", $_SERVER["SCRIPT_NAME"]) && !bb_is_user_logged_in()) {
    header("Location: " . $bb->uri . "bb-login.php");
    die("Authorisation required.");
    }
    }

    In reply to: howto find user ids?

    @_ck_

    Participant

    By the way, I am trying to understand why so few people ask these kinds of plugin specific questions on the page for the plugin itself. Can you give me any insight?

    In reply to: howto find user ids?

    @_ck_

    Participant

    You could temporarily turn off pretty permalinks and you’ll see their id in the url.

    You can also use this mini-plugin to show their user id in the profile

    add_filter( 'get_profile_info_keys','bb_member_id_in_profile',255);
    function bb_member_id_in_profile($keys) {
    global $self;
    if (empty($self)==true && isset($_GET['tab'])==false && bb_get_location()=="profile-page") {
    (array) $keys=array_merge(array_slice((array) $keys, 0 , 1), array('ID' => array(0, __('Member #'))), array_slice((array) $keys, 1));
    }
    return (array) $keys;
    }

    @_ck_

    Participant

    Are you certain you have bbpress installed under your /forums/ directory?

    Because I am fairly certain you don’t.

    If you did, this would work

    http://absolute-truth.net/forums/license.txt

    (unless you deleted that file, which is unlikely)

    /forums/ should be at the same level that /blog/ is

    @_ck_

    Participant

    The cookies are a different problem, you have to set the cookies to use the root / and not a sub-folder.

    See if it allows you into

    http://absolute-truth.net/forums/bb-admin/options-general.php

    and/or

    http://absolute-truth.net/blog/wp-content/plugins/bbpress/bb-admin/options-general.php

    and change the bbPress address (URL)

    @_ck_

    Participant

    CyrNickName is identical to the functions listed in this topic

    people just keep renaming them but the content is virtually the same

    @_ck_

    Participant

    Or just try putting this into your bb-config.php

    $bb->uri = 'http://your-domain-name.com/forums/';

    @_ck_

    Participant

    I noticed many of the old constants are not defined anymore by default.

    A few plugins, definitely not all just a few, may be fixed somewhat by adding this to bb-config.php

    define('BB_LOAD_DEPRECATED',true);

    @_ck_

    Participant

    You don’t actually have bbpress installed underneath wordpress do you?

    http://absolute-truth.net/blog/wp-content/plugins/bbpress/

    if so, that’s really not good design

    move it to http://absolute-truth.net/forums/

    bbPress is not a wordpress plugin, it’s a standalone program

    @_ck_

    Participant

    .mo files cannot be directly edited, you need to use a tool like poedit http://www.poedit.net/ to correct the .po file and then compile it to .mo

    @_ck_

    Participant

    Try putting this into your bb-config.php

    $bb->uri = 'http://your-domain-name.com/forums/';

    @_ck_

    Participant

    rhyswynne I reminded Sam to approve your svn slot so it should be active now

    @_ck_

    Participant

    0.9 is very trim, 1.0 is technically as large as WP

    Using topic meta you can store attributes for just about anything.

    Searching it is another matter, you’d have to write some custom routines.

    It all comes down to how much PHP you know or if you can pay a developer.

    bbPress can do a great deal, but sometimes there are apps that can do better, don’t try to hammer a square peg into a round hole.

    @_ck_

    Participant

    language files,

    in bbPress 0.9 go into bb-includes/languages/

    in bbPress 1.0 they go into my-languages/

    @_ck_

    Participant

    CyrNickName is virtually identical to the function linked above, they all take the same approach:

    function sanitize_user_cyr( $raw_username, $username, $strict = false ) {
    $raw_username = $username;

    $username = strip_tags($username);
    // Kill octets
    $username = preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|', '', $username);
    $username = preg_replace('/&.+?;/', '', $username); // Kill entities

    // If strict, reduce to ASCII for max portability.
    // if ( $strict )
    // $username = preg_replace('|[^a-z0-9 _.-@]|i', '', $username);

    return apply_filters('sanitize_user_cyr', $username, $raw_username, $strict);
    }

    add_action('sanitize_user', 'sanitize_user_cyr', 0, 3);

    @_ck_

    Participant

    The policy here is to close topics after you request someone for hire and post your contact info. You can also see my topic here for people advertising:

    http://bbshowcase.org/forums/topic/bbpress-professionals-advertise-in-this-topic

    @_ck_

    Participant

    See where it says “Compatible up to: 0.9”

    I won’t be fixing plugins for 1.0 until December at the soonest.

    Make sure you have the terms-of-service.html file in the same directory, that’s all I can suggest.

    @_ck_

    Participant

    Facebook finally joined the openid foundation board finally this year and eventually in May started allowing logins to their service via OpenID. I suspect by the end of the year they will become an OpenID provider so their overblown, proprietary connect service won’t be needed. As their traffic slowly gets killed off by twitter or the next fad they will do anything to keep their numbers up.

    @_ck_

    Participant

    Do not integrate using iframes, you can’t bookmark anything or return to specific pages via RSS

    Learn a little css and just make the header and footer match.

    @_ck_

    Participant

    Both bbPress and WordPress can be integrated so the login is shared.

    With bbPress 0.9 you will need special plugins to use WP 2.7 or 2.8

    bbPress 1.0 can share the login with WP 2.7 or 2.8 without plugins.

    However many plugins do not yet work with 1.0, so keep that in mind.

    Real names as an option is nice but I’d hate to see it mandatory as some countries are trying to do. My experience is that people either have manners or they don’t, real names, in person, online or otherwise won’t stop rude people much. The problem is once your real name is online, your employer or in the USA your health insurance can use anything you say against you, no matter how innocent it might be.

    But that doesn’t change the fact you should be able to use your native characters in bbPress and WordPress if you wish ;-)

    I’m curious if the user login plugin above will also allow you to use your name with the login and not just the Display Name.

    Note that bbPress 1.0 also allows you to login via your email address once you are registered. There is a plugin for 0.9 that does the same thing.

    @_ck_

    Participant

    If you are using bbPress 1.0, you can use a display name instead of your user login name, and the display name can be anything in the UTF8 character set.

    There is also a workaround for bbPress 0.9 that might also work on 1.0 that removes all restrictions for the user login. It’s not been well tested to my knowledge but apparently works. I’ll try to find it for you.

    Here it is, try this:

    https://bbpress.org/forums/topic/accents-in-username#post-19037

    @_ck_

    Participant

    Are you trying to use it on 1.0 ? or 0.9 ? Many plugins will not work properly on 1.0

    In reply to: 0.9.x version request.

    @_ck_

    Participant

    When someone shows up with the username anti-security, runs a vulnerability site, and asks for 0.9, I get kinda nervous. But please let me know if you find anything.

    @_ck_

    Participant

    Only people that have rushed to the new version are in limbo.

    1.0 has been out only a whole week now.

    The alpha/RC phases didn’t help as more was changed afterwards.

    One only has to study what happened to WordPress during it’s growing pains to see what will happen to bbPress.

    GPL means you can republish the plugin, ie. post a link to a new download with your fixes. Taking over for an author within the extend section itself is another matter however and is best done with permission from the original author. Then someone like Sam can add you to the SVN. Rarely is it impossible to reach an author – they may leave bbpress but unlikely the entire internet.

    @_ck_

    Participant

    Many plugins are broken under 1.0

    I assume you tried this one https://bbpress.org/plugins/topic/bbvideo/

Viewing 25 replies - 476 through 500 (of 2,186 total)