Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,076 through 61,100 (of 64,452 total)
  • Author
    Search Results
  • #50274
    fel64
    Member

    You’re running this on WP.com? How’d you manage that? 😮

    Anyway, you need this fix because the default setting should indeed be 0. Once the fix is applied, you also have to go to each affected user and set their status to 0 again.

    #58032

    In reply to: bbSync

    starrett
    Member

    fel64,

    Thanks for all the hard work you put in on this. I just installed the latest (I assume) version of bbsync on my site, and I’m getting the following error message when I try to save a post in WP:

    “got opshuns

    got bb

    got currentuserinfo

    Fatal error: Call to a member function on a non-object in /path/to/my/forums/bb-includes/functions.php on line 607″

    I added “global $bbdb;” to my bbpress config.php like you suggest, and it didn’t seem to make any difference. As well, when I use the “<?php felbbreplies(); ?>” call on my indie pages I get the following:

    “doin’ felwptobb

    pre-query in felwptobb. bb_topicmeta = bb_topicmeta

    felwptobb post-query, topic_id = 2

    ~ 21:36 15th Jun 07 admin

    blah blah blah this is a test reply

    Fatal error: Call to undefined function: get_topic() in /home/.reactor/starrett/lifthill.com/wp/wp-content/plugins/bbsync.php on line 432″

    So it is bringing in and displaying the replies, but then it gives the error.

    I’m running WP 2.2 and BB 0.8.1.

    Thanks!

    #57911

    In reply to: Bbpress themes

    htheeditor
    Member

    Hey Trent,

    The one theme for this blog kinda doesn’t work for me…check this out.

    http://bbpress.proyectoquisqueya.net/UPLOADS/bbpress.gif

    Am I doing something wrong?

    #50272
    fel64
    Member

    I don’t know about chosen passwords.

    Bugs go to http://trac.bbpress.org.

    No permanent deletion yet.

    No locking forums.

    Yes. If is_bozo is 1, that is true, and the user is considered a spammer. 0 means they are not a bozo/spammer.

    Several other whats you have found?

    #58390
    fel64
    Member

    Yeah. That’s because WP doesn’t load bb and all the associated functions. You have two options: you could set up wp to always load bb, or you could recreate the functionality yourself. The first could be tricky and fiddly, the latter means coding the PHP yourself. We can help with either.

    #58389
    Kahil
    Member

    Those two plugins don’t help at all. Basically if you have a lil php code that you have in your bbpress theme to display anything from display names, profile info or the avatar when using upload avatar plugin….when you paste that code on the wordpress side you get an error.

    #55212
    thierryyyyyyy
    Participant

    If bbPress includes a “Plugin” menu or an “Option” menu, it would be natural for all new plugin to have their submenu in it.

    Do you think I can ask that in TRAC ?

    #58319

    In reply to: Theme not working

    simon551
    Member

    I was able to find this in past discussion. I’m posting the fix here in case anyone else needs it:

    https://bbpress.org/forums/topic/700/page/2?replies=64#post-4936

    from Trent, but code fixed up a little by Nanome:

    “Create a file called whatever you want, but I recommend path-to-url.php

    and put the following in it and upload it to /my-plugins/ directory:”

    -Trent

    Nanome’s fix:

    <?php

    function fix_bb_path_to_url( $url ) {

    $url = str_replace(array(‘//’, ‘\\’, ‘\’), array(‘/’, ‘\’, ‘/’), $url);

    return preg_replace( ‘|:/([^/])|’, ‘://$1′, $url );

    }

    add_filter( ‘bb_path_to_url’, ‘fix_bb_path_to_url’, 1, -1 );

    ?>

    #58351
    ganzua
    Member

    Hi fel64, thanks for the explanation.

    I tested and the function works but there are two errors in the code.

    First, the id user line displays “21” for every user

    global $id; $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php?id=' . $id . '">' . __('Profile') . '</a>' . $after;

    Next, if( current_user_can('administrate') doesn’t seem to work because it display a link to bbpress profile instead to /wp-admin/

    This is the whole function so far;

    function wp_registro( $before = '<li>', $after = '</li>' ) {

    if ( ! is_user_logged_in() ) {
    if ( get_option('users_can_register') )
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-login.php?action=register">' . __('Register') . '</a>' . $after;
    else
    $link = '';
    } else { if( current_user_can('administrate') ) {
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;}

    else {global $id; $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php?id=' . $id . '">' . __('Profile') . '</a>' . $after;
    }
    }

    echo apply_filters('register', $link);
    }

    did I made a mistake in the second “else” ?

    #58388
    Pravin Paratey
    Participant
    Pravin Paratey
    Participant

    Could you just post the relevant parts of css here? By relevant, I mean the all-enclosing div tag and the 3 divs for the 3 columns. I’m thinking it’s a padding + width issue. IE and firefox handle these differently. For one, Width = width + padding. For the other Width is width without the padding.

    #1957
    Kahil
    Member

    How do I insert info from bbpress into wordpress? I would like to insert the “edit profile” link and some other stuff into my wordpress sidebar.

    Thanks

    #58350
    fel64
    Member

    Yeah, you could copy the wp_register() function into your functions.php file, modify it (and its name), and then use the modified function instead.

    Actually it should be

    global $id;

    Sorry. And for the last line, you have the right idea but you have to use the string concatenation (putting together into one) operator: the dot . This part is gonna be a bit more complicated, but solution at the bottom.

    Strings are indicated by using apostrophes ' ... ' or quotation marks " ... ". If you start a string with one of them, the other one doesn’t affect anything. Variable names inside the quotation marks " will be replaced with their value, but inside ' they will not. The strings here are made using apostrophes ', so you can have valid HTML code without problems: '<a href="..."' works, but "<a href="..."" doesn’t. But that means variable names inside the string won’t get replaced with their value. So you have to concatenate the strings, like this: '<a href="...' . $id . '"> ...';

    $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php?id=' . $id . '">' . __('Profile') . '</a>' . $after;

    Should work. Bit tired and therefore also inclined to ramble; sorry about that.

    #58349
    ganzua
    Member

    “you could just copy all of wp_register() into your theme (everything from function wp_register() { to the final }”

    -> do you mean copying in my theme functions.php file and then calling the fuction in the sidebar?

    “WordPress sets $id to be the user ID. It should be available, so just try it. If it’s not, you will need to put global: $id; in the line of code above it, so it knows you mean the global variable $id and not a new one.”

    -> I didn’t understand this. Do you mean something like this?

    global: $id;

    $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php$id">' . __('Profile') . '</a>' . $after;

    #49955

    In reply to: En español

    ganzua
    Member

    Tenemos una baja!

    Bueno a mi me falta poco ya con el bbpress, lo tendre que traducir a mano porque tras la integracion no hay manera de cargar un .mo pero da igual.

    Gracias por la ayuda y un saludo!

    fel64
    Member

    That’s strange with the email. Thanks for the zip, but I’m having trouble with my dev server and I’d rather not put things on my public server. Can you open an page of this on your browser, say the forum index, go to File > Save, save everything and give it to me?

    matt123
    Member

    fle64 email bounced back. here is the link for rapidshare http://rapidshare.com/files/37263443/mysoberlife.zip thanks again!

    csl749
    Member

    Hi folks,

    Just trying to iron out the niggles in my forum. I’ve noticed that my forum is very slow compared to the forum here, which seems surprising given my forum’s lack of activity! Could it be related to the permalinks structure or .htaccess? I’ve tried setting the permalinks up in config, with multiview in the .htaccess, and while it works fine in FF (still slow though) it won’t appear in IE (I get a 404). So I’ve disabled permalinks in order for it to work in IE.

    Now, some info. My forum is in a subdirectory from my main WordPress install. I had to enable the php5 handler in the site root .htaccess file for all the new bits and bobs in WP 2.2 to work properly. Here’s what my root .htaccess file looks like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.ochremusic.com$ [NC]
    RewriteRule ^(.*)$ http://ochremusic.com/$1 [R=301,L]

    AddHandler application/x-httpd-php5 .php

    Would any of that inherited by the forum subdir cause any problems with the bbPress permalink structure, or cause speed issues? Tried optimising the db, but no difference.

    Any help on these issues would be very gratefully received, thanks.

    PS. Also, for some reason I get a 404 trying to validate the forum on W3. Clues as to why? :P (Sorry!)

    futurefront
    Member

    Fell64 – You rock, thanks for this information! It is very much appreciated.

    #49954

    In reply to: En español

    Covi
    Member

    En serio que me gustaría poder ayudarte más :_(

    Pero al final… decidí cambiar de nuevo y seguir con Vanilla de Lussumo, bbpress está demasiado verde y le faltan funciones que ya uso en Vanilla, es más, ya tengo hacks para muchas cosas y me gusta como me ha quedado.

    La integración con la DB de WordPress, las sesiones, etc… va de perlas con Vanilla, así que nada me impedía ya seguir con Vanilla.

    Tengo más o menos una integración gráfica, de perfiles y de registro y logeo. Me quedó “casi” perfecto para mí ^^

    Me gustaría poder aportando si es posible y sirve cosas aquí, me gusta el proyecto bbpress… pero por ahora.

    Así que si te sirve de algo puedes registrarte y chequear mi sitio con esta integración:

    http://www.laguardiadejaen.com/web/foro/

    Un saludo y suerte.

    PD: Puedes contactarme por aquí si necesitas algo, ok? ;)

    fel64
    Member

    Was I supposed to target the same WP data base in the bbpress Config.php file so users can use one set of username/password to post in both WP and BBPRESS?

    Yes. Delete the new database, change the settings in bb’s config.php and install again.

    futurefront
    Member

    I have a fresh wordpress install at the root level of one of my sites:

    http://seidon.com

    (working)

    I then created another database, then nested a bbpress install as follows:

    http://seidon.com/photography-forums/

    (working)

    Not working – Users still have to create accounts on both sites, to post on both sites.

    Was I supposed to target the same WP data base in the bbpress Config.php file so users can use one set of username/password to post in both WP and BBPRESS?

    I thought I tuned my config file and even loaded the php intgration plugin (and activated it), but new registrations don’t work in both sites yet. Please help!

    #58347
    ganzua
    Member

    Hey fel64! thanks for the answer;

    “If you’re not comfortable writing a plugin I’d be worried about hacking core files.”

    -> I’m not skilled enough, I’m learning like you, through wordpress, but it is too much for just half month and I’d like to upload the new web by the end of next week.

    Regarding the code, I asked this same question in wp forums and user whooami told me that;

    “youre doing that assbackwards. The smart way to do what you want to do is to use an if/else statement inside your theme.”

    :)

    The original code is like this;

    function wp_register( $before = '<li>', $after = '</li>' ) {

    if ( ! is_user_logged_in() ) {
    if ( get_option('users_can_register') )
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-login.php?action=register">' . __('Register') . '</a>' . $after;
    else
    $link = '';
    } else {
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;
    }

    echo apply_filters('register', $link);
    }

    so bearing in mind the code you provided and guessing that I need to generate both links in the same way;

    function wp_register( $before = '<li>', $after = '</li>' ) {

    if ( ! is_user_logged_in() ) {
    if ( get_option('users_can_register') )
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-login.php?action=register">' . __('Register') . '</a>' . $after;
    else
    $link = '';
    } else { if( current_user_can('administrate') ) {
    $link = $before . '<a href="' . get_option('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;}
    else { $redirect_to = $bb_profile_link;
    }
    }

    echo apply_filters('register', $link);
    }

    or replacing that $redirect_to = $bb_profile_link; for;

    $link = $before . '<a href="' . get_option('siteurl') . '/bbpress/profile.php<!--call id user here --> ">' . __('Profile') . '</a>' . $after;

    What I don’t know is how to add the id user to the link ??? Since it is the same id user than in wordpress the must be a way

    #57865
    cabotine
    Member

    maybe these files?

    http://svn.automattic.com/bbpress-i18n/pot/trunk/

    I would be very interessted in the polish version ;)

    I like this tutorial http://forums.lesterchan.net/index.php/topic,108.0.html

    Regards

    C.

    #58369

    In reply to: Code in post plugin

    Pravin Paratey
    Participant

    I don’t know of any plugins for bbpress. But you can modify wp-syntax (which uses geshi highlighter). Maybe you can make it into a plugin too :D

Viewing 25 results - 61,076 through 61,100 (of 64,452 total)
Skip to toolbar