chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 426 through 450 (of 4,477 total)
  • @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

    @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.

    @chrishajer

    Participant

    Try this version. All the lines are complete here:

    http://pastie.org/979912

    @chrishajer

    Participant

    Then it’s missing a closing character in one of the tags probably, or a quote mark somewhere.

    I see what I did now: the lines were not wrapped in my editor, and I am missing the end of some of the lines (they’re incomplete; see lines 40 and 44 for example.) If you repair those lines with the equivalent from your theme, it will be fine. Otherwise I’ll post a correction later today.

    In reply to: Only Admins

    @chrishajer

    Participant

    @chrishajer

    Participant

    Use an editor with syntax highlighting so you can see where to start and stop.

    Or, try this file and see if I swapped them correctly for you:

    http://pastie.org/978359

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    Yes, one topic per topic, please.

    @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.

    @chrishajer

    Participant

    I haven’t used it Dreamweaver in about 10 years, but when I did, it always created invalid HTML. I didn’t like the autocomplete either. I found that using it made it harder to learn how to create HTML since it was hiding so much from me.

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    That avatar follows my username. So wherever I use chrishajer it pulls my Avatar, from gravatar.com I think. I didn’t do anything special at your site.

    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.

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    The plugin worked for me, so I am unsure why it is not working for you. You have a lot more plugins that I do, so maybe there’s a plugin conflict.

    You might want to get some local help with this. The two plugins I know of are not working for you.

    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.

    @chrishajer

    Participant

    I saw that yesterday but I thought it was me and autocomplete in my browser. Happens for me two, on two systems with either Firefox or Chrome.

    @chrishajer

    Participant

    You want to make sure that the topic title (the post title of a forum entry) appears on the page (it is now), but also in the <title> tag of the page, for SEO?

    So this page:

    http://www.escoladinheiro.com/forums/forum/wordpress

    Should have some variation of this title:

    Forums de Webmarketing e Afiliados » WordPress – Programação

    ?

    @chrishajer

    Participant

    What do you expect to happen? Do you want WordPress posts/pages to appear as forum topics automatically, or are you trying to display a list of WordPress posts/pages?

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    That’s normally the job of a plugin, but this one is not working. You can try contacting the author of that plugin to see if it can be updated.

    I just installed this plugin on a trunk installation (so 1.0.2 or even 1.1-alpha) and the video gets embedded just fine:

    https://bbpress.org/plugins/topic/bbvideo/

    There is some weirdness because it looks like the plugin should have an admin page, but the link doesn’t work (that could be fixed if you needed it). But just pasting a youtube video URL into the post showed me an embedded video as expected.

    In reply to: When bbpress 1.0.3?

    @chrishajer

    Participant

    I voted for it being called 1.0.3 as a bug fix release for 1.0.2. The problem is, there are things in there that were destined for 1.1. So maybe there never will be a 1.0.3 and the next will be 1.1 with a couple more bugs fixed, and new functionality like subscribe to topic, and login-less posting. I expect we’ll hear back in a couple days.

    I guess based on the fact that it’s being used here as 1.1-alpha and the fact that 1.0.3 actually has 2 new features in it, that it should probably be 1.1 and there would be no 1.0.3.

    @chrishajer

    Participant

    @chrishajer

    Participant
    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    On this page:

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

    There is no embedded video, just the code you pasted in there. The plugin is not working. It did not parse your post for the video bbcode and replace it with embed code, which is what the plugin is SUPPOSED to be doing.

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    A video should be embedded, like this page:

    http://www.riversideinfo.org/forum/topic/pensions/page/3#post-12866

    That is using a different plugin in an older bbPress installation.

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    It does not appear that the plugin is processing the short code. I would say the plugin is not working in your installation. Did you activate the plugin? Can you post a screenshot of your plugin admin screen?

    In reply to: When bbpress 1.0.3?

    @chrishajer

    Participant

    Good question. I’m not sure who handles that. I will find out. The tickets are all fixed and it’s ready to be picked up.

    In reply to: Plugins for 1.0.2

    @chrishajer

    Participant

    Paste this into the post area:

    [video]http://www.youtube.com/watch?v=bxDlC7YV5is[/video]

    After you submit the content, does the video show up embedded? That’s how it’s supposed to work. No more to it than that.

Viewing 25 replies - 426 through 450 (of 4,477 total)