[Solved]Subsilver2 3.1.6 , Contact us bug

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Anti-Spam Guide
Locked
TChatenet
Registered User
Posts: 16
Joined: Fri Nov 20, 2015 2:01 pm

[Solved]Subsilver2 3.1.6 , Contact us bug

Post by TChatenet »

Hello ,
My site run under phpbb 3.1.6 with french package and i installed subsilver2 compatible version .
It looks good and works fine except the contact us page witch do'nt display the subject message field .
So it's impossible to fill it .
and if the subject message is empty the message is not accepted Image

Is it a known issue ?
If i use prosilver or prosilver SE Edition the subject message field is normally displayed and the contact us page works normally

Thanks for your answer
T Chatenet
Last edited by TChatenet on Tue Nov 24, 2015 2:15 am, edited 1 time in total.

User avatar
david63
Registered User
Posts: 17381
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by david63 »

Bugs should be reported in the Bug Tracker
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Lumpy Burgertushie
Registered User
Posts: 67381
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by Lumpy Burgertushie »

there is no "subsilver2 compatible version" of phpbb.

you also have to know where to find subsilver2 for phpbb 3.1

where did you get it? it does not come with the download from here.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

User avatar
david63
Registered User
Posts: 17381
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by david63 »

Actually Robert it is in the styles db https://www.phpbb.com/customise/db/style/subsilver2/
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by RMcGirr83 »

Download the style again only choose 3.1.6. The file, memberlist_in.html, is exactly the same as the one found on github.

After uploading make sure you purge the cache to reload the correct html files.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Lumpy Burgertushie
Registered User
Posts: 67381
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by Lumpy Burgertushie »

ah , so it is but it is not available in the download.
one of the reasons it is not suggested to use that 3.1 version of subsilver2 is because it does not have all the features of 3.1 available in it. this may be one of those cases.


robert

yep, I just downloaded the subsilve2 style and the file is missing the required code to create the subject line.
open:
memberlist_email.html
find:
<!-- IF not S_IS_REGISTERED -->
before it, add:

Code: Select all

		<tr>
			<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>
			<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>
		</tr>
save, upload, purge the cache, done.
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

TChatenet
Registered User
Posts: 16
Joined: Fri Nov 20, 2015 2:01 pm

Re: Subsilver2 3.1.6 , Contact us bug

Post by TChatenet »

david63 wrote:Actually Robert it is in the styles db https://www.phpbb.com/customise/db/style/subsilver2/
Yes
This is the place where i downloaded it :-)

TChatenet
Registered User
Posts: 16
Joined: Fri Nov 20, 2015 2:01 pm

Re: Subsilver2 3.1.6 , Contact us bug

Post by TChatenet »

Lumpy Burgertushie wrote: yep, I just downloaded the subsilve2 style and the file is missing the required code to create the subject line.
open:
memberlist_email.html
find:
<!-- IF not S_IS_REGISTERED -->
before it, add:

Code: Select all

		<tr>
			<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>
			<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>
		</tr>
save, upload, purge the cache, done.
Yes !!
Thank you very much for your reply and your efficiency , it works fine :D

T.Chatenet

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by RMcGirr83 »

Lumpy Burgertushie wrote:yep, I just downloaded the subsilve2 style and the file is missing the required code to create the subject line.
Actually, it is coded incorrectly. You need to find this

Code: Select all

		<!-- ENDIF -->
	<!-- ELSE -->
and change it to this

Code: Select all

		<!-- ENDIF -->
		<tr>
			<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>
			<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>
		</tr>		
	<!-- ELSE -->
then it will match prosilver
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by RMcGirr83 »

In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

TChatenet
Registered User
Posts: 16
Joined: Fri Nov 20, 2015 2:01 pm

Re: Subsilver2 3.1.6 , Contact us bug

Post by TChatenet »


TChatenet
Registered User
Posts: 16
Joined: Fri Nov 20, 2015 2:01 pm

Re: Subsilver2 3.1.6 , Contact us bug

Post by TChatenet »

RMcGirr83 wrote:
Lumpy Burgertushie wrote:yep, I just downloaded the subsilve2 style and the file is missing the required code to create the subject line.
Actually, it is coded incorrectly. You need to find this

Code: Select all

		<!-- ENDIF -->
	<!-- ELSE -->
and change it to this

Code: Select all

		<!-- ENDIF -->
		<tr>
			<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>
			<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>
		</tr>		
	<!-- ELSE -->
then it will match prosilver
I did so and it works fine also !
I have now three version of memberlist_email.html.
-- The original one witch doesn't display the subject .
-- The one modified according to Lumpy Burgertushie with the correction lines before <!-- IF not S_IS_REGISTERED -->
-- The one modified according to RMcGirr83 with the correction lines between <!-- ENDIF --> and <!-- ELSE -->

The two modified files seems to work perfectly
I didn't try with the two correction location in the same file : do i have to try this ?

Thanks ! :-)


T.Chatenet

[Edit]
I just tried the twice modified file in the two places and it works also fine . So i will keep this version unless otherwise specified

thank you so much for your help !! :D

T.Chatenet

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Subsilver2 3.1.6 , Contact us bug

Post by RMcGirr83 »

The changes I posted are in the next version of phpBB (3.1.7) as a fix.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

TChatenet
Registered User
Posts: 16
Joined: Fri Nov 20, 2015 2:01 pm

Re: Subsilver2 3.1.6 , Contact us bug

Post by TChatenet »

Thanks to your help i have very carefully read the memberlist_email.html file.
After this i need to try to cut the lines
<tr>

<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>

<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>

</tr>


initialy located here
<!-- ENDIF -->

<!-- IF S_SEND_USER -->

<tr>

<td class="row1" width="35%"><b class="genmed">{L_RECIPIENT}</b></td>

<td class="row2" width="65%"><b class="genmed">{USERNAME}</b></td>

</tr>

<tr>

<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>

<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>

</tr>


<!-- ELSEIF S_CONTACT_ADMIN-->


and to paste them just before the lines describing the body field , as this
<tr>

<td class="row1" width="35%"><b class="genmed">{L_DEST_LANG}</b><br /><span class="gensmall">{L_DEST_LANG_EXPLAIN}</span></td>

<td class="row2"><select name="lang">{S_LANG_OPTIONS}</select></td>

</tr>

<!-- ENDIF -->

<tr>

<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>

<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>

</tr>


<tr>

<td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}</b><br /><span class="gensmall">{L_EMAIL_BODY_EXPLAIN}</span></td>

<td class="row2"><textarea class="post" name="message" rows="15" cols="76" tabindex="3">{MESSAGE}</textarea></td>

</tr>

<!-- IF S_REGISTERED_USER -->


It works fine too ! :-)
However i will expect your fix and install it as soon as published
T.Chatenet

Locked

Return to “[3.1.x] Styles Support & Discussion”