Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

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

    #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.

Viewing 25 results - 28,476 through 28,500 (of 32,492 total)
Skip to toolbar