New phpBB update coming in v0.9.2.5

I’ve just been putting through some changes and bug fixes for the next minor update to WP-United, v0.9.2.5. Unfortunately I’ve spotted a case with the arbitration between the native WordPress and phpBB “make_clickable” functions that needs to be patched. These functions scan text to turn into links, and exist in both phpBB and WordPress. WP-United has always worked around this by patching phpBB and WordPress as required in order to prevent collisions in the functions namespace.However, in usage, they didn’t collide and were pretty much interchangeable in usage.

However, I’ve found a case where they do collide. The error only affected some people with full-page phpBB-in-WordPress pages, with WordPress content in addition to the forum on the page (e.g. latest posts in sidebars, or comments/trackbacks on the forum page), and even then, the error only showed as warnings when debugging was on — everything continued to work. It only affects WP-United since v0.9.1.x, due to changes in template integrator flow.

So, it’s not critical, but I of course want to patch it.

It’s a simple fix, but will mean that in order to upgrade from v0.9.1.x or v0.9.2.0-4 to v0.9.2.5, you will need to apply one more mod edit to phpBB, in addition to just copying over files.

Since some people seem to have troubles updating the phpBB side, I wanted to make this clear in advance of the release.

On updating to v0.9.2.5, WP-United will shut down until it detects that the phpBB side has been updated properly. An upgrade.xml file will be included in the phpBB portion’s /contrib folder to help you update. You can use AutoMod if you like, but it is a simple change.

As usual, if you are able to test the nightly package and upgrade with that, please do, and provide your feedback in the forums.

