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

Welcome on index

subsilver2 edit ? - Welcome on index

subsilver2 edit ?

by melihonline » Fri Aug 20, 2010 10:17 pm

please subsilver2 edit ?
İki insan açtır. Biri biliri arayan, diğeri ise parayı.
User avatar
melihonline
Registered User
Posts: 31
Joined: Tue Jul 08, 2008 9:42 pm
Location: Antalya / TÜRKİYE
Name: Melih KAYA
Contact:

Re: subsilver2 edit ?

by Steve » Sat Aug 21, 2010 11:57 am

Stoker want mind me posting this im sure.
origanily posted here by Sir Xiradorn : http://www.phpbb3bbcodes.com/viewtopic. ... t=20#p1867
ive fixed some positioning of the avatar,and added an alt="" to keep it html valid for him.
open styles/subsilver2/template/index_body.html
find:

Code: Select all

<!-- IF U_MCP -->
   <div id="pageheader">
      <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
   </div>

   <br clear="all" /><br />
<!-- ENDIF -->

add before on a new line:

Code: Select all

           <!-- IF not S_IS_BOT -->
           <table class="tablebg" cellspacing="1" width="100%" style="margin-bottom:10px;">
              <tr>
                 <th colspan="4" style="text-align:left;">Welcome to {SITENAME}</th>
              </tr>
              <tr>
                 <td class="row1" width="10%" align="center">
                    <!-- IF USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="no avatar"/><!-- ENDIF -->
                 </td>
                 <td class="row1" width="30%">
                        <p>{S_WELCOME}</p>
                        <span><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br />{CURRENT_TIME}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><br /><br />{S_JOINED_DATE}<br />{MEMBER_FOR}<!-- ENDIF --></span>
                 </td>
                 <td class="row1" width="35%">
                        <span>{TOTAL_POSTS} &bull; {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
                           <!-- IF S_DISPLAY_ONLINE_LIST --><br /><br />{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<!-- ENDIF --></span>
                 </td>
                 <td class="row1" width="25%"></td>
              </tr>
           </table>
           <!-- ENDIF -->
         

refresh template for subsilver2
pic:
welcome index.PNG
User avatar
Steve
Registered User
Posts: 1092
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: subsilver2 edit ?

by melihonline » Sat Aug 21, 2010 1:24 pm

thank you...
İki insan açtır. Biri biliri arayan, diğeri ise parayı.
User avatar
melihonline
Registered User
Posts: 31
Joined: Tue Jul 08, 2008 9:42 pm
Location: Antalya / TÜRKİYE
Name: Melih KAYA
Contact:

Re: subsilver2 edit ?

by RMcGirr83 » Sat Aug 21, 2010 1:24 pm

Code: Select all

 <th colspan="4" style="text-align:left;">Welcome to {SITENAME}</th>


You should not be using hardcoded language with in the file, use instead

Code: Select all

 <th colspan="4" style="text-align:left;">{L_WELCOME_TO_MOD} {SITENAME}</th>
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
User avatar
RMcGirr83
Former Team Member
Posts: 21490
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: subsilver2 edit ?

by stokerpiller » Mon Aug 23, 2010 10:52 am

Rich is a hottie :shock:
Sorry, I meant correct ;)

I will post the SS2 edits in the FAQ area.
I am done with phpBB
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm
Contact:

Re: subsilver2 edit ?

by Steve » Mon Aug 23, 2010 1:34 pm

RMcGirr83 wrote:

Code: Select all

 <th colspan="4" style="text-align:left;">Welcome to {SITENAME}</th>


You should not be using hardcoded language with in the file, use instead

Code: Select all

 <th colspan="4" style="text-align:left;">{L_WELCOME_TO_MOD} {SITENAME}</th>

I missed that,and off topic about using hardcoded language we might need to report a bug to the development team regarding there copywrite in the overall_footer.html

Code: Select all

Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
User avatar
Steve
Registered User
Posts: 1092
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: subsilver2 edit ?

by stokerpiller » Mon Aug 23, 2010 2:15 pm

Hardcoded language in templates doesnt really matter, but the mod will get denied if there are any.
Translations are much easier if its in language files. So its not a biggie.
I am done with phpBB
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm
Contact:

Re: subsilver2 edit ?

by satandream » Tue Nov 23, 2010 3:51 pm

How about rounded corner and frame as i do have this in Aero Blue?
satandream
Registered User
Posts: 383
Joined: Thu Mar 06, 2008 12:47 pm
Contact:

Re: subsilver2 edit ?

by Clenzowen » Sun Jan 16, 2011 8:37 am

good evening
I want to know why the text does not appear in the box provided. (see picture attached)
there should be "welcome Clenzowen" with a sentence behind ...

Image

help me please
Clenzowen
Registered User
Posts: 30
Joined: Sun Jan 09, 2011 3:50 pm
Contact: