Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,076 through 28,100 (of 32,522 total)
  • Author
    Search Results
  • #3037
    testosteron
    Member

    Hi when i try to install the 0.9 Trunk this error comes up

    Warning: require_once(/var/www/web112/html/testeite/forum/bb-includes/backpress/functions.plugin-api.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web112/html/testeite/forum/bb-admin/install.php on line 17

    Fatal error: require_once() [function.require]: Failed opening required ‘/var/www/web112/html/testeite/forum/bb-includes/backpress/functions.plugin-api.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/web112/html/testeite/forum/bb-admin/install.php on line 17

    #3036
    Mister
    Member

    When running the install script, after only changing the config.php I encounter the following:

    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ucstudents.nl/public_html/bbpress/config.php:1) in /home/ucstudents.nl/public_html/bbpress/bb-admin/install.php on line 10

    Warning: Cannot modify header information - headers already sent by (output started at /home/ucstudents.nl/public_html/bbpress/config.php:1) in /home/ucstudents.nl/public_html/bbpress/bb-includes/functions.php on line 1910

    I can complete the installation but every page I visit starts with 

    and other errors sometimes occur.

    What is causing this, and how can it be fixed?

    #3033
    testosteron
    Member

    Hi!

    I want to integrate bbpress into my wordpress blog complete!

    that means :

    • When you login into wordpress you have to be logged in in bbpress the same time! (for write threads and wp comments with one login)
    • I want that wordpress an bbpress look like one theme. So is it possible to show the normal wordpress sidebar in bbpress? and how?
    • wich login menue i should use? (I want to integrate the login menue in the header of both themes )

    I read a lot of things here with set cookie path etc but in PHP I’mnot “the best”! :D

    The structure is like this.

    The domain for the wordpress blog is http://www.example.com/blog/

    and the Domain for the Forum is http://www.forum.example.com/

    I think this thread is needed to make one real documentation for integration so the next with the problem don’t have to read 100 threads :D

    // Sorry for my english! Im from germany ;)

    #58245

    In reply to: bbSync

    fel64
    Member

    No. No updates until the summer.

    Also, on an unrelated note, the f in fel is always lowercase. :P

    #63624

    In reply to: Gap in images in table

    chrishajer
    Participant

    Wrap the whole thing, from beginning to end, in a div with this style: <div style="width: 800px; margin: 0 auto;">

    Put that before the beginning table tag, and then close it after the ending </table> tag.

    You can separate the style from the template html by calling the div something like <div id="wrapper"> in your template then adding this to your style.css:

    #wrapper {
    width: 800px;
    margin: 0 auto;
    }

    In either case, the margin is 0 top and bottom, and auto left and right, which means it will be centered horizontally in the browser no matter what the size of the browser viewport.

    chrishajer
    Participant

    I was checking my Google sitemap stats and saw this recently for my bbPress sitemap:

    URLs not followed

    When we tested a sample of the URLs from your

    Sitemap, we found that some URLs were not accessible

    to Googlebot because they contained too many redirects.

    Please change the URLs in your Sitemap that redirect

    and replace them with the destination URL (the redirect

    target). All valid URLs will still be submitted.

    Further reading led to this:

    http://www.google.com/support/webmasters/bin/answer.py?answer=48551&hl=en

    So my questions are:

    1. What is the reason this is a 302 header (temporary redirect) vs a 301 header (permanent redirect)?

    2. Can it be changed in the code or with a plugin to generate a 301 header so Google will follow the URLs?

    3. If this is not possible, what would the proper permanent URL be for a tag URL like http://www.example.com/forum/tags.php?tag%3Dghosts

    BTW, I am using the Sitemap plugin for bbPress by Richard Boakes. http://boakes.org/talk/topic/31

    I can modify that to write the proper permanent URLs to the sitemap if that’s the easiest way to go about it. Or, maybe tags URLs should not even be in the sitemap (they are just pointers to content that exists elsewhere anyway.)

    Thanks.

    #63621

    In reply to: Gap in images in table

    chrishajer
    Participant

    Well, when I validate the page, there are errors around line 318 which is where a bunch of td/tr/table end tags are located. The fact that they are improperly nested (i.e. they are closed here but are not open) means they were probably improperly closed (or not closed) elsewhere.

    But, just adding the style="display: block;" to the <img> tags as sambauers suggested should take care of it without you having to fix the improper code. It should look fine when you do that and replace the stylesheet reference.

    #63617

    In reply to: Gap in images in table

    Sam Bauers
    Participant

    I think adding:

    style="display:block;"

    .

    To the images will work

    #63606
    missbossy
    Member

    Thanks for the help :)

    #49502
    Amaury Balmer
    Participant

    Hello all,

    You can find the latest french translation on

    http://bbpress.fr/

    and i publish a french pack for 0.8.3.1 and soon 0.9 !

    I search voluntary for write french documentation and post on blog ;)

    Contact me !

    #53034
    Amaury Balmer
    Participant

    Hello all,

    You can find the latest french translation on

    http://bbpress.fr/

    and i publish a french pack for 0.8.3.1 and soon 0.9 !

    I search voluntary for write french documentation and post on blog ;)

    Contact me !

    #63353
    Craig
    Member

    As some of you know, I’m new to WordPress and bbPress altogether and as I learn more I am also getting really amp’d for the new releases of both. However, after looking at the trac roadmap…

    I see WP 2.5 still has A LOT of open tickets where as bbPress 0.9 has 0 tickets open. Is it just not updated or is today’s release not realistic? :(

    #63589

    oh thats nice :)

    #63585
    testosteron
    Member

    wich data i have to include to use wordpress functions? and

    when i only login bbpress i have to type my data in wordpress to write a comment :( ( is that “fixable” ?

    greetz

    howtogeek
    Member

    That plugin didn’t work quite right for me, but I was able to hack together my own hard-coded version for both bbpress and wordpress.

    Thanks!

    crazlunatic
    Member

    I added the code but nothing changed:

    http://vistarewired.com/test2/bbpress/

    howtogeek
    Member

    @chrishajer

    Thanks for that… I’ve been meaning to look that up, but looks like you did it for me =)

    Rahul Bansal
    Participant

    chrishajer is right about issue with ‘slugs’

    only false option works… :-(

    $bb->mod_rewrite = false;

    are they rectifying this in next version??

    chrishajer
    Participant

    It looks bad because the path to your style.css is wrong. The stylesheet should be here, but it’s not:

    http://vistarewired.com/test2/forums/bb-templates/kakumei/style.css

    So, where is it really? I suspect the path in the config.php and the URL you are using to access the forum are not the same, and that’s why you see the forum without any styling.

    Wait – it’s actually here:

    http://vistarewired.com/test2/bbpress/bb-templates/kakumei/style.css

    So, in your config you called the directory forums but you actually installed it in the directory bbpress. You need to fix your config.php.

    You have this:

    $bb->uri = ‘http://vistarewired.com/test2/forums/&#8217;;

    It needs to be this:

    $bb->uri = ‘http://vistarewired.com/test2/bbpress/&#8217;;

    (or, you can leave the config alone and change the name of the bbpress directory to forums.)

    Fix that and everything will look as it should. You may need to do a hard refresh or clear the cache in your browser to see the effect of the changes. CTRL SHIFT R in Firefox.

    #63566
    chrishajer
    Participant

    Your server responds that it DOES support PHP:

    (uiserver):u12345678:~ > curl -I www.infotainmentcenter.com
    HTTP/1.1 200 OK
    Date: Sat, 15 Mar 2008 20:01:32 GMT
    Server: Apache
    X-Powered-By: PHP/4.4.1

    Try putting this into a file and making it accessible at your domain:

    <?php
    phpinfo();
    ?>

    Save that as info.php and try accessing it http://www.infotainmentcenter.com/info.php . Maybe you will find that the server supports PHP.

    If the host does not support PHP, I suggest you get a new host. I have seen forum software that can run with flat files instead of a MySQL database, but none that are done without a scripting language like PHP.

    #63564
    _ck_
    Participant

    Separate db vs one table is something new for 0.9 I believe.

    Those are constants that have to be defined in bb-config.php just like any of the other constants. ie.

    define('USER_BBDB_NAME','blahblah');

    If you are just now installing bbpress and not already integrating an existing install, if you wait for the 0.9 release on monday, it will do most of the integration for you.

    There are endless instructions for integration, I’ve gathered most of them here (though that list is getting outdated for 0.9)

    http://bbshowcase.org/forums/topic/better-bbpress-wordpress-integration-the-missing-faq

    crazlunatic
    Member

    Hmmm. I think that might have helped but my forums looks reallly bad =(

    http://vistarewired.com/test2/bbpress/

    Edit: Actually now when I log in, it takes me here: http://vistarewired.com/test2/forums/bb-login.php

    And yes I did make changes like adding the functions code, but I don’t think I need to use it, do I?

    chrishajer
    Participant

    “The definition of insanity is doing the same thing over and over and expecting different results.”

    –Benjamin Franklin

    I hope you were making changes with each subsequent installation. If so, what did you try?

    Try setting permalinks to false instead of true or slugs, in your config.php, like this:

    $bb->mod_rewrite = false;

    If that works, then it’s a pretty permalinks issue.

    kehlers
    Member

    I’m just following up – I posted this bug a while ago, and when I didn’t hear back, I researched and found the solution. (wahoo!)

    PROBLEM:

    If private-forums plugin is installed, users below moderator capabilities will have a BLANK Pick a Section dropdown on post-form.php. If they go ahead and try to click “submit” on their post, they get an error: Forum topic is closed. (error is bogus, obviously, because they are trying to post a NEW topic).

    SOLUTION

    In the /my-plugins/private-forums.php, replace line 294:

    $new_forums[] = $forum;

    with:

    $new_forums[$forum->forum_id] = $forum;

    WHY IT WORKS

    The $new_forums array replaces the global $forums array with just the forums that user is permitted to see. The $forums array uses the forum_id as the array index. Without this fix, the $forums array will have the default index, i.e. 0, 1, 2, 3…

    If your forum ids are (a) ordered numerically by their id and (b) no numbers are ‘skipped’ in the ids, you may not notice this issue. However, in my case, my forum ids are in the order “6, 7, 1, 10, 9” because we have added and deleted and reordered them over the life of the forum.

    Hopefully this helps someone.

    Cheers,

    k

    #63548
    fpslabs
    Member

    oh wow, lol I didn’t even see that. I told you I might be stupid ;) Thanks man

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