Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,801 through 19,825 (of 32,505 total)
  • Author
    Search Results
  • #101779
    KentonMr
    Member

    Perhaps the only solution to this is to replace all the hashing code and store a retrievable passford in the field.

    It is going to really upset the users having to go through registration again but it is far better getting one hit of all the frustrated users while I can blame it on the dumb software rather than being hit by the same problem time and time again as new users forget their passwords, we integrate other systems, etc.

    I still don’t get why md5(mypass) doesn’t give the same as in the database and I really cannot be bothered unraveling all the code to find out what is not obvious.

    3sixty
    Member

    OK. I’m thinking that I could somehow modify this function in functions.bb-users.php:

    function bb_get_user( $user_id, $args = null ) {
    global $wp_users_object;
    $user = $wp_users_object->get_user( $user_id, $args );
    if ( is_wp_error($user) )
    return false;
    return $user;
    }

    3sixty
    Member

    OK. I’m thinking that I could somehow modify this function in functions.bb-users.php:

    function bb_get_user( $user_id, $args = null ) {
    global $wp_users_object;
    $user = $wp_users_object->get_user( $user_id, $args );
    if ( is_wp_error($user) )
    return false;
    return $user;
    }

    #35832
    KentonMr
    Member

    To put it simply I need to unhash / decrypt the password to reveal the current password in the database.

    I have found this topic http://bbpress.org/forums/topic/cant-administer-my-site#post-73724

    which indicates the password is md5 encoded

    However testing md5(‘mypass’) in mysql5 produces a value quite different from the ‘mypass’ used in the bbPress table.

    #35821

    Don’t know what seems to be the problem.

    I am trying to have a non-english language on the front side by keeping the admin panel in English only.

    I defined the BB_LANG in config file and now I can’t get the filter to work.

    add_filter('locale', 'bb_language_switcher_filter');

    function bb_language_switcher_filter( $locale )
    {
    if ( bb_is_admin() )
    $locale = 'en_US';
    return $locale;
    }

    Even this doesn’t work

    add_filter('locale', 'bb_language_switcher_filter');

    function bb_language_switcher_filter( $locale )
    {
    $locale = 'en_US';
    return $locale;
    }

    So I guess I am doing something wrong here.

    The filter is in bb_get_locale() located at line 41 in bb-includes/functions.bb-l10n.php

    #94510
    Erlend
    Participant

    Tried downloading the latest from Trac but I got the “invalid header” error. I don’t think I’m gonna bother asking for support about these things, so I’d rather wait for an official alpha release that’s got the bare basics put together. Great job though :)

    #94506
    Rich Pedley
    Member

    Will be about for that chat… might not be able to do much code wise sadly, but I’ll see how things go.

    Not in the plugin yet, and there is a ticket for this already regarding Forum Types.

    (Some of this kind of display may be template specific since bbPress has always been more topic centric than forum/category centric.)

    Thanks for checking it out though :)

    Not in the plugin yet, and there is a ticket for this already regarding Forum Types.

    (Some of this kind of display may be template specific since bbPress has always been more topic centric than forum/category centric.)

    Thanks for checking it out though :)

    #35801
    mt_hh
    Member

    first off all: … hi! ;)

    i installed bb and now i try to use parts of it on other areas of my website (outside of bbpress). i still found out, that i can get a lot of informations when i include

    require_once('/path/to/bbpress/bb-load.php');

    i also found an “api-plugin”, but unfortunately it won’t work with the latest version of bb (1.xxx)

    now i’am very interessed how you work width functions and plugins outside your bbpress-installation.

    for example: i will have an contact-form. if the user fill out the form, he will automatically get a board account.

    so i need to include the sign-in functions within the validation and stuff.

    how would you do it…?

    greets from hh/germany

    miruru
    Member

    I’m currently testing the bbpress plugin with the trac version. It’s going great however, i’ve noticed that the front page only displays the main forums but not the subforums/subsubforums. For example:

    MAIN FORUM 1

    MAIN FORUM 2 etc.

    Now within these forums I have subforums and subsubforums.

    MAINFORUM 1

    -Subforum

    MAINFORUM 2

    -Subforum

    –subsubforum 1

    –subsubforum 2

    What is the code, if any, to allow the front page to display all the forums/subforums/subsubforums?

    If there isn’t, i assume that I will have to wait until the trac version is updated, however any help would be most appreciated.

    #94503

    I’m gona follow up the updates on this (subscribed!)

    Keep up the good job guys ;)

    Regards.

    #94502

    Wednesdays @ 2100 GMT

    irc.freenode.net

    #bbpress

    I just committed a first pass at New Topic and Reply forms. They need escaping and a security sweep, but appear to work well enough so far.

    I’ve also opened a few tickets for a few things that I haven’t started, for those that are interested in getting involved and dirty with some code.

    twlack
    Participant

    I want to change the label over the new topic post form from:

    “New Topic in this Forum”

    to

    “New Topic in ‘Forum Name'”

    I see the change needs to be made in file /bb-includes/functions.bb-template.php on line 276:

    $h2 = __( 'New Topic in this Forum' );

    I tried this:

    $h2 = __( 'New Topic '.forum_name() );

    And the topic name does show on the page but it is outside of the <h2></h2> tags. Why is that?

    #94501
    Rich Pedley
    Member

    Please confirm the date rather than saying next week ;)

    I’d be interested in it.

    #94500

    Will be trying to hammer out the topic/reply counts this week, as well as a very basic front end New Topic/New Reply form.

    That’s all it needs to be functioning in a skeletal capacity for initial proof of concept testing and iteration.

    I didn’t write a single line of code during WordCamp NYC; spent most of the time supporting BuddyPress questions with our two new core committers, Paul Gibbs and Boone Gorges.

    I leave again this Friday through Monday for the Google Summer of Code Mentor Summit, so this week is a short dev week.

    Any interest in doing a development chat in IRC next week?

    #35774
    tdarcy
    Member

    I am trying to install bbpress for my website and unfortunately it doesn’t seem to matter what I put in the boxes I get the following error(s). Now I am not trying to integrate it with WordPress just yet so it should be fairly straight forward (however it apparently is not). Any help and suggestions would be greatly appreciated. Oh, and I have tried disabling all my security features and that didn’t work either. Knowing my luck it is something stupid and it will work like a charm in two seconds but whatever it is, I’m not seeing an immediate solution to the problem.

    Here is the code:

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_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 ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_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,

    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 ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_bb_posts (

    post_id bigint(20) NOT NULL auto_increment,

    forum_id int(10) NOT NULL default 1,

    topic_id bigint(20) NOT NULL default 1,

    poster_id int(10) NOT NULL default 0,

    post_text text NOT NULL,

    post_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

    poster_ip varchar(15) NOT NULL default ”,

    post_status tinyint(1) NOT NULL default 0,

    post_position bigint(20) NOT NULL default 0,

    PRIMARY KEY (post_id),

    KEY topic_time (topic_id, post_time),

    KEY poster_time (poster_id, post_time),

    KEY post_time (post_time),

    FULLTEXT KEY post_text (post_text)

    ) TYPE = MYISAM DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_bb_terms (

    term_id bigint(20) NOT NULL auto_increment,

    name varchar(55) NOT NULL default ”,

    slug varchar(200) NOT NULL default ”,

    term_group bigint(10) NOT NULL default 0,

    PRIMARY KEY (term_id),

    UNIQUE KEY slug (slug),

    KEY name (name)

    ) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_bb_term_relationships (

    object_id bigint(20) NOT NULL default 0,

    term_taxonomy_id bigint(20) NOT NULL default 0,

    user_id bigint(20) NOT NULL default 0,

    term_order int(11) NOT NULL default 0,

    PRIMARY KEY (object_id, term_taxonomy_id),

    KEY term_taxonomy_id (term_taxonomy_id)

    ) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_bb_term_taxonomy (

    term_taxonomy_id bigint(20) NOT NULL auto_increment,

    term_id bigint(20) NOT NULL default 0,

    taxonomy varchar(32) NOT NULL default ”,

    description longtext NOT NULL,

    parent bigint(20) NOT NULL default 0,

    count bigint(20) NOT NULL default 0,

    PRIMARY KEY (term_taxonomy_id),

    UNIQUE KEY term_id_taxonomy (term_id, taxonomy),

    KEY taxonomy (taxonomy)

    ) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    SQL ERROR!

    >>> Database: taylordarcy_com (mysql.taylordarcy.com)

    >>>>>> CREATE TABLE IF NOT EXISTS wp_7w6sfp_bb_topics (

    topic_id bigint(20) NOT NULL auto_increment,

    topic_title varchar(100) NOT NULL default ”,

    topic_slug varchar(255) NOT NULL default ”,

    topic_poster bigint(20) NOT NULL default 0,

    topic_poster_name varchar(40) NOT NULL default ‘Anonymous’,

    topic_last_poster bigint(20) NOT NULL default 0,

    topic_last_poster_name varchar(40) NOT NULL default ”,

    topic_start_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

    topic_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

    forum_id int(10) NOT NULL default 1,

    topic_status tinyint(1) NOT NULL default 0,

    topic_open tinyint(1) NOT NULL default 1,

    topic_last_post_id bigint(20) NOT NULL default 1,

    topic_sticky tinyint(1) NOT NULL default 0,

    topic_posts bigint(20) NOT NULL default 0,

    tag_count bigint(20) NOT NULL default 0,

    PRIMARY KEY (topic_id),

    KEY topic_slug (topic_slug),

    KEY forum_time (forum_id, topic_time),

    KEY user_start_time (topic_poster, topic_start_time),

    KEY stickies (topic_status, topic_sticky, topic_time)

    ) DEFAULT CHARACTER SET ‘DB_CHARSET’ COLLATE ‘DB_COLLATE’;

    >>>>>> Unknown character set: ‘DB_CHARSET’

    Database installation failed!!!

    #85823

    Just installed the theme.

    I think it is missing the gravatars :(

    Regards

    #96352
    master5o1
    Participant

    moar feedback desired :)

    #101452
    master5o1
    Participant

    moar feedback desired :)

    #85821
    norby500
    Member

    okay i fixed the above problem now :) , i properly looked through the header and made the right adjustments!

    i was wondering if anybody had a fix for when somebody searches for threads and it displays the thread in the results, if the name is too long it breaks the layout and makes it look terrible, any solutions?

    #94495
    citizenkeith
    Participant

    bbpress wordpress plugin delayed??

    I don’t think anybody has ever said the plugin would be released on October 15 (formerly September 15). We’re looking at a soft release of an early testable version (there’s probably a better word for that, maybe pre-alpha? I don’t know, I’m not a coder).

    EDIT: JJJ said this in the original thread:

    https://bbpress.org/forums/topic/bbpress-plugin-september-15

    Quick update – Aiming for October 15 for the aforementioned super-pre-alpha.

    So, super-pre-alpha it is! :D

    We won’t see a usable version for some time. But the community can start testing and reporting bugs now.

    #96180
    zaerl
    Participant

    Zaerl, figured it out. I was using my user password and login instead of my admin login. :)

    It happens buddy. Have a nice day.

    #101280
    zaerl
    Participant

    Zaerl, figured it out. I was using my user password and login instead of my admin login. :)

    It happens buddy. Have a nice day.

    #96179
    jetskiron
    Member

    Zaerl, figured it out. I was using my user password and login instead of my admin login. :)

Viewing 25 results - 19,801 through 19,825 (of 32,505 total)
Skip to toolbar