phpBB Gallery

phpBB Gallery 3.3.x - phpBB Gallery

Re: phpBB Gallery 3.3.x

by RussLownie » Fri Jan 13, 2023 4:29 pm

removing this question as i think i can figure it out and i found the question was already asked and answered elsewhere
Last edited by RussLownie on Sun Jan 15, 2023 4:15 am
RussLownie
Registered User
Posts: 4
Joined: Fri Jan 13, 2023 12:18 am

Re: phpBB Gallery 3.3.x

by RussLownie » Sun Jan 15, 2023 4:14 am

well, i am pretty proud of myself right now

i managed to take our old associations photo albums and do a bulk upload to my new phpbb gallery

i could not get the descriptions from our old solution but i did manage to get the albums, photos and titles over

the database was pretty easy to navigate, i built the albums and image tables on a local install and then just imported them in to replace the albums and image tables on the server

it worked pretty well i think

old photo albums- hosted at bravenet are here https://www.iusscaa.org/photos.htm

new photo albums using phpbb are here https://iusscaa.org/messageboard/app.php/gallery

thanks again for doing the port over to 3.xx, it gave me a good solution to my issues with the bravenet version

this is going to make a lot of old sailors pretty happy i think

now to go pick a theme or two.
RussLownie
Registered User
Posts: 4
Joined: Fri Jan 13, 2023 12:18 am

Re: phpBB Gallery 3.3.x

by Satanasov » Sun May 28, 2023 3:45 pm

OK ... we have new bump in master:

@archivar provided some front end optimisations
@Ru13en implemented webp

Fixed version check from ACP.
Bumped version to 3.3.0


Please update from master.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1312
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov

Re: phpBB Gallery 3.3.x

by archivar » Sun May 28, 2023 7:18 pm

Satanasov wrote: @archivar provided some front end optimisations
Please update from master.
Please change this in the new update:
I tested again.
Please remove in gallery.css:
remove line 113 and 114 the code:

Code: Select all

	max-height: 280px;

Code: Select all

	min-height: 280px;
In imageblock_polaroid.html:
Find lines 23, 24,25,26 the code:

Code: Select all

	{L_ALBUM_NAME}{L_COLON}
	<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; margin-bottom: 0px;">
		<!-- IF imageblock.image.U_ALBUM --><a href="{imageblock.image.U_ALBUM}" style="display: inline;"><!-- ENDIF -->{imageblock.image.ALBUM_NAME}<!-- IF imageblock.image.U_ALBUM --></a><!-- ENDIF -->
	</p>
substitute:

Code: Select all

	<!-- IF imageblock.image.U_ALBUM -->{L_ALBUM_NAME}{L_COLON}<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; margin-bottom: 0px;"><a href="{imageblock.image.U_ALBUM}" style="display: inline;"><!-- ENDIF --> {imageblock.image.ALBUM_NAME}<!-- IF imageblock.image.U_ALBUM --></a></p><!-- ENDIF -->
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by Satanasov » Sun May 28, 2023 8:02 pm

archivar wrote:
In imageblock_polaroid.html:
Find lines 23, 24,25,26 the code:

Code: Select all

	{L_ALBUM_NAME}{L_COLON}
	<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; margin-bottom: 0px;">
		<!-- IF imageblock.image.U_ALBUM --><a href="{imageblock.image.U_ALBUM}" style="display: inline;"><!-- ENDIF -->{imageblock.image.ALBUM_NAME}<!-- IF imageblock.image.U_ALBUM --></a><!-- ENDIF -->
	</p>
substitute:

Code: Select all

	<!-- IF imageblock.image.U_ALBUM -->{L_ALBUM_NAME}{L_COLON}<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; margin-bottom: 0px;"><a href="{imageblock.image.U_ALBUM}" style="display: inline;"><!-- ENDIF --> {imageblock.image.ALBUM_NAME}<!-- IF imageblock.image.U_ALBUM --></a></p><!-- ENDIF -->
Here you mean to change swap only the IF imageblock, or to change the 3 line of code for the one provided?
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1312
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov

Re: phpBB Gallery 3.3.x

by archivar » Sun May 28, 2023 8:06 pm

Satanasov wrote:
archivar wrote:
In imageblock_polaroid.html:
Find lines 23, 24,25,26 the code:

