Bad Boy Blog, an unofficial Diddy and Bad Boy fan blog

Bookmark and Share

phpBB 2.0.4 to 2.0.5 Code Changes

Postby Acyd Burn » June 22nd 2003, 11:05 am

  • templates/subSilver/admin/forum_edit_body.tpl
  1. FIND - Line 13
    Code: Select all
    
    	  <td class="row2"><input class="post" type="text" size="25" name="forumname" value="{FORUM_NAME}" class="post" /></td>
    


    REPLACE WITH
    Code: Select all
    
    	  <td class="row2"><input type="text" size="25" name="forumname" value="{FORUM_NAME}" class="post" /></td>
    

  2. FIND - Line 36
    Code: Select all
    
    			<td align="left" valign="middle"> <input class="post" type="text" name="prune_days" value="{PRUNE_DAYS}" size="5" class="post" /> {L_DAYS}</td>
    		  </tr>
    		  <tr> 
    			<td align="right" valign="middle">{L_PRUNE_FREQ}</td>
    			<td align="left" valign="middle"> <input class="post" type="text" name="prune_freq" value="{PRUNE_FREQ}" size="5" class="post" /> {L_DAYS}</td>
    


    REPLACE WITH
    Code: Select all
    
    			<td align="left" valign="middle"> <input type="text" name="prune_days" value="{PRUNE_DAYS}" size="5" class="post" /> {L_DAYS}</td>
    		  </tr>
    		  <tr> 
    			<td align="right" valign="middle">{L_PRUNE_FREQ}</td>
    			<td align="left" valign="middle"> <input type="text" name="prune_freq" value="{PRUNE_FREQ}" size="5" class="post" /> {L_DAYS}</td>
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:07 am

  • templates/subSilver/admin/user_edit_body.tpl
  1. FIND - Line 31
    Code: Select all
    
    		<input class="post" type="password" name="password" size="35" maxlength="100" value="" />
    	  </td>
    	</tr>
    	<tr> 
    	  <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
    		<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
    	  <td class="row2"> 
    		<input class="post" type="password" name="password_confirm" size="35" maxlength="100" value="" />
    


    REPLACE WITH
    Code: Select all
    
    		<input class="post" type="password" name="password" size="35" maxlength="32" value="" />
    	  </td>
    	</tr>
    	<tr> 
    	  <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
    		<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
    	  <td class="row2"> 
    		<input class="post" type="password" name="password_confirm" size="35" maxlength="32" value="" />
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:07 am

  • templates/subSilver/admin/user_select_body.tpl
  1. FIND - Line 11
    Code: Select all
    
    		<td class="row1" align="center"><input class="post" type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS}<input type="submit" name="submituser" value="{L_LOOK_UP}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
    


    REPLACE WITH
    Code: Select all
    
    		<td class="row1" align="center"><input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS}<input type="submit" name="submituser" value="{L_LOOK_UP}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:08 am

  • templates/subSilver/index_body.tpl
  1. FIND - Line 68
    Code: Select all
    
    	<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
    


    REPLACE WITH
    Code: Select all
    
    <tr>
    	<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
    </tr>
    

  2. FIND - Line 79
    Code: Select all
    
    		<input class="post" type="password" name="password" size="10" />
    


    REPLACE WITH
    Code: Select all
    
    		<input class="post" type="password" name="password" size="10" maxlength="32" />
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:08 am

  • templates/subSilver/login_body.tpl
  1. FIND - Line 28
    Code: Select all
    
    			  <input type="password" name="password" size="25" maxlength="25" />
    


    REPLACE WITH
    Code: Select all
    
    			  <input type="password" name="password" size="25" maxlength="32" />
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:08 am

  • templates/subSilver/memberlist_body.tpl
  1. FIND - Line 35
    Code: Select all
    
    	  <td class="catbottom" colspan="8" height="28"> </td>
    


    REPLACE WITH
    Code: Select all
    
    	  <td class="catBottom" colspan="8" height="28"> </td>
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:09 am

  • templates/subSilver/overall_header.tpl
  1. FIND - Line 223
    Code: Select all
    
    <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" />
    


    REPLACE WITH
    Code: Select all
    
    <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:09 am

  • templates/subSilver/posting_body.tpl
  1. FIND - Line 99
    Code: Select all
    
    		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
    


    REPLACE WITH
    Code: Select all
    
    		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
    

  2. FIND - Line 138
    Code: Select all
    
    function bbstyle(bbnumber) {
    	var txtarea = document.post.message;
      
    


    AFTER, ADD
    Code: Select all
    
    	txtarea.focus();
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:10 am

  • templates/subSilver/privmsgs_read_body.tpl
  1. FIND - Line 56
    Code: Select all
    
    		if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )
    


    REPLACE WITH
    Code: Select all
    
    		if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

