Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,076 through 25,100 (of 32,468 total)
  • Author
    Search Results
  • #73782
    chrishajer
    Participant

    With bbPress you don’t access bb-admin directly. You log in with your keymaster account, and next to your name, if you are truly a keymaster (or someone with admin capabilities) you have a link to Admin. Click that and you are in the bbPress admin. If you don’t have that link, then the account you logged in with is no the keymaster account.

    What version of bbPress are you talking about, and are the logins integrated with WordPress?

    #65894
    Derek Herman
    Member
    // Custom Topic Starter Avatars
    function topic_author_avatar( $size = '48', $default = '', $post_id = 0 ) {
    if ( ! bb_get_option('avatars_show') )
    return false;

    $author_id = get_topic_author();
    if ( $link = get_user_link( $author_id ) ) {
    echo '<a href="' . attribute_escape( $link ) . '">' . bb_get_avatar( $author_id, $size, $default ) . '</a>';
    } else {
    echo bb_get_avatar( $author_id, $size, $default );
    }
    }

    #14820
    spicynodes
    Member

    Congratulations on bringing bbPress to 1.0 RC1! I am a big fan of bbPress, appreciate this positive and helpful community, the great codebase, the ease of installation and customizatoin, and the overall more “bloggy” feel of the forums, rather than most forum software which feels a lot more like a 1990’s bulletin board.

    I’ve looked over past postings about the 1.0 series and about releases in general. I’ve read that 1.0 is based off of BackPress, that it integrates with newer versions of WordPress, that it supports a new plugin for WordPress called “bbPress Live.” What else is of note? (and out of curiosity, what did not make the cut?

    With 1.0 on the horizon, can you please summarize some of the key features/changes in 1.0?

    #73769
    Sam Bauers
    Participant

    Just a little Easter Egg for Release Candidate testers ;)

    #73757

    In reply to: functions.php

    Derek Herman
    Member

    So it’s only available in 1.0 huh, that sucks cause I think the forum is still using 0.9 something.

    The way I’m doing it now is creating a plugin like chrishajer mentioned but it just seems odd to me as a prolific WP user. Unfortunately I’m not sure the forum can be upgraded since the Envato devs had to integrate it with a RoR app and hacked the core. Hopefully they can upgrade it cause the theme I’m working on is crazy complex and I had to add a lot of extra functions to my plugin to make the theme work based on the design. I just think some of the code I wrote is probably included in the 1.0 core.

    #73759
    johnhiler
    Member

    There’s a good overview of bbPress’ translation framework (with links to existing translations and to useful posts) on bbshowcase.org:

    http://bbshowcase.org/forums/topic/bbpress-translation-internationalization-into-local-languages

    According to that, bbPress uses the same translation approach as WordPress:

    https://codex.wordpress.org/Translating_WordPress#gettext_files

    The approach seems to be:

    1) You download the POT file, which has all the English strings in it.

    2) You translate the strings into your language (Greek) and save the file as a .po file

    3) You optimize the .po file into a machine readable .mo file

    Looks like you can get the bbPress POT file for whichever version you’re using here:

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

    Good luck!

    #14813
    swaymedia
    Member

    .. the latest bbpress with the latest wordpress. Could I use the bbPress forum list loop on the frontpage of my wordpress theme? so i can show all the latest discussions.. this wont be on a sidebar, so i dont want a plugin to do this, I just want to use the same code bbPress uses but on WordPress to show the forum topics?

    is this possible.? thanks in advanced.

    #63644
    tribsel
    Member

    FCK editor. I added FCK into my theme and that is the root of tag problem in my case. when I remove FCK script from head.php, tag functions starts to work again.

    so, now i have to figure out if its possible to have both (probably it is, but its not easy for me as I am not developer :)

    #73545
    the_Wish
    Member

    Here’s my working Plugins, transfered from Alpha6 to RC1 without any adjustment:

    • Accurate Post Time
    • Admin Can Post Anything (_ck_)
    • Allow Images
    • Avatar Upload
    • BBcode Buttons Toolbar (_ck_)
    • BBcode Lite (_ck_)
    • bbPress Polls (_ck_)(there’s a little oddity when trying to delete polls but it worked on second try, might have to watch this one more closely)
    • bbPress signatures (_ck_)
    • bbPress Smilies (_ck_)
    • bbSocialize
    • BBVideo
    • Censor
    • Check For Updates (_ck_)
    • Edit History (_ck_)
    • Hidden Forums (_ck_)
    • Hidden Forums Tag Filter (_ck_)
    • Human Test for bbPress (_ck_)
    • Mini Stats (_ck_)
    • Mini Track (_ck_)
    • Page links
    • Post Count Plus – Dynamic.Titles & More! (_ck_)
    • Post Edit Look Behind (_ck_)
    • Quote
    • Related Topics (_ck_)
    • Super Search (_ck_)
    • Support forum
    • Topics Per Page (_ck_)
    • Unread Posts (_ck_)

    In fact, I didn’t have a single plugin that was not working but for the WP shared logins of course. I didn’t have the chance to test every little setting of these but the basic functionality works.

    #73531
    Sam Bauers
    Participant

    bbPress de-registers all API hooks at initialisation. That means that WP plugin code is available, but none of it’s API calls are set to go off anymore.

    The best solution is to port the original plugin to bbPress and deliberately hook into it’s distinct API hooks. Very few WP plugins will “just work” with bbPress.

    #72489
    Sam Bauers
    Participant

    I’ve just committed code to trunk [2096] to make this easier to achieve.

    In your template you just need to use the post_form() function like so:

    post_form( array( 'last_page_only' => false ) );

    #60110
    Derek Herman
    Member

    Obviously this is an old post but it didn’t really give any answers and the link is to a PHPBB install.

    Can anyone tell me how to add a dropdown to change between forums? The function below lists the forums in a select options list, but I need a way to submit the options to a form that would switch forums. What would the action and method be? I’m running short on time and need to get this working asap so any help would be awesome.

    <?php bb_forum_dropdown(); ?>

    #63643
    tribsel
    Member

    dont be sorry, I am really thankful and glad for any suggestions or tips :)

    #71595
    TrishaM
    Participant

    Hi John – thanks for the code. I copied it exactly & pasted it into my topic.php (except for the styles) but it still didn’t work for me, so I removed the requirement to log in to vote, with still no luck. Hovering changes the stars color, but clicking does nothing at all.

    Do you think it’s likely that there’s a conflict with another plugin that might be causing it to not work? I’m using the following plugins (in addition to bbRatings):

    Akismet

    Bozo Users

    BBCode lite

    BBCode buttons toolbar

    BBPress signatures

    BBPress smilies

    Topics Per Page

    bbPress tweaks

    Human test for bbPress

    Moderator new post notification

    The only one I think I could do without is the smilies, but I really want to keep the others more than the ratings if I can’t figure out how to get it working……P.S. Two days since I posted on mdawaffe’s blog and still no response…..I just get the impression that he doesn’t want to support this any more……

    #63642
    johnhiler
    Member

    The JQuery issue sounded like it might be related to the WordPress integration?

    https://bbpress.org/forums/topic/favorites-broken-alpha-6

    Sorry if these links aren’t quite dead on – I haven’t seen this behavior before, so grasping at straws a bit! :-)

    #63637
    tribsel
    Member

    Hi, I have exactly the same problem. Do you have any ideas what could cause this? It is problem with theme obviously, because when I switch to default one, everything works. I just have no idea what could i break to do this error. Didnt touch anything important as far as I know :)

    btw – another thing which doesnt work is redirect – like when you forget to enter topic title and then press submit. You will get some error in default green layout (not inside my theme) and displayed link “back” leads to forum homepage, not to the topic post form – where it should… :(

    #71594
    johnhiler
    Member

    Here’s the code from my topic page template – hope it helps!

    <div style=”width:400px”>

    <div style=”float:left”>Average Rating:</div>

    <?php bb_rating(); ?>

    <div style=”float:left”> Your Rating: </div>

    <?php if (bb_is_user_logged_in()) :?>

    <?php bb_rating_dingus(); ?>

    <?php else : ?>

    You must log in to vote.

    <?php endif; ?>

    <br clear=”all”/>

    <?php bb_rating_count($topic->topic_id); ?>

    </div>

    #73638
    esemar
    Member

    That’s a good idea, I haven’t looked at the release candidates for BBpress… learned long ago to let other people get messy on the bleeding edge of technology :)

    What’s the chance that the data format will change when the real version 1 is release, anyone?

    #71593
    TrishaM
    Participant

    Hi John – sorry for the delay in responding…….I have the following in my topic.php file

    <div id="rating">Average Rating For This Topic:
    <?php if ( function_exists( 'bb_rating' ) ) bb_rating(); ?>
    <br />Rate This Topic Yourself:
    <?php if ( function_exists( 'bb_rating' ) ) bb_rating_dingus(); ?>
    </div>

    You can see it in action at:

    http://www.travel-writers-exchange.com/Forum/topic/what-if-the-domain-i-want-is-taken

    But I think you do have to be logged in to see/use it – I’m always logged so I can’t remember ;)

    #73583

    I’m seeing a similar issue to dmbware. Install looks ok until I paste the code in from the plug-in and then I can’t log into WPMU. I remove the code from wp-config and I’m OK. Can’t log into bbpress though and it says my password for admin can’t be reset.

    #71110

    With version 1.0-rc-1 and the default template (or if the current template includes <?php bb_topic_admin(); ?>) and you are logged in with the proper credentials for moving a post you should see the “Move this topic…” dropdown. With Kakumei it appears under the Reply form.

    Lines 49-55 of kakumei’s topic.php:

    <?php if ( bb_current_user_can( 'delete_topic', get_topic_id() ) || bb_current_user_can( 'close_topic', get_topic_id() ) || bb_current_user_can( 'stick_topic', get_topic_id() ) || bb_current_user_can( 'move_topic', get_topic_id() ) ) : ?>

    <div class="admin">
    <?php bb_topic_admin(); ?>
    </div>

    <?php endif; ?>

    #73658

    mcmc, the title of your topic says bbPress and WPMU, but your question is about BuddyPress.

    If you’ve got a BP question, head on over to buddypress.org and ask us over there. :)

    #73490

    Add this to your bb-config.php

    define('WP_AUTH_COOKIE_VERSION', 1);

    #71647

    Log out of everything, kill the cookies, log in via the bbPress side. I had that once or twice, and it was all down to cookie corruption :/

    #73580
    dmbware
    Member

    I have followed video integrating the database with ease. I now have your plug in for WP. I have copied the lines of code and have pasted them into my WPconfig file. What I have noticed with this code, I cant log out off bbpress, and every time I go back to wordpress it logs me out !

    Any step by step directions on the integration would much appreciated !

Viewing 25 results - 25,076 through 25,100 (of 32,468 total)
Skip to toolbar