Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I …?


  • amirsaam
    Member

    @7i7griffin

    1. How can I show something after the last post?!? You know that the last post has no id to use that. I wanna show the Closed Topic messege after the last post but it come under topic title :( http://up8.iranblog.com/images/61frq7cfblw4039p3jvv.png the code is this:

    <div id="entry">
    <h2<?php topic_class( 'topictitle' ); ?>>
    <span id="topic_labels"><?php bb_topic_labels(); ?></span><?php topic_title(); ?> <span id="topic_posts">(<?php topic_posts_link(); ?>)</span>
    </h2>
    <?php do_action('under_title', ''); ?>
    <?php if ($posts) : ?><?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <?php bb_post_template(); ?>
    <?php endforeach; endif; ?>
    <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?>
    <?php if(bb_is_user_logged_in()) { echo post_form();} ?>
    <?php else : ?>
    <div id="closed">
    <h1>موضوع قفل شده‌است</h1>
    <p>شما نمی‌توانید به موضوع‌های قفل‌شده پاسخی دهید.</p>
    </div>
    <?php endif; ?>
    </div>

    2. How can I fix this problem? http://up8.iranblog.com/images/6z4otkp479qzah6tr5.png

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.