Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,451 through 28,475 (of 32,481 total)
  • Author
    Search Results
  • #62173

    In reply to: help please anyone…

    livibetter
    Member

    Set

    $bb->uri = 'http://konpaforum.com/bbpress/';

    in your config.php

    (edit: missing tailing semi-colon)

    #62144
    chrishajer
    Participant

    Sorry, still confused. From config.php:

    // Set to true if you want pretty permalinks, set to 'slugs' if you want to use slug based pretty permalinks.

    So, true, false and 'slugs' are all valid. Can you show an example of a slug based permalink vs. just a pretty permalink? I understand false pretty well since that’s what my forum uses.

    Thanks.

    #62169
    chrishajer
    Participant

    Just change it in config.php:

    // What are you going to call me?
    $bb->name = 'Totally New Site Name';

    #62167
    fel64
    Member
    #62166
    goldfiinger
    Member

    thanks but it’s still not working, i’ve changed both too

    font: “Comic Sans MS”;

    Still no joy :(

    #62165
    fel64
    Member

    Yeah. You need to have quotation marks around any font names containing spaces.

    (edited)

    That would be font-family: "Anything but Comic Sans MS for the love of god";

    Note you can also get a whole bunch of font declarations into one statement: http://www.w3schools.com/css/pr_font_font.asp

    #62143
    fel64
    Member

    The slug is why-my-kittens-suck.

    Slugs are used in pretty permalinks. That bb has two conventions, 1 and slugs, means nothing; they’re just used to denote the difference between using the topic id and the topic name in the url.

    #58671
    fel64
    Member

    No. Unlike '/bbpressfolder/' (I presume), 'wordpressuser' and 'wordpresspass' are not placeholders for your actual value: they are the literal values you will have there. Check your wordpress cookie; those are what they use. A part of the structure is:

    wordpressuser_site-unique hash=your username
    wordpresspass_site-unique hash=hash of your password

    With his settings, bb should now be using that too.

    #55395
    kaolin
    Member

    I just ran into this myself… Didn’t think to check here for a workaround. I have bbpress installed as /forum/ and my approach was to add an htaccess with the following:

    RewriteEngine On

    RewriteBase /forum/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteRule ^([^/]+)/(.*)?$ /forum/$1.php [PT,QSA]

    It seems to be working fine.

    #62160
    mvh
    Member

    OK, wait. I have changed the links to TRUE, so i am not on SLUGS anymore.

    And I am getting the Error 404 – Not found!

    Help! >.< please :)

    What am i doing wrong >.<

    #2736
    mvh
    Member

    I have tried to use pretty permalinks and am having no luck so far.

    Could someone please help me :)

    I tried using the

    Options +MultiViews

    and when I click on the links I get 404 Error.

    Then I tried using the

    rewrite-rules.php.

    and I get:

    blockquoteInternal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webadmin@kundenserver.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    blockquote

    If you go to http://www.328solutions.com you will see it! (That is with the rewrite-rules.php)

    Does anyone know what I am doing wrong? If you need more information please let me know! I really want to use BBPRESS as I love WordPress!!! And don’t really want to use any other forum. :)

    oh btw, seasons greetings :)

    #62157
    fel64
    Member

    You’d have to change some core code.

    #2733

    Topic: Got an Idea?

    in forum Plugins
    livibetter
    Member

    This is stolen from WordPress Extend Ideas. I made (or I should say I duplicated or pirated?) this for getting your ideas to be my motivations. But, while writing this I found out this not just “Ideas”, this actually is an application of how to have different themes for your forums and topics. And you can also have permalinks like /ideas/ or /ideas.php.

    No modifications on core files, but need to add two files. 1 plugin file, some modifications on theme.

    You can see this “Ideas” on my forums. Scroll down to the bottom, you will see it. Click on “Got an Idea?” or “Ideas for bbPress” (read the URIs, notice the differences?).

    This is not ready for a release, however you can download it from repository and read this draft documentation (if you want to play with it).

    And you can post your ideas for “Ideas” or others.

    #62127

    In reply to: stick/closed topics

    fel64
    Member

    Wouldn’t it be best to mark the entire topic link up? Sounds good, though.

    Anyway, for enhancements add a ticket on https://trac.bbpress.org/ and mark it as such. :)

    #2727
    ndb
    Member

    You know how topics have [sticky] and [closed] before the title. It would be great if that text in both cases ware before link and in span like this:

    <span class="sticky">[sticky]</span> <a - link to the topic

    <span class="closed">[closed]</span> <a - link to the topic

    so we could add icons to these topics in css :) for sticky it is easy to change in template but i can’t change this for closed topics

    #62153
    chrishajer
    Participant

    In WordPress, when a page title is the same as a previous one, the slug gets a number appended to it, like this-was-written-about-before-1, so I imagine bbPress has the same protection built in. The slug needs to be unique.

    #62120
    Ben L.
    Member

    I think changing

    if ( !bb_current_user_can( 'edit_user', $user_id ) ) {
    $sendto = bb_get_option('uri');
    wp_redirect( $sendto );
    }

    in profile-edit.php to

    if ( !bb_current_user_can( 'edit_user', $user_id ) || (!bb_current_user_can('use_keys') && $user->has_cap('use_keys')) ) {
    $sendto = bb_get_option('uri');
    wp_redirect( $sendto );
    }

    would fix the problem.

    #58666
    livibetter
    Member

    yes.

    I think you only need

    $bb->cookiepath = '/';

    If this is not working, please check your browser’s cookies. See what WordPress and bbPress send to you with what host and path. If you not sure what to check, try to clean cookies, then log in WordPress and bbPress.

    #55394
    livibetter
    Member

    (edit: How did you know it was working? I didn’t notice your 404 doesn’t give the url information. Please use the following code for testing

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule redir youcantfindme [R=301,L]
    </IfModule>

    This time please check the browser’s address, and make sure you read http://make2for1.com/youcantfindme. If you do read that, please continue to the following testing.)

    Please place $bb->debug = 1; to your config.php

    Add exit; right after bb_repermalink(); in forum.php like

    <?php

    require_once('./bb-load.php');

    $forum_id = 0;

    bb_repermalink();
    exit;

    Then navigate to http://make2for1.com/forum.php?id=1 and http://www.make2for1.com/forum/general, once you done, post the result and DO NOT REMOVE this modification (allow us to check it).

    #61168
    livibetter
    Member

    Seems that l10n.php of bbPress wasn’t loaded.

    Did you also do a WordPress FUNCTIONS integration?

    What is your config.php of bbPress? (you can post it to http://bbpress.pastebin.com , remember to remove dbname, dbuser, dbpassword)

    #58664
    livibetter
    Member

    Are $bb->wp_home and $bb->wp_siteurl set as http://mysite.com?

    There is a setting can force bbPress to access specific cookie path (like /, that is what you need), but I don’t remember what it is. You can try to search for that.

    If you find that post, please also link to it in this topic.

    #62138
    goldfiinger
    Member

    Fantastic now it works thanks for the advice!

    Hey this may sound like a dumb question but what are permalinks ?

    Does it matter that the Permalinks wont work ?

    Thanks again :)

    #62137
    chrishajer
    Participant

    That sounds like a permalinks issue. If you change the mod_rewrite line to false in your config.php, and it works, then you know pretty permalinks are messing things up.

    Should look like this when you’re done:

    $bb->mod_rewrite = false;

    If things work after that, then you can figure out what about your configuration is not allowing the permalinks to work.

    #62136
    goldfiinger
    Member

    Yes i’ve changed it back now and its all working fine just completed the install. :)

    Only thing now is that i can’t seem to post or read the test posts that are already there.

    It’s saying :

    The requested URL /home/bbpress/topic/1 was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    When i click on: your first topic

    Or when i try to post a new topic

    Any ideas ?

    Correction I can post topics I just can’t view any. But it does show the new topics I’ve made. But doesn’t let me view them ?

    http://the3rdplace.co.uk/home/bbpress/

    #62135
    livibetter
    Member

    Did you replace BBDB_NAME with DB_NAME in config.php?

Viewing 25 results - 28,451 through 28,475 (of 32,481 total)
Skip to toolbar