Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,376 through 27,400 (of 32,459 total)
  • Author
    Search Results
  • #62613

    In reply to: TalkPress

    723891
    Inactive

    Why switch to bbpress? WordPress is highly configurable and there are a lot of plugins. And if you want you can change the source code on your own server…..

    Sam Bauers
    Participant

    I don’t think they are even using WordPress. Looks like it is all custom code.

    #65683
    Catia Kitahara
    Participant

    Hi Chris,

    First, thank you very much for your attention. :)

    So, yes I’ve tried editing the bb-settings.php and bb-admin/plugins.php as recomended, but it didn’t work. I got the following messages:

    Warning: Invalid argument supplied for foreach() in /home/wordpres/public_html/forum/bb-settings.php on line 169

    Warning: Cannot modify header information – headers already sent by (output started at /home/wordpres/public_html/forum/bb-settings.php:169) in /home/wordpres/public_html/forum/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/wordpres/public_html/forum/bb-settings.php:169) in /home/wordpres/public_html/forum/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/wordpres/public_html/forum/bb-settings.php:169) in /home/wordpres/public_html/forum/bb-includes/pluggable.php on line 164

    And, yes, I made a database backup. I didn’t do anything yet.

    Thanks,

    Cátia

    #65741
    f1f
    Member

    No I haven’t moved the forum. The last thing I changed – which must have been a week ago or longer – was adding the following code into the .htaccess file for WordPress (not BBPress):

    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '/');

    Could that have had an effect? If so it seems odd that it took so long to manifest itself.

    Thanks for the speedy response by the way :-)

    #65682
    chrishajer
    Participant

    > Any other suggestions? Should I try this sollution?

    Yes. The same problem is happening in another file. Your host has disabled or does not allow the glob function. So, you have the 2nd error. Same type of error, just in a different file now. You should change line 7 in bb-admin/plugins.php to this:

    if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) {

    That will take care of the 2nd error. Then, post your results.

    UPDATE: are you saying making this edit did not work? What was your result? Another error? Post the results please.

    I am not certain about exporting and importing the database, so I would hold off on this. Please make a database backup now, before upgrading, if you haven’t already done so.

    #65718
    723416
    Inactive

    Thanks for the quick reply. I saw bbSync previously, and it is not what I need because I don’t want my blog posts to turn into forum topics. I simply want to display my blog posts on the forum homepage. There are actually not going to be any (or rarely any) commenting on our blog posts – it’s for information only. But I want a community homepage that combines the latest blog posts and forum main themes (or categories – not topics as I stated above).

    Is there code I can insert to grab the blog posts? Or is there a way to grab and read the blogs RSS feed? If so, how? Thanks again in advance.

    #65100

    In reply to: Kineda.com

    kineda
    Member

    Thanks Familiar! :)

    #3590
    threevisual
    Member

    Hi,

    I’m currently working on a website which is powered by wordpress, it will have a forum which will be powered by bbpress. I’ve designed the layout to exactly how I’d like it to look (and partly coded the forum index).

    Is there anyone out there who would be willing to complete customisation / styling of my bbpress theme?

    If anyone is interested please let me know your costs and turn around time and I’ll be in touch.

    Cheers!

    #65680
    Catia Kitahara
    Participant

    I tryied that solution too and it didn’t work either. :(

    By the way, the php version in my server is 5.2.6.

    Anyway, the thing is I want to upgrade my bbPress, but the instructions say I must deactivate all plugins first. I can’t deactivate them without the errors. Is there any other way I could upgrade my bbPress? Could I backup my bbPress tables, delete bbPress files and simply install the newest version (0.9.0.2) from zero and after that, import my tables?

    I just can’t believe I’m having such a hard time just to do something that should be easy. :(

    Thanks in advance

    #65678
    Catia Kitahara
    Participant

    Thanks, guys,

    It helped a lot!

    :)

    #3585
    tbrams
    Member

    I have a forum running as an appendix to the wordpress blog we have at lyngbytaekwondo.dk and people love it.

    Now after upgrading WP to version 2.5.1 it seems like all my html examples in the forum are being ruined when I try to add something. Right after installing the forum I did a post where wrote a post about how to use som of the html codes available and it worked nicely with the backtick to keep bbPress from formatting.

    When I tried to modify something yesterday by editing the post, all the html examples in backticks were destroyed and I cannot get the backtick to work again.

    If anybody can recommend a starting point for me to debug this, it will be appreciated.

    chrishajer
    Participant

    This is the problem right here:

    <?php bloginfo('html_type'); ?>

    bloginfo is a WordPress function, but you’re in bbPress. Try hard coding it like this <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> as it is in the default theme, and I think you will find that it works.

    Tranny
    Participant

    Yes, I had the layout of forums customized before upgrade to WP2.5 becasue defaul is very user not friendly. I also had title tag customized because default values are not SEO friendly. Obviously, this clashes with upgraded version causing my forums page to not work. This is what HEAD of my header.php looks like

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title>
    <?php if (is_front()) { ?> Forums and Forum Topic on Bullshit Blog <?php }
    elseif (is_forum()) { echo (get_forum_name() . " on Bullshit Blog Forums"); }
    elseif (is_topic()) { echo (get_topic_title() . " Forum Thread on Bullshit Blog"); }
    else {
    ?>

    <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> &raquo; <?php bb_title() ?>

    <?php } //else ?>
    </title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" media="screen" />

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <style type="text/css" media="screen">

    <?php
    // Checks to see whether it needs a sidebar or not
    if ( !$withcomments && !is_single() ) {
    ?>
    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>

    </style>

    <?php wp_head(); ?>

    <?php if ( is_topic() && bb_is_user_logged_in() ) : ?>
    <script type="text/javascript">
    var lastMod = <?php topic_time( 'timestamp' ); ?>;
    var page = <?php global $page; echo $page; ?>;
    var currentUserId = <?php bb_current_user_info( 'id' ); ?>;
    var topicId = <?php topic_id(); ?>;
    var uriBase = '<?php bb_option('uri'); ?>';
    var tagLinkBase = '<?php bb_tag_link_base(); ?>';
    var favoritesLink = '<?php favorites_link(); ?>';
    var isFav = <?php if ( false === $is_fav = is_user_favorite( bb_get_current_user_info( 'id' ) ) ) echo "'no'"; else echo $is_fav; ?>;
    </script>
    <?php bb_enqueue_script('topic'); ?>
    <?php endif; ?>

    </head>

    There’s obviously a lot of dynamic stuff in the head of my theme to make it mor SEO friendly. Is there a way to retain it and have it properly pull required data again?

    Thanks for your help guys, I really appreciate that :)

    #3586

    Hey everyone, I’m new here. I’ve found out about this awesome forum a while back but didn’t have the time to make a forum for my site. Anyhoo, I was wondering if bbPress could be integrated with Social Engine. I know integration with vBulletin and phpBB is possible but bbPress seems much more superior. ;)

    #64164

    In reply to: bbOrg?

    dd-1
    Member

    hey tnx ;)

    #65691
    Sam Bauers
    Participant
    define('BB_LANG', 'sv_SE.mo');

    .

    I just realised that you may not have a language file for bbPress installed at all. bbPress does not come with any language files by default. You need to download them separately and follow the instructions in the bb-config.php file about where to put them.

    The language file you are after should be here…

    http://svn.automattic.com/bbpress-i18n/sv_SE/trunk/

    #64163

    In reply to: bbOrg?

    Trent Adams
    Member

    Been having some strange issues I am ironing out (really need a content importer for bbPress soon ** :) but the link is being fixed on that post as well:

    http://onvertigo.com/downloads/bbpress-forum.zip

    Trent

    chrishajer
    Participant

    Looks like this is hard coded into the theme’s header.php:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    So, unless that line was edited in some improper or invalid way, I can’t see what would case that line to be truncated after content=".

    Can you confirm or post that line from your active theme’s header.php?

    chrishajer
    Participant

    Well,

    The next thing that is supposed to come up, I think, is this:

    text/html; charset=utf-8

    Maybe whatever is providing that has an error and is causing this problem.

    Are you using a stock theme, and if not, does changing it back to stock fix this error? My guess is this is something in the template file, or the config.

    Are you using a different language file? (I’m guessing not, based on the blog.)

    Or, is it possible not everything was uploaded properly? Some things I would expect to be in that directory are not present when accessed directly by URL. Can you confirm that a new bbPress 0.9.0.2 archive and your server have the same exact files?

    Tranny
    Participant

    Blog – this is the blog

    Forums – this is where forums are

    Entire installation went through smoothly and it looked like it’ll be a breeze, but front end of forums give this error message. Back end is accessible from admin panel without problems.

    Thanks for your help :)

    EDIT: Opps, had to edit my post cause BBCode didn’t go through :S

    #65676
    chrishajer
    Participant

    For the first error, I think in 0.8.3.1 it is looking for an underscore plugin, but you have none in the plugin folder any more, and it errors out.

    This is line 169 from bb-settings.php:

    foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )

    I would create a blank php file called _nothing.php (nothing in the file at all) and put that in your plugin directory. The name of the file does not matter, except it needs to begin with an underscore. The contents of the file don’t matter either. We just want something for bbPress to see in that directory so it does not fail. That should prevent the first error. I think it will actually take care of the second error as well. It’s also related to having no underscore plugins in the plugin directory.

    Thanks for posting your bbPress versions: it was invaluable in finding the right line numbers and relevant code.

    Tranny
    Participant

    I’ve integrated bbpress with upgraded version of WP (just upgraded to v 2.5.1) and everything seemed to have gone fine during installation as I was getting all positive messages confirming that the steps were performed successfully.

    However when I go to the forum page itself, all I see if this:

    <meta http-equiv=”Content-Type” content=”

    admin area loads, just front end doesn’t load at all, only this text appears. Can somebody help :)

    #65252
    Trent Adams
    Member

    I am pretty sure sambauers or mdawaffe will look at this thread at some point as they have access to the documentation :)

    Trent

    #65637
    bobbyh
    Member

    Refueled, this is pretty slick!

    To center the theme, you can just add margin: 0pt auto; to the #container div.

    Another thing… You have a float: left; on #front-page #discussions. This makes hottags float to the right and be invisible (because of the overflow:hidden on container). If you delete that float: left, the hottags will appear on the bottom. This also fixes the little bottom border artifact you see to the right of the only sticky post.

    #65636
    refueled
    Member

    I normally agree. This will probably be my only left-aligned bbPress theme. :)

    Thanks again for your feedback.

Viewing 25 results - 27,376 through 27,400 (of 32,459 total)
Skip to toolbar