Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,501 through 28,525 (of 32,505 total)
  • Author
    Search Results
  • #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.

    #2719
    livibetter
    Member

    I have kept reading this forums for about a month. I saw many similar processes of solving the same problem.

    Not long ago, I asked Sam Bauers a question about bbpulp.org on IRC:

    <livibetter> can we (users) expand it? like FAQ, troubleshooting, theme modifications?
    <livibetter> there are many questions asked again and again on forums. If we can systematically organize a collection of these, then may be easily to give a solution for their questions.
    <sambauers> Yeah, go ahead.
    <sambauers> It is a wiki after all :)
    <sambauers> Although it was focused on being a developers resource.
    <livibetter> Thanks! I will post a post for this, and hope many other user will do the same thing.
    <sambauers> If you wanted to look at the actual bbPress.org documentation
    <sambauers> you are welcome to suggest additions and edits of the pages there
    <livibetter> I see
    <sambauers> It makes more sense to compile FAQs there for instance
    <sambauers> And installation/integration notes
    <sambauers> Which will soon need updating anyway
    <livibetter> means 0.8.4 coming soon?
    <sambauers> Probably not until WordPress 2.4

    If we can collect and organize these solutions well, we can be more easier to help. I did a small change on the main page, not really start to write something. I took a while to write those new entries, it’s harder than I can imagine. I can’t make them systematic. And that’s still not good, but collaboration can correct mistakes and build a great stuff.

    So, Let’s collaborate!

    #62093
    livibetter
    Member

    I remember there is a post about this. Anyway, I made one.

    Put this in plugin folder: http://bbpress.pastebin.com/f271761bf , use any filename you like

    And this to register-success.php of template:

    <?php
    global $STP_password;
    if ($STP_password)
    echo "<p>Your password is: $STP_password</p>";
    ?>

    Activate plugin and test.

    #2716
    itissue
    Member

    Is there a way to print out the password after someone registers instead of sending an email? My web host won’t allow sending emails through web pages. I looked at topics already written but I was unable to implement the code because I have version 8.3. If anyone can give me the code I have to add or modify, that would be great.

    Thanks,

    Sue

    #60859

    The problem is; I’ve never explicitly told bbPress to connect via a local socket, and since I’m not a Unix expert, I didn’t really comprehend the error message. I now understand a bit more of what it says and that I should instruct bbPress to connect via TCP/IP instead. However, isn’t this something bbPress should have available as an option in the config.php file somehow? Or even just as an automatic switch it figures out based on whether BBDB_HOST is set (or is different from localhost) or not?

    #60858
    livibetter
    Member

    Yes, you surely can’t, cite from man mysql

    ·  --socket=path, -S path

    For connections to localhost, the Unix socket file to use, or, on
    Windows, the name of the named pipe to use.

    No remote IPC, if you can communicate via TCP/IP from remote, why use unix socket?

    #62067
    citizenkeith
    Participant

    There are some decent programs for legal mass mailing that you can use. For Mac, there’s a great program called MailDrop that will import email addresses from a spreadsheet. The email service, Constant Contact, does the same thing. Just export from PHPMyAdmin and import the info into your bulk mail program.

    A plug-in would be easier, that’s for sure! :)

    #60856
    Sam Bauers
    Participant

    > I suspect bbPress of having hard coded a connection to localhost and thus configuring define(‘BBDB_HOST’, ‘…’) to be something else than localhost doesn’t really matter.

    That’s simply not the case.

Viewing 25 results - 28,501 through 28,525 (of 32,505 total)
Skip to toolbar