1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-14 10:02:07 +02:00
lionel-rowe dd6e110210 [ticket/13859] Allow up-to-date format for Youtube profile field URLs
Per the tracker issue:

> In 3.1 a youtube profilefield was added in which we can insert our youtube
> username to link to it.... There is just one major problem though...
>
> New youtube members no longer get an username. So I think we should decide on
> providing different ways to access their profile.

This PR will allow users to use any valid YouTube-domain URL, which allows for
all 3 formats (`/channel/...`, `/c/...`, and the now-legacy `/user/...`).

Per [YouTube's docs](https://support.google.com/youtube/answer/6180214?hl=en):

> ## Channel URL (ID-based)
> Example: youtube.com/channel/UCUZHFZ9jIKrLroW8LcyJEQQ
>
> This is the standard URL that YouTube channels use.
>
> ...
>
> ## Custom URL
> Example: youtube.com/c/YouTubeCreators
>
> A custom URL is a shorter, easy-to-remember URL that you can share with your
> audience.
>
> ...
>
> ## Legacy username URL
> Example: youtube.com/user/YouTube
>
> Depending on when your channel was created, it may have a username. Usernames
> are no longer required for channels today, but you can still use this URL to
> direct to your channel — even if your channel name has changed since you chose
> your username. Existing usernames can't be changed.

PHPBB3-13859
2022-05-01 14:54:39 +01:00

phpBB

phpBB is a free open-source bulletin board written in PHP.

🧑🏻🤝🏻🧑🏽 Community

Get your copy of phpBB, find support and lots more on phpBB.com. Discuss the development on area51.

👨‍💻 Contribute

  1. Create an account on phpBB.com
  2. Create a ticket (unless there already is one)
  3. Read our Coding guidelines and Git Contribution Guidelines
  4. Send us a pull request

🏗️ Setting up a development build of phpBB

To run an installation from the repo (and not from a pre-built package) on a local server, run the following commands:

  • Fork phpbb/phpbb to your GitHub account, then create a local clone of it:
    git clone https://github.com/your_github_name/phpbb.git
    
  • Install phpBB's dependencies (from the root of your phpbb repo):
    cd phpBB
    php ../composer.phar install
    

Alternatively, you can read our Vagrant documentation to find out how to use Vagrant to develop and contribute to phpBB.

📓 Documentation

phpBB's Development Documentation contains all the information you'll need to learn about developing for phpBB's core, extensions and automated testing.

🔬 Automated Testing

We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration here or check our GitHub Actions below:

Branch Description GitHub Actions
master Latest development version Tests
3.3.x Development of version 3.3.x Tests

📜 License

GNU General Public License v2

Description
No description provided
Readme 204 MiB
Languages
PHP 88.1%
HTML 7.2%
JavaScript 2.8%
CSS 1.6%
Shell 0.2%