Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,576 through 18,600 (of 32,505 total)
  • Author
    Search Results
  • #105604

    You’ll want to use the bbPress plugin with some custom template files, and customize it to taste. Anything is possible. :)

    #95312
    Anointed
    Participant

    thank you kindly sir!

    Have to say I am quite impressed with what I have seen so far. Not to deep into this yet, but so far so good. Already have bbpress into a fluid 1040 grid working properly including media queries.

    Now it’s time to get a bit hardcore with the template changes… ;)

    #95310
    Ryan
    Member

    @tooltrainer – I take that back, once I change permalink to /%postname%/ it’s goofed up.

    this is ok:

    http://inadir.ryanserver.net/newdir/sample-page/

    this link, from the widget, is a problem:

    http://inadir.ryanserver.net/newdir/forums/forum/abc/

    result of above link

    Not Found

    Apologies, but the page you requested could not be found. Perhaps searching will help.

    #95309
    Anointed
    Participant

    I’m one of those guys with a tricked out page.php file.

    Is there a ‘global’ bbpress forum identifier that I can use?

    I was thinking about doing something like this on my page.php

    if page is a bbpress page then load file forum.php
    else continue loading page.php

    This would easily allow me to use a custom forum.php page for styling the forum pages, while still maintaining my ability to use a custom page.php file for everything else.

    Anyone have a snippet that does this?

    –or a better idea?

    thanks

    #95308

    @tooltrainer – I’d ask if you have this much going on, that you probably create your own topic to post things in. To be honest, I can’t really keep up with everything you’re trying to do, so I don’t really know what to tell you. :)

    I’d suggest just starting completely over from scratch, and comparing the two installs to see what’s different.

    @Rick – Even if you get your old forums converted into the new plugin, BuddyPress still hasn’t been updated to integrate with the plugin version of bbPress, so your group forums either need to stay how they are, or you need to build what eventually will be in BuddyPress core. :)

    #95302
    tooltrainer
    Member

    Hey at this point I’d actually TAKE that trade! Errors & notices I can deal with because they give me something to debug. But just “page not found” doesn’t give me anything to work with. =(

    Tried reinstalling several times, de/reactivating, etc. Doesn’t matter, no matter what I do the forums just plain aren’t accessible… if they even exist at all. Bizarre.

    JJJ, any ideas?

    Thanks!

    Jonathan

    #95300
    tooltrainer
    Member

    Well after setting my permalinks to /%postname%/ I now get a nice pretty “page not found” error page instead of the DB error. But am no closer to having bbP work, and I really don’t know why. There’s not much to it (which is why I’m using it in the first place! =) Just upload plugin, activate, create forums, and away you go. Have never seen any issue like this evern with having done several test installs before. I’m using the stock bbP 2010 theme also.

    Jonathan

    #95299
    tooltrainer
    Member

    Yep… early adopter blues indeed. But, I want things how I want them so, I’ll just have to deal with it!

    SO in an effort to understand how integration should work, I’ve set up a fresh install of WP 3.1.2, ProfitsTheme, and bbPress. I want to have my coder attempt an integration on a totally clean slate and see what happens.

    Problem is very strange now… if I try and access my bbP forums, I get “Error establishing a database connection” and that’s it. No idea why… any suggestions?

    Thanks!

    Jonathan

    #95298

    @tooltrainer – that’s the price you pay for having something so customized. In the future any custom plugins won’t be able to drop in, and will all need customization. You’re sacrificing ease of use to have something totally unique. You need to ask yourself if you want to keep babysitting your site whenever anything outside of your control gets updated, or if you can make things work with something you have less control over.

    Regarding converting from stand alone to plugin, make sure you have a solid backup and restore plan incase something goes wrong.

    Regarding theme comparability, bbPress defaults to using the page.php of your theme and replacing the title and the content with what bbPress expects to be there. If your custom theme has page.php all tricked out, you’ll want to find/hire a developer to show you how to bypass it.

    Eventually we’ll have a codex here with examples, similar to codex.wordpress.org, until then it’s up to you early adopters to go hunting for solutions and post them up in the forums, for everyone to learn from. :) I’ve tried to dream up every possible way for things to be filtered and manipulated with this version of bbPress, so you should never need change anything in the core files.

    #100402
    Notnasiul
    Member

    We are using the Private Forums plugin:

    https://bbpress.org/plugins/topic/private-forums/#post-33

    although we have just discovered that it doesn’t disable rss feeds, so your post are still visible in a rss reader :(

    I shall try a different one…

    #105502
    Notnasiul
    Member

    We are using the Private Forums plugin:

    https://bbpress.org/plugins/topic/private-forums/#post-33

    although we have just discovered that it doesn’t disable rss feeds, so your post are still visible in a rss reader :(

    I shall try a different one…

    #95297
    tooltrainer
    Member

    Is there by chance any info anyone can point me to on how exactly to make a theme bbP friendly? Since my theme is not based on TwentyTen even the tiniest bit, and is also nothing like the typical “blog” oriented theme, I’ve had to do tremendous amounts of code hacking to get the two to play together. But it sounds like the latest builds of bbP have added a lot of stuff for theme integration.

    I’d really like to let one of my coders loose on a fresh install of my theme and the latest bbP, and have her integrate the two “properly” so that future updates to either of them will require a lot less manual hacking. I’m just not really even sure where to start, what files from the bbP theme are required, how to integrate them with my theme (since it doesn’t have the usual suspects like a header file, footer file, single-post file, etc. Nearly everything about it is dynamically generated by the theme admin panel in WP).

    Just kinda desperate for a little guidance… thanks!!

    Jonathan

    #100225
    Gautam Gupta
    Participant

    Under normal circumstances, it should be absolutely painless. I’d recommend running it on your localhost or at least have a backup of the whole database. Also, I’d recommend you to use the latest version, you’d have to copy paste or checkout the file – I haven’t zipped and uploaded it as an archive yet.

    #105325
    Gautam Gupta
    Participant

    Under normal circumstances, it should be absolutely painless. I’d recommend running it on your localhost or at least have a backup of the whole database. Also, I’d recommend you to use the latest version, you’d have to copy paste or checkout the file – I haven’t zipped and uploaded it as an archive yet.

    #95294
    Ryan
    Member

    I was looking for those too and found this:

    from bbp-includes/bbp-shortcodes.php:

    bbp-forum-index

    bbp-single-forum, pass id attribute

    bbp-topic-index

    bbp-topic-form

    bbp-single-topic, pass id attribute

    bbp-topic-tags

    bbp-topic-tag

    bbp-reply-form

    #95293
    Jason Pelker
    Member

    Is there a good shortcode reference sheet available for the plugin?

    #100397
    Fartlek
    Member

    I would take a look at some of the themes on bbninja and see if you like any of those. Then after you download one and install it, you can edit the code to make it look closer to how you want it.

    It looks like you have made some changes (I don’t see the subforums beneath like you said) so are you happy with it now? Or what did you want it to look like? I think it looks decent.

    #105497
    Fartlek
    Member

    I would take a look at some of the themes on bbninja and see if you like any of those. Then after you download one and install it, you can edit the code to make it look closer to how you want it.

    It looks like you have made some changes (I don’t see the subforums beneath like you said) so are you happy with it now? Or what did you want it to look like? I think it looks decent.

    Fartlek
    Member

    I’m editing the edubb theme. If I make the avatar the size I want, then the post area gets shoved downwards. Therefore I edited the post.php to look like this:

    <div class="post-author"><?php post_author_link(); ?></div>
    <b><div class="post-author"><?php post_author_avatar_link(); ?></div></b>
    <div class="post-date"><?php post_author_title(); ?></div>
    <div class="post-date"><?php printf( __('Posted %s ago'), bb_get_post_time() ); ?>  <a>">#</a> <?php post_ip_link(); ?>    <?php post_edit_link(); ?>    <?php post_delete_link(); ?><?php if (function_exists('report_post_link')) : ?>    <? report_post_link(); ?><?php endif; ?></div>

    <div class="post-text">
    <?php post_text(); ?>
    </div>

    by adding the post_author_avatar_link to line 2.

    It works pretty well but the problem is that the avatars show up where I want them to ONLY in the reply posts, but not in the threadstarter post. Can anyone help me figure out where/how to edit the beginning post of the thread?

    #98168

    In reply to: Just a Community

    Snat
    Member

    Ya, it’s still bbPress :)

    #103268

    In reply to: Just a Community

    Snat
    Member

    Ya, it’s still bbPress :)

    #100223
    Gautam Gupta
    Participant

    jonkristian: Will take a look into that, worked for me though.

    JJJ: I’ll give that a shot. :)

    #105323
    Gautam Gupta
    Participant

    jonkristian: Will take a look into that, worked for me though.

    JJJ: I’ll give that a shot. :)

    #38429
    answerthink
    Member

    I am a beginner with a beginner question: On the front page in the “Latest Discussions” section, there are columns for Last Poster and Freshness. However, in the “Forums” section, there are no such columns.

    I would like to add this information in the “Forums” section as well (and then eventually delete the “Latest Discussions” section). I have added the two column headers (actually combined into one column that has both pieces of info in it), but I have no idea how to get the correct data (which I want to search all the topics from within each forum and pull the latest poster and time details).

    The code I currently have is below (for the site http://heathoops.net/forums). It’s formatted how I want it, but I have no idea what post data it is pulling (I want it to pull the latest post from any topic within each forum)… Can anyone help?

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

    <h2><?php _e(‘Forums’); ?></h2>

    <table id=”forumlist”>

    <tr>

    <th><?php _e(‘Main Theme’); ?></th>

    <th><?php _e(‘Topics’); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Last Post’); ?></th>

    </tr>

    <?php while ( bb_forum() ) : ?>

    <tr<?php bb_forum_class(); ?>>

    <td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( ‘</div>’ ); ?></td>

    <td class=”num”><?php forum_topics(); ?></td>

    <td class=”num”><?php forum_posts(); ?></td>

    <td class=”num”>by “><?php topic_last_poster(); ?>
    on <?php echo date(“D M j, Y g:i a”, strtotime($topic->topic_time)); ?></br></td>

    </tr>

    #95286

    Also, you shouldn’t need to use your franken-theme anymore. bbPress comes with some pretty cool theme compatibility now. Make sure you *don’t* have

    add_theme_support( 'bbpress' );

    in your custom theme, and bbPress *should* still work and fill in the blanks. You’ll just need to style your CSS to taste.

    As an example, http://testbp.org/discussion/ is using the standard bp-default BuddyPress theme, with no template files moved or shifted around. bbPress is just putting itself where it thinks it should be. I’m using some short-codes on the front page to display everything, and some custom CSS to make it match a little more nicely.

Viewing 25 results - 18,576 through 18,600 (of 32,505 total)
Skip to toolbar