gerikg (@gerikg)

Forum Replies Created

Viewing 25 replies - 151 through 175 (of 574 total)
  • @gerikg

    Member

    make sure the folder is called “my-templates” I have trouble setting permission trough Dreamweaver. I always have to go through my ftp program to do it right.

    In reply to: Latest Discussion Page

    @gerikg

    Member

    Okay here is the update:

    I created discussion.php and put it in root. In the file I put…

    <?php

    require('./bb-load.php');

    bb_repermalink();

    $bb_db_override = false;
    do_action( 'bb_index.php_pre_db' );

    if ( isset($_GET['new']) && '1' == $_GET['new'] ) :
    $forums = false;
    elseif ( !$bb_db_override ) :
    $forums = bb_get_forums(); // Comment to hide forums
    if ( $topics = get_latest_topics( false, $page ) ) {
    bb_cache_last_posts( $topics );
    }
    if ( $super_stickies = get_sticky_topics() ) {
    bb_cache_last_posts( $super_stickies );
    }
    endif;

    bb_load_template( 'discussion.php', array('bb_db_override', 'super_stickies') );

    ?>

    It’s the same as index.php except for the last line I put discussion.php

    Then I created the template file discussion.php. I put in the file:

    <?php bb_get_header(); ?>
    <?php if ( $forums ) : ?>

    <div id="discussions">
    <?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 ?>

    </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(); ?>

    Now bb_new_topic_link() & topic_class() for sticky does not work.

    @gerikg

    Member

    @psycheangels great

    Maybe we should have on FAQ post with only Question and Answer by a moderator ::coughchriscough:: (Since there is only one! You need to change your icon to a highlander icon)

    @gerikg

    Member

    @chrishajer based on what kevinjohngallagher said I don’t think it’s possible, he got close. It’s not necessary anymore, thank you. There are other questions that are important right now.

    In reply to: Latest Discussion Page

    @gerikg

    Member

    Any way to do it via plugin folder, functions.php, or theme folder without putting the file in the root? If bbpress upgrades (don’t laugh too hard) I will forget about it.

    @gerikg

    Member

    @kevinjohngallagher, thank you! I was afraid of that. I was trying to make a theme that works both ways I guess it’s not an option. How did you get the “last topic” & “last user” to post?

    @chrishajer you still want a crack at it?

    In reply to: bbPress loop help

    @gerikg

    Member

    I’m trying the same thing but instead of OL i’m using TABLES. https://bbpress.org/forums/topic/if-forum-is-not-category

    Maybe that can help you jumpstart to find the answer.

    @gerikg

    Member

    The website states

    “There are lots of articles on the web stating that bbPress and WordPress have to be installed into the same database in order for the two scripts to integrate correctly. This is not true (though perhaps it was in the past). “

    But it’s great that it worked.

    @gerikg

    Member

    http://img690.imageshack.us/img690/6453/28175250.jpg

    The one circle is not under a category. I want it to be under it’s own Table. With the headings Main Theme, Topics, and Post.

    @gerikg

    Member
    <?php if (bb_get_forum_is_category()) {; ?>
    <table id="forumlist">
    <tr<?php bb_forum_class('bb-category'); ?>>
    <td colspan="4" class="cattile"><?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>
    <tr>
    <th colspan="2"><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php } else { ?>
    <table id="forumlist">
    <tr>
    <th colspan="2"><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php };?>
    <?php continue; endif; ?>

    I can’t get it right..

    @gerikg

    Member

    I was trying and trying every variations but I was using topic not topics!

    @gerikg

    Member

    Add

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    to your .htacess file. By default GoDaddy uses php4

    bah I should add pictures to my tutorial!

    @gerikg

    Member

    First, clear your cache and you should have access again. If that doesn’t work then it’s a deeper issue.

    @gerikg

    Member

    I agree with zaerl

    @gerikg

    Member

    what is the name of your hosting company?

    @gerikg

    Member

    About the secretkey, your wp-config.php file is out of date. You should really use the one you see in wp-config-sample.php there are minor changes, one is the file is not closed by “?>”

    @gerikg

    Member

    Does your server use php5? I use 1and1 hosting and I have to put a line in the htaccess or I get the same thing.

    @gerikg

    Member

    Chrishaje, I think it’s something like this https://bbpress.org/plugins/topic/bbpress-recent-replies/#post-4989

    but not recent replies but new topics that was just added….?

    In reply to: Continuing Topic Icons

    @gerikg

    Member

    @paulhawke is it possible? can you email me?

    PM would be real nice on this site.

    @gerikg

    Member

    What are the “bb_” keys in your DB?

    It’s rare that someone doesn’t have a wordpress prefix. I would suggest as a last resort to export your wordpress and create a new database and don’t remove the prefix.

    The login out when you switch from one side to another, it happens to some of my clients when php5 isn’t used. It happens to me. If your users aren’t on both then I doubt that is the problem.

    Take a deep breathe, you got more users helping you out here than most posts.

    @gerikg

    Member

    @gerikg

    Member

    In the wordpress integration section of bbpress have you tried to enter the information like it was a foreign database?

    @gerikg

    Member

    robalan, can you install without checking those boxes and then go to the bbpress dashboard and setting it through SETTINGS-> WORDPRESS INTEGRATION?

    @gerikg

    Member

    @Gautam,

    So no active Keymasters and one active moderator, does not give anyone hope. Maybe it’s time to get new people?

    This thread can go back and forth, like now. And like now, annoying more people. I hope it’s not influencing you to leave, you helped me through a lot of plugins issue

    So maybe the priority is getting new keymasters and moderators?

    @gerikg

    Member

    Sorry if I sounded negative but I don’t mean to be.

Viewing 25 replies - 151 through 175 (of 574 total)