Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,976 through 20,000 (of 32,499 total)
  • Author
    Search Results
  • #94201
    mr_pelle
    Participant

    It’s a bit hard to explain… :P

    I suppose you may try to download bbPress trunk and then BackPress trunk from here and extract the /includes folder into /bb-includes/backpress folder…

    EDIT: you’ll need this too.

    #86178
    kikko088
    Member

    grazie :D

    thank you, I try to install bavatars a lot of time but avatar not appear :( than I decide to use avatar upload

    kikko088

    #94226
    wblogan
    Member

    It looks like you have the integration and deep integration working, and that all you need is to mess around with the styles. I don’t know if this will help, but check out how I got it to work. I had the Twentyten sidebar working at one point but didn’t like it in bbPress. Also, I had the same problem with the footer and didn’t want to fix it at the time. But it can be fixed with styles I’m sure.

    edit: there appears to be a problem with my server at the moment. Replace bb_get_footer in bbPress/theme/footer.php with

    </div>

    </div>

    <?php get_sidebar(); ?><div id="primary" class="widget-area" role="complimentary">

    </div>

    <?php get_footer(); ?>

    The number of divs and placement of the call for the sidebar is what makes it work. Just play around with it until you get it to work.

    #94243
    mr_pelle
    Participant

    bbPress does not support it natively; I’d suggest Ajaxed Quote plugin. =)

    #86177
    mr_pelle
    Participant

    Oh, Avatar Upload is compatible up to bbPress 0.8.2.1, I’d suggest Bavatars. ;)

    EDIT: I’ve found a fix for the bug, I’m going to upload a new version in minutes. Please note that you must regenerate your .htaccess file in order for it to work!

    #76451
    mikkelsen
    Member

    Thanks for the update, I really appreciate that. Keep it up :D

    #93974
    nuesha
    Member

    you should mail the moderator. :)

    #86176
    mr_pelle
    Participant

    Ciao! =) Can you tell me what plugins do you have active in your forum, please?

    #35416

    Hello everyone,

    I followed these steps to integrate WordPress with bbPress. However, there appeared some errors that I could not fix.

    1. Since I am using the theme “Twenty Ten”, I tried to use the page template One column, no sidebar, but could not. Is there any way?
    2. The sidebar does not appear in your place.
    3. The footer in both WordPress and in bbPress, was disfigured. How can I fix it?
    4. The bbPress admin pages comes to a blank page.

    Here’s the sites: the blog, and the forum.

    Thanks for everything.

    Att;

    P.S.: Sorry for my terrible English… ;-)

    #76450
    Rich Pedley
    Member

    15th again! ;)

    Thanks for the update, and at least that gives me chance to finish off other things before I start playing with it!

    #35414
    wblogan
    Member

    The admin functions on the topic.php page (where one can delete, close, stick or move a post) takes up three lines. View source:

    <div class="admin">

    [Delete Entire Topic]

    [Close topic]

    [Stick topic (to front)]

    [<form id="topic-move" method="post" action="http://domain/bbpress/topic-move.php">

    <fieldset>

    <div>

    <input type="hidden" name="topic_id" value="5" />

    <label for="forum-id">Move to</label>

    <select name="forum_id" id="forum-id"">

    <option value="4"></option>

    <option value="1"></option>

    <option value="2"></option>

    <option value="3"></option>

    <option value="5" selected="selected"></option>

    </select>

    <input type="hidden" id="_wpnonce" name="_wpnonce" value="(number)" /><input type="submit" name="Submit" value="Move" />

    </div>

    </fieldset>

    </form>]</div>

    </div>

    The first line ends with a ”.

    I’ve examined the topics.php page, found the ‘<?php bb_topic_admin(): ?>’, and found the function in bbpress/bb-includes/functions.bb-templates.php.

    if ( !$dropdown )

    return;

    $r = $before . ‘<form id=”topic-move” method=”post” action=”‘ . bb_get_uri( ‘bb-admin/topic-move.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . ‘”>’ . “n”;

    $r .= ‘<fieldset>’ . “n”;

    $r .= ‘<div>’ . “n”;

    $r .= ‘<input type=”hidden” name=”topic_id” value=”‘ . $topic->topic_id . ‘” />’ . “n”;

    $r .= ‘<label for=”forum-id”>’. __( ‘Move to’ ) . ‘</label>’ . “n”;

    $r .= $dropdown . “n”;

    $r .= bb_nonce_field( ‘move-topic_’ . $topic->topic_id, ‘_wpnonce’, true , false );

    $r .= ‘<input type=”submit” name=”Submit” value=”‘ . __( ‘Move’ ) . ‘” />’ . “n”;

    $r .= ‘</div>’ . “n”;

    $r .= ‘</fieldset>’ . “n”;

    $r .= ‘</form>’ . $after;

    I thought the problem might be the div after the fieldset, so I changed it to span, but that did not correct the problem. I can not read or understand the function.

    Is it possible to get the move option on the same line as the delete, close and stick options?

    #94144
    pagal
    Participant

    You were being a little “rude”

    Nope, never.. I doesn’t want to be rude. I always respect _ck_ and love her work. But I also want to see update of her work.

    I’m really sorry if you or _ck_ feel bad because of my pinching words.

    You are first person who is talking in friendly way :), otherwise this community is really rough and tough then normal WordPress.

    Its nice to listen ALL IZ WELL, ALL IZ WELL in this forum :D

    #54442

    In reply to: Add nofollow to links

    ant123
    Member

    If you want all links in your posts to be nofollow, you have to use post_text instead of post_author_link

    Here you go

    <?php

    /*

    Plugin Name: My own tweak for my forums

    Plugin URI: https://bbpress.org/

    Description: Fine tuning codes for my forum

    Author: Your name

    Author URI: http://www.myforum.com/

    Version: 0.1

    */

    add_filter(‘post_text’, ‘bb_rel_nofollow’);

    ?>

    I guess that’s what most people want to do

    #94164
    cmunns
    Member

    Yes, maybe but the error was coming from bbPress so I figured it would be better to ask here? _ck_ if you here anything around these parts that might help me out let me know hehe :)

    #35401

    a) I unzipped wordpress 3.0.1 under /wordpress/.

    b) I created the necessary mySQL db and username for wordpress.

    c) I entered the db, user, and password into wp-config.

    d) I unzipped “bbpress” into a folder inside of /wordpress/ called /bbpress/.

    e) I created the necessary mySQL db and username for bbpress.

    f) I entered the db, user, and password into bb-config.

    g) I enabled multi-site on my wordpress by adding the necessary lines of code to wp-config.

    h) I finished up configuring the network for wordpress.

    i) I randomized my cookies in wp-config.

    j) I went to /bbpress/ and started to configuring it. I specified my website and URL to be /wordpress/.

    k) I entered my cookies (including SALT – 8 total), db, user, and password into the /bbpress/ installation website.

    l) I ran the installation of /bbpress/ and got no errors – everything is good up to this point.

    However, the cookies don’t work! When I log into /wordpress/, it does NOT log me into /wordpress/bbpress/. And vice versa – when I log into /wordpress/bbpress/ it does not log me into /wordpress/ !

    Please help – and thank you for your patience.

    #35397
    nood
    Member

    I’ve never used bbPress before and went for the latest stable release but most of the plugins I want to work don’t work.

    Should I regress or should I wait?

    It’s really only what I consider the most important ones – the bbCode buttons, the page number links on topic lists and quoting other people’s posts that I’m after

    #94124
    nood
    Member

    That CSS would only change an image that has the id “img” and a class “source-image”, i.e.

    <img id="img" class="source-image" src="...etc..." />

    It seems like you’re trying to make an image the full size of the page which isn’t a sensible solution.

    The style you need to use is

    background: url(theimage.jpg) left top no-repeat;

    and you should probably be applying it to the body

    so

    body
    {
    background: url(theimage.jpg) left top no-repeat;
    }

    and if you want the background to not scroll with the document

    body
    {
    background: url(theimage.jpg) left top no-repeat fixed;
    }

    theimage.jpg must be relative to the style sheet or absolute.

    #94101
    minervaa
    Participant

    Found the problem after 4 hours!!! Gone through everything I could think of! My head is spinning now :(

    It was something to do with the htaccess, had to change the whole thing!

    I gone through lot of posts on the forum. I am quite shocked seeing how many people have problem to get the pretty permalink working properly.

    I can only wish if the bbpress would have also working smoothly on pretty permalink issue like WP!!

    #35317
    topperud
    Member

    Something strange happened when I tried to log in here using my old username:

    I had to reset the password, but when I followed the link in the mail I only got the message “you are not allowed to change the password”??? WTF? Tried several times, and the mail arrives, but I am not allowed to change the password. Had to make a new user in the end :/

    #94089

    what I have so far is:

    `<div class=”threadauthor”>

    <a href=”http://www.domain.com/forum/profile/&lt;?php post_author(); ?>”><?php post_author_avatar(); ?></a>

    <p>

    <strong><a href=”http://www.domain.com/forum/profile/&lt;?php post_author(); ?>”><?php post_author(); ?></a></strong>

    </p>

    </div>`

    It works for the text link only if the user name is the same as the display name… doesn’t work for the avatar at all. I tried the avatar by putting in the img src before it, and the link works, but it adds an empty box to the left of the avatar. Totally confused :|

    Any ideas?

    #94087
    _ck_
    Participant

    Yeah the two common mistakes when editing PHP files is to mess up the closing or to put whitespace after the closing which then causes “headers already sent” error.

    The new preferred technique is to leave the closing off altogether, because PHP doesn’t care and it prevents errors like that – which I will probably adopt in my future code for plugins etc.

    #94085
    _ck_
    Participant

    Sorry I missed this, anything that appears before all the headers is likely any other file you modified in bbpress startup process. Since the most likely file is bb-config.php which is often edited, you might have left two closing marks

    ?>

    ?>

    So the first one closes that PHP file, the second one gets displayed as plain text before the header.

    #77152

    In reply to: Topic paging issue

    _ck_
    Participant

    Kakumei doesn’t have post numbering from what I see, neither does inove.

    Take a peek inside your post.php template and tell me what’s between

    <div class="postnumber"> </div>

    It’s also possible that it is in topic.php instead.

    suomynona
    Member

    Several days ago I did a new install of bbpress in my wordpress root on localhost/, checked it out and all looked fine. My intention is to work through the integration of wp and bbp, but I didn’t have time to work with it then, so I went back today to try it out and find that there’s a misplaced “?>” displaying at the top of every page – before the header. I also noticed that the footer on the Appearance page of the admin panel runs across the Kakumei-blue theme so that the activate link is inaccesible.

    I’ve messed around with it for a few hours – saved my bb-config.php, deleted bbpress/ and replaced it from the zip; checked permissions; repaired my mysql database; restarted my apache2 and mysql services; checked the header.php; cleared my browser cache… I’m at a loss to understand this.

    ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">

    <head>

    <meta http-equiv="X-UA-Compatible" content="IE=8" />

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

    <title>bbPress Bulletin Board</title>

    <link rel="stylesheet" href="http://localhost/wordpress/bbpress/bb-templates/kakumei/style.css" type="text/css" />

    <link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Posts” href=”http://localhost/wordpress/bbpress/rss.php&#8221; />

    <link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Topics” href=”http://localhost/wordpress/bbpress/rss.php?topics=1&#8243; />

    <meta name=”generator” content=”bbPress 1.0.2″ />

    </head>

    I’m just short of removing the database and starting over, which would be the quick and easy way out, but I would like to figure it out for the heck of it. Any ideas will be appreciated.

    #93152
    nuesha
    Member

    (You need to copy paste those code in a text file then rename it as .php.After that it will become a plugin and you can opload it on your plugin folder.

    If you want, you can download the same file from this link. I put some extra information (i.e. description, url etc) on the plugin.)

    thanks minervaa..

Viewing 25 results - 19,976 through 20,000 (of 32,499 total)
Skip to toolbar