Member
Member
flu   2014-06-26, 17:00
#1

Hi guys,
I use :
Zenphoto 1.4.6
Theme : zpskeleton (the adapted one for 1.4.6 by Fretzl in the Github unsupported directory)
PHP : 5.3.28
MySQL : 5.1.67
rewrite mod : on

  1. Using this theme, I've noticed that the pagination works fine if the gallery.php is on the home page (http://www.site.com/page/1, http://www.site.com/page/2, http://www.site.com/page/3, etc.) but it gives 404 errors everywhere else, even using it in a gallery page :

http://www.site.com/page/gallery/2 > 404
http://www.site.com/page/gallery/3 > 404
etc.

Can you reproduce that ?

  1. I want to print 10 random images from the dynamic album called "example"
    this way :

But Zp sends me an error saying that this album doesn't exist (but it does...)
Could you confirm that the function syntax above is correct or point me in the right direction ?

Thanks.

Administrator
Administrator
fretzl   2014-06-26, 17:30
#2

2


Use ``

Trying to reproduce #1

Member
Member
flu   2014-06-26, 17:39
#3

2 : it works. Thank you fretzl.

Administrator
Administrator
fretzl   2014-06-26, 18:22
#4

I can reproduce #1 but I don't have a clue right now. Sorry.
I'll report back if I find something.

Member
Member
gjr   2014-06-26, 18:55
#5

Maybe the new pagination out of bounds checks. See the 1.4.6 release notes about needed theme changes. Probably need to add checks on the function.php similar to included themes. Just a guess

Member
Member
flu   2014-06-26, 19:28
#6

Thank you Fretzl, I'll have a look too and post here if I find something.

Hi gjr, I'd like to thank you for this great theme (and the other ones too).
Just a question : why did you leave it ?

Member
Member
sbillard   2014-06-26, 20:50
#7

If you want a supported version of this theme you might want to try ZenPhoto20. Just visit GitHub and type that ZenPhoto20/ZenPhoto20 into the search field at the top of the page. (I'd give you a link, but the spam filter will just kick me out.)

If it does not work I will fix it.

Member
Member
sbillard   2014-06-26, 21:23
#8

Google search for ZenPhoto20 will give you the direct link to the repository.

Developer
Developer
trisweb   2014-06-26, 21:40
#9

Please refrain from posting advertisements for other projects. Thank you.

Member
Member
sbillard   2014-06-26, 23:20
#10

So then you do not have your user's best interests at heart then. Your user seems to want a supported version of the theme, and there is one. It is pretty hard to tell them where to find it without mentioning the project.

Administrator
Administrator
fretzl   2014-06-27, 14:55
#11

Thanks @gjr, that was it.

@flu:
I updated the theme's functions.php. It should work now.

Member
Member
flu   2014-06-30, 12:37
#12

Hi Fretzl, thank you.
If it works great on the gallery pages, it doesn't work anymore on the index pages : 404 error (but I don't need the gallery to be displayed on them anyway).

Administrator
Administrator
fretzl   2014-06-30, 16:19
#13

Sorry. Forgot to test on the index pages.
I modified the theme's functions.php again and for me it now works on both gallery and index pages.

Member
Member
flu   2014-06-30, 18:12
#14

It works for me too.
Thank you so much Fretzl !

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.