phpBB 3.2.0-a1 released

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: phpBB 3.2.0-a1 released

Post by RMcGirr83 » Tue Dec 01, 2015 11:19 am

Now here is something interesting. With the update I overwrote the vendor directory. Pretty sure symfony updates were included in that. Simply deleting the install directory and routing still seems to be working fine which then leads me to believe that it isn't symfony that was causing the issues I was/am experiencing with XAMPP but rather something in the phpBB files themselves.

It did, however, break the web profiler extension and I now seem to have a zipped develop directory within the ext directory.
Do not hire Christian Bullock he won't finish the job and will keep your money

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 297
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: phpBB 3.2.0-a1 released

Post by Nicofuma » Tue Dec 01, 2015 11:27 am

Not sure my web profiler extension is compatible. It's really hackish... I'll have a look and release a new version later if it isn't compatible
Member of the phpBB Development-Team
No Support via PM

User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: phpBB 3.2.0-a1 released

Post by RMcGirr83 » Tue Dec 01, 2015 11:38 am

If it helps, I kept getting a popup saying something about a missing token.
Do not hire Christian Bullock he won't finish the job and will keep your money

tct
Registered User
Posts: 15
Joined: Wed Aug 25, 2010 10:00 am

Re: phpBB 3.2.0-a1 released

Post by tct » Tue Dec 01, 2015 12:17 pm

̶P̶̶H̶̶P̶ ̶P̶̶a̶̶r̶̶s̶̶e̶ ̶e̶̶r̶̶r̶̶o̶̶r̶ ̶s̶̶y̶̶n̶̶t̶̶a̶̶x̶ ̶e̶̶r̶̶r̶̶o̶̶r̶ ̶u̶̶n̶̶e̶̶x̶̶p̶̶e̶̶c̶̶t̶̶e̶̶d̶ ̶̶̶[̶̶̶ ̶i̶̶n̶ ̶m̶̶y̶̶s̶̶i̶̶t̶̶e̶̶p̶̶h̶̶p̶̶B̶̶B̶̶3̶̶p̶̶h̶̶p̶̶b̶̶b̶̶r̶̶o̶̶u̶̶t̶̶i̶̶n̶̶g̶̶r̶̶e̶̶s̶̶o̶̶u̶̶r̶̶c̶̶e̶̶s̶̶_̶̶l̶̶o̶̶c̶̶a̶̶t̶̶o̶̶r̶̶c̶̶h̶̶a̶̶i̶̶n̶̶e̶̶d̶̶_̶̶r̶̶e̶̶s̶̶o̶̶u̶̶r̶̶c̶̶e̶̶s̶̶_̶̶l̶̶o̶̶c̶̶a̶̶t̶̶o̶̶r̶̶.̶̶p̶̶h̶̶p̶ ̶o̶̶n̶ ̶l̶̶i̶̶n̶̶e̶ ̶3̶̶8̶̶w̶̶h̶̶e̶̶n̶ ̶r̶̶u̶̶n̶ ̶h̶̶t̶̶t̶̶p̶̶m̶̶y̶̶s̶̶i̶̶t̶̶e̶̶p̶̶h̶̶p̶̶B̶̶B̶̶3̶̶i̶̶n̶̶s̶̶t̶̶a̶̶l̶̶l̶̶a̶̶p̶̶p̶̶.̶̶p̶̶h̶̶p̶

i'm sorry!
"phpBB requires PHP version 5.4.0"
I'm Vietnamese so I'm not good in speaking English!!!

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: phpBB 3.2.0-a1 released

Post by VSE » Tue Dec 01, 2015 5:29 pm

FYI: The changes in 3.2 that renamed all those event data variables has just been reverted, so all event names are now back to normal again, and backwards compatible.
https://github.com/phpbb/phpbb/pull/4054
Has an irascible disposition.

User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: phpBB 3.2.0-a1 released

Post by RMcGirr83 » Tue Dec 01, 2015 7:55 pm

To quote Tristan Image
Do not hire Christian Bullock he won't finish the job and will keep your money

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: phpBB 3.2.0-a1 released

Post by VSE » Wed Dec 02, 2015 9:01 pm

Links are not being run through make_clickable()

Local:
index.php?sid=d42027ba97a67983f497cea55803f7e8

External:
https://tracker.phpbb.com/browse/PHPBB3 ... key%20DESC

This ticket is only part of the bigger issue: https://tracker.phpbb.com/browse/PHPBB3-14323

This is a new ticket for this issue: https://tracker.phpbb.com/browse/PHPBB3-14332
JoshyPHP wrote:
Can you look into the ticket please (https://tracker.phpbb.com/browse/PHPBB3-14332).
Has an irascible disposition.

User avatar
JoshyPHP
Registered User
Posts: 348
Joined: Fri Jul 08, 2011 9:43 pm

Re: phpBB 3.2.0-a1 released

Post by JoshyPHP » Fri Dec 04, 2015 3:50 am

VSE wrote:
Wed Dec 02, 2015 9:01 pm
Links are not being run through make_clickable()
Yes, make_clickable() isn't used anymore and URLs are turned into links by this Autolink plugin. I don't know exactly what make_clickable() does to URLs but either way the Autolink plugin doesn't attempt to modify the way the original URL is displayed. If the original text was a DOM tree, you could say that it splits the text to insert an a node without ever altering the parent's textContent.

I see that make_clickable() adds a special class to local URLs. Currently in 3.2, all links are treated (and displayed) the same way whether they're from a [url] BBCode, a linkified URL, local or otherwise. I could add a special attribute to mark local URLs but that would add some complexity. Unless there's a practical use case for it, I don't think it's worth it.

I have published a patch that truncates long URLs. It's a patch against master but the same functionality could be implemented as an extension. Maybe it should.

If someone can summarise for me how local URLs should work, I'll look into it as soon as I can. Better yet, if you can write a function that takes a URL and returns how it should be truncated that would be most helpful. As far as I can tell from just posting local URLs on a 3.1 installation, it just removes the string from generate_board_url() from the start of the URL.

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: phpBB 3.2.0-a1 released

Post by Pony99CA » Sat Dec 05, 2015 3:08 am

Local URL: viewtopic.php?p=285736#p285736
Local URL wrapped in URL tags: viewtopic.php?p=285736#p285736

I believe that a local URL (a URL to another phpBB page on the same board) is supposed to be displayed as follows:

viewtopic.php?p=285736#p285736

Personally, I don't care much for the local URL formatting. While it's better than nothing because it's shorter, people should always wrap URLs in the long form of the URL tag, like this: phpBB 3.2.0-a1 released. I believe that there was even an RFC to automatically title URLs using the Web page's title, which would be my preference (at least for local URLs).

Long URL: http://smile.amazon.com/gp/product/1451 ... _i=desktop

As for long URLs, they should probably be truncated. Look at how the long URL above is underlined. Yuck.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: phpBB 3.2.0-a1 released

Post by VSE » Sat Dec 05, 2015 8:31 am

Here are some examples in a 3.1 board
Has an irascible disposition.

Post Reply