Forum Replies Created

Viewing 15 replies - 1 through 15 (of 48 total)
  • Forum: Plugins
    In reply to: can wphpbb do this?

    wphpbb can pull and display the posts from the forums into the single page template, though phpbb is handling the comments not wp.

    I assume you could limit the number of posts on the page, but you would have to manually edit the code.

    I unfortunately am so busy teaching full time and doing corpus projects that I cant spare any time to even complete v3.0.

    WDuluoz

    Go here.

    https://www.happypoet.com/hackery/wphpbb/

    (sorry didnt realize it was a really old post.)

    Hope this helps someone searching now.

    Forum: Plugins
    In reply to: WPHPBB-Login
    Thread Starter wduluoz

    (@wduluoz)

    I have uploaded a new version to fix the options problems.

    WDuluoz

    ZachGates:
    I have created a plugin for WP that integrates the comment system and more. It is stable with a few site admins running it.

    Go to https://www.happypoet.com/hackery/wphpbb/ for more information.

    I am currently working on a new beta. Trying to streamline the program and add new functions.

    WDuluoz

    Forum: Plugins
    In reply to: WPHPBB-Login
    Thread Starter wduluoz

    (@wduluoz)

    Ok below is the get_userdata function in functions.php of phpBB2. If you look before and after it you will see, if (!function_exists . ….) and then an endif;

    This is what I mean. You need to wrap the code for the specific function in this check to make sure it doesnt try to load it twice.

    //
    // Get Userdata, $user can be username or user_id. If force_str is true, the username will be forced.
    //
    if (!function_exists(‘get_userdata’))://added for wphpbb
    function get_userdata($user, $force_str = false)
    {
    global $db;

    if (!is_numeric($user) || $force_str)
    {
    $user = phpbb_clean_username($user);
    }
    else
    {
    $user = intval($user);
    }

    $sql = “SELECT *
    FROM ” . USERS_TABLE . “
    WHERE “;
    $sql .= ( ( is_integer($user) ) ? “user_id = $user” : “username = ‘” . str_replace(“\'”, “””, $user) . “‘” ) . ” AND user_id <> ” . ANONYMOUS;
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, ‘Tried obtaining data for a non-existent user’, ”, __LINE__, __FILE__, $sql);
    }

    return ( $row = $db->sql_fetchrow($result) ) ? $row : false;
    }
    endif; //Added for wphpbb

    wilbur

    Thread Starter wduluoz

    (@wduluoz)

    Kalico:
    Sorry about the delay. Its best to post a response at https://www.happypoet.com/hackery/wphpbb/

    I check that daily.

    Which version are you using?
    If its the beta there were some problems, which I have fixed with the lastest beta, but its still beta.
    One of the fixes was that one of the settings for the input box was not being declared.

    About the comments, if you want the comments not to be seen on the pages then you can make a modified page template. Then instead of linking to the comments.php.
    Take the code from the modified comments.php and remove this line.

    <?php if ( function_exists(‘wphpbb_comments’)){ wphpbb_comments($id);} ?>

    This prints the comments. The wphpbb_quickreply prints the quick reply.

    wilbur

    Thread Starter wduluoz

    (@wduluoz)

    I have separated the wphpbb-login system.

    More information here:

    wphpbb-login

    Thread Starter wduluoz

    (@wduluoz)

    wphpbb v2.5
    compatible with wp 2.0
    login works for the most part.

    i am working separating it from the wphpbb for people who would like it to login integration but dont want the comments integrated.

    I will post a new thread when i get it separated.

    wphpbb v2.5

    wilbur

    ps sorry for the delay, had to finish up some business and repair a house.

    Thread Starter wduluoz

    (@wduluoz)

    I had a little time to fix wphpbb to at least run with WP 2.0. It is not fully tested. I may have time to test and rewrite the plugin in a few months.
    https://www.happypoet.com/files/wphpbb-v2.4.6.phps

    Sorry it took so long.
    Maybe when I get a chance to stop playing carpenter and plumber, I will have more time.

    WDuluoz

    Thread Starter wduluoz

    (@wduluoz)

    Yes that is the main issue. Along with the errors that replace everything on the front page.

    wduluoz

    Thread Starter wduluoz

    (@wduluoz)

    quick post to tell you, wordpress 2.0 seems to have problems with wphpbb.

    when time permits, i will address this.

    wduluoz

    Thread Starter wduluoz

    (@wduluoz)

    You can do it, but you will have to use a IFRAME unless you make a few changes. You can use phpbb fetch all, but you will need to adapt some of wp and phpbb files to avoid the conflict with get_userdata and make_clickable.

    Thread Starter wduluoz

    (@wduluoz)

    Jersey: Make sure the endif comes after the final “}” in both make_clickable and get_userdata function. The entire function needs to be inside the the small code that basically tells it not to load if the function already exists.
    CreedFeed: Right now, the only changes you will have to do is the small edits to the new version of phpbb. As long as phpBB fetch all works then wphpbb should work. Categories Hierarchy is a massive modification and unfortunately not all of phpBB fetch all seems to work with it. (One day I will fix the problems with logins HardinComp.)

    To everyone else: I am going to have to suspend any work on the plugin for a while, a long while. I dont feel this is the place to get into the specifics, but I will keep happypoet.com up and running. When I get time, I will get back to fixing the minor problems. I have released the latest version I was working on. It has a lot of benefits, but probably a lot of bugs also.
    It is available here: https://www.happypoet.com/files/wphpbb-v2.4.5.phps

    (right click and save as , be sure to remove the “s” in the file name)
    Thanks for all the encouragement and “testing”. Hopefully the versions I have released can satisfy people until I can fix them. I will be back.

    WDuluoz

    Benefits:
    –neat features for login integration and replaces the login register links after initiated (still has problems)
    –automatic syncing with phpBB database after configuring phpBB’s path.
    –replaces the comments links automatically with new one with comment totals(no need to edit index.php, watch out for any other plugin that changes the comment links)
    –beginnings of replacing comments template.
    –some more I cant think of currently

    Known Bugs:
    –bbcode error on Post Management screen.

    Thread Starter wduluoz

    (@wduluoz)

    I plan on making two smaller versions: a wphpbb lite, for those that dont want to use the phpbb_fetch_all to display them in wp, and the login system, though I would rather figure out a better way to integrate the two. The biggest flaw in the login system is that if someone logs into phpbb then it will not automatically log into wp, unless they use the specific login page.
    When I get time, I will post them. It shouldnt be more than edit out the unnecessary parts.

    WDuluoz

    Thread Starter wduluoz

    (@wduluoz)

    “Instruction pages seem to be down”?
    The directions are here.
    https://www.happypoet.com/hackery/wphpbb/directions/

    What do you mean by valid plugin? I have struggled with this code for 3 months to make it one-click, and I dont believe its possible for the various reasons I state in my directions.

    If you are having problems with the plugin, email me with questions and I will do my best to help you. Numerous individuals have successfully got the plugin working, but its not an “easy” plugin for someone who doesnt understand php and the two databases. If you cant understand the directions, then ask me. If you cant understand my explanations, then maybe wphpbb is not the plugin for you.
    As suggested by dss, maybe punbb would be a better forum solution.
    As far as I know, no one has made a one-click plugin for forum integration. Not even for bbpress.

    WDuluoz

Viewing 15 replies - 1 through 15 (of 48 total)