+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 19

Thread: PHPBB v3 Support?

  1. Join Date
    Apr 2007
    Posts
    8

    PHPBB v3 Support?

    I'm just wondering if anybody has tried this news script on the latest beta (soon to be release candidate) of PHPBB v3? Does it work and or will the script be adapted to support the new PHPBB? Ep-Dev Forum News is the best script around for what I want to do, but it's been a bit quiet of late.

  2. Join Date
    Aug 2004
    Posts
    780

    Re: PHPBB v3 Support?

    I have been meaning to release a class for it for a long time.

    I have a attached a class (untested) for the phpbb 3. Let me know how it works or any problems that you see.

    Upload the attached file, phpBB_3.php , to classes/sources/Forum/ folder of the EP-Dev Forum News script and then go to your admin panel to configure the script to use it.
    Attached Files

  3. Join Date
    Apr 2007
    Posts
    8

    Re: PHPBB v3 Support?

    I'm waiting on the first RC before I actually upgrade to PHPBB3, but will return and post feedback once I've tested it =).

  4. Join Date
    Aug 2004
    Posts
    780

    Re: PHPBB v3 Support?

    Quote Originally Posted by mark99
    I'm waiting on the first RC before I actually upgrade to PHPBB3, but will return and post feedback once I've tested it =).
    That would be the best idea. Using any beta prior to the first release candidate can be dangerous in a production environment. Just let me know whenever phpBB does release first RC / you upgrade.

    For anyone else out there already running phpbb3: Don't worry about using the new class. Even though it wasn't tested, EP-Dev Forum News is a read-only script. It does not have the capacity to modify or tamper with your forum or database.

  5. Join Date
    Apr 2007
    Posts
    8

    Re: PHPBB v3 Support?

    RC1 was release a couple of days ago and I'll upgrade my test forum shortly before reporting back.

  6. Join Date
    Nov 2006
    Posts
    8

    Re: PHPBB v3 Support?

    Hi Patiek,

    Sorry i never got back to you on the PM about giving this a try, I installed phpBB3 RC1 last night and just uploaded the class and made a couple of minor alterations to the news source settings and everything works perfectly!

    Thanks for starting on this so that it was ready to use for RC1 and hopefully final isnt too far away

  7. Join Date
    Nov 2006
    Posts
    8

    Re: PHPBB v3 Support?

    Just a quick update, had a stupid problem with one of the sites that i couldnt understand and it wasnt until spending a good 6-7hrs over 24hrs looking into the problem that i found it, thankfully not something i was responsible for, external file include() seems to be the cause so i've had chance to look into something that didnt seem to be working right with this script.


    Avatars...
    It seems phpBB3 and phpBB2 operate differently for avatars, previously it'd be a direct URL now its shortened and made dynamic?

    Actual avatar URL: [mydomain] /phpbb3/download.php?avatar=g3_1179887212.png
    Displayed avatar URL: [mydomain] /phpbb3/images/avatars/upload/g3_1179887212.png


    line 256:
    Code:
    $return = $this->CONF['url'] . "images/avatars/upload/" . $avatar;
    To
    Code:
    $return = $this->CONF['url'] . "download.php?avatar=" . $avatar;
    &

    line 262:
    Code:
    $return = $this->CONF['url'] . "images/avatars/gallery/" . $avatar;
    To:
    Code:
    $return = $this->CONF['url'] . "download.php?avatar=" . $avatar;

    Im not 100% sure on the 2 forms of avatar to be honest, so far i've only worked off avatars uploaded from HDD, not from the gallery, however i'd imagine the same method would be called.


    Again, Thanks for the great work putting both this phpBB3 class together in time for launch and the time put into the script on the whole, certainly makes things easier for me and people using the sites.

  8. Join Date
    Aug 2004
    Posts
    780

    Re: PHPBB v3 Support?

    I will look into it further in a bit. Forums typically support several types of avatars: no avatar, gallery avatar, uploaded avatar, external avatar (in URL form, not an option in all forums).

    It is likely that phpbb3 changed things, as you have already indicated, and I will research it in detail (including all forms indicated above) and post an update.

    Thank you for your feedback.

  9. Join Date
    Apr 2007
    Posts
    8

    Re: PHPBB v3 Support?

    I've only used basic features of the forum in my news, so haven't run into the Avatar issue as I don't display them. Otherwise I've now tested the updated integration on two sites and the news outputs without a problem =).

  10. Join Date
    Apr 2007
    Posts
    8

    Re: PHPBB v3 Support?

    Finally came to a situation where it'd be handy if I could include smilies into the final news output from PHPBB3, yet for some reason when ever I add a smilie it will only output like this:

    <!-- s<img src="http://www.host-review.co.uk/forum/i...n_mrgreen.gif" border="0"> --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt="<img src="http://www.host-review.co.uk/forum/i...n_mrgreen.gif" border="0">" title="Mr. Green" /><!-- s<img src="http://www.host-review.co.uk/forum/i...n_mrgreen.gif" border="0"> -->
    Now the URL is correct (http://www.host-review.co.uk/forum/i...on_mrgreen.gif) but it doesn't merely output the IMG, I get all the other stuff as well and that stops the smilie itself from displaying.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts