Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,501 through 19,525 (of 32,499 total)
  • Author
    Search Results
  • #98267

    In reply to: Wp and bbpress

    You don’t need deep integration for sharing user tables.

    You can share them by defining something like this in wp-config.php file

    define('CUSTOM_USER_TABLE','new_user_table');
    define('CUSTOM_USER_META_TABLE', 'new_usermeta_table');

    But I would suggest copying over the users in WordPress side and then telling bbPress to use WordPress tables.

    #103367

    In reply to: Wp and bbpress

    You don’t need deep integration for sharing user tables.

    You can share them by defining something like this in wp-config.php file

    define('CUSTOM_USER_TABLE','new_user_table');
    define('CUSTOM_USER_META_TABLE', 'new_usermeta_table');

    But I would suggest copying over the users in WordPress side and then telling bbPress to use WordPress tables.

    #97182
    Pomy
    Participant

    Hi Zaerl,

    I think that the author built such a system in order to support a huge number of pictures (too many files in the same directory will slow down the file seek). I don’t like this approach.

    Then please can you tell me what is the alternative?

    How can we get rid the numbers of folders? because sometimes it creates trouble when we change hosting. It take so much time to download them and then shift to another hosting. I’ve faced this problem.

    It would be great if you tell me the alternative or solution. :)

    #102282
    Pomy
    Participant

    Hi Zaerl,

    I think that the author built such a system in order to support a huge number of pictures (too many files in the same directory will slow down the file seek). I don’t like this approach.

    Then please can you tell me what is the alternative?

    How can we get rid the numbers of folders? because sometimes it creates trouble when we change hosting. It take so much time to download them and then shift to another hosting. I’ve faced this problem.

    It would be great if you tell me the alternative or solution. :)

    #94744
    Rich Pedley
    Member

    I’ll update as soon as I can then ;)

    thanks.

    #94743

    Reply page now only shows one reply. Still probably needs some tuning, but at least it’s less confusing now. :)

    #98282

    In reply to: Manipulating bb_option

    Describing what are you trying to do will help me explaining it better. :)

    #103382

    In reply to: Manipulating bb_option

    Describing what are you trying to do will help me explaining it better. :)

    #36508
    Jaja..
    Member

    I have made a front-page where i show off all latest topics matching the forum ID’s..

    It looks like this.

    Forum id = General questions -> latest topics of the general questions

    Forum id = Support questions -> latest topics of the support questions

    I did this by hiding or deleting the forum id’s from all others and repeat the latest topics section.

    Like this.

    <table id=”latest” role=”main”>

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

    </tr>

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

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

    <td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></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>

    </tr>

    <?php endforeach; endif; ?>

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

    <?php if( $topic->forum_id != 4 ) { ?>

    <?php if( $topic->forum_id != 5 ) { ?>

    <?php if( $topic->forum_id != 6 ) { ?>

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

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

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

    <!– <td class=”num”><?php bb_topic_voices(); ?></td> –>

    <td class=”last-post-avatar”><?php echo bb_get_avatar( $topic->topic_last_poster , ’36’); ?></td>

    </tr>

    <?php } ?>

    <?php } ?>

    <?php } ?>

    <?php endforeach; endif; ?>

    </table>

    <table id=”latest” role=”main”>

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

    </tr>

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

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

    <td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></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>

    </tr>

    <?php endforeach; endif; ?>

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

    <?php if( $topic->forum_id != 3 ) { ?>

    <?php if( $topic->forum_id != 4 ) { ?>

    <?php if( $topic->forum_id != 6 ) { ?>

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

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

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

    <!– <td class=”num”><?php bb_topic_voices(); ?></td> –>

    <td class=”last-post-avatar”><?php echo bb_get_avatar( $topic->topic_last_poster , ’36’); ?></td>

    </tr>

    <?php } ?>

    <?php } ?>

    <?php } ?>

    <?php endforeach; endif; ?>

    </table>’

    But know i have a problem with using this plugin.

    http://bbpress.org/plugins/topic/front-page-topics/

    I only want to show the latest 5 topics of each forum ID (excluding the once i’m hiding)

    Know with this plugin it also counts the topics i’m hiding..

    Isn’t there some code that says: show only the latest 5 topics from forum ID 3

    Thanks,

    #94742
    Rich Pedley
    Member

    oh.. that makes sense, so the page is only supposed to show 1 individual reply, not all of them! No wonder I couldn’t figure out what was going on!

    Ok that isn’t so alien to me then ;)

    #98154

    In reply to: Just a Community

    Snat
    Member

    I plan to do so after I have cleaned up the code and then test it on a few different IP.Board sites. My current code is not the most “prettiest” at the mo.

    I am currently working on all this so you should likely see something in the coming weeks or so ;)

    #103254

    In reply to: Just a Community

    Snat
    Member

    I plan to do so after I have cleaned up the code and then test it on a few different IP.Board sites. My current code is not the most “prettiest” at the mo.

    I am currently working on all this so you should likely see something in the coming weeks or so ;)

    Yes it is!

    In front-page.php, instead of just echoing the loop in the foreach loop, return it into a variable, compare it and then decide you want to show it up or skip it.

    If you are not into code, then it will be hard for you.

    Yes it is!

    In front-page.php, instead of just echoing the loop in the foreach loop, return it into a variable, compare it and then decide you want to show it up or skip it.

    If you are not into code, then it will be hard for you.

    #94736
    Myphone Duo
    Member

    Cool. But will have some time though to implement those. I’m still trying to figure out bbpress. I am used to phpbb though :(

    #36444

    Using bbPress-WordPress syncronization plugin and was able to connect to the bbpress part on wordpress dashboard, but not the other way around.

    bbPress url: http://example.com/forums/ Everything is ok!

    WordPress url: http://example.com/ URL is incorrect or connection error, please verify it (full variant): http://example.com?wpbb-listener

    Link above leads to: “If you see that, plugin must connect well. bbPress test response (must be a:1:{s:4:”test”;i:1;}): a:1:{s:4:”test”;i:1;}”

    Enable plugin (on both wp & bb) Not allowed: [bbPress part] Cannot establish connection to WordPress part

    -made fsockopen, etc. changes

    -my-plugins folder, etc. permissions=755

    Sincere appreciation for anyone that can offer assistance/ideas :)

    HeliosPrime
    Member

    This is so weird. I installed the plugin, and it works perfectly… but I can’t find the physical files on my server anywhere. :-/ ARe they being stored in the DB now, by chance?

    #59950
    Jaja..
    Member

    Hmmm i had the same error when i tried to change from basic to prettylinks.

    First i got an error when i tried to change the WordPress install to permalinks (friendly links)

    And it told me to copy and past this code to my .htaccess file.

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteRule ^index.php$ – [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    When i did that and chmod the file to 666 by Transmit (file upload client) everything worked fine..

    But when i tried to change bbPress from basic to pretty permalinks i got also the same error the TS had.

    But adding this code (line) below the code above i have no trouble anymore..

    Options +MultiViews

    * So i don’t know what i’m doing but i think it’s okay because it works.

    Thanks..

    #94730
    Rich Pedley
    Member

    excellent. I’ll wait for a few more things to be added before I code my extension to it then ;)

    #94729

    Yes and yes. :)

    #36431
    cyberquill
    Member

    I just installed bbPress and I’m trying to create my own theme to match my WP Blog theme.

    So I created a new Folder under my-templates called “my-theme” and I copied all the files from the kakumei default theme into my-theme, the expectation being that my-theme would now look the same as kakumei (since it contained the same files), and I could go about tweaking those files to my liking. (I’ve used the same process to tweak the WP Default theme on my blog, and now it looks like this, the very look I intend to create for my bbPress Forum).

    Problem is, my-theme does not recognize style.css, so it comes out like this. It simply refuses to apply the styles in my-templates/my-theme/style.css.

    I’m assuming the code line ‘<link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />’ should hook up with style.css in the my-templates/my-theme folder, just as it does in bb-templates/kakumei.

    Why is the stylesheet not being recognized?

    #98061
    TahoeChappy
    Member

    While that’s my knee-jerk reaction to my web guys now after doing a lot of benchmarking over the weekend of other sites using buddypress vs bbpress, what about back-end control / functionality / integration of bbpress into any 3.0+ WP theme that I’m being told is “clunky” at best and will require custom code to be written to get the two to play nice?

    #103161
    TahoeChappy
    Member

    While that’s my knee-jerk reaction to my web guys now after doing a lot of benchmarking over the weekend of other sites using buddypress vs bbpress, what about back-end control / functionality / integration of bbpress into any 3.0+ WP theme that I’m being told is “clunky” at best and will require custom code to be written to get the two to play nice?

    #94725
    Rich Pedley
    Member

    I lot of the administrative features aren’t active/coded yet, so I think they have a higher priority atm. (ie: Edit | Trash | Close | Sticky | Move Links).

    The importer will happen, but I personally think the plugin needs to be virtually complete before it gets written. (I could of course be wrong).

    #97695

    bbPress isn’t more or less SEO friendly than any other forum software. Considering it uses almost the exact same permalink rewriting code as WordPress. The bbPress plugin for WordPress will offer custom permalink options and I’ll look into allowing for this.

Viewing 25 results - 19,501 through 19,525 (of 32,499 total)
Skip to toolbar