[RC] phpBB Gallery

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] phpBB Gallery

Post by Satanasov »

OK. So I stepped back a little from moderator panel, to show some front end. You should now user albums in index, or atleast a link to them. Now I will adress the db break that is logged in GitHub as issue.

Edit (so not to spam):

Todays Push (for the moment) includes:

You have 4 random images on the front page.
Small CSS fix, so it will allow showing of 4 images per row
Random are ccessible trough $root/gallery/search/random
Recent are accessble trough $root/gallery/search/recent
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: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] phpBB Gallery

Post by Satanasov »

Hey guys, today's push has some more working functions - if you wan't to test - please report bugs to correct them.
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.
User avatar
franki_63
Registered User
Posts: 15
Joined: Wed Mar 28, 2012 2:26 pm
Location: Geldern-Walbeck(Germany)
Contact:

Re: [DEV] phpBB Gallery

Post by franki_63 »

German translation of phpbb Gallery extension (core and exif)
phpbbgallery_de.zip
LG franki_63 (Das Ahnenforum)
Sorry for my English (Google Translator)
User avatar
Oroton
Registered User
Posts: 70
Joined: Wed Oct 17, 2012 10:40 am

Re: [DEV] phpBB Gallery

Post by Oroton »

you sir are a hero, and this is why I will now upgrade to 3.1.x
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] phpBB Gallery

Post by Satanasov »

Oroton wrote:you sir are a hero, and this is why I will now upgrade to 3.1.x
Wait. It's still way away from from production.

But if you wan't to upgrade, here is how it is done:

Create folder $phpbb_root/files/phpbbgallery
Create folder $phpbb_root/files/phpbbgallery/core
Create folder $phpbb_root/files/phpbbgallery/core/source
Create folder $phpbb_root/files/phpbbgallery/core/mini
Create folder $phpbb_root/files/phpbbgallery/core/medium
Copy the content of old $phpbb_root/gallery/images/upload
Remove $phpbb_root/gallery and it's content
If you have updated your board database, just install the extension
If not - update then install
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.
User avatar
Oroton
Registered User
Posts: 70
Joined: Wed Oct 17, 2012 10:40 am

Re: [DEV] phpBB Gallery

Post by Oroton »

Lucifer4o wrote:
Oroton wrote:you sir are a hero, and this is why I will now upgrade to 3.1.x
Wait. It's still way away from from production.

But if you wan't to upgrade, here is how it is done:

Create folder $phpbb_root/files/phpbbgallery
Create folder $phpbb_root/files/phpbbgallery/core
Create folder $phpbb_root/files/phpbbgallery/core/source
Create folder $phpbb_root/files/phpbbgallery/core/mini
Create folder $phpbb_root/files/phpbbgallery/core/medium
Copy the content of old $phpbb_root/gallery/images/upload
Remove $phpbb_root/gallery and it's content
If you have updated your board database, just install the extension
If not - update then install
I haven't done anything yet, because we are reliant on the gallery and I wanted to wait till it was available.
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] phpBB Gallery

Post by leschek »

Lucifer4o wrote:Hey guys, today's push has some more working functions - if you wan't to test - please report bugs to correct them.
OK. Not sure ho important this is...

1. I disabled the extension, deleted all the data and enabled it again, so I have fresh installation.

2. I created album and set all permission as "Yes" for me. Now when open Gallery page I don't see album, but this message:

Code: Select all

Information

NO_SEARCH_RESULTS
3. I created personal album and added into it picture. When in UCP I go to "Go to" I can see the image, but when I click on normal Gallery link on board index I get the message above.

4. When I'm on the personal album page and looking on my only image there, I can see that breadcrumb looks like Board index < Personal albums < user name instead of Board index < Gallery < Personal albums < username (as I think it should).
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] phpBB Gallery

Post by Satanasov »

leschek wrote:

Code: Select all

Information

NO_SEARCH_RESULTS
This is related to random images on front page. NO_SEARCH_RESULTS means that the random images script can't find images (expected as there are none for that moment). I haven't added option to disable it, or to check where it is called from (this will be added in one of the following pushes).
leschek wrote: 3. I created personal album and added into it picture. When in UCP I go to "Go to" I can see the image, but when I click on normal Gallery link on board index I get the message above.
This is strange - it should gather images for random from all albums you have i_view access to. I will have to take a look.
leschek wrote: 4. When I'm on the personal album page and looking on my only image there, I can see that breadcrumb looks like Board index < Personal albums < user name instead of Board index < Gallery < Personal albums < username (as I think it should).

