|
Page 1 of 1
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Hi there
First, thanks for the great Black Pearl Style
I have some trouble with the Gallery Mod for phpbb. There I should find in subsilver2 template in the viewtopic_body.html this line:
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td>
and in this line I should find
<!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->
and add after them following code:
<!-- IF postrow.U_GALLERY --><a href="{postrow.U_GALLERY}"><img src="{T_IMAGESET_LANG_PATH}/icon_contact_gallery.gif" alt="{L_PERSONAL_ALBUM}" /></a> <!-- ENDIF -->
Now, the prblem is, that in Black Pearl no such code like above exists. I looked in subsilver2 because BP is bades on this style.
Can somebody tell me what I have to change in Black Pearl indeet the subsilver2 file?
Many thanks
Faethor
|
#1 Tue 21 Aug, 2012 14:02 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Hi Faethor, welcome to Icy Phoenix
I have edited your post to swap Bold bbcode for CODE bbcode, please use this next time you include code samples (it's easier to read and safer to not cause possible conflicts).
I'll be taking a look at your problem now and post back once I see what you are talking about.
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#2 Tue 21 Aug, 2012 14:14 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
You should have absolutely no problem finding this line directly in black pearl (not even a need to compare to subsilver2):
<!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#3 Tue 21 Aug, 2012 14:25 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Hi Joshua
Many thanks for editing my post and helping me to solve my problem  I didnt know that I can the code that is around the line to edit 
Now it works fine but my next problem is, that I need a german button for the gallery.
Do you know where I can find empty buttons in Black Pearl style to create one? If I download the existing ones, ther are to small to edit
Thanks!
Faethor
|
#4 Tue 21 Aug, 2012 14:48 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
What exactly do you want the button to say?
Gallery or Album ...something else?
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#5 Tue 21 Aug, 2012 14:53 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
http://www.icyphoenix.com/files/images/10637/album.jpg
It should be like this, but in Black Pearl Style
Maybe without the camera
Last edited by faethor on Tue 21 Aug, 2012 15:01; edited 3 times in total |
#6 Tue 21 Aug, 2012 14:56 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Look at the bottom of my posts .. right click the album image and download it ... rename it and upload it to the correct directory
PS.... oooh maybe first you need to switch this site to black pearl style in profile or portal
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#7 Tue 21 Aug, 2012 14:59 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Great! That helps a lot!
I uploaded your image, but where I have to change the code that the right button will be displayed?
Sorry for that many questions...
|
#8 Tue 21 Aug, 2012 15:21 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Sorry for that many questions...
Don't worry ... that's what we're here for!
It's why I said "rename the downloaded button", if you rename it to what the mod uses (icon_contact_gallery.gif) and while uploading it choose to overwrite the original, it will use the new image
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#9 Tue 21 Aug, 2012 15:25 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Ah, this way. I would like to hold the original one, if somebody wants to change to subsilver2 style. I named the button icon_contact_gallery.png. like all my german buttons 
Is there a chance to do this?
|
#10 Tue 21 Aug, 2012 15:27 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Any style has its own folder for those lang buttons.
So for any style you would need to upload the button of your choice, the style you want to have default image should contain the original button and black pearl the new one.
Just incase .... you need to do the all edits for all styles on your board too.
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#11 Tue 21 Aug, 2012 15:32 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
I uploaded the button to styles/black_pearl/imageset/de
I changed the imgaeset.cfg this way:
img_icon_contact_aim = icon_contact_aim.png
img_icon_contact_email = icon_contact_email.png
[color=#E50000]img_icon_contact_gallery = icon_contact_gallery.png[/color]
img_icon_contact_icq = icon_contact_icq.png
But the button is still the original one
|
#12 Tue 21 Aug, 2012 15:40 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Have a close look at the added code:
<!-- IF postrow.U_GALLERY --><a href="{postrow.U_GALLERY}"><img src="{T_IMAGESET_LANG_PATH}/icon_contact_gallery.gif" alt="{L_PERSONAL_ALBUM}" /></a> <!-- ENDIF -->
it's going for .gif not .png
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#13 Tue 21 Aug, 2012 15:43 |
|
faethor 
Joined: August 2012
Posts: 45
Location:
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
Just found it
Many thanks for your support!! Now it works.
|
#14 Tue 21 Aug, 2012 15:46 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Problem With Viewtopic-body.html In Phpbb Gallery And Black Pearl Style
You're welcome ... I'll mark this thread as SOLVED (something you can do by yourself in the future at title edit ...right bottom of the page)
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#15 Tue 21 Aug, 2012 15:49 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|