livibetter (@livibetter)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 145 total)
  • @livibetter

    Member

    Although “redir” indicated mod_rewrite working. But, that doesn’t seem to be working on “http://www.make2for1.com/forum/general” testing, or it would output similar result like “http://make2for1.com/forum.php?id=1” did.

    No idea why “RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]” didn’t match on your forums.

    What was the file path of 404 in web server’s log (using rewrite rules), when accessed “http://www.make2for1.com/forum/general”?

    @livibetter

    Member

    Your rss2.php template possibly has additional space and a new line, <?xml version="1.0"?> should be send at first place (after http header), but it’s not on your forum.

    In reply to: help please anyone…

    @livibetter

    Member

    sub-domain? did you mean add-on domain?

    You just need to move (re-install) all bbPress files up a level. If you installed them into public_html/konpaforum.com/bbpress/, then mv public_html/konpaforum.com/bbpress/* public_html/konpaforum.com/

    If you want to integrate into WordPress, then leave them and install WordPress in public_html/konpaforum.com/, would be a good idea.

    In reply to: help please anyone…

    @livibetter

    Member

    Didn’t read the question completely. I provided a fix for an error, which was caused by another error.

    Just follow what goldfinger said, then the problem should be solved.

    In reply to: help please anyone…

    @livibetter

    Member

    Set

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

    in your config.php

    (edit: missing tailing semi-colon)

    @livibetter

    Member

    @livibetter

    Member

    https://trac.bbpress.org/ticket/687

    It has been fixed in trunk, but you may need to wait for 0.8.4.

    @livibetter

    Member

    I think bbPress works normal, but WordPress may not. After you logging in WordPress, is that logging effective? Can you get into WordPress admin pages?

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

    @livibetter

    Member

    What did you exactly correct? I meant what caused this problem?

    @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).

    @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)

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

    @livibetter

    Member

    Have you followed the steps of How do I get Pretty Permalinks working??

    @livibetter

    Member

    Did you replace BBDB_NAME with DB_NAME in config.php?

    @livibetter

    Member

    Recent discussion indicates r971 could be a temporary good solution.

    Go to the bottom https://trac.bbpress.org/browser/trunk?rev=971

    Download the ZIP, and use it to upgrade

    I am not sure if it will touch you database or not, anyway backup is a good habit.

    Please tell us if this works or not.

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

    @livibetter

    Member

    @italways, was you installing WordPress and bbPress in this directory hierarchy:

    WordPress: /wordpress

    bbPress: /wordpress/bbpress

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

    In reply to: Apostrophe issue

    @livibetter

    Member

    Could be plugins. Try to deactivate (or activate?) one by one to find out which cause this.

    @livibetter

    Member

    You must login, then click on New Ticket.

    WordPress Support/Extend/Trac and bbPress Forums/Extend/Trac all can be logged in with the same username and password.

    @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?

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

    @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?

    @livibetter

    Member

    I don’t think you can connect to a remote MySQL server via unix socket. Please use TCP/IP.

    And don’t forget to grant the user for connecting from remote IP.

Viewing 25 replies - 1 through 25 (of 145 total)