Warning: The author of this contribution does not provide support for it anymore.

Hide profile in viewtopic

Subsilver2? - Hide profile in viewtopic

Subsilver2?

by theallzaz » Sun Jun 23, 2013 6:18 am

Hi, i am using a subsilver 2 based theme, and i want to ask if you could make a subsilver 2 edit, it would be great!

I have tried by myself but no success

thanks
theallzaz
Registered User
Posts: 84
Joined: Tue Apr 16, 2013 2:41 pm
Contact:

Re: Subsilver2?

by wadie » Mon Jun 24, 2013 10:38 pm

I didn't test it,but it should work just fine.

Open subsilver2/template/posting_body.html

Find

Code: Select all

<!-- IF S_SIG_ALLOWED -->
            <div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div>
         <!-- ENDIF -->


Add after

Code: Select all

         <!-- IF S_POST_PROFILE_ALLOWED -->
            <div><label for="post_profile"><input type="checkbox" name="post_profile" id="post_profile"{S_POST_PROFILE_CHECKED} /> {L_POST_PROFILE}</label></div>
         <!-- ENDIF -->



Open subsilver2/tempate/viewtopic_body.html

Find

Code: Select all

<div class="postbody">


Replace with

Code: Select all

   <div class="postbody"<!-- IF postrow.S_POST_PROFILE --> style="width: 100%;"<!-- ENDIF -->>


Find

Code: Select all

<!-- IF postrow.S_IGNORE_POST -->

Repalce with

Code: Select all

<!-- IF not postrow.S_IGNORE_POST and not postrow.S_POST_PROFILE -->
Need a custom style made ? want me to install a MOD for you ? Contact me here.
wadie
Registered User
Posts: 558
Joined: Sun May 02, 2010 5:05 am
Location: Your ACP
Name: Wadie
Contact:

Re: Subsilver2?

by theallzaz » Tue Jul 09, 2013 2:13 am

Just correcting:

Open subsilver2/template/posting_body.html

Find:

Code: Select all

    <!-- IF S_SIG_ALLOWED -->
                <div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div>
             <!-- ENDIF -->


Add after:

Code: Select all

      <!-- IF S_NOTIFY_ALLOWED -->
         <tr>
            <td><input type="checkbox" class="radio" name="notify"{S_NOTIFY_CHECKED} /></td>
            <td class="gen">{L_NOTIFY_REPLY}</td>
         </tr>
      <!-- ENDIF -->


Thank you
theallzaz
Registered User
Posts: 84
Joined: Tue Apr 16, 2013 2:41 pm
Contact:

Re: Subsilver2?

by Geolim4 » Wed Jul 31, 2013 1:46 am

Thanks for contribution.
I do hate subsilver 2 so i wont do an addon for this.

Regards.
phpBB-fr Former MOD Team Leader / Website Team Member
User avatar
Geolim4
Former Team Member
Posts: 1965
Joined: Sat Sep 11, 2010 3:28 pm
Location: Nantes, France
Name: Georges
Contact:

Re: Subsilver2?

by PiperB » Sat Mar 04, 2017 10:35 pm

*Removed*
<!-- IF U_LOVE_NOTEPAD++ -->
[td class=statement]I Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee --> :P
Whoa ooo whoa ooo whoa I'm a Lady!
User avatar
PiperB
Registered User
Posts: 173
Joined: Mon Nov 07, 2016 6:54 pm