Postby Acyd Burn » June 22nd 2003, 11:10 am

  • templates/subSilver/profile_add_body.tpl
  1. FIND - Line 22
    Code: Select all
    
      	<tr> 
      		<td class="row1" width="38%"><span class="gen">{L_USERNAME}: *</span></td>
      		<td class="row2"><input type="text" class="post" style="width:200px" name="username" size="25" maxlength="25" value="{USERNAME}" /></td>
      	</tr>
    


    REPLACE WITH
    Code: Select all
    
    	<!-- BEGIN switch_namechange_disallowed -->
    	<tr> 
    		<td class="row1" width="38%"><span class="gen">{L_USERNAME}: *</span></td>
    		<td class="row2"><input type="hidden" name="username" value="{USERNAME}" /><span class="gen"><b>{USERNAME}</b></span></td>
    	</tr>
    	<!-- END switch_namechange_disallowed -->
    	<!-- BEGIN switch_namechange_allowed -->
    	<tr> 
    		<td class="row1" width="38%"><span class="gen">{L_USERNAME}: *</span></td>
    		<td class="row2"><input type="text" class="post" style="width:200px" name="username" size="25" maxlength="25" value="{USERNAME}" /></td>
    	</tr>
    	<!-- END switch_namechange_allowed -->
    

  2. FIND - Line 40
    Code: Select all
    
    		<input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{CUR_PASSWORD}" />
    


    REPLACE WITH
    Code: Select all
    
    		<input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="32" value="{CUR_PASSWORD}" />
    

  3. FIND - Line 48
    Code: Select all
    
    		<input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{NEW_PASSWORD}" />
    	  </td>
    	</tr>
    	<tr> 
    	  <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
    		<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
    	  <td class="row2"> 
    		<input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" />
    	  </td>
    	</tr>
    


    REPLACE WITH
    Code: Select all
    
    		<input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="32" value="{NEW_PASSWORD}" />
    	  </td>
     	</tr>
    	<tr> 
    	  <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
    		<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
    	  <td class="row2"> 
    		<input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="32" value="{PASSWORD_CONFIRM}" />
    	  </td>
    	</tr>
    	<!-- Visual Confirmation -->
    	<!-- BEGIN switch_confirm -->
    	<tr>
    		<td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br /><br />{CONFIRM_IMG}<br /><br /></td>
    	</tr>
    	<tr> 
    	  <td class="row1"><span class="gen">{L_CONFIRM_CODE}: * </span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
    	  <td class="row2"><input type="text" class="post" style="width: 200px" name="confirm_code" size="6" maxlength="6" value="" /></td>
    	</tr>
    	<!-- END switch_confirm -->
    

User avatar
Acyd Burn
Consultant
 
Posts: 650
Joined: April 19th 2002, 7:00 pm
Location: Germany (Oldb)

PreviousNext

Return to phpBB 2: Fixes and Code Changes

Who is online

Users browsing this forum: No registered users and 0 guests