Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,751 through 23,775 (of 32,570 total)
  • Author
    Search Results
  • #77519

    In reply to: All RSS Feeds Broken?

    Greg
    Participant

    @kawauso, that line in the error is the source on line 13: “<?xml version=”1.0″?><!– generator=”bbPress” –>”

    I should have looked at the source though. It seems that the xml has two headers. Could this be related to deep integration?

    <?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
    <rss version="0.92">
    <channel>
    <title>[SITENAME] » Page not found</title>
    <link>http://[HOST]</link>
    <description>Just another [HOST] weblog</description>
    <lastBuildDate>Sun, 06 Sep 2009 14:07:54 +0000</lastBuildDate>

    <docs>http://backend.userland.com/rss092</docs>
    <language>en</language>

    </channel>
    </rss>
    <?xml version="1.0"?><!-- generator="bbPress" -->

    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    >

    <channel>
    <title>[SITENAME] Forum » Recent Posts</title>

    <link>http://[FORUM URL]b/</link>
    <description>[SITENAME] » Recent Posts</description>
    <language>en</language>
    <pubDate>Mon, 07 Sep 2009 19:27:36 +0000</pubDate>

    <item>

    #77518

    In reply to: All RSS Feeds Broken?

    kirpiit
    Member

    Ok, I got it! Or close to that…

    I happen to have this patch on my system

    https://bbpress.org/forums/topic/updated-to-desmond-but-theme-not-working#post-4254

    As I disable that, the magic is done and rss comes back to life!

    While I cannot say “what” is wrong with such a patch, I’m happy to confirm that just eliminating it does the trick. In case anybody else has the same issue…

    Thanks for the kind help to everybody, with a special thank to kawauso :-)

    #78735
    fl00r97
    Member

    Brilliant!

    I copied the code into header.php and tweaked it a bit to show the ad. Here’s the result: http://www.qtext.nl

    Thank you so much.

    P.s.: ik zie net in je profiel dat je ook uit Nederland komt!

    #77517

    In reply to: All RSS Feeds Broken?

    Ah crap, everything is breaking today :(

    @Reboot Now: That looks like a different issue. Could you post line 13 of the broken RSS feed (view source)?

    #77516

    In reply to: All RSS Feeds Broken?

    Greg
    Participant

    Not sure whether this is the same issue, but thought I’d post it here just in case. Before and after the above patch, I get exactly the same result. All of the RSS feeds display correctly, except the feed for all posts across the forums, that is, “<forum URL>/rss/”, which displays a blank page.

    This is true for Firefox and IE7. On the problem page, IE gives the message “feed code error”, with the following details:

    Invalid xml declaration.
    Line: 13 Character: 3

    <?xml version="1.0" encoding="UTF-8"?>

    [update] One difference between before and after the patch is the IE error. *Before* the patch it says:

    Invalid xml declaration.
    Line: 13 Character: 3

    <?xml version="1.0"?><!-- generator="bbPress" -->

    One interesting thing: if I browse to “<forum URL>/rss.php” (note the php extension I added), then the top level feed displays fine.

    Here are the details of the pages I browsed and the results. All well, except for the top level feed.

    <forum URL>/rss/ [blank page] – this is the published feed

    <forum URL>/rss [blank page]

    <forum URL>/rss/topic/<topic name> [correct feed displays]

    <forum URL>/rss/forum/<forum name> [correct feed displays]

    <forum URL>/rss/forum/<forum name>/topics [correct feed displays]

    But…

    <forum URL>/rss.php [correct feed displays]

    #78734
    Olaf Lederer
    Participant

    just example code…

    header.php (the two divs between body and wrapper)

    <body id="<?php bb_location(); ?>">
    <div style="position:relative;width:1200px;border:1px solid red;margin:0 auto;">
    <div style="width:120px;left:0;top:200px;position:absolute;height:600px;background-color:yellow;"></div>
    <div id="wrapper">

    footer.php (the div before the action)

    </div>
    </div>

    <?php do_action('bb_foot'); ?>

    </body>
    </html>

    I checked this only i firefox (Ubuntu) and of course the header background image is only between the new container (put the background into the body style.

    @floor97,

    before you’re able to tweak themes you need to know some CSS

    #78716
    pixelgirl
    Member

    I guessed I’ll have to do that, but I have no idea which files I need to edit. The bbpress header file looks so much different from the wp file. It works somehow on the buddypress page. I want the same for me ;)

    Another option might be, that I just work on the existing bbpress theme and try to adjust the design as good as possible. I’d be happy to be able to load my buddypress navigation at least, the rest can be done with using the local css files. Other good ideas are welcome.

    pxlgirl.

    #78249
    _asg_
    Member

    The slider won’t open for me.

    Firebug states:

    $("#open") is undefined
    anonymous() slide.js (line 4)
    anonymous() jquery-1....2.min.js (line 19)
    anonymous([function(), function()], function(), Object name=F) jquery-1....2.min.js (line 12)
    anonymous() jquery-1....2.min.js (line 19)
    anonymous() jquery-1....2.min.js (line 19)
    [Break on this error] $("#open").click(function(){n slide.js (line 4)

    The forum url is http://rainrider.eu/bbpress if you would like to take a look

    #78686
    johnnydoe
    Member

    ah alright i see,

    thank’s for the clear explanation kawauso, sounds plausible, thank’s olaf.

    see you around :)

    #78733

    Okay I can’t work out how to get it to position relative to the theme, since it just… disappears if I try aligning it properly at left: -1000px. Putting <div style="position: absolute; left: 100px;"> and </div> around it will put it on the left of the screen outside the layout though, just fixed against the side of the screen rather than the layout.

    @Olaf: this theme does some awful things if you try aligning anything to its left using a div :(

    #78732
    fl00r97
    Member

    Thanks for your reply Olaf, but I think this is beyond my understanding.

    Can you please elaborate?

    Thanks!

    Ben

    #78036
    Olaf Lederer
    Participant

    @dragunoff, upgrade to the latest bbpress version :)

    #78731
    Olaf Lederer
    Participant

    Hi, to place an ad box like this you need to tweak the existing theme.

    Try to open an extra div container inside the header tpl file and close the container inside the footer tpl.

    inside this container you can place the forum plus a banner (of course you need to change some css code)

    EDIT: btw adsense doesn’t have a great CTR for forums

    #78730
    fl00r97
    Member

    URL is: http://www.qtext.nl

    Thanks again,

    Ben

    #76218

    In reply to: Closed registrations

    @pixelgirl Give me your forums’ link and I’ll see if I can register ;P you might still get spambots if they work out how to spam bbPress forums. Brutally brutal way would be to change $_POST && 'post' == strtolower($_SERVER['REQUEST_METHOD']) in register.php in bbPress’ base directory to false, which would turn off processing for any data passed to the register page.

    #76217

    In reply to: Closed registrations

    pixelgirl
    Member

    I closed the registrations the brutal way. ;) I removed all <form></form> in register.php and added a message instead. Quick and dirty, but effective since I’m using bbpress with wpmu+buddypress, so users don’t need to register in the forums.

    pxlgirl.

    #78729

    I don’t usually work with adsense so I don’t know what the div it’s in is called. If you can post a link to your site with AdSense running I can probably work out some CSS though.

    #78728
    fl00r97
    Member

    Incredible fast response, thanks!

    I corrected the link, please try again.

    Ben

    #78727

    Your image link returns a 403 Forbidden error, a direct link to your website would be much easier to work with anyway. I’d recommend putting it in header.php and using either tables or CSS to align it to the left of the main content.

    #31664
    fl00r97
    Member

    Dear all, this might be a rather rudimentair question so please bear with me ;-)

    I would like to have adsense ads on the very left of my website across the site.

    Please see: http://www.fotoshack.us/fotos/37269adsense.jpg

    Thanks!

    #78708

    Right.

    In topics.php, delete:

    <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?>
    <?php post_form(); ?>
    <?php else : ?>
    <h2><?php _e('Topic Closed') ?></h2>
    <p><?php _e('This topic has been closed to new replies.') ?></p>
    <?php endif; ?>

    Then after the first <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>, insert:

    <?php if ( $page === 1 ) : ?>
    <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?>
    <?php post_form( array( 'last_page_only' => false ) ); ?>
    <?php else : ?>
    <h2><?php _e('Topic Closed') ?></h2>
    <p><?php _e('This topic has been closed to new replies.') ?></p>
    <?php endif; ?>
    <?php endif; ?>

    It’ll be different if you’re using something that’s radically different to Kakumei, but the general idea is to take the bit that looks something like the first part and put <?php if ( $page === 1 ) : ?> and <?php endif; ?> around it, change post_form() to post_form( array( 'last_page_only' => false ) ) then move it to the top of the page.

    #77515

    In reply to: All RSS Feeds Broken?

    https://www.yousendit.com/download/YkxKZGlsaTEzS3BjR0E9PQ

    Try that. The RSS validation is complaining that the xml header is on the 2nd line, rather than the first, so there’s a line return being inserted somewhere. If FTPing those over the old ones doesn’t work, it’s the dev’s problem :P

    #77514

    In reply to: All RSS Feeds Broken?

    kirpiit
    Member

    I just double-checked all the 3 files you previously indicated. I downloaded them from my server and inspected them: there are no trailing spaces nor anything. They all start fine with a standard <?php opening.

    For a while I hoped it was that trivial, but there must be something else :-

    #78035

    this version does not work correctrly on bbPress 0.9 branch. I get these PHP Warnings:

    Warning: Missing argument 1 for bb_get_topic_tags(), called in /.../forum/my-plugins/bb-seo-tools.php on line 102 and defined in /.../forum/bb-includes/functions.php on line 1058

    Warning: Invalid argument supplied for foreach() in /.../forum/my-plugins/bb-seo-tools.php on line 105

    #31659
    BaraBajen
    Member

    Hi,

    hoping for help, since I´m not in no way good enough to find this answer.

    The inputfiled for posts/replys in atopic seems to be attached to the page where the first post in a topic was made. Since I´ve using the the threads so that the latest post gets on top in the first page (and therefore the first post ends upp last in the last page). What happens is that the posting (input)-field ends upp on the last page.

    Is it possible to change in the code så that the posting field ends upp connected to the last posting/reply. And then (hopefully on page one).

    Anybody?

Viewing 25 results - 23,751 through 23,775 (of 32,570 total)
Skip to toolbar