[ABD] TS Photo Gallery Mod for phpBB3

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
VISIBLETHUNDER
Registered User
Posts: 463
Joined: Fri Mar 02, 2007 8:41 pm
Location: Bolton (UK)
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by VISIBLETHUNDER » Wed Feb 20, 2008 10:25 pm

A basic migrator script (from Smartors (phpbb2) to TS Gallery v.0.2.0) is now available

For info please see HERE

and please let me know what you think.

Thanks.
TS Gallery related FAQs, DOWNLOADS and LANG PACKS can be found @ the TS MOD PREVIEW BOARD

Because Version 3 is taking longer than anticipated, I have uploaded a few temporary tools/add-ons to the preview board.

kyle1745
Registered User
Posts: 173
Joined: Thu Nov 14, 2002 2:21 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by kyle1745 » Thu Feb 21, 2008 1:44 am

Any more thoughts on my issue? I know your busy with 20 other things...

Thanks,

Papp
Registered User
Posts: 52
Joined: Tue Mar 20, 2007 9:46 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Papp » Thu Feb 21, 2008 9:33 am

greenkey wrote:I changed path to this button in js code. They are must appear after 1 sec when you open image, if no,
find this pictures in your dir, and trace code to correct this.
I can search where, but little later.
Thanks. All buttons are in: gallery/images/ Image
http://threesixes.co.uk/phpBB3/gallery/ ... tlabel.gif

And this code are in styles/prosilver/template/ligthbox.css

Code: Select all

#prevLink, #nextLink{
  width: 49%;
  height: 100%;
  background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
  display: block;
  }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
I hope you understand my English :-)

Papp
Registered User
Posts: 52
Joined: Tue Mar 20, 2007 9:46 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Papp » Thu Feb 21, 2008 9:35 am

...sorry, wrong....dobbelpost :oops:
I hope you understand my English :-)

ncmontas
Registered User
Posts: 87
Joined: Tue Jun 19, 2007 2:58 pm

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by ncmontas » Thu Feb 21, 2008 10:22 am

VISIBLETHUNDER wrote:ncmontas, If the ACP settings allow users to create sub-albums then you can go to the manage albums tab in the gallery and click the create sub album link.
heheheh silly me...

VISIBLETHUNDER
Registered User
Posts: 463
Joined: Fri Mar 02, 2007 8:41 pm
Location: Bolton (UK)
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by VISIBLETHUNDER » Thu Feb 21, 2008 10:54 am

Kyle, Please can you email me a copy of gallery/viewpic.php (the one you are using) I have a sneaking suspicion the answer can be found there.
TS Gallery related FAQs, DOWNLOADS and LANG PACKS can be found @ the TS MOD PREVIEW BOARD

Because Version 3 is taking longer than anticipated, I have uploaded a few temporary tools/add-ons to the preview board.

VISIBLETHUNDER
Registered User
Posts: 463
Joined: Fri Mar 02, 2007 8:41 pm
Location: Bolton (UK)
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by VISIBLETHUNDER » Thu Feb 21, 2008 3:00 pm

Tomek,

Please can you alter the additional constants in includes/constants.php so that they read

Code: Select all

define('GALLERY_PAGE_BROWSE',		1);
define('GALLERY_PAGE_MYALBUM',	2);
define('GALLERY_PAGE_MANAGER',	3);
define('GALLERY_PAGE_HOT',		4);
define('GALLERY_PAGE_RECENT',		5);
define('GALLERY_PAGE_VIEWS',		6);
define('GALLERY_PAGE_UPLOAD',		7);
define('GALLERY_PAGE_VIEWPIC',	8);
I would hope this will fix your issue. Sorry it has taken so long for me to get onto this.
TS Gallery related FAQs, DOWNLOADS and LANG PACKS can be found @ the TS MOD PREVIEW BOARD

Because Version 3 is taking longer than anticipated, I have uploaded a few temporary tools/add-ons to the preview board.

Dean Welsh
Registered User
Posts: 20
Joined: Thu Feb 05, 2004 8:52 am
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Dean Welsh » Thu Feb 21, 2008 5:56 pm

Hey Papp
I just changed mine so that it was a hard URL rather than relative. Something like this. (obviously you'll have to replace it with the full path to where yours actually are.)

Code: Select all

#prevLink, #nextLink{
  width: 49%;
  height: 100%;
  background: transparent url(http://www.myurl.com/phpbb3/gallery/images/blank.gif) no-repeat; /* Trick IE into showing hover */
  display: block;
  }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://www.myurl.com/phpbb3/gallery/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.myurl.com/phpbb3/gallery/images/nextlabel.gif) right 15% no-repeat; }
that gets the job done.

Dean Welsh
Registered User
Posts: 20
Joined: Thu Feb 05, 2004 8:52 am
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Dean Welsh » Thu Feb 21, 2008 6:03 pm

Just thought I'd say, I am loving this gallery. So far it's set-up pretty much exactly like I'd want to build it if I knew more than rudimentary PHP.

One of my forum members asks "is it possible to show which images have comments on them from the thumbnail page so that we don't have to click each one and check?"

-dean

jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by jimcarrel » Thu Feb 21, 2008 6:33 pm

Dean Welsh wrote:Just thought I'd say, I am loving this gallery. So far it's set-up pretty much exactly like I'd want to build it if I knew more than rudimentary PHP.

One of my forum members asks "is it possible to show which images have comments on them from the thumbnail page so that we don't have to click each one and check?"

-dean
This has always intrigued me also, other than that, my users really like this gallery, Thanks a lot VISIBLETHUNDER, and others giving suggestions
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve

Papp
Registered User
Posts: 52
Joined: Tue Mar 20, 2007 9:46 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Papp » Thu Feb 21, 2008 6:41 pm

Hey Dean Welsh

Thanks! That get the job done. Thanks very much for your help :D Much better now.
Dean Welsh wrote:Hey Papp
I just changed mine so that it was a hard URL rather than relative. Something like this. (obviously you'll have to replace it with the full path to where yours actually are.)

Code: Select all

#prevLink, #nextLink{
  width: 49%;
  height: 100%;
  background: transparent url(http://www.myurl.com/phpbb3/gallery/images/blank.gif) no-repeat; /* Trick IE into showing hover */
  display: block;
  }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://www.myurl.com/phpbb3/gallery/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.myurl.com/phpbb3/gallery/images/nextlabel.gif) right 15% no-repeat; }
that gets the job done.
I hope you understand my English :-)

jimcarrel
Registered User
Posts: 671
Joined: Fri Jul 27, 2007 10:49 pm
Location: Oklahoma City, Oklahoma

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by jimcarrel » Thu Feb 21, 2008 6:42 pm

VISIBLETHUNDER wrote:Tomek,

Please can you alter the additional constants in includes/constants.php so that they read

Code: Select all

define('GALLERY_PAGE_BROWSE',		1);
define('GALLERY_PAGE_MYALBUM',	2);
define('GALLERY_PAGE_MANAGER',	3);
define('GALLERY_PAGE_HOT',		4);
define('GALLERY_PAGE_RECENT',		5);
define('GALLERY_PAGE_VIEWS',		6);
define('GALLERY_PAGE_UPLOAD',		7);
define('GALLERY_PAGE_VIEWPIC',	8);
I would hope this will fix your issue. Sorry it has taken so long for me to get onto this.
Would this be an "all user" fix ?, because I am missing

define('GALLERY_PAGE_MANAGER',

in my list also
Grace--Getting what I don't deserve
Mercy--Not getting what I do deserve

VISIBLETHUNDER
Registered User
Posts: 463
Joined: Fri Mar 02, 2007 8:41 pm
Location: Bolton (UK)
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by VISIBLETHUNDER » Thu Feb 21, 2008 7:07 pm

jimcarrel, Yes. I directed the comment at tomek because I would like to know if that is the cause of his issue or if there is something else

Dean, if you go to the ACP->GALLERY general settings and set Thumbnail image details: to yes then the comment and rating details will be visible

it's not exactly what you need but until individual detail options are set it is the best I can do

Also thank you for the help with the lightbox, I will have to see about amending the css file so that each user doesn't have to edit it.
TS Gallery related FAQs, DOWNLOADS and LANG PACKS can be found @ the TS MOD PREVIEW BOARD

Because Version 3 is taking longer than anticipated, I have uploaded a few temporary tools/add-ons to the preview board.

VISIBLETHUNDER
Registered User
Posts: 463
Joined: Fri Mar 02, 2007 8:41 pm
Location: Bolton (UK)
Contact:

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by VISIBLETHUNDER » Thu Feb 21, 2008 7:42 pm

I have realised why the link images don't appear

It's because I'm a moron :D

here are the amendments (I had the css file fetching images from the style folder :oops:)

in styles/{style}/template/gallery/css/lightbox.css
change each of these URLs.

Code: Select all

url(../images/blank.gif)
url(../images/prevlabel.gif) 
url(../images/nextlabel.gif) 
to these

Code: Select all

url(../../../../../gallery/images/blank.gif)
url(../../../../../gallery/images/prevlabel.gif) 
url(../../../../../gallery/images/nextlabel.gif) 
TS Gallery related FAQs, DOWNLOADS and LANG PACKS can be found @ the TS MOD PREVIEW BOARD

Because Version 3 is taking longer than anticipated, I have uploaded a few temporary tools/add-ons to the preview board.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Gremlinn » Thu Feb 21, 2008 7:55 pm

Would it be better to make it ${phpbb_root_path}/gallery/images instead of the many ../'s? (coded as necessary). of course it's in the .css file.

Is there a better way to write them?

Locked

Return to “[3.0.x] Abandoned MODs”