Customise UPC tab

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
User avatar
Thunder86
Registered User
Posts: 106
Joined: Fri Apr 07, 2023 6:21 am

Customise UPC tab

Post by Thunder86 »

Is there any possibility to customize the UCP by adding a new tab where the admin can add a link that the user can see in the UCP?

For example, like how "My Advertisement" adds a new tab to the UCP, I want to add a "Private Photo Gallery" tab where the admin can publish a link via ACP for specific users to access their gallery.
Screenshot 2024-07-21 at 19.32.47.png
I don't want to use custom profile fields because the information should be available, visible and not editable to the user.
You do not have the required permissions to view the files attached to this post.
fuolo
Registered User
Posts: 4
Joined: Sun Aug 04, 2024 6:51 pm

Re: Customise UPC tab

Post by fuolo »

Find the ucp module file in phpBB and add a new tab there ('module_url' => 'ucp.php?i=private_photo_gallery'), then add a new configuration option in the ACP where admins can input the URL and then display the link in UCP ($gallery_link = $config['gallery_link'])
User avatar
Thunder86
Registered User
Posts: 106
Joined: Fri Apr 07, 2023 6:21 am

Re: Customise UPC tab

Post by Thunder86 »

Maybe that's part of the solution, but it's not the complete solution. That's why I asked for an extension, because the method you mentioned misses the necessary part to add the link correctly to the phpBB database.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 616
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: Customise UPC tab

Post by danieltj »

fuolo wrote: Wed Aug 07, 2024 5:35 am Find the ucp module file in phpBB and add a new tab there ('module_url' => 'ucp.php?i=private_photo_gallery'), then add a new configuration option in the ACP where admins can input the URL and then display the link in UCP ($gallery_link = $config['gallery_link'])
Obligatory don't edit core files message.

You can add a new module by going into the ACP and then selecting System 👉 User Control Panel. The only issue is that you'd need an extension to include a new custom template file to display your data.

I did find this extension but it's marked for 3.1 (https://www.phpbb.com/customise/db/exte ... bb_gallery), I couldn't find any recent gallery extensions for 3.3 unfortunately.
User avatar
warmweer
Jr. Extension Validator
Posts: 11856
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Customise UPC tab

Post by warmweer »

Some 2, perhaps 3 years ago I upgraded a 3.0.14 board to 3.3.something using

https://github.com/satanasov/phpbbgalle ... aster/core

Whether it's compatible with the more recent versions of 3.3 I don't know
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Thunder86
Registered User
Posts: 106
Joined: Fri Apr 07, 2023 6:21 am

Re: Customise UPC tab

Post by Thunder86 »

I might have expressed myself unclearly. I am not looking for a photo gallery to integrate into phpBB. I am looking for a way to create a custom module for the UCP so that, as an administrator, I have the possibility to provide a link for each user to access their private photo gallery hosted on an external server.

Something like a custom user UCP-Site which I could use to share a link with the user.

Return to “Extension Requests”