Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,076 through 31,100 (of 32,495 total)
  • Author
    Search Results
  • #1439
    bbolman
    Participant

    Alright I’m wondering if someone is willing to do me an extra-special favor and write a plugin that puts a little drop-down box at the top of your bbPress installation allowing people to choose a different theme. I’m interested in allowing people to demo out all the themes available for bbPress over at Pro Forums.

    Accidentally put this in install, can someone move it to plugins?

    ;)

    #54666

    In reply to: Import SMF to bbPress

    lonemadmax
    Member

    Sometime ago I adapted a script that imports data from phpBB. Some of the changes are probably a Bad Thing, but it worked for me (about 40 users, 15 forums, 150 topics and 800 posts).

    Among the changes:

    • Keeps current users, forums, etc. in bbPress. The new forum had started, so I wanted that, even though most new messages were just for testing.
    • When an SMF username is found in the bbPress DB, the bbPress user is assigned to the SMF one. Otherwise, a new user is created.
    • Imports tags that can’t be used in bbPress, such as table, flash and some stupid formatting stuff.
    • Probably other things I don’t remember.

    Jump to the CONFIGURATION SECTION and change to match your setup and liking. Wherever you see phpbb it really means smf, of course. One of the things I didn’t do was that type of cleanup. Also, despite the comments saying that you need a fresh new install of bbPress, that’s not true anymore.

    Keep in mind that data reuse only happens with users. If a forum or a topic exists in bbPress with the same name that one from SMF, you’ll probably get two topics with the same name (different ID number, though). I haven’t tested this, and I don’t know if that means problems.

    Also, subforums become forums on their own, as bbPress uses a flat one-level system. If you are using the plugin that allows for subforums, you may be able to correct this afterwards, or even add the code to the script so that it is done.

    If you don’t want any of the probably Bad Things I introduced, get the original one and look compare the

    $export_sql

    lines to have a feeling of what to change.

    Now, if there’s any interest, where do I send it?

    #54752
    Trent Adams
    Member

    I haven’t had a chance to try it out yet, but it looks interesting! Do you have a forum with a post that this is working at for a demo linickx?

    Trent

    #54750

    In reply to: Equalize Hottags

    phery
    Member

    ah ok, i see there is not so much support going on in here.

    so i ask again, is there a way to add for each tag parameter (size) also in addition some colors , and if yes would be somebody so nice to post me the code in here?

    thanks in advice

    cheerio

    #54720
    Trent Adams
    Member

    We do not have a special key hidden, ;) It has to be added to your config.php! Example:

    // Your Akismet Key.  You do not need a key to run bbPress, but if you want to take advantage
    // of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at
    // http://wordpress.com/api-keys/
    $bb->akismet_key = ''; // Example: '0123456789ab'

    Still requires getting a key from wordpress.com to work!

    With the recent re-works of the admin, this might be a great option to store in the database through a core plugin!

    Trent

    #1436
    linickx
    Participant

    I’ve seen lots of posts requesting this functionality, but couldn’t find any plugins. Well I’ve had a go at porting Jeff Moore wordpress plugin, not all bbcode tags work as the markup isn’t allowed by default within bbpress, but it’s a start !

    Download Here.

    Blog Post.

    #54749

    In reply to: Equalize Hottags

    phery
    Member

    well im not a coder, more a general enduser. with only some basic coding & editing abilities.

    but thanks :)

    #54739
    ear1grey
    Member

    It doesn’t have to know the difference. You set

    $special

    to be a special class before the loop, then the last thing you do in the loop is set

    $special

    to be something else. So the first time round the loop

    $special

    has it’s original value, then at the end of the first loop it’s value is changed (so it’s no longer the initial value).

    The fact that the value is repeatedly reset to the other value is irrelevant (there is overhead in this, but it’s comparable to calling a function each time round the loop to check for “is this the first item” and it has the advantage that it’s not API specific.

    #54748

    In reply to: Equalize Hottags

    chrishajer
    Participant

    So far, this is the only thing I’ve seen posted about customizing the hottags:

    https://bbpress.org/forums/topic/67?replies=5#post-295

    It doesn’t specifically address the colors, just the size, of the tags. I imagine, since the style tag is with a font-size in it, like this:

     style="font-size: 9pt;"

    that you could make a plugin that did something where if the font size is between a and b, add “font-color: #whatever;” and if it’s between b and c, add “font-color: #whatever2;” etc.

    I think this would be pretty interesting. I can see where this code would need to be added in bb-includes/template-functions.php, but that’s a really bad idea (modifying core files) – so, a plugin is a much better idea.

    #52560

    mdawaffe,

    sorry I just saw this post. I try it in this forum here, and it works perfect. However I knew it is not working in my personal forum. I will try it as in your tickets 585 and report to you the debugging code.

    thanks, and happy chinese new year to everyone.

    Franky

    #1433
    Carpediem
    Member

    Hello everyone,

    Sorry for being so clueless about community buildling. But have some very simple basic questions, which will give you the idea of just how much I don’t know. and how new I am to this. :-)

    I want to create a unique online community. One that I have not found online yet. Although it sounds very familiar like all the others. It has several unique ideas that I feel will give it some strength to create a momentum and grow into a very popular community.

    First question am I at a good starting place with bbpress.org to create an online community? Am I still in the right starting place if my community needs the capability to upload and manage/organize photos? I want the community to be very user controled. Meaning I would like the members to have allot of control over their profiles. Template, colour schemes etc…

    I would also like this community to become very friendly for advertisers. Not that I will be seeking any company that wants to advertise, as the advertising will have to remain true to the mission of the website. And advertising I don’t expect to worry about anytime soon. My main focus is getting the community started. Does bbpress.org sound like a good starting place?

    Thanks for your time.

    Kevin

    #54572

    In reply to: Navigation Theme

    chrishajer
    Participant

    I like it too. I’ve been watching the evolution from the beginning. I think I would fix a few of the XHTML errors so that the theme validates. You can check it here:

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fopen-dialogue.com%2Fbbpress%2F

    Basically, the <br> should all be self-closed

    <br />

    and all the <p> and <div> tags need to be properly nested and closed.

    In the CSS there are just a couple problems. Line 304 & 305 need to have units after the number for the absolute positioning:

    	top: 25;
    left: 225;

    should be

    	top: 25px;
    left: 225px;

    Other than that I think it looks really good. Nice job. Very nice.

    #54737
    ear1grey
    Member

    A lazy short circuit solution which makes the first displayed entry in a loop appear different:

    $special="specialClass normalClass";

    for {

      echo ... class="$special" ...

      $special="normalClass";

    }

    #49611

    In reply to: Emoticons For bbPress?

    chrishajer
    Participant

    So it filters through the post but not the edit? It appeared to me that some old posts that had text emoticons, like :) , were filtered on display and how display a gif instead of the text. Maybe I imagined that?

    In fact, here’s a post I made on my forum back in December, and it gets converted to a gif.

    http://www.riversideinfo.org/forum/topic.php?id=6&replies=15#post-40

    I did not edit that post, and I just installed the bb-emoticons plugin yesterday. I guess I still don’t understand how it works.

    #54706
    chrishajer
    Participant

    I was able to see the first post:

    First Post! w00t.

    What issue are you having? Maybe you need to clear your browser cache or something? Or it appears different to a logged in user?

    There are also two different URLs in your post, one a subdomain and one a subfolder: which one is correct? Maybe there’s an issue there? (the config says subfolder “itts”…)

    #54688
    nickbrady
    Member

    that was fast! ;-)

    Very interesting, I see you’re doing both things:

    – Display WP posts in bbpress forums

    – Display bbpress topics in WP

    Are these two different plugins? I guess it’s one for WP and one for bbpress.

    Looking forward to those plugins! ;-)

    #54652

    In reply to: Restrict New Topic

    Glenn Ansley
    Member

    Do you think this would be an easy code?

    If we we’re editing the actual bb code, wouldn’t we just put an if then conditional around the link to post a new topic? Then again… I guess that wouldn’t remove the ability, just the link that makes posting a new topic an ability… hmmm.

    What existing plugin do you think my be the easiest to modify to this end?

    #49608

    In reply to: Emoticons For bbPress?

    chrishajer
    Participant

    I think I answered my own question. This appears to work fine in .80. :D

    #54565

    In reply to: Navigation Theme

    Jim S.
    Participant

    Ok, you can find it here:

    http://open-dialogue.com/navigation1-1.zip

    I appreciate any help and insight you can provide. :)

    #54562

    In reply to: Navigation Theme

    Null
    Member

    Np dude, you only forgot to outline the forum part now :) Topic — Add New » part is still small and need to stretch to the max…

    Looks good

    #1423
    soychuy
    Member

    Hi. First of all, thanks for your help.

    Well, I’ve installed bbPress and integrated it with WordPress and it works fine.

    But I’d like to show the last post of a forum on my WordPress home… is there any plugin to do that or what code should I use?

    Thanks again.

    #1421
    trucex
    Member

    It looks like “my-templates” is actually now “bb-templates” but the information on http://bbpress.org/documentation/themes/ doesn’t reflect that.

    Just a heads up…trying to make sure we don’t lose track of documentation before we even get bbpress out of diapers. ;)

    #54607

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    What bugs? Euuh well if you have a fix too, put it here for the time being :)

    #54630
    Trent Adams
    Member

    I should have caught that the first time *SLAPS HIMSELF*. You are including your wp-config.php file for WordPress integration? For integration with wordpress, you need to define the other parts of wordpress, but I wouldn’t include that file as it has nothing to do with integration or with getting bbPress going. Take out this and it should work:

    require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );

    If you want to integrate with WordPress, check out this integration documentation for bbPress and WP.

    Trent

    #54628
    Trent Adams
    Member

    I think is must be just the way the comments are put in! Maybe try this format with the commenting out:

    <?php

    define('BBDB_NAME', '********');
    define('BBDB_USER', '********');
    define('BBDB_PASSWORD', '********');
    define('BBDB_HOST', '********');

    $bb->domain = 'http://www.dongbang51.net';
    $bb->path = '/board/';
    $bb->name = 'New';
    $bb->admin_email = '********@hotmail.com';

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    define('BBLANG', '');

    $bb->akismet_key = '';

    $bb->wp_table_prefix = '';
    $bb->wp_home = '';
    $bb->wp_siteurl = '';

    /* Stop editing */

    if ( !defined('BBPATH') )
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );

    ?>

    As well, I am assuming you are using an Akismet number, otherwise have it as:

    $bb->akismet_key = false;

    Trent

Viewing 25 results - 31,076 through 31,100 (of 32,495 total)
Skip to toolbar