Recent images on index

Forum rules
Support ended: 31.12.2011

Recent images on index

Postby zakeblack » Wed Jun 17, 2009 3:17 am

Gallery Version: 1.0.x
phpBB Version: 3.0.5
Gallery-Link: http://www.thecampingforum.co.uk/forum/gallery/index.php

PHP Version: 5.2.8
Database Version: 5.0.77

Error description and message
Had posted on phpbb also. but thought it would be best here.. how you keep track of the posts in one thread is beyond me??



the outputed code is as follows.

index.php

Code: Select all
/**
* RRC of phpbb gallery
* for more information see gallery/index.php:
* "include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);"
*/
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
   'rows'      => 1,
   'columns'   => 4,
   'comments'   => 5,
   'contests'   => 1,
);
recent_gallery_images($ints, 4, 1, false, true, 'album', 0);


And the index_body.html

Code: Select all
<!-- INCLUDE gallery_recent_body.html -->


Screenshot

Image
zakeblack
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Mon Feb 09, 2009 12:13 am

Re: Recent images on index

Postby nickvergessen » Wed Jun 17, 2009 12:41 pm

I can not reproduce that
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Recent images on index

Postby zakeblack » Wed Jun 17, 2009 9:35 pm

Nick,

Thanks for looking. I dont think its missed file edit, as it happens on both live and test.

Could it be a permissions issue? i have just notcied since i updated to latest version i no longer have the phpbb gallery tab in advanced permssions for user or group. in fact the only one it shows up on is permission masks????

cheers

andy
zakeblack
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Mon Feb 09, 2009 12:13 am

Re: Recent images on index

Postby nickvergessen » Wed Jun 17, 2009 9:44 pm

The gallery never used the normal permissions, but for viewing the ACP-Module.
if it works fine on the gallery/index.php this shouldn't be a permissions problem aswell.

it must be a file problem of the index.php than, as it view quit well in the template
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Recent images on index

Postby zakeblack » Wed Jun 17, 2009 10:23 pm

nickvergessen wrote:The gallery never used the normal permissions, but for viewing the ACP-Module.
if it works fine on the gallery/index.php this shouldn't be a permissions problem aswell.

it must be a file problem of the index.php than, as it view quit well in the template


Nick thanks again for the advice.

I have been looking further at the permission side, (i know you said not related) but im a little worried now? as i have no options on permissions any more? further more i as admin do not seem to have admin permission on the gallery, i can edit and delete my own images but not others? clearly a permission issue but not having the tab i cant confirm?

(Do you want me to raise a new topic for this?)

Cheers
zakeblack
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Mon Feb 09, 2009 12:13 am

Re: Recent images on index

Postby nickvergessen » Wed Jun 17, 2009 10:25 pm

If you are a founder in the board this should work without permissions.
Else go to ACP > Permissions > Admin Roles >
and edit the one you have
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Recent images on index

Postby zakeblack » Wed Jun 17, 2009 11:09 pm

nickvergessen wrote:If you are a founder in the board this should work without permissions.
Else go to ACP > Permissions > Admin Roles >
and edit the one you have


Ok those are listed. and all were checked. i took myself out of the global mod group. and placed back in. reset the roles in permissions and it seems to work now. i have the edit and delete options on other images rather than just my own.. strange i know? but the reset of permissions seemed to do the trick..

I will take another look at the code for recent images.. is it ok to post the whole index.php and index_body for you to check? or is that asking to much???

cheers again for the help..
zakeblack
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Mon Feb 09, 2009 12:13 am

Re: Recent images on index

Postby zakeblack » Thu Jun 18, 2009 1:52 pm

Nick,

In an effort to resolve this (and the worry that many seem to have problems with fantastico installtions) im going to look at correcting my install.

If you would be so kind to take a quick look at the method being explained to me. http://www.phpbb.com/community/viewtopi ... 5#p9962975

My question is, i appreciate i would need to re-install. however im wondering what impact this will off on the current gallerys i have. will these have to re-uploaded?

Thanks

Andy
zakeblack
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Mon Feb 09, 2009 12:13 am

Re: Recent images on index

Postby zakeblack » Fri Jul 17, 2009 10:58 am

Hi,

I have just updated to 1.0.1 in on effort to restore the recent images on the index off the forum.

But this still is not working?

Having said that using the configurator i made some changes. I.e. allow comments expandable. and those are working all ok. its just the recent images are not showing?? has anyone have this function working ok?

Cheers

Andy
zakeblack
Posts 20 - 30
Posts 20 - 30
 
Posts: 20
Topics: 6
Joined: Mon Feb 09, 2009 12:13 am


Return to Support & Administration

Who is online

Users browsing this forum: No registered users and 0 guests