Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,451 through 28,475 (of 32,462 total)
  • Author
    Search Results
  • #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?

    #2729
    goldfiinger
    Member

    Changed my config information & followed the steps at DevLounge

    Now when i try to go to the install page @

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

    I get this error :

    Fatal error: Call to undefined function: __() in /home/the3eco/public_html/home/bbpress/bb-includes/

    default-filters.php on line 81

    This is line 81 :

    bb_register_view( ‘no-replies’, __(‘Topics with no replies’), array( ‘post_count’ => 1 ) );

    Anyone have any advice on what i should do ?

    Many thanks in advance :)

    #62007
    goldfiinger
    Member

    Fantastic all working now many thanks :)

    #62006
    livibetter
    Member

    I assume you did an overlap install of bbPress onto WordPress!

    /home/readme.html, /home/license.txt and /home/wp-login.php are working.

    But /home/index.php isn’t.

    except index.php, the first three files are not in bbPress; and you say you have clean up bbPress files. So, DID YOU DO AN OVERLAP INSTALL???

    If so, just download WordPress package, and extract index.php from it, then put it into /home.

    #55392
    livibetter
    Member

    Could you test your mod_rewrite is really working on http://make2for1.com/

    Please add the following to the top of .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule redir youcantfindme
    </IfModule>

    Use browser and navigate to http://make2for1.com/redir

    If you read /youcantfindme was not found, then mod_rewrite does work.

    neziniux
    Member

    I spent a whole day trying to resolve the same problem, until I came accross a sollution. Try the following improvements, worked for me.

    In the bb-settings.php version 0.8.3 line 172 find the code:

    if ( is_callable( ‘glob’ ) )

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

    require($_plugin);

    Replace it with:

    if ( is_callable( ‘glob’ ) ) {

    $pluginarray = glob(BBPLUGINDIR . ‘_*.php’);

    if ($pluginarray)

    foreach ( $pluginarray as $_plugin )

    require($_plugin);

    }

    The source (in German): http://www.brusdeylins.info/bbpress/problem-in-bb-settings/#comment-67

    #2702
    goldfiinger
    Member

    Hi , well today i decided to try and install bbpess and integrate it into my wordpress site.

    The quick instructions seemed simple, now on reflection a little to simple.

    Basically I copied everything from the bb zip file into the same root folder my wp site lives in.

    Then errors started to appear , so i thought well I’ll just delete everything and try and use some more in depth instructions.

    So I’ve now deleted every file I copied into the root file from the bb zip and the config.php file i also put in their which the instructions asked me to do.

    I thought once i had removed everything my site would just start working again as i thought it would be in the same state as this morning before I thought about bb.

    But you guessed it, it now doesn’t work. :(

    My site is http://the3rdplace.co.uk/home/

    Error I’m getting is 403 Forbidden

    Plus

    Forbidden

    You don’t have permission to access /home/ on this server.

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

    I don’t really know enough to know where to start in correcting things.

    How i wish i had a back up :( (i don’t)

    Question is what have I done wrong , but more importantly for now how do i go about correcting things ?

    Many thanks in advance :)

    #55391
    djuggler
    Member

    mvh: None yet. I’m going to start digging into code and rewrite rules in my spare time. http://make2for1.com/ is about as basic an install of bbpress as can be done. Implementing bbpress shouldn’t be this difficult.

    Obviously mod_rewrite at 1and1 works fine since WordPress pretty permalinks work. I use them at http://realityme.net/ with no problems.

    If I get a solution, I will definitely post it here.

    #62133

    In reply to: Apostrophe issue

    fel64
    Member

    Admin Can Post Anything will work if you remove the line that reads something like this:

    remove_filter('pre_post', 'addslashes');

    I had the same issue with bbsync and that fixed it. Since I used _ck_’s ACPA code, I assume it’ll work for you, too :P

    #62118
    Ben L.
    Member

    TICKET_CREATE privileges are required to perform this operation

    #2728
    outchy
    Member

    For some reason, I can’t submit a post that has an odd number of apostrophes in it. Here is the error I get:

    bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't i use an apostrophe?
    ','2007-12-21 20:48:42', '76.24.176.14', '0', ' at line 4]
    INSERT INTO thinkstorm_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES ('13', '7', '1', '

    can't i use an odd number of apostrophes?
    ','2007-12-21 20:48:42', '76.24.176.14', '0', 11)

    Warning: Cannot modify header information - headers already sent by (output started at /home/outchy2/public_html/thinkstorm/bb-includes/db.php:185) in /home/outchy2/public_html/thinkstorm/bb-includes/pluggable.php on line 164

    What should I be looking for to fix this?

    #62125
    joeknockz
    Member

    Sadly enough I thinK I’m going to have to give up on this one. I’ve tried everything and I can’t get something as simple as the Install.php to perform. Beyond that, while reading around it seems that the majority of problems come AFTER the install..so this journey could be a troublesome one if I continued. :( I try not to be a quitter but “ease of use” isn’t something that goes hand-in-hand with bbpress and I have a deadline. I don’t have a few days to wait to get it all settled, but thanks if you read this far……I’ll probably settle with smf or vanilla… :(

    #62104

    In reply to: Add a new page?

    outchy
    Member

    Anyone have a thought on this? It’s driving me insane :/

    #62124
    joeknockz
    Member

    I think my problem lies within my database area……I was adding database name and usernames that were in my wordpress wp_config.php

    Do I have to create my own database for bbpress through MySQL on my godaddy Linux hosting……..?

    I’ve really been trying for about 5 hours straight to figure this out….

    Install directions just seem so vague to me :( :(

    #2725
    Ben L.
    Member

    I can’t seem to make a ticket on the trac. Here’s the contents of what I want to say:

    With the way bbPress is currently set up, an Administrator could, just by editing the profile of a Key Master, remove the Key Master privileges. I suggest editing Key Master profiles cannot be done by anyone but Key Masters, or the administration portion of the profile should not be shown to anyone lower than Key Master if they are editing the profile of a Key Master.

    #62115

    In reply to: Url Rewriting Problem

    Ben L.
    Member

    Yes, you would need to go into your .htaccess file, plus something to make sure topic links went there… I’ll look into it.

    Here it is:

    Go into your bb-includes/template-functions.php. Find the function called get_topic_link, it should look like this:

    function get_topic_link( $id = 0, $page = 1 ) {
    $topic = get_topic( get_topic_id( $id ) );

    $args = array();

    $rewrite = bb_get_option( 'mod_rewrite' );
    if ( $rewrite ) {
    if ( $rewrite === 'slugs' ) {
    $column = 'topic_slug';
    } else {
    $column = 'topic_id';
    }
    $link = bb_get_option('uri') . "topic/" . $topic->$column . ( 1 < $page ? "/page/$page" : '' );
    } else {
    $link = bb_get_option('uri') . 'topic.php';
    $args['id'] = $topic->topic_id;
    $args['page'] = 1 < $page ? $page : false;
    }

    if ( $args )
    $link = add_query_arg( $args, $link );

    return apply_filters( 'get_topic_link', $link, $topic->topic_id );
    }

    Change 'topic/' to 'konu/'.

    Now, go into your .htaccess file. If you’re using Options +MultiViews, I don’t know how this will work, but if you’re using mod_rewrite, here’s what to do:

    Find the lines that look like

    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1 [L,QSA]

    and change them to

    RewriteRule ^konu/([^/]+)/page/([0-9]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^konu/([^/]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1 [L,QSA]

    I think that’s all you’ll need to do…

    #55389
    djuggler
    Member

    To eliminate WordPress as a possible problem, I have tried a fresh install of BBPress 0.8.3 in a new directory ~/make2for1_com/ for a throwaway domain I had laying around http://make2for1.com/ The database is a freshly created MySQL 4 db. PHP is using version 4.4.7 The .htaccess uses the code generated with http://make2for1.com//bb-admin/rewrite-rules.php and nothing else. The config is the sample file with all the appropriate blanks filled in and nothing more.

    $bb->mod_rewrite = ‘slugs’; is set.

    Trying to get to a profiles produces a 404. Trying to read a discussion produces a 404. If I change $bb->mod_rewrite = false; it works.

    #62111

    In reply to: Style first post only?

    fel64
    Member

    You could apply the style you want for only the first li to every li, then use the + selector to modify it for all li following another li (in effect letting you style only the first one, although it’s annoying that you may have to cancel styles).

    li {
    font-weight: bold; }
    li + li {
    font-weight: normal; }

    should make just the first li bold. This I think works on every browser, even IE6.

    The http://developer.mozilla.org/en/docs/CSS::first-child rule is of course the proper thing to do, but (if I recall correctly) doesn’t work for IE6. (This is what I would do … but I generally have no mercy for IE6 users anyway.)

    #61732
    livibetter
    Member

    I am thinking to use another approach (current method is extremely stupid, just like me):

    Using activate_before usermeta. When user registering, activate_before is set as registered + 72 hours (depends on current setting). User need to log in within 72 hours, or to be deleted.

    No need to plug bb_check_login(). :)

    Also have something remove_method for doing deletion or switching to inactive role when user doesn’t log in before deadline. And having last_login can allow admin to make a yearly cleaning up those accounts didn’t log in for a long time. Ask them (by emails?) to log in, or will be switch to inactive role and send a notification mail for a response from them, then could be deleted in anytime if they don’t respond.

    Just some thoughts, what do you think?

    #60931

    I downloaded trunk and it now works. I hope there’s a new release soon that will incorporate these changes so I can use something a bit more stable than the current development version. ;-) It seems to be working fine, though.

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