The navigation menu is still not fixed. This is how it was in the original (before my start to migrate it). I know where the issue is and will correct it (just don't think is that serious).

Thanks for the feedback. I will get back to you when I have checked the missing random and navigation.
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.
Vioto
Registered User
Posts: 4
Joined: Fri Sep 05, 2014 11:10 am

Re: [DEV] phpBB Gallery

Post by Vioto »

when i add a contest in ACP i get a DB error

Code: Select all

SQL ERROR [ mysqli ]

Table 'vioto_nl.GALLERY_PERMISSIONS_TABLE' doesn't exist [1146]

SQL

SELECT * FROM GALLERY_PERMISSIONS_TABLE WHERE perm_album_id = 1

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/phpbbgallery/core/acp/albums_module.php
LINE: 183
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: phpbbgallery\core\acp\albums_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
when i go back i see my contest. (in ACP)
when i try to manage my permission i can't see my contest.
elawrenc
Registered User
Posts: 136
Joined: Thu Jul 21, 2011 2:41 pm

Re: [DEV] phpBB Gallery

Post by elawrenc »

Once we copy the files from $phpbb_root/gallery/images/upload

Where do we put them?
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] phpBB Gallery

Post by Satanasov »

Vioto wrote:when i add a contest in ACP i get a DB error

Code: Select all

SQL ERROR [ mysqli ]

Table 'vioto_nl.GALLERY_PERMISSIONS_TABLE' doesn't exist [1146]

SQL

SELECT * FROM GALLERY_PERMISSIONS_TABLE WHERE perm_album_id = 1

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/phpbbgallery/core/acp/albums_module.php
LINE: 183
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: phpbbgallery\core\acp\albums_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
when i go back i see my contest. (in ACP)
when i try to manage my permission i can't see my contest.
Contest are not working and they will not be implemented in this version. Probably will do them as add-on. Contests are a mess and I have real problems with them.
elawrenc wrote:Once we copy the files from $phpbb_root/gallery/images/upload

Where do we put them?
Hah! My bad - copy them to $phpbb_root/files/phpbbgallery/core/source
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.
User avatar
KlausiMaus
Registered User
Posts: 188
Joined: Sat Nov 15, 2014 4:55 pm

Re: [DEV] phpBB Gallery

Post by KlausiMaus »

Hi,
I have phpBB 3.1.1 and installed your extension, in ACP all works so far, but when I call gallery I get only that:
Information
NO_SEARCH_RESULTS
have a look to: http://forum.kuhnert.ch/app.php/gallery

What went wrong?
Klaus (http://forum.kuhnert.ch/) :: Keep it simple, stupid :!:
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] phpBB Gallery

Post by Satanasov »

KlausiMaus wrote:Hi,
I have phpBB 3.1.1 and installed your extension, in ACP all works so far, but when I call gallery I get only that:
Information
NO_SEARCH_RESULTS
have a look to: http://forum.kuhnert.ch/app.php/gallery

What went wrong?

Please look 2 posts back. When you upload images it will show you 4 random iamges.
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.
User avatar
KlausiMaus
Registered User
Posts: 188
Joined: Sat Nov 15, 2014 4:55 pm

Re: [DEV] phpBB Gallery

Post by KlausiMaus »

sorry I don't get you really?
How to upload files? Where to put manually?

In ACP I find a function "ACP_IMPORT_ALBUMS" what's that?
When I try this function I get this:
Allgemeiner Fehler

Kann Modul ./../includes/acp/\phpbbgallery\core\acp\gallery_module.php nicht finden

BACKTRACE


FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 571
CALL: trigger_error()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
I still see no gallery on my board and have no idea how to get it working
Klaus (http://forum.kuhnert.ch/) :: Keep it simple, stupid :!:
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] phpBB Gallery

Post by leschek »

Lucifer4o wrote:
leschek wrote: Information

NO_SEARCH_RESULTS
This is related to random images on front page. NO_SEARCH_RESULTS means that the random images script can't find images (expected as there are none for that moment). I haven't added option to disable it, or to check where it is called from (this will be added in one of the following pushes).
We (me and probably also KlausiMaus) are not able to upload images, because we don't see album. We see only the message above.
Locked

Return to “Extensions in Development”