Code: Select all

	{L_ALBUM_NAME}{L_COLON}
	<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; margin-bottom: 0px;">
		<!-- IF imageblock.image.U_ALBUM --><a href="{imageblock.image.U_ALBUM}" style="display: inline;"><!-- ENDIF -->{imageblock.image.ALBUM_NAME}<!-- IF imageblock.image.U_ALBUM --></a><!-- ENDIF -->
	</p>
substitute:

Code: Select all

	<!-- IF imageblock.image.U_ALBUM -->{L_ALBUM_NAME}{L_COLON}<p style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; margin-bottom: 0px;"><a href="{imageblock.image.U_ALBUM}" style="display: inline;"><!-- ENDIF --> {imageblock.image.ALBUM_NAME}<!-- IF imageblock.image.U_ALBUM --></a></p><!-- ENDIF -->
Here you mean to change swap only the IF imageblock, or to change the 3 line of code for the one provided?
Replace the four lines of code with the one provided!
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by Satanasov » Sun May 28, 2023 8:16 pm

Changes made.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1312
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov

Re: phpBB Gallery 3.3.x

by archivar » Sun May 28, 2023 8:19 pm

Satanasov wrote:Changes made.
Thanks a lot for this! :!:
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by archivar » Sun May 28, 2023 8:23 pm

archivar wrote: Please change this in the new update:
I tested again.
Please remove in gallery.css:
remove line 113 and 114 the code:

Code: Select all

	max-height: 280px;

Code: Select all

	min-height: 280px;
Please change the gallery.css
Edit: Bugfixes done.
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by cpg-at-work » Tue May 30, 2023 9:03 am

@Satanasov + archivar: THANKS! - DANKE!
cpg-at-work
Registered User
Posts: 76
Joined: Sat Sep 22, 2012 6:38 pm
Location: Germany

Re: phpBB Gallery 3.3.x

by archivar » Mon Jun 05, 2023 6:19 pm

https://www.phpbb.com/customise/db/exte ... 01#p864401
Satanasov wrote:OK ... we have new bump in master:
@archivar provided some front end optimisations
@Ru13en implemented webp
Fixed version check from ACP.
Bumped version to 3.3.0
Please update from master.
I have changed further suggestions for the responsive view with the smartphone/tablet, also for overlays with names/comments that are too long, in the “Moderated Album” and in the “Personal” area. I made the files I modified available to @Satanasov today for inspiration and testing. Please compare the pictures old with new. :geek:
Maybe my edits could be added to the gallery.
Moderated Album section (Image):
old:
1-alt-reponsive - moderat-album-image-Galerie.png
new:
1-neu-reponsive-moderat-a.png
Personal section (manage personal albums):
old:
2-alt-2-responsive - Persönlicher Bereich.png
new:
2-neu-2-responsive - Persönlicher Bereich.png
Personal section (manage notifications):
old:
3-alt-1-responsive - Persönlicher Bereich.png
new:
3-neu-1-responsive - Persönlicher Bereich.png
I also traded the globe for a camera.
old:
prof-contact-alt.png
prof-contact-alt.png (11.37 KiB) Viewed 323 times
new:
prof-contact-neu.png
prof-contact-neu.png (11.96 KiB) Viewed 324 times
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by archivar » Thu Jul 06, 2023 9:09 am

These changes were added by @Satanasov today!

https://www.phpbb.com/customise/db/exte ... 51#p865651
Satanasov wrote:Last updates are pushed ... please try updating.
Thanks! :D
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by archivar » Fri Jul 07, 2023 7:20 pm

I have made some changes to my gallery and will send the modified files to @Satanasov for suggestion and testing.
Unfortunately, I had only now found the solutions for these changes.
See the illustrations for this.
Error in the comment list when using the QUOTE button!
The right outer bracket is missing there!

phpbbgallery/core/styles/prosilver/template/gallery/index_body.html
old:

Code: Select all

"{commentrow.U_QUOTE"
new:

Code: Select all

"{commentrow.U_QUOTE}"
BACK_TO_TOP-Button Added bottom right of comment panel.
index-kommentar-liste.png
index-kommentar-liste.png (24.57 KiB) Viewed 314 times

The order of the edit box and comment box under the image display has been changed. Then it's like replying to a topic on the forum.
Because there the answer field is also below posts and not above them.
old:
kommentar-edit-ansicht-alt.png
kommentar-edit-ansicht-alt.png (20.43 KiB) Viewed 311 times
BACK_TO_TOP-Button Added bottom right of comment panel.
BACK_TO_TOP-Button Added bottom right in edit panel.

