Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 26,026 through 26,050 (of 26,677 total)
  • Author
    Search Results
  • #54178
    macwise
    Member

    It’s better than Christmas…

    But really, I have to say that even though I am much more familiar with phpbb, and even though it has a (currently) larger, more active community, and even though there are many more features, I chose to stick with bbpress to integrate with wordpress.

    First of all, the integration process, though buggy now, will no doubt only get simpler and cleaner. I also expect to soon see the types of features that I need, and a shortage of the code that I can do without.

    In fact, my decision may even have been in part due to the “code is poetry” which is written at the bottom of each page, but more importantly in the code. I’m excited to see the developments, and would even like to get to the point where I can lend a hand to the community like others are.

    #54131

    In reply to: Unique Style Sheet?

    macwise
    Member

    Thanks again. Hey, since I have you here, maybe I can ask you a quick one…I’m looking for a way to display content solely based on whether it’s a wordpress page or a bbpress page. For instance, I would like to have the login controls for the wordpress site be in the sidebar when wp is loaded, and the bbpress controls there when bb is loaded.

    I imagine it wouldn’t matter which way the user logged in, but there are a few things I would like which I haven’t been able to achieve due to the way I have to put absolute path for redirects, etc. Here are the features I need, maybe you can suggest a more elegant solution for them?:

    – Login Redirects to last visited page

    – Display selective content based on which side the user’s on (bb vs wp)

    – I seem to be having some issues with relative paths? (Actually, I think I may have just figured this out, and I may just be dumb)

    – Some other thing I’ll ask about in 7 minutes or less, I’m sure…

    I’m a beginner, but not a newb. (anymore). I feel I am getting a pretty good grasp, but I still get confused now and again. Thanks for any feedback you can give.

    #54156

    In reply to: Dumb question!

    k8cpa
    Member

    Well, I for one, would absolutely LOVE to see you all do hosted forums… have it intergrated into WordPress, that would be the bomb diggity man…

    Anyways, just a thought.

    -CHuck

    #54155

    In reply to: Dumb question!

    Trent Adams
    Member

    Who knows. Maybe wordpress.com will spark some kind of hosted bbPress solutions. May be wishful thinking though….

    Trent

    #1356
    k8cpa
    Member

    How come ya’ll don’t offer hosted forums?

    Like http://invisionfree.com/

    I think yours looks 100% better and more than likely easier to config too.

    just wonderin’

    WordPress is awesome, BTW… could use a more themes… and customizeable Smilies, But other than that it rocks… :) and you shant ever hear me complain… *hehe*

    -Chuck

    #49898
    andyh2tk
    Member

    Its all css now, I got the php and html done, I have to do a lot of css work to make it look good.

    #49897
    mozey
    Member

    Nice article,

    #49896
    andyh2tk
    Member

    It’s exactly what I did, and a bit outdated. I might have to switch themes.

    #49895
    Trent Adams
    Member

    Typo and it stripped the link. It is working now above as well as here:

    http://www.adityanaik.com/blog/bbpress-and-wordpress-integration/

    Trent

    #49894
    andyh2tk
    Member

    what article? Theres no link.

    #49893
    Trent Adams
    Member

    I have never tried what you are doing (in terms of this type of integration), but maybe this article by So10 might be something that can help in the meantime? If not, disregard ;)

    Trent

    #49892
    andyh2tk
    Member

    I got it right except for in k2 it looks really weird. Its all over the place. Look at thetechkid.com/bbpress to see whats wrong with it.

    #49891
    andyh2tk
    Member

    Austane, I use k2 and could you share your header and footer info with me?

    ~andyh2

    #49890
    macwise
    Member

    I seem to be having a similar problem here, but when I add:

    require_once('/wp-content/themes/BabyQuestions101/header.php');

    in my bb config.php file, I get this error:

    Warning: main(/wp-content/themes/BabyQuestions101/header.php) [function.main]: failed to open stream: No such file or directory in path/to/babyquestions101.com/forum/config.php on line 3

    Fatal error: main() [function.require]: Failed opening required ‘/wp-content/themes/BabyQuestions101/header.php’ (include_path=’.:/usr/local/lib/php’) in /path/to/babyquestions101.com/forum/config.php on line 3

    (the require_once code is just below the php tag, like this:

    <?php

    require_once('/wp-content/themes/BabyQuestions101/header.php');

    // ** MySQL settings ** //

    define('BBDB_NAME', '////'); // The name of the database...

    I can’t seem to make this error go away.

    Also, is it true that with bbpress .75 I now DO NOT need to add the following line to my config.php file?:

    define('WP_BB',true);

    Any help here would be appreciated.

    #54018

    Not all the servers, just the one that’s in charge of bbPress.org and WordPress.org.

    It’s getting hammered after the release of WP 2.1.

    We’re getting new servers soon, though, so take heart!

    #51391
    tominated
    Member

    the thing is, i am not using a theme, per say. i have got an index.php file and then have a folder with the worpress installation. i have just followed a tutorial, i have not got a proper theme applied to WP. the tutorial i followed it here. It is a tutorial for an awesome mac-only program called RapidWeaver

    #51390
    peiqinglong
    Member
    #53762
    flaerpen
    Member

    okey, I tried that but I cant get it work. I just copied the code you wrote and changed the domain. For the moment I’m testing my forum in my localhost. This is the code I use:

    $bb->usercookie = 'wordpressuser';

    $bb->passcookie = 'wordpresspass';

    $bb->cookiedomain = 'localhost';

    $bb->cookiepath = '/';

    I can add that I’m a totally newbie to cookies!

    #51389
    tominated
    Member

    I am quite proficient at CSS, but i am no good with php. BTW: I didn’t really understand that article, it wasn’t very good english. I do understand everything up from the cookies stuff, but not below it. Could you please dumb it down a bit? if you want to see what i am trying to do, visit http://blog.tominatedsoftware.com/ and you can see that i have integrated wordpress with the rest of my site at http://tominatedsoftware.com/

    #51388
    Trent Adams
    Member

    It is a bit of a complete thing if you don’t know CSS really well and the functions for bbPress. You can look at how the default theme is produced, or just take a look at this from So10

    wordpress and bbpress theme integration

    Trent

    #954
    tominated
    Member

    Is it possible to integrate a bbpress forum into an existing site (so i don’t have to mess around with making a theme for bbpres) by using php functions? I am not very good (that is an overstatement) at php. I followed a tutorial that let me integrate a wordpress blog into my site, and this is the code it gave me

    <?php define('WP_USE_THEMES', false);

    require('wordpress/wp-blog-header.php'); ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head></head>

    <body>

    <div id="stage">

    <div id="sidebar">

    <?php if ( !function_exists('dynamic_sidebar')

    || !dynamic_sidebar() ) : ?>

    <h3>Categories</h3>

    <div id="blog-categories">

    <ul>

    <?php

    list_cats(FALSE, '', 'ID', 'asc', '', TRUE, FALSE, TRUE,

    TRUE, TRUE, FALSE, FALSE, '', FALSE, '', '', '', TRUE);

    ?>

    </ul>

    </div>

    <br />

    <div id="blog-archives">

    <h3>Archives</h3>

    <ul>

    <?php get_archives('monthly', '', 'html', '', '','TRUE'); ?>

    </ul>

    </div>

    <hr />

    <br />

    <div id="rss-links">

    <h3><a href="<?php bloginfo('url'); ?>?feed=rss2">RSS feed</a></h3>

    </div>

    <?php endif; ?>

    </div>

    <div id="content">

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

    <?php while (have_posts()) : the_post(); ?>

    <div id="unique-entry-id-<?php the_ID(); ?>" class="blog-entry">

    <div class="blog-entry-title"><?php the_title(); ?></div>

    <div class="blog-entry-date"><?php the_time('Y-m-d G:i'); ?>&nbsp;|

    <span class="blog-entry-category"><?php the_category(', '); ?></span>&nbsp;|

    <span class="blog-entry-permalink"><a href="<?php the_permalink(); ?>">Permalink</a></span>&nbsp;|

    <span class="blog-entry-language">

    <?php if(function_exists('lp_other_langs')) {

    //display existing language versions of the post

    lp_other_langs(' ','', '', '', '');

    }?></span>

    </div>

    <div class="blog-entry-body"><?php the_content(); ?></div>

    <div class="blog-entry-comments">

    <?php edit_post_link(__('Edit This')); ?> |&nbsp;

    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'), "",

    __('Sorry, comments are closed for this item.')); ?>

    </div>

    </div>

    <?php comments_template(); ?>

    <?php endwhile; ?>

    <?php else : ?>

    <h2><?php _e('Not Found'); ?></h2>

    <p><?php _e('Sorry, but no posts matched your criteria.'); ?></p>

    <form method="get" class="searchform" action="<?php bloginfo('home'); ?>/">

    <div>

    <input type="text" size="20" value="<?php echo wp_specialchars($s, 1); ?>" name="s" class="s" />

    <input type="submit" class="submit" value="<?php _e('Search'); ?>" />

    </div>

    </form>

    <?php endif; ?>

    <div style="text-align:center;">

    <?php posts_nav_link(' — ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>

    </div>

    </body>

    what would i have to do to get bbpress integrated into my site? I heard somewhere that the function names are very similar to wordpress, so what code would i put in to get the forum categories then the recent posts, etc.?

    #53759
    Trent Adams
    Member

    The cookies part can be daunting in the beginning to add, but once you figure it out, it is not so bad. Sometimes placing in the cookie path isn’t enough and you have to add the locations of the cookies and the names. Let me give you some examples:

    My blog is in a couple different folders so I use this:

    $bb->usercookie = 'wordpressuser';

    $bb->passcookie = 'wordpresspass';

    $bb->cookiedomain = '.onvertigo.com';

    $bb->cookiepath = '/';

    Trent

    #53354
    Trent Adams
    Member

    In my mind, tags enable the discussion to a much larger scale and is best employed when the number of topics is extremely large (such as this forum or wordpress.org support). It allows people to group topics by the things that are important to them but still in a predefined category (or forum). While they may be talking about quite a few things (that would be picked up in a search), tags allow the users to define what was important to them. A ‘Coles Notes’ of their topic…so to speak.

    I have had some great discussions on the benefits and cons of tags with my wife (as she prefers just categories) and I like the scalability of tags. Either way, with both employed we all win. It is a matter of opinion!

    Trent

    #54069
    baptiste
    Member

    I brain locked. bb_head is probably too late for this. Is there an equivalent of the ‘init’ hook for bbPress? In WordPress, that filter hook gets run after the environment initializes. That’s when the code I included would need to be run. I can’t seem to find an applicable filter hook called that early.

    #54068
    baptiste
    Member

    Would the solution be to execute a stripslashes_deep on GET, POST, etc if WP_BB is true? Seems kinda dangerous – but bbpress doesn’t expect this in a non-integrated environment, so undoing what wp-settings.php does (which gets run when you include wp-config to get the WordPress API) seems harmless enough.

    Maybe something along the lines of:

    function bb_undo_wp_slashes() {

    $_GET = stripslashes_deep($_GET );

    $_POST = stripslashes_deep($_POST );

    $_COOKIE = stripslashes_deep($_COOKIE);

    $_SERVER = stripslashes_deep($_SERVER);

    }

    and call that as a filter for bb_head?

    if (defined('WP_BB') && WP_BB) add_action('bb_head', 'bb_undo_wp_slashes');

    I think bb_head is called after the environment is setup.

    I may give this a try. Thoughts from developers who know more about bbPress than I?

Viewing 25 results - 26,026 through 26,050 (of 26,677 total)
Skip to toolbar