Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,101 through 19,125 (of 32,505 total)
  • Author
    Search Results
  • Rich Pedley
    Member

    Well deserved, congrats.

    _ck_
    Participant
    #94958
    Ricardo
    Participant

    @Gautam

    its only working now because i reuploaded the images as 25×25, if i upload them again at 200×200 they will appear as 200×200 eventough i specified 25×25.

    The same code works perfectly on wordpress themes, the quick fix was to upload images in the exact size, not perfect solution but it works.

    Perhaps someone else has an ideia on how to make it work without uploading images in the exact size?

    #72960
    iftomkins
    Participant

    I also wanted to stop the categories from displaying ‘0’ on my front page. I followed CK’s advice and edited my theme’s front-page.php file.

    I changed

    <?php forum_topics() ?>

    to

    <?php $cat_topics = get_forum_topics();
    if ($cat_topics > 0) {
    echo forum_topics();
    }
    else { echo ' '; }
    ?>

    and

    <?php forum_topics() ?>

    to

    <?php $cat_posts = get_forum_posts();
    if ($cat_posts > 0) {
    echo forum_posts();
    }
    else { echo ' '; }
    ?>

    #99331

    Makes sense. If you’re using it as a stand alone, you can continue to do so if you’re happy with it’s features as we’ll be continuing support for the 1.0/1.1 branches of code for the conceivable future. If you’d like to run the latest and greatest and have a need for WordPress integration, then the in-development plugin version is the way to go.

    #104431

    Makes sense. If you’re using it as a stand alone, you can continue to do so if you’re happy with it’s features as we’ll be continuing support for the 1.0/1.1 branches of code for the conceivable future. If you’d like to run the latest and greatest and have a need for WordPress integration, then the in-development plugin version is the way to go.

    So i got them integrated but when i go into deep integrate i put the code the requires the wp_load.php file and when i save it upload it and go to bbpress domain it takes me to my WordPress site and wants me to create a user/blog for it or if i am logged in on WordPress it tells me the blog does not exist? If i remove the require once line it goes back to working. On wordpress i have w3 total cache, the domain mapping plugin, bbPress Intergration plugin with it set to wordpress mu and thats it the others are not that big such as akismet cforms smart youtube wordpress importer and wp-pagenavi

    BTW yes i have the iBlogPro theme and bbpress theme

    #94953
    Gautam Gupta
    Participant

    @ricardouk

    Looks like you fixed it. You can have the width and height attributes in the parameters. Correct me if I am wrong. :-)

    #94952
    Ricardo
    Participant

    Hi everyone!

    I don´t know wether to post this here or start a new thread, if the mods find it unsuitable i will open a new one.

    I just installed the bbpress pluggin on a test site, just trying to figure things out and start learning while its being developed, one of the first things i wanted to do was adding a icon to the each forum in the forum list and since the new bbpress uses “wordpress” i went and added a thumbnail to each forum at:

    Admin panel>>>Forums>>> and edited/added a thumbail to each forum using the post thumbnail function

    but it wasnt showing up so as newbie i used firebug to find where i could add that in and i found;

    bbp-themesbbp-twentytenloop-bbp_forums.php

    and modified:

    <td class=”bbp-forum-info”>

    ” title=”<?php bbp_forum_title(); ?>”><?php bbp_forum_title(); ?>

    to

    <td class=”bbp-forum-info”>

    <?php the_post_thumbnail(array( 25,25 ), array( ‘class’ => ‘alignleft’ )); ?>” title=”<?php bbp_forum_title(); ?>”><?php bbp_forum_title(); ?>

    here’s a link to the code on pastebin:

    http://pastebin.com/bNLPQj2R

    it worked but because i uploaded the images at 150×150 the thumbs were being displayed at 150×150 eventough i specified that it should be 25×25 in the code.

    Am i doing something wrong? to quicly fix it i reuploaded the images at 25×25 and they’re showing ok now.

    sorry if i’m “sounding” complicated but i cant explain it better

    here’s the live bbpress instalattion:

    http://www.ricardouk.com/bbpress/forum/

    #96040

    In reply to: bb Mystique Theme v1.0

    Adrienkb
    Member

    Issue with your theme.

    if you have:

    Main forum

    Sub forum A

    Sum form of A (B)

    going into either of those sub forums you dont see any of the post and topics that belong to those forums, you only see them if you go to the mian forum that shows an over view of all the topics

    Switching back to the default theme fixes this.

    #101140

    In reply to: bb Mystique Theme v1.0

    Adrienkb
    Member

    Issue with your theme.

    if you have:

    Main forum

    Sub forum A

    Sum form of A (B)

    going into either of those sub forums you dont see any of the post and topics that belong to those forums, you only see them if you go to the mian forum that shows an over view of all the topics

    Switching back to the default theme fixes this.

    #96039

    In reply to: bb Mystique Theme v1.0

    Aung
    Member

    Hi I try with your theme, no error with firefox but when I try with IE 8, error shows as below:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; BTRS31753; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Timestamp: Sun, 13 Feb 2011 22:42:36 UTC

    Message: ‘support.opacity’ is null or not an object

    Line: 21

    Char: 19544

    Code: 0

    URI: http://forum.aung.info/bb-templates/bb-mystique/js/jquery.mystique.js?ver=1.0

    Any idea to fix this? Thanks.

    #101139

    In reply to: bb Mystique Theme v1.0

    Aung
    Member

    Hi I try with your theme, no error with firefox but when I try with IE 8, error shows as below:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; BTRS31753; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Timestamp: Sun, 13 Feb 2011 22:42:36 UTC

    Message: ‘support.opacity’ is null or not an object

    Line: 21

    Char: 19544

    Code: 0

    URI: http://forum.aung.info/bb-templates/bb-mystique/js/jquery.mystique.js?ver=1.0

    Any idea to fix this? Thanks.

    #73151
    mattiaz
    Member

    well i tryed this but it dosen’t work for me :(

    Acces denied…

    https://i.imgur.com/n1ls2.gif

    #99323

    Only recently has anyone stepped up to give bbPress any dedicated attention. Namely, me. :)

    Also consider that bbPress as a project is pretty much feature frozen. There isn’t anything more to add to it. There will be a 1.1 soon with a few extras, and that’s it for the stand-alone version aside from maintenance as needed.

    A lot of this is already on the forums in several places.

    #104423

    Only recently has anyone stepped up to give bbPress any dedicated attention. Namely, me. :)

    Also consider that bbPress as a project is pretty much feature frozen. There isn’t anything more to add to it. There will be a 1.1 soon with a few extras, and that’s it for the stand-alone version aside from maintenance as needed.

    A lot of this is already on the forums in several places.

    #37422
    ChadTheDJ
    Member

    Can anyone check my code and see what I am doing wrong?

    Front-Page.php:

    <?php bb_get_header(); ?>

    <?php if ( $forums ) : ?>

    <div id=”discussions”>

    <?php if ( bb_forums() ) : ?>

    <h2><?php _e(‘Minecraft: The Server Review Forums’); ?></h2>

    <table id=”forumlist”>

    <tr>

    <th style=”text-align: left !important;”><?php _e(‘Categories’); ?></th>

    <th><?php _e(‘Last Poster’); ?></th>

    <th><?php _e(‘Freshness’); ?></th>

    <th><?php _e(‘Topics’); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Views’); ?></th>

    </tr>

    <?php while ( bb_forum() ) : ?>

    <?php if (bb_get_forum_is_category()) : ?>

    <tr<?php bb_forum_class(‘bb-category’); ?>>

    <td colspan=”6″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?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”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>

    <td class=”num” width=”15%”>“><?php forum_last_poster(); ?></td>

    <td class=”num” width=”10%”><?php topic_time(); ?></td>

    <td class=”num” width=”10%”><?php forum_topics(); ?></td>

    <td class=”num” width=”10%”><?php forum_posts(); ?></td>

    <td class=”num” width=”10%”><?php echo bb_number_format_i18n($GLOBALS->views); ?></td>

    </tr>

    <?php endwhile; ?>

    </table>

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

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

    <table id=”latest”>

    <tr>

    <th style=”text-align: left !important;”><?php _e(‘Topic’); ?> — <?php new_topic(); ?></th>

    <th><?php _e(‘Author’); ?></th>

    <th><?php _e(‘Last Poster’); ?></th>

    <th><?php _e(‘Freshness’); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Views’); ?></th>

    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php _e(‘Sticky:’); ?> <big>“><?php topic_title(); ?></big></td>

    <td class=”num” width=”15%”>“><?php topic_author() ?></th>

    <td class=”num” width=”15%”>“><?php topic_last_poster(); ?></td>

    <td class=”num” width=”10%”><?php topic_time(); ?></td>

    <td class=”num” width=”10%”><?php topic_posts(); ?></td>

    <td class=”num” width=”10%”><?php show_view_count(); ?></td>

    </tr>

    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td>“><?php topic_title(); ?></td>

    <td class=”num” width=”15%”>“><?php topic_author() ?></th>

    <td class=”num” width=”15%”>“><?php topic_last_poster(); ?></td>

    <td class=”num” width=”10%”><?php topic_time(); ?></td>

    <td class=”num” width=”10%”><?php topic_posts(); ?></td>

    <td class=”num” width=”10%”><?php show_view_count(); ?></td>

    </tr>

    <?php endforeach; endif; ?>

    </table>

    <?php bb_latest_topics_pages( array( ‘before’ => ‘<div class=”nav”>’, ‘after’ => ‘</div>’ ) ); ?>

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

    <div id=”hottags” role=”main”>

    <h2><?php _e(‘Hot Tags’); ?></h2>

    <p class=”frontpageheatmap”><?php bb_tag_heat_map(); ?></p>

    </div>

    <?php endif; // bb_forums() ?>

    <?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”>“><?php view_name( $the_view ); ?>

    <?php endforeach; ?>

    </div>

    <?php endif; // bb_is_user_logged_in() ?>

    <div id=”viewdiv”>

    <h2><?php _e(‘Members Online’); ?></h2>

    <ul id=”views”>

    <li class=”view”>Online now: <?php do_action(‘members_online_now’,”); ?>

    <li class=”view”>Online today: <?php do_action(‘members_online_today’,”); ?>

    </div>

    </div>

    <?php else : // $forums ?>

    <div class=”bbcrumb”>“><?php bb_option(‘name’); ?> » <?php _e(‘Add New Topic’); ?></div>

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

    <?php bb_get_footer(); ?>

    forum.php

    <?php bb_get_header(); ?>

    <div class=”bbcrumb”>“><?php bb_option(‘name’); ?><?php bb_forum_bread_crumb(); ?></div>

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

    <table id=”latest”>

    <tr>

    <th><?php _e(‘Topic’); ?> — <?php new_topic(); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Views’); ?></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>“><?php topic_title(); ?></big></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php show_view_count(); ?></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>“><?php topic_title(); ?></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php show_view_count(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”><small><?php topic_time(); ?></small></td>

    </tr>

    <?php endforeach; endif; ?>

    </table>

    <p class=”rss-link”>” class=”rss-link”><?php _e(‘<abbr title=”Really Simple Syndication”>RSS</abbr> feed for this forum’); ?></p>

    <?php forum_pages( array( ‘before’ => ‘<div class=”nav”>’, ‘after’ => ‘</div>’ ) ); ?>

    <?php endif; ?>

    <?php if ( bb_forums( $forum_id ) ) : ?>

    <h2><?php _e(‘Subforums’); ?></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”>’ ); ?>“><?php forum_name(); ?><?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”>’ ); ?>“><?php forum_name(); ?><?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; ?>

    <?php post_form(); ?>

    <?php bb_get_footer(); ?>

    #94946
    Gautam Gupta
    Participant

    @Willabee

    Increase the forums per page option and they would show up.

    @ch8rt

    Sorry, but I really don’t have any idea. :)

    #94943
    ch8rt
    Member

    Doesn’t appear to be a permissions thing. I’ll try a new fresh install. Thanks for everyones help so far. :)

    #94942

    Out of ideas honestly. If you have /wp-content/plugins/bbpress/ and all the necessary files are in there and not corrupted from the download and moving around process, then it’s file permissions.

    #94941
    ch8rt
    Member

    I tried that already, I’ll just sit tight. And wait. :(

    #37415
    markduffy78
    Member

    Hi,

    I hope im on the correct forum? or plugin? :-) I’d like to add conditions to the bp_forum_topics() loop that only contain posts with certain keywords. Can anyone help me with this?

    I’d like to create a custom plugin that overrides the current function bp_forum_topics() that does this. Im new to wordpress development so unsure about filters and tags. Right now it returns all topics (with the exception of loose search terms, newest, popular etc). I want to be able to return topics if the posts related to that topics contains specific search terms.

    Im using this solution to get global unified search.

    Creating The sitewide global/unified search Page for your Buddypress Theme

    All that is remaining is to get it to search forums posts. At the moment all it does is search topics.

    –Mark

    #99302
    mr_pelle
    Participant

    You’d have to edit the .htaccess file and the following filters: get_forum_link, get_topic_link..

    #104402
    mr_pelle
    Participant

    You’d have to edit the .htaccess file and the following filters: get_forum_link, get_topic_link..

    #94935
    ch8rt
    Member

    I downloaded the zip at the bottom of this page

    https://trac.bbpress.org/browser/branches/plugin

    Expand and copied the ‘plugin’ folder to my wp-content/plugins folder. So I have

    ../wp-content/plugins/plugin/bbp-admin/

    ../wp-content/plugins/plugin/bbp-css/

    ../wp-content/plugins/plugin/bbp-images/

    ../wp-content/plugins/plugin/bbp-includes/

    ../wp-content/plugins/plugin/bbp-languages/

    ../wp-content/plugins/plugin/bbp-themes/

    ../wp-content/plugins/plugin/bbpress.php

    ../wp-content/plugins/plugin/license.txt

    ../wp-content/plugins/plugin/readme.txt

    My other plugins look like this…

    ../wp-content/plugins/akismet/

    ../wp-content/plugins/hello.php

    ../wp-content/plugins/index.php

    Its a completely fresh install of 3.1 RC4 except for the bbpress plugin.

    I’ve had my hands in front of my face for the last day, ready to facepalm :)

Viewing 25 results - 19,101 through 19,125 (of 32,505 total)
Skip to toolbar