Posted in Using WP-United, WP-United Development
9 comments on “New phpBB update coming in v0.9.2.5
  1. majamaki says:

    Thanks for the heads up. I’m anxious to begin using this on our ChowChow.org site and forum, but am patiently waiting for the major 1.0 release.

  2. Avatar image k2_1971 says:

    Thanks for the heads up Jhong.

  3. Avatar image Jhong says:
    majamaki wrote:Thanks for the heads up. I’m anxious to begin using this on our ChowChow.org site and forum, but am patiently waiting for the major 1.0 release.

    1.0 may be some time away yet, but that doesnt mean the current version is too unstable. After the holidays I’ll be working towards v0.9.3 which will support multisite and user blogging, which will take at least 3-4 weeks, then v0.9.4 will hopefully be the last branch before 1.0.

    If phpBB 3.1 starts to look imminent then v1.0 of wp-united may be targeted to that.

  4. GeceBekcisi says:

    Nightly package still cross posts the entry to the forum with publisher’s forum ID, instead of the author’s ID. Here is the debug output and related links:

    Forum post http://cihaz.im/da/1V
    Blog post http://cihaz.im/da/1U

    Author WP ID: 11
    Author phpBB ID: 71

    Editor WP ID: 3
    Editor phpBB ID: 61

    Debug output:

    Code: Select all
    DEBUG
    WP Version = 3.5.1
    Integrate users hook called.
    WARNING: A plugin has called set_current_user too early! Initing phpBB environment.
    User integration active.
    phpBB already logged in.
    WP already logged in, user =3
    phpBB account is integrated to WP account ID = 3.
    User is already logged in and integrated to correct account, nothing to do.
    New XPost query created for query [0,,,,0,0,10000,0,0,1,1,0,0,na]
    Performing cross-post query: SELECT p.post_approved, COUNT(p.post_id) AS num_total FROM (cbb_topics t CROSS JOIN cbb_posts p CROSS JOIN cbb_users u) WHERE (t.topic_wpu_xpost > 0) AND (p.post_approved = 1 OR ( p.post_approved = 0 AND (t.forum_id IN (1, 2, 3, 5, 6, 9, 10, 11, 12, 14, 15, 16, 18, 20, 21, 22, 30, 31, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127) OR u.user_id = 61))) AND ((p.poster_id = u.user_id) AND (p.topic_id = t.topic_id) AND (t.topic_first_post_id <> p.post_id) AND (t.topic_replies > 0)) GROUP BY p.post_approved LIMIT 10000 OFFSET 0 [real limit: (10000, 0)]
    Re-using XPost query from store for query [0,,,,0,0,10000,0,0,1,1,0,0,na]
    New XPost query created for query [5042,,,,0,0,1,0,0,0,0,0,0,]
    Performing cross-post query: SELECT COUNT(p.post_id) AS num_total FROM (cbb_topics t CROSS JOIN cbb_posts p CROSS JOIN cbb_users u) WHERE (t.topic_wpu_xpost = 5042) AND (p.post_approved = 1 OR ( p.post_approved = 0 AND (t.forum_id IN (1, 2, 3, 5, 6, 9, 10, 11, 12, 14, 15, 16, 18, 20, 21, 22, 30, 31, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127) OR u.user_id = 61))) AND ((p.poster_id = u.user_id) AND (p.topic_id = t.topic_id) AND (t.topic_first_post_id <> p.post_id) AND (t.topic_replies > 0)) LIMIT 1 OFFSET [real limit: (1, 0)]

    WP-United Statistics
    Script Time: 6.1112 seconds
    Memory usage: 85083kB

    One more, I’ve changed my wp-content directory name and added

    Code: Select all
    define( 'WP_CONTENT_DIR', '/home/cihaz.im/httpdocs/home' );
    define( 'WP_CONTENT_URL', 'http://cihaz.im/home' );

    to the wp-config, but at the blog page, latests posts from forum widget sets the author’s anchor href to:

    Code: Select all
    http://cihaz.im/icerik/5042/home/cihaz.im/httpdocs/forum/memberlist.php?mode=viewprofile&u=61

    Is this something that I need to fix on my end or yours?

  5. longmatthews says:

    What to Look for in a Hard Drive That You Are Purchasing?

    When you are going to buy laptop hard drive, it is extremely important to look for one that is going to be fast and large enough to accommodate all of your files and data needs. It

    Yeah, it’s just what I need, I’m about to have a new one

    I always use Dell Hard Disk Drives, what about you, guys?

    Gateway!!!lol

  6. longmatthews says:

    Find out what to look for when you are shopping for a hard drive

  7. longmatthews says:

    Things to consider when shopping for the best hard disk drives

    If you are shopping for the best laptop hard drive, you’re going to have your work cut out for you, especially buy laptop hard drive online. Finding a reliable hard drive to purchase is not going to be as easy as 123. You may have to spend some time looking around on the Internet and doing some comparison shopping so that you can find a hard disk for sale that will satisfy your expectations and meet your needs as well, before you make a determine you can just know about the laptop hard drive cost in the field. Using a laptop means that you’re going to need enough space to store your files, install your software and do everything that you want to do on the computer. There a lot of things to consider when you purchase a new hard drive for your laptop. Below, you will find with some of these things are and why it’s important to shop around for hard disk drives for sale so that you can find the precise laptop hard drive that you want to buy.

    1,Look for a hard disk drive that has enough space to meet your needs

    Knowing how much space you need on your hard drive can be a difficult thing. Often times, people don’t think they need much space but then they come to realize that they needed more than they originally thought. For instance, some people think that they just need to purchase a hard drive that is going to cover their files. For instance, if they have about 10 gigabytes of files, they may purchase just a 20 to 40 gigabyte hard drive. The problem with this is that you are not accounting for the operating system. If you plan to run an operating system like Linux or Windows on the computer, then you need to purchase a hard drive that has enough space to properly run the operating system and store your files. There are other things to keep in mind as well, for instance, what software are you going to be putting on the computer? Software can take up a lot of space on a computer, especially games and software that is very complex. These types of software titles can get up into several gigabytes of space, so you need to have a big enough hard drive to accommodate for these applications.

    2,Remember that it’s okay to go over what you need but it’s not okay to go under

    Of course, you can easily see there are so many laptop hard drive for sale online, when purchasing a hard drive, it’s okay to purchase more gigabytes than you actually need, just like me, I love installing lots of games, so I bought a big sony laptop hard drive in advance. However, if you were to purchase less gigabytes than you actually need, this is not going to be okay because you won’t be able to do the things that you want to do on your computer. Be sure to shoot for more disk space. Keep in mind that installing a hard drive on a laptop can be more complicated than installing a hard drive on a desktop computer. You also need to accommodate for the installation costs when you’re going to have a company install this for you. Look online and do some comparison shopping so that you can find the best laptop hard drive for a price that makes sense for your budget.

    Need more info about laptop hard drives or purchasing, please go harddrivestore.org

    Thank you, useful.

    Thank you, useful

    But to be frank, it doesn’t tell in detail what should we do to choose a best one, agree?

    I don’t think it’s good to buy a new hard dirve, why not change the laptop? Lol.

  8. longmatthews says:

    Find out what things you need to consider when you are shopping for the best laptop hard drive for your computer

Leave a Reply

You are not logged in.
Recent Forum Posts
Forum Stats
  • Forum Posts: 17144
  • Forum Threads: 6221
  • Registered Users: 4648
  • Newest User: a650485q405