Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,151 through 21,175 (of 32,517 total)
  • Author
    Search Results
  • #88824
    chrishajer
    Participant
    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="hottags" role="main">
    <h2><?php _e('Hot Tags'); ?></h2>
    <p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p>
    </div>

    <div id="discussions">
    <?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>
    </tr>
    <?php while ( bb_forum() ) : ?>
    <?php if (bb_get_forum_is_category()) : ?>
    <tr<?php bb_forum_class('bb-category'); ?>>
    <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    </tr>
    <?php continue; endif; ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </table>
    <?php endif; // bb_forums() ?>
    <?php if ( $topics || $super_stickies ) : ?>

    <h2><?php _e('Latest Discussions'); ?></h2>

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <!-- <th><?php _e('Voices'); ?></th> -->
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; // $super_stickies ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; // $topics ?>
    </table>
    <?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>
    <?php endif; // $topics or $super_stickies ?>

    <?php if ( bb_is_user_logged_in() ) : ?>
    <div id="viewdiv">
    <h2><?php _e('Views'); ?></h2>
    <ul id="views">
    <?php foreach ( bb_get_views() as $the_view => $title ) : ?>
    <li class="view"><a href="<?php view_link( $the_view ); ?>"><?php view_name( $the_view ); ?></a></li>
    <?php endforeach; ?>
    </ul>
    </div>
    <?php endif; // bb_is_user_logged_in() ?>

    </div>

    <?php else : // $forums ?>

    <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Add New Topic'); ?></div>

    <?php post_form(); endif; // $forums ?>

    <?php bb_get_footer(); ?>

    Same thing here

    #88823
    chrishajer
    Participant

    Actually, it looks like they’re all complete in the original too. Maybe you didn’t copy all the way to the end of the lines. Notice the scrollbar in the code window – there’s more to the right.

    #80731

    In reply to: When bbpress 1.0.3?

    mr_pelle
    Participant

    Can we decide if we’re working on bbpress 1.0.3 or bbpress 1.1?

    Quote. It is very important for new tickets and plugins updates.

    I voted for it being called 1.0.3 as a bug fix release for 1.0.2.

    I’d prefer that too. I’ve tagged my new tickets as 1.0.3, but doing this makes the milestone seem never ending… :P

    #88871

    Hi Petehd,

    Everything you can find it in the file http://www.homedesignsense.com/forum/bb-templates/kakumei/style.css

    1) You can find in the 683 line of the css file (background-color)

    2) Remove the background-color in the line 109

    3) You can find it in the line 106

    3.1) the sub-title in the line 89

    You can ask me any other cuestions in my forum ;)

    Regards,

    quicoto.

    #88870
    sakikawa
    Member

    Hi!

    I don’t think you have understood the Erwin’s question.. ;)

    Erwin, it’s normal.. when you activate the deep integration by BP, it updates a table (bp_options, or something) with the new bbpress address (inside bp root).

    So you need to access the bp or bb database, find the link you think is wrong, and edit it with the right link.

    ..my suggestion is to reinstall BP and BB, if you haven’t user or important data. ;)

    #88904
    Gautam Gupta
    Participant

    It looks like the 2 plugins bbpress-integration and wordpress-26-and-bbpress-09-integration are conflicting. You must delete any one of them via FTP.

    #88729
    Damien
    Member

    The theme is based on a few functions lifted from classipress which provide a profile management page via wp theme pages rather then some god awful admin edit page.

    As for bbress, I just re-coded all profile links to point at the wp profile, like

    <a href="/people/<?php post_author(); ?>"><?php post_author_avatar(); ?></a>

    I redirect registrations back to wp and I use the same DB for the forums and wordpress, so I just run some sql here and there pulling what I need displayed in wordpress from the forum and vice versa.

    I need to put the bb profile info such as last posts, subscribed etc etc into my wordpress author pages, I think it should be possible – everything else has worked eventually.

    #88855

    Hi TellyWorth,

    Thanks for popping up.

    Please send examples to Akismet support – false positive problems are usually easy to fix.

    Mate, that’d be really awesome. Basically every 2-3 days on this forum half my posts are marked as Spam. You’ll notice that if ChrisHajer isn’t on the forums for a day or so that they appear quiet, and when he does come on there’s a host of “rescued from Akismet” posts.

    I think you’d get some great examples here by going through bbPress.org :)

    #88842

    <title>

    <?php

    if( function_exists(‘bb_title’))

    {

    bb_title();

    } else {

    wp_title(‘«’, true, ‘right’);

    }

    ?>

    <?php bloginfo(‘name’); ?>

    </title>

    #88885
    Michael
    Participant

    I quite like this – very simple; also following the Vanilla 2 forum style. :)

    The thing I like about your themes is that they’re easy to modify; which is evidently why they are popular (if I’m not mistaken).

    Great work refueled. :)

    #88840

    Kevin John – I wasn’t aware that you could use an if statement like that on wordpress. Good to know for future. :)

    #88839

    I tested, but it’s not working friend: http://www.escoladinheiro.com/forums/

    I really need to remove that blog title on the forums so i can lauch it :(

    #88838

    Kevin, can you adjust that code for mine?

    i’m using this one:

    <title>

    <?php wp_title(‘«’, true, ‘right’); ?> <?php bloginfo(‘name’); ?>

    <?php if( function_exists(‘bb_title’)) { bb_title(); } ?>

    </title>

    #88850

    Akismet is not great on forums, it catches alot of legitamite posts and marks them as spam. That said, it also catches a good percentage of the spam too.

    On one of my forums, 100+ spammer registrations a day is about the norm. One of WordPress and bbPress’s plus sides is it’s easy to register, so there’s alot of automated bots out there.

    Not having Akismet activated with the amount of registrations / traffic you’re recieving is probably a bad idea.

    Phpbb has a feature where you have to approve a member’s registration before they become members

    Thats not built into the core, infact very few moderation abilities are; but I’m sure there’s plugins to enact such functionality. Zaerl had something like that I belive.

    I am using WordPress MU, the Buddypress Magazine theme

    bbpress is not built to, and does not play well with WPMU.

    If you’re using WPMU, I strongly strongly advice BuddyPress instead of bbPress.

    They are somewhat integrated

    We probably need somewhat more information ;-)

    #88837

    As long as you’re ok with me writing this without testing:

    <title>

    <?php bloginfo('name'); ?>

    <?php

    if( function_exists('bb_title'))

    {

    bb_title();

    } else {

    wp_title();

    }

    ?>

    </title>

    #88835

    Hi Paulo,

    This is one of the main issues with bbPress and WordPress. Here is a quick and dirty fix which should solve your specific issue:

    <?php if( function_exists('bb_title')) { bb_title(); } ?>

    Put this in your WordPress header theme next to the closing title tag like this:

    <title>

    // WordPress code

    <?php bloginfo('name'); ?>

    <?php wp_title(); ?

    // but this line after the existing WordPress code

    <?php if( function_exists('bb_title')) { bb_title(); } ?>

    </title>

    Realistically though, in the long term, duplicating the themes in bbpress and WordPress is the best way forward.

    =============

    Additionally,

    On your WordPress pages there’s a popup delivered from “MaxBlogPress”, that is running an annoying little script that messes with browsers. It keeps moving further down the page, so that when you hit the bottom of the page it keeps making it longer and longer and longer etc. Apart from being annoying, it made it look like your site had been hacked. I hope thats not the case Bro, but if it is, you can go looking for it in your code.

    It doesn’t appear on the bbPress pages, only WordPress pages.

    #88834

    Hi Kevin, the problem is my header and footer are running a lot of custom codes for grabbing my subscribers and twitter counters for example. This information is grabbed from WordPress plugins that connect on Feedburner and Twitter API’s. I have also the problem that the blog uses a 960 grid system for the layout. I’m really unsure how to move the header and footer to my bbpress folder without crashing everything :(

    #88848
    chrishajer
    Participant

    You mean on the front page of the forums (public) or somewhere in the admin?

    If the front page of the forum, just open the front-page.php file in your template folder, and remove from line 11:

    <?php if ( $topics || $super_stickies ) : ?>

    to line 45:

    <?php endif; // $topics or $super_stickies ?>

    That will just leave a list of forums on the front page. Is that what you mean?

    If you do that, and you have a long list of tags and short list of forums, the footer won’t be pushed all the way to the bottom. But first let’s see if this is what you want to do.

    #88581
    Taeo
    Member

    Dreamweaver has a bad reputation among the developers I know/work with as an elaborate, bloated, WYSIWIG editor responsible for a large number of do-it-yourself abominations on the net.

    Reading back through that I realize it’s kind of harsh! But that is the attitude I get from people towards it. Personally I don’t use it because its auto complete likes to do wonky things with my code. Also when many times you just want to text edit a few lines who wants to wait for the program to load?

    #88790

    In reply to: Plugins for 1.0.2

    chrishajer
    Participant

    I looked at this post:

    http://www.homedesignsense.com/forum/topic/video-test-2-3

    1. you don’t need the [video] bbcode/shortcode to use bbvideo.

    2. you don’t need to post the complete embed code, just paste in the link to the video and the plugin does the rest.

    I just made a post in that same topic the way you’re supposed to do it with bbvideo, and it did not work. Not sure if you have the plugin activated or not right now, but if you do, it’s not working the way it’s supposed to.

    #80730

    In reply to: When bbpress 1.0.3?

    chrishajer
    Participant

    If you have access to subversion, it is easiest. If you don’t, you can download all the bbPress files, but you end up not getting the BackPress files.

    svn co http://svn.automattic.com/bbpress/trunk/ ./bbpress

    will get you the latest trunk version, which is basically 1.0.2 with bug fixes, plus login-less posting and subscribe to topic.

    Otherwise, you have to get it here:

    https://trac.bbpress.org/changeset/2432/trunk?old_path=%2F&format=zip

    from the bottom of this page:

    https://trac.bbpress.org/browser/trunk

    Then you have to get BackPress.

    http://backpress.automattic.com/browser/trunk

    I’ve never done it this way; I use subversion normally, so I’m not sure how well this works.

    #88832

    Exactly chris :) There isn’t any title for those pages at this moment :(

    Thanks all, got it working with this:

    if ( $posts ) {
    $out = $posts[0]->post_text;
    $out = strip_tags( $out );
    $out = str_replace( array( "n", "r" ), ' ', $out );
    $out = preg_replace( '|/!]*?[^[*?]|si', '', $out );
    $out = substr($out, 0, 200); // only display the first 200 characters of the first post
    }

    echo "n".'<meta name="description" content="'.$out.'" />';

    #87357
    r-a-y
    Participant

    For those not using deep integration and want to use BuddyPress avatars, check out this forum post I just made on BuddyPress.org:

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-definitively-display-buddypress-avatars-in-bbpress/?topic_page=1&num=15#post-56018

    If you’re using WPMU, replace the $avatar_folder_url with:

    $avatar_folder_url = '/files/avatars/'. $author_id;

    #88830

    Hi chris, thanks for the reply. I only that the titles appear just like on my normal WordPress entries. On the forum, if i click on a post or topic, there isn’t any title for that :( I’m not trying to automate content. I only want that my forum has it’s own pages/posts titles, not only to appear on the top browser, but also to help them rank in search engines.

    I think this problem appears because i’m defining the title of this bbpress posts/pages in my wordpress header, but not the friendly way :(

Viewing 25 results - 21,151 through 21,175 (of 32,517 total)
Skip to toolbar