Announcement

  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

#136 2017-01-31 23:21:21

broswell
Member
2017-01-24
2

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Any way to put a banner in the header?
I have the title, and a random photo, and I'd like to fill the extra space with a banner photo.
screenshot from http://museum.syssrc.com/album attached.

Thanks

Offline

 

#137 2017-02-01 10:47:09

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi @broswell,

that random photo menu plugin isn't really supported yet. On my TODO list now.
What happened here is your top navigation bar got stretched down, and there is no sane way to fill that black area on the left side of the nav bar.

The theme has a banner component called "Jumbotron" which you can enable in theme settings. Its content can be changed in Administration -> Configuration -> Options -> Banner

With some Javascript skills, you could turn it into something that shows a carousel with random images and/or a banner. Some code is in the wiki here: https://github.com/tkuther/piwigo-boots … kroom/wiki (buzzwords carousel and jumbotron)

Offline

 

#138 2017-02-10 11:38:55

Peremees
Member
2017-02-10
3

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hello.

I believe i have one problem.
The situation looks like this:
When i navigate in my gallery on to one photo, the address bar shows something like this:

my.gallery.zz/picture.php?/400249/category/57749

When i change the url to (4=>6):
my.gallery.zz/picture.php?/600249/category/57749

i will get 404, page not found.

But when i change the url to (2=>1):
my.gallery.zz/picture.php?/400149/category/57749

i will get: Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 512 bytes) in /var/www/html/galerii/themes/bootstrap_darkroom/themeconf.inc.php on line 112

Is it possible to handicap gallery this way by anyone? Maybe a solution?

Thank you in advance.

Piwigo 2.8.5
PHP 5.6.30
MySQL 5.5.54
Bootstrap Darkroom 1.4.12

Offline

 

#139 2017-02-10 13:36:28

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Peremees wrote:

Hello.

I believe i have one problem.
The situation looks like this:
When i navigate in my gallery on to one photo, the address bar shows something like this:

my.gallery.zz/picture.php?/400249/category/57749

When i change the url to (4=>6):
my.gallery.zz/picture.php?/600249/category/57749

i will get 404, page not found.

But when i change the url to (2=>1):
my.gallery.zz/picture.php?/400149/category/57749

i will get: Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 512 bytes) in /var/www/html/galerii/themes/bootstrap_darkroom/themeconf.inc.php on line 112

Is it possible to handicap gallery this way by anyone? Maybe a solution?

Thank you in advance.

Piwigo 2.8.5
PHP 5.6.30
MySQL 5.5.54
Bootstrap Darkroom 1.4.12

What does line 112 in bootstrap_darkroom/themeconf.inc.php contain in your install?
I ask because that line is actually empty and also has been in version 1.4.12, see https://github.com/tkuther/piwigo-boots … nf.inc.php

Offline

 

#140 2017-02-10 14:45:09

Peremees
Member
2017-02-10
3

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Sorry, i made a mistake about the error. The right one is:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/galerii/include/dblayer/functions_mysqli.inc.php on line 226

In that file on the specified line (226) is: return $result->fetch_assoc();

Offline

 

#141 2017-02-11 13:37:14

Guillaume C
Member
Belgium
2017-02-11
10

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi Teekay,
Latest release brokes HomePage carousel.
Because js moved into the footer or something else ?
Examples :
- https://pwgdemo.kuther.net/index/page/s … h_carousel
- http://guillaumecyriaque.be
Cheers

Offline

 

#142 2017-02-11 21:24:06

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Guillaume C wrote:

Hi Teekay,
Latest release brokes HomePage carousel.
Because js moved into the footer or something else ?
Examples :
- https://pwgdemo.kuther.net/index/page/s … h_carousel
- http://guillaumecyriaque.be
Cheers

Ooops. Thanks for the pointer! I fixed this in 1.5.2 (jQuery and bootstrap js get loaded in header, only for AdditionalPages pages)

Offline

 

#143 2017-02-11 21:26:18

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Peremees wrote:

Sorry, i made a mistake about the error. The right one is:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/galerii/include/dblayer/functions_mysqli.inc.php on line 226

In that file on the specified line (226) is: return $result->fetch_assoc();

That looks different, even the memory limit. 64MB is a bit low anyway. I run Piwigo with 512.
Does it happen with other themes, too?

Offline

 

#144 2017-02-11 21:45:35

Guillaume C
Member
Belgium
2017-02-11
10

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

teekay wrote:

Ooops. Thanks for the pointer! I fixed this in 1.5.2 (jQuery and bootstrap js get loaded in header, only for AdditionalPages pages)

Thanks for your prompt reaction ! but...

Code:

Fatal error: Can't use method return value in write context in /public_html/piwigo/themes/bootstrap_darkroom/themeconf.inc.php on line 193

on any page.
I'm back to Stripped and will look this tomorrow.

Offline

 

#145 2017-02-11 22:06:17

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Guillaume C wrote:

teekay wrote:

Ooops. Thanks for the pointer! I fixed this in 1.5.2 (jQuery and bootstrap js get loaded in header, only for AdditionalPages pages)

Thanks for your prompt reaction ! but...

Code:

Fatal error: Can't use method return value in write context in /public_html/piwigo/themes/bootstrap_darkroom/themeconf.inc.php on line 193

on any page.
I'm back to Stripped and will look this tomorrow.

Heck.. This is fixed in 1.5.3, hopefully.

Offline

 

#146 2017-02-12 20:54:27

konservator
Member
Russia
2014-09-17
10

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hello,

breadcrumbs do not show correct words where the encoding?

**link broken**

Offline

 

#147 2017-02-12 21:39:56

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

konservator wrote:

Hello,

breadcrumbs do not show correct words where the encoding?
**link broken**

Hi,

are you willing to test something?

Open bootstrap_darkroom/themeconf.inc.php end edit around line 170 from

Code:

     $dom = new DOMDocument;
     $dom->encoding = 'utf-8';
     $int_err = libxml_use_internal_errors(true);
     $dom->loadHTML(utf8_decode($title));

to:

Code:

     $dom = new DOMDocument;
     $int_err = libxml_use_internal_errors(true);
     $dom->loadHTML(mb_convert_encoding($title, 'HTML-ENTITIES', 'UTF-8'));

Offline

 

#148 2017-02-12 21:54:01

konservator
Member
Russia
2014-09-17
10

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

thank you very much, fix it =)

Offline

 

#149 2017-02-12 21:55:48

teekay
Member
2013-06-12
427

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

konservator wrote:

thank you very much, fix it =)

Thanks for testing! Committed in git.

Offline

 

#150 2017-02-14 03:44:08

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

I just posted this http://piwigo.org/forum/viewtopic.php?id=27711 with a few questions and now I found a dedicated thread for this great theme, should I repost it here?

Thanks!

Offline

 
  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact