warmechoco (@warmechoco)

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • In reply to: sub-sub forums

    warmechoco
    Member

    @warmechoco

    Hello, I upgraded,

    but I’m using a template of my own,

    and I have to change the forum.php & front-page.php, but they don’t change when you upgrade??

    In reply to: sub-sub forums

    warmechoco
    Member

    @warmechoco

    Hi! thanks alot for the help,

    only 1 problem.. my pages don’t have that kind of structure..

    forum.php

    <?php bb_get_header(); ?>

    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a> &raquo; <?php forum_name(); ?></h3>

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

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

    <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    <a href="<?php forum_rss_link(); ?>"><?php _e('RSS feed for this forum'); ?></a>

    <div class="nav">
    <?php forum_pages(); ?>
    </div>
    <?php endif; ?>
    <?php post_form(); ?>

    <?php bb_get_footer(); ?>

    front-page.php

    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="discussions">
    <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 foreach ( $forums as $forum ) : ?>
    <tr<?php alt_class('forum'); ?>>
    <td><a href="<?php forum_link(); ?>">
    <?php forum_name(); ?>
    </a> — <small>
    <?php forum_description(); ?>
    </small></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endforeach; ?>
    </table>
    <?php if ( bb_is_user_logged_in() ) : ?>
    <?php endif; else : // $forums ?>
    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>">
    <?php bb_option('name'); ?>
    </a></h3>
    <?php post_form(); endif; ?>

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

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

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></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 _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    <?php endif; ?>
    </div>

    <?php bb_get_footer(); ?><?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="discussions">
    <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 foreach ( $forums as $forum ) : ?>
    <tr<?php alt_class('forum'); ?>>
    <td><a href="<?php forum_link(); ?>">
    <?php forum_name(); ?>
    </a> — <small>
    <?php forum_description(); ?>
    </small></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endforeach; ?>
    </table>
    <?php if ( bb_is_user_logged_in() ) : ?>
    <?php endif; else : // $forums ?>
    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>">
    <?php bb_option('name'); ?>
    </a></h3>
    <?php post_form(); endif; ?>

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

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

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></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 _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    <?php endif; ?>
    </div>

    <?php bb_get_footer(); ?><?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id="discussions">
    <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 foreach ( $forums as $forum ) : ?>
    <tr<?php alt_class('forum'); ?>>
    <td><a href="<?php forum_link(); ?>">
    <?php forum_name(); ?>
    </a> — <small>
    <?php forum_description(); ?>
    </small></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endforeach; ?>
    </table>
    <?php if ( bb_is_user_logged_in() ) : ?>
    <?php endif; else : // $forums ?>
    <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>">
    <?php bb_option('name'); ?>
    </a></h3>
    <?php post_form(); endif; ?>

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

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

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></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 _e('Sticky:'); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><small><?php topic_time(); ?></small></td>
    </tr>
    <?php endforeach; endif; ?>
    </table>
    <?php endif; ?>
    </div>

    <?php bb_get_footer(); ?>


    warmechoco
    Member

    @warmechoco

    I think more people have this problem?

    will somebody please write a clear way to do this?

    I don’t get it either…


    warmechoco
    Member

    @warmechoco

    anyone? :(

    this whas kinda my persuasion to choose for bbpress, so I could login from Iframes.. I knew nothing about forums (only phpBB: but this wasn’t easy to work with in iframes)… what a shame :)

    hmmm but Iframes is so handy :) I also use it for my photo albums… Thanks btw!

    good idea, but it didn’t work … :/

    how else do you integrate a forum in a site?? very curiouse

    In reply to: where are my forums??

    Hey, in total shocq I restarted my forums all over again.. thanks for the help anyway

    In reply to: avatar
    In reply to: avatar

    but if I do that and the message is longer… then the avatar + name of the next message come higher and in the lines of the message…

    In reply to: super beginner :)

    and euhm.. “not even tried” .. That ‘s not true at all.. see my subject ;)

    , but ok thanks anyway :)

    In reply to: super beginner :)

    Hello,

    fel64 I’m sorry if I’m being annoying but you’ve already helped me a lot! I think this should work just fine, thanks for spending your time.

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