Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,401 through 21,425 (of 32,495 total)
  • Author
    Search Results
  • #87668

    In reply to: permalink doesn't work

    ghiboz
    Member

    ok, I removed from the .htaccess the row with

    Options -MultiViews

    Sincerely I don’t know what do this row, but seems to work fine everything

    thanks for the support and for the desturb!

    #87667

    In reply to: permalink doesn't work

    ghiboz
    Member

    ecco, trovato!

    forum/.htaccess: Option MultiViews not allowed here

    #87651

    In reply to: Forum permission

    johnhiler
    Member

    I have had a fantastic experience using “Hidden Forums”… I’ve used it on a number of installs over a long period of time, and have never had an issue.

    Zaerl-visibility definitely sounds intriguing! :-) I see you built on the Hidden Forums code for the plugin… would love to hear more about what drove your “old and broken” comment. Thanks!

    #87600

    :)

    #87642
    Terranb
    Member

    I just added the code I pasted above to my theme’s header.php file and that seems to have done it. Any reason this is a bad idea?

    #87641
    Terranb
    Member

    Yep, I have it integrated with wordpress. I’ll give those fixes a shot.

    Is there anyway I could add them without hacking core? Maybe as a plugin? This post (https://bbpress.org/forums/topic/slashes-being-added-in-front-of-apostrophes#post-12563) suggests adding this:

    if (function_exists('wp_head')) {
    // or another check to see if WordPress has been included
    add_filter('get_topic_title', 'stripslashes');
    add_filter('get_post_text', 'stripslashes');
    }

    to the “WordPress Integration” plugin. Since that plugin is in wordpress, not bbpress it didn’t seem like it would work, but I tried anyway and nothing. One person said it worked. Where might they have been adding it?

    Then there is hacking core files, which I’d rather not do since it makes updating more difficult.

    #87622
    kikko088
    Member

    my bbpress and wordpress ara just integrating, if i’m login with wp i’m login also with bbpress, but while the registration with bbpress the user must insert name, email, site with wordpress the user must insert only a nickname and email…I want to menage the registration only with bbpress….I try to put the html code for login but there is a little problem, until the user isn’t logged in the sidebar there is the login form, but when the user login in the sidebar remains the login form instead “Welcome, user, ecc…..”

    There is another way for put login form in the sidebar?

    thank you

    #87579
    chrishajer
    Participant

    I still don’t believe there is any truth to the existence of a cache. Does anyone have proof of this?

    I believe deleting either users or posts or topics, by whatever process, does not properly reset the last poster, number of voices, number of posts, number of replies, etc. Which is why I think this is related to either bugs or not fully developed or poorly performing plugins.

    The functions exist, as ashfame explained, to fix problems. It should not happen on a regular basis.

    From the “recount” page of the 1.1-alpha admin:

    To minimize database queries, bbPress keeps it’s own count of various items like posts in each topic and topics in each forum.

    If the plugin or even built-in functionality does not accurately update the count, then you need these recount functions. If the code were perfect (core and plugins) then these functions would need never be used.

    #87620
    kikko088
    Member

    thank you :)

    #87619

    Yes! Copy the code for bbPress login (html) and paste it into a widget, it should work.

    #87615

    In reply to: languages

    zaerl
    Participant

    Please notice that if you specify: define( 'BB_LANG', 'it_IT' ); then the mo/po must be called it_IT.mo/po. Take my italian translation. It is guaranteed.

    #87574
    chrishajer
    Participant

    @zaerl: “Cause bbPress uses a cache system in order to minimize database queries and sometimes it goes out of synch.”

    Really? Where do you see evidence of this in action?

    I think the problem with the negative counts here is a bug.

    I think the problem with the incorrect voices/posts is probably a bug.

    I think the need for recounting is because sometimes plugins don’t work cleanly when moving or deleting posts or topics or users. Maybe when you delete a topic that has posts the counts are not recounted or recounted properly. I think bozo and Akismet probably figure into it.

    I think the need for recounting is almost always because some code did not account for changing the count somewhere.

    In a perfect world, there would be no need for recounting functions. But as we all know, software is not a perfect world, so recounting helps clean things up. But I don’t think it has anything at all to do with caching. I’d love to see that I am wrong about this.

    AFAIK, there is no bb-cron equivalent of wp-cron, which seems like it would be a perfect place for cleaning up cached information, if it existed. Where is this cache of information? I thought the topic count, post count, voices, post count, etc, we all stored in the database. No caching involved (other that whatever is built in to MySQL.)

    Anyone know any different?

    #87614

    In reply to: languages

    kikko088
    Member

    is the same…:( I change the line but nothing…

    define( ‘BB_LANG’, ‘it_IT’ );

    kikko088

    #87613

    In reply to: languages

    Milan Dinić
    Participant

    You also need to edit file bb-config.php. Replace line define(‘BB_LANG’, ”); with define(‘BB_LANG’, ‘code’); where code is code of your langiage. eg. sr_RS.

    #87564
    Milan Dinić
    Participant

    zaerl, you helped me find a problem. I used filters above on 1.0.2 version where they don’t exist so it couldn’t work. It’s because on computer I have a trunk version where this is implemented.

    So on trunk version my code works as intended. Thank you both zaerl and ashfame.

    (btw, bb_send_pass filter doesn’t exists in 1.0.2 too, there is just a function with that name)

    Milan Dinić
    Participant

    I have found solution for problem. Since I based form on Subscribe to Topics, I mistakenly used it’s arguments. So working function should be:

    function bb_checkbox_subscription_update($post_id) {

    global $bbdb, $bb_current_user, $bb_post, $topic, $wp_taxonomy_object;

    $bb_post=bb_get_post($post_id);

    if (!empty($_REQUEST)) {

    $checkbox_status = $_REQUEST;

    if ( ‘add’ == $checkbox_status ) {

    $tt_ids = $wp_taxonomy_object->set_object_terms( $bb_current_user->ID, ‘topic-‘ . $bb_post->topic_id, ‘bb_subscribe’, array( ‘append’ => true, ‘user_id’ => $bb_current_user->ID ) );

    } elseif ( ‘remove’ == $checkbox_status ) {

    // I hate this with the passion of a thousand suns

    $term_id = $bbdb->get_var( “SELECT term_id FROM $bbdb->terms WHERE slug = ‘topic-$bb_post->topic_id'” );

    $term_taxonomy_id = $bbdb->get_var( “SELECT term_taxonomy_id FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    $bbdb->query( “DELETE FROM $bbdb->term_relationships WHERE object_id = $bb_current_user->ID AND term_taxonomy_id = $term_taxonomy_id” );

    $bbdb->query( “DELETE FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    }

    }

    }

    Also, I made a code for improvements I suggested in first post. You can see it here. Also check this ticket.

    #87544
    rich777
    Member

    hey gerikg,

    im going to go through you’re tutorial first thing monday morning :)

    thanks for the resource

    #79631

    In reply to: problem with css menu

    kikko088
    Member

    thank you! :)

    follow this tutorial – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/

    just use a:1:{s:6:"member";b:1;} instead of a:1:{s:9:"keymaster";b:1;}

    #87606

    you can use this

    <?php bb_tag_heat_map(array( 'smallest' => 8, 'largest' => 8)); ?>

    asorethumb
    Member

    Thanks, but still there I’m afraid. :/

    #87595
    leofaoro
    Member

    Thank you. I really like bbpress, it is very lean. I wish I knew how to code so I could also contribute.

    Leo

    #79629

    In reply to: problem with css menu

    you need to have list-style-type:none; for your menu

    #31852

    Topic: problem with css menu

    in forum Themes
    kikko088
    Member

    I have a problem with this menu, http://www.endurodoc.net/forum/ if you go to “Officina” or “Varie” the sub page have a square in the right top, where is the problem for you?

    also another problem, the apostrophe on the “Endurod” forum, the description of forum :(

    kikko088

    #87303

    In reply to: wordpress integration

    Terranb
    Member

    I’m having a similar problem when I try calling require_once(dirname(__FILE__) . '/../wp-load.php'); so I can bring my theme into bbpress.

    This is a WP 3.0 multiuser site on subdomains. The funny thing is I’ve had this working on test sites using WP 3 single user and WP 3 multiuser on subdirectories.

    Is there something about it being on subdomains that might cause this? Might differences in the WP .htaccess file cause it?

Viewing 25 results - 21,401 through 21,425 (of 32,495 total)
Skip to toolbar