• After a lot of help from Fluffy ( https://trikuare.cx/ ) and Skippy ( https://www.skippy.net ), I have finally manage to make the plugin work.
    This plugin integrates WordPress and PHPBB, using PHPBB as the comment engine.
    (unfortunately it is not a completely one-click plugin yet)

    For complete information, directions, and a demonstration go to
    https://www.happypoet.com/?p=119

    I am working on other features, but also working on a MA thesis. (so forgive me if they dont get implemented quickly)

    Feedback is always welcomed.

Viewing 15 replies - 16 through 30 (of 77 total)
  • That is what I did, I went under the Options and clicked on WPHPBB and the only thing I get is “Page cannot be found” and when I examine the link (“WPHPBB”) then I see that its linked to “wp-admin/wphpbb_options” and under my wp-admin there is no “wphpbb_options” so that explains the “Page cannot be found”. What I want to know is what the link is supposed to point to since there is no wphpbb_options in the wp-admin dir?

    /MFC

    Thread Starter wduluoz

    (@wduluoz)

    Are you using WordPress v1.5 , v1.5.1 or v1.5.1.3?
    There is no separate page, its part of the plugin. wphpbb_options is a function inside wphpbb. When the plugin is activated, the page is added through WP’s function add_options_page, which imports the html into the admins style. If its not showing up, then something is interfering with it.
    Have you modified admin panels? Are you using a plugin to modify the panels (such as Tiger Style Administration by Steven Smith [though I know it works with this one])? What plugins are activated? Have you tried disabling all plugins except this one to see if the options screen appears? (there may be a conflict with another plugin.) Are you logging in with your administrator login? It shouldnt show at all for anyone below 8 and since you were able to activate that shouldnt be the problem.
    The url should actually read “wp-admin/options-general.php?page=wphpbb_options”.
    If you have done all of this and still having problems, email me(which you already did) and we will try some other options.

    Nevermind, for some out of this world reason the thingie started to work. I am confident that this has something to do with the three reboots I did this morning because yesterday it didn’t work even after updating.

    I am running WP 1.5.1.3.

    Now I am off to save the world of blogging, at least for the time being!

    Thanx for the quick replies.

    I have bookmarked this thread because I intend to return with the link when I am finished..

    /MFC

    One thing..

    Because WP recommends using UTF-8 but phpBB uses iso-8859-1 I created a script I implemented in the netclectic “functions_insert_post.php” under the “function_insert_post” function:

    $iso_array = array(“?¥”,”?¤”,”??”);
    $utf_array = array(“???¥”,”???¤”,”????”);

    $message = str_replace($utf_array,$iso_array,$message);
    $subject = str_replace($utf_array,$iso_array,$subject);

    What this does for me is that it ensures that the swedish ?¥?¤?? (last 3 in the se-alphabet) remains intact after a comment to a post.

    I am not finished so I shall return with the finished result.

    I don’t know if this one of those must-implement thingies but it sure helped me.
    /MFC

    Anybody know anything about phpbb? When I try to run the test post, I get this error:

    Error in posting

    DEBUG MODE

    INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES (‘title’, , 1121541604, 1, 0, 0, 0)

    Line : 122
    File : functions_insert_post.php

    I have no idea what that means. Thanks for any help!

    sounds like there’s an issue with phpbb and the database. possibly a permissions issue?

    make sure you’re using a vanilla install of the script and check out phpbb.com for support.

    Thread Starter wduluoz

    (@wduluoz)

    If you look at the sql statement you are missing the topic_post. you have topic_title = ‘title’, topic_poster = , then topic_time = 1121541604, then forum_id = 1, topic_status = 1, topic_type = 0, and topic_vote = 0.

    It will fail if it doesnt have all of those attributes defined. If you put 2 as your topic_poster, which would be the id for the admin login, then it should work.

    Wilbur
    PS: oh how many times I have had to find where that little topic_poster got lost. hehe

    I’m trying to get wphpbb installed on my site, and I’m saying the logins should be integrated. On your site you say

    Select Integrated Logins in Options Panel (places a small script to clear WPa€?s cookie if user is not logged into PHPBB, since WPa€?s cookie is set for a year.)

    Add to wherever you would like login links displayed:

    if function_exists(a€?wphpbb_logina€?){ wphpbb_login();}

    I’m trying to add it to the sidebar where it currently has

    < ? php wp_register(); ? >

    but every time I do I get an error when the page loads. Can you be a little more specific as to how you’re supposed to insert that code?

    Thread Starter wduluoz

    (@wduluoz)

    are you putting < ?php and ? > around it (without the spaces)?

    What is the exact error message?

    WDuluoz

    I tried that. Let me get into my coding suite later and I’ll post the error I get.

    I changed line 91 of /wp-content/themes/default/sidebar.php from

    < ? php if function_exists(a€?wphpbb_logina€?){ wphpbb_login();} ? >

    to

    < ? php if function_exists(a€?wphpbb_logina€?){ wphpbb_login();} ? >

    I got the following error

    Parse error: parse error, unexpected T_STRING, expecting ‘(‘ in /home/hsir/public_html/wp-content/themes/default/sidebar.php on line 91;

    Thread Starter wduluoz

    (@wduluoz)

    Try
    < ?php if (function_exists(‘wphpbb_login’)){ wphpbb_login();} ? >

    WDuluoz

    Thread Starter wduluoz

    (@wduluoz)

    Well Ive done it now.

    Finally made it to version 2.0 (I realize most would say this should be 1.0, but I feel 1.0 was completely capable for my previous needs.)
    But now.
    I cannot think of anything else that should be integrated into WP from PHPBB. Nope Nothing.

    So I present to you WPHPBB Version 2.0.

      New Manage Panel allows you to edit the wphpbb_integrate table and the PHPBB posts (minimally for your own safety).
      completely custom PHPBB posts (thanks to skippy’s subscribe 2 ideas).
      now allows single quotes(‘) in div tags
      loads of new options (some I cant remember right now).

    https://www.happypoet.com/?p=119

    If anyone else has any suggestions on what its missing, I will be happy to entertain the idea of maybe going to 3.0 hehe.
    (it still needs all the bugs worked out.)

    WDuluoz

    PS about changing the two functions. The easiest solution I could come up with would be for the end user to edit the files and put checks to see if function does not exist around the original functions in both WP and PHPBB. And have WPHPBB rewrite the functions to work with both systems. This would seem to be almost as much editing of the original files as the other choice of just changing the few occurences in WP to something else. I dont know if this would make it easier for the end user or more complicated.

    Matt (developer) prefers putting the if !function_exists around make_clickable in WP, since both, WP and PHPBB’s, seem to do roughly the same thing (transform html into clickable urls).
    (there would still be problems.)
    This would work, but we would still have to fix it for get_userdata.

    Opinions on this would be appreciated.

    You bugger. And I had it almost ready to go live. ?? I’ll snag the update after dinner and install it. I’ll also try that login link, but right now it’s time for me to make some Chicken Progresso so I have something to eat tonight.

    I updated to version 2.0, and when I added the code you suggest I get

    Fatal error : Call to undefined function append_sid() in /home/hsir/public_html/wp-content/plugins/wphpbb/wphpbb-v2.0.php on line 1226

    Also, with your mods in the theme files I get the error

    Fatal error: Call to a member function url() on a non-object in /home/hsir/public_html/phpBB/includes/auth.php on line 98

Viewing 15 replies - 16 through 30 (of 77 total)
  • The topic ‘WP_PHPBB_Integration (Version 1)’ is closed to new replies.