new:
kommentar-edit-ansicht-neu.png
kommentar-edit-ansicht-neu.png (20.44 KiB) Viewed 311 times
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by archivar » Sun Jul 16, 2023 11:33 am

Database server: MySQL(i) 5.7.41-log
PHP version: 8.2.7
phpBB Board version: 3.3.10
phpBB Gallery Version: 3.3.0 last update on July 06, 2023
In summary, after many and extensive tests, I found more problems in the gallery.
It only occurred to me to do these tests when I read about similar problems with the gallery here in the forum.
Only after today's many and extensive tests and changes to Gallery settings, in my personal area, which has not been changed for years, and with the test user, did I find the problems described here, where I previously believed that these problems did not exist in the Gallery.
Unfortunately, I don't have the necessary programming knowledge to be able to fix the errors/problems described here!
Problems with general search via Gallery jumpbox
Result of searching via gallery jumpbox for comments
Why isn't the album description shown for everyone!?
Further examples:
Error in the UCP in the personal area "Gallery"
"Personal settings":
If I mark one or the other setting there and send it, then the gallery changes
my markings automatically and sets other markings that I do not want.
It's a back and forth clicking and sheer madness until you have carried out all possible combinations of the markings to get the desired markings, except for one marking, after sending.
And that is often only possible with repeated sending and page updates via the browser used. How are users supposed to know?
"Allow users to comment on your images": flag set to "No" will not be accepted after submission and flag will always remain only set to "Yes".
"Hide images from users: Hide images in albums from users in the "Recent", "Random" and "Comments" sections of the index." is marked "Yes" and my images uploaded in the personal area as well as my comments are displayed under " Random Images, Recent Images, and Comments from the Index are still shown to other users.

"Manage notifications":
Data from observations of already deleted users and their albums can still be seen in my personal area.
It also doesn't help if I've marked these albums and clicked "stop watching"
clicked.
+++++++++++++++++++++
Clean up errors in the ACP gallery:
Cleaning the gallery in the ACP doesn't seem to work properly.
After that, remnants of data remain in the database areas for the gallery, which can then cause problems in the gallery.

In the database areas for the gallery:
Finding this data that is left behind and no longer needed is very complicated and time-consuming!!!!!!!!
I then had to find the rest of the remaining data in the right place in the database and delete it there. And after that I had problems again because I didn't find everything the first time.
The data that I couldn't find/deleted the first time still caused some of the problems I already described in the galley. And the search-and-delete theater started all over again.
After the Second Search, I had found the rest of the Evil Data!
phpbb3_gallery_comments
phpbb3_gallery_watch
Thankfully, this data is no longer visible in the personal area and the problems that caused the data were gone.
If the causes of the erroneous cleanup are not resolved, then they will continue to exist when users and their or other albums and pictures are deleted again.
Before making changes to the database, always make a backup of it and lock the forum first! :!:

What could be causing these problems:
For example, could it be that users have to follow certain sequences when changing settings in the personal gallery area and/or deleting certain albums/images in order to avoid the problems I describe? Or is the previous deletion of users to blame, because you didn't delete their pictures and albums beforehand and then cleaned them up in the Gallery's ACP?
Or is it coding errors affecting Gallery database areas?
Questions upon questions for which I unfortunately haven't found an answer yet!
If these errors were fixed, there would certainly be fewer support requests.
Best regards, Archivar
Sorry for my English Google Translation.
User avatar
archivar
Registered User
Posts: 299
Joined: Sun Sep 13, 2009 1:00 pm
Location: Deutschland

Re: phpBB Gallery 3.3.x

by davidwindsor » Fri Jul 21, 2023 9:31 am

Please help!!!

I have uploaded via FTP the folder called phpbbgallery and I cannot see it in my list of extensions in the ACP. I uploaded the folder to the /ext folder so why doesnt it appear in my ACP???

I have tried lots of different ways but it still doesnt show. I got the files from a post in this thread, so I am assuming that is correct. Unless something has been updated and I am not aware of it?

Can someone post up a link to the files needed for the Phpbbgallery please? I desperately need this to be installed on my domain.

Thanks for any help people. :)
davidwindsor
Registered User
Posts: 31
Joined: Fri Jul 21, 2023 9:27 am