phpbbgallery icon indicating copy to clipboard operation
phpbbgallery copied to clipboard

How to show gallery below avatar? Empty field in UCP

Open AllARTSoftworks opened this issue 5 years ago • 2 comments

Hi, I'm on 3.2 and using phbbgallery 1.2.1.

Not sure this is an issue.

I managed to create albums, set permissions and so on but under my profile control panel I can't choose any album to show below the avatar since it shows only an empty, not fillable field.

Surely I'm doing something wrong.

Can you please help me?

Thank you in advance.

AllARTSoftworks avatar Aug 13 '19 16:08 AllARTSoftworks

Do "Resync personal albums to profile fields" in ACP.

SiavaRu avatar Aug 13 '19 16:08 SiavaRu

Well... nope :sweat:

I purged all caches, resynced everything but I always had an empty, not fillable field in my profile ( /ucp.php?i=ucp_profile&mode=profile_info ).

I searched for "pf_gallery_palbum" and I found it in 3 files:

core/user.php core/album/album.php core/styles/all/template/event/overall_footer_after.html

I noticed that in overall_footer_after.html at line 150 there is this code:

<script> (function($) { // Avoid conflicts with other libraries $('#pf_gallery_palbum').prop('disabled', true); })(jQuery); // Avoid conflicts with other libraries </script>

I set the property to false and I inserted "1" as my album ID so I managed to show it in my profile but that's not too much user friendly :rofl:

Any other suggestion? :sweat_smile:

Selezione_999(978)

AllARTSoftworks avatar Aug 13 '19 20:08 AllARTSoftworks