[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
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

Thanks for the reply LeNeR :D

OK lets say for example it is based on the Prosilver then what are my options with regards to editing that template ?

Do I just follow the installation instructions and ONLY edit the files in Serenity that are listed for Prosilver ?

Cheers.

Matt
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 »

Serenity is Subsilver2 based

Just follow the instruction for subsilver2 except that you perform ALL the html edits on the files contained within the serenity folder

after you have done this there is also a need to edit two of the gallery html files

Code: Select all

-----[ OPEN ]-----

styles/serenity/gallery/gallery_header.html

----[ ADD AFTER, LAST LINE ]-----

<table width="100%" cellspacing="0" cellpadding="0" border="0">

-----[ OPEN ]-----

styles/serenity/gallery/gallery_footer.html

----[ ADD BEFORE, FIRST LINE ]-----

</table>

-----[ SAVE/CLOSE ]-----
:)
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.
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

Many thanks there VISIBLETHUNDER :)

My file location differs to yours, this is where mine is :

/phpBB3/styles/serenity/template/gallery

Should there not be template in the above url ? have I gone a directory too deep and misunderstood the installation file ?

This is what my gallery looks like (gutted) :cry:

Image

I did the file changes as you said still no joy, anything else you can spot please ?

Thanks very much.
Last edited by Diablo on Wed Apr 30, 2008 4:47 am, edited 1 time in total.
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 »

I have just taken a look at your gallery_header.html file and it is the file intended for prosilver

In answer to your question. No, The directory structure is the same, I merely started the filepath from the forum root rather than base directory.
You are following the instructions properly ;)
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.
jason_auburn
Registered User
Posts: 3
Joined: Tue Apr 29, 2008 9:50 pm

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by jason_auburn »

Hi there

I installed this mod but can't seem to get it working properly.

Installed it to style Grey3.0.0 following the instructions for subsilver/prosilver

it works but the style isn't working properly

Image

If anyone can suggest what is wrong and can help fix it i would be very greatful.

Thanks in advance.
jason_auburn
Registered User
Posts: 3
Joined: Tue Apr 29, 2008 9:50 pm

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by jason_auburn »

jason_auburn wrote:Hi there

I installed this mod but can't seem to get it working properly.

Installed it to style Grey3.0.0 following the instructions for subsilver/prosilver

it works but the style isn't working properly

Image

If anyone can suggest what is wrong and can help fix it i would be very greatful.

Thanks in advance.
Gallery can be found here: http://www.eastcoastchat.co.uk/forum/gallery/menu.php
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

VISIBLETHUNDER wrote:I have just taken a look at your gallery_header.html file and it is the file intended for prosilver

In answer to your question. No, The directory structure is the same, I merely started the filepath from the forum root rather than base directory.
You are following the instructions properly ;)
Thanks for your input again mate.

So any ideas what I can do now ?

I run a motorbike forum and the members really want this photo gallery so they can put pics of their bikes in.

I just don't know what to do now.

Cheers.

Matt :cry:
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 »

Matt you need to open the gallery install folder and then navigate to styles/

copy the subsilver2 folder and rename as serenity then move/copy the (new) serenity folder into your forum styles folder.

Jason, your theme is prosilver based so you need to ensure that all the files and folders intended for prosilver are placed in the grey style folder and then you need to perform the edits intended for prosilver on the files within the grey style folder.
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.
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

VISIBLETHUNDER wrote:Matt you need to open the gallery install folder and then navigate to styles/

copy the subsilver2 folder and rename as serenity then move/copy the (new) serenity folder into your forum styles folder.
Sorry mate thats gone totally over my head :(

I don't have a "gallery install" folder ?

Also if I copy the subsilber2 folder and rename it serenity then this will just over write my existing Serenity folder.

Any chance you can simplify this for someone as stupid as me mate please :(

Many thanks.
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

OK am starting from scratch on this one so I don't get confused and I don't confuse anyone else ...

I have totally restored my phpbb3 folder, everything back to before I even contemplated this gallery a few days ago, so the forum is all standard and back to working how it was.

Now, I would really like to get this album working, really bad actually, it's for a motorbike forum and the guys really need something like this to show pics of there bikes.

So, the first part of the installation of the gallery of these files edit perfectly :

memberlist.php
viewtopic.php
language/en/common.php
language/en/memberlist.php
language/en/acp/common.php
includes/message_parser.php
includes/constants.php
includes/functions.php
language/en/ucp.php

Where I am getting confused is what I do after I have edited these files with regards to me using a Serenity template as this is what I am getting when I edit the Serinty template with the code changes for Subsilver 2 in the Serenity files :

Image

If anyone has a solution to this or knows of what I can do to get this working I would most grateful.

Many thanks.

Matt
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

Hi, just to let you know I think this time around its working, strange, I must have not included all the files first time round, theres still some text not in line but I can live with that if I can at least post pictures.

Thanks to everyone who helped me, much apprecaited.

Cheers,
Matt
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

Right I have what I hope is an easy question :D

I want to remove the little photograph icon next to the words Photo Gallery and just have a normal bullet there, I think this is the code responsible for it :

Code: Select all

<a href="{U_IMAGE_GALLERY}"> <img <!-- IF S_GALLERY_NOTIFY -->src="{T_THEME_PATH}/images/icon_gallery_notify.gif"<!-- ELSE -->src="{T_THEME_PATH}/images/icon_gallery.gif"<!-- ENDIF --> width="12" height="13" alt="{L_GALLERY}" /> {L_GALLERY}</a>
Any ideas how I can modify this code to just give me a bullet and get rid of the photo icon so it looks the same as the other links next to it :

Image

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

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Papp »

Hi,

You can try this:

Open serenity/template/overall_header.html

FIND:

Code: Select all

<!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
        <!-- ENDIF -->
REPLACE WITH

Code: Select all

<!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF --> &#8226; <a href="{U_IMAGE_GALLERY}">Photo Gallery</a>
        <!-- ENDIF -->
Purge Cache in ACP.

Remember backup :D
I hope you understand my English :-)
Diablo
Registered User
Posts: 82
Joined: Fri Mar 07, 2008 9:14 am

Re: [DEV] TS Photo Gallery Mod for phpBB3

Post by Diablo »

You the man Papp :D

Thanks a lot for that mate :)
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 »

Matt, I am glad you got the issue sorted :) but I would like to mention to you that if you open up your forums styles folder and (hold right click) drag and drop the prosilver / subsilver (or other) style folder from the install package directly into your styles folder (clicking "copy here" when prompted)

it will not overwrite your entire style as you suggested but will simply overwrite any files with the same path and name

You could save yourself quite a lot of time with this method as well as avoid missing any files ;)
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.
Locked

Return to “[3.0.x] Abandoned MODs”