phpBBHacks.com - phpBB 2.0.3 to 2.0.4 Code Changes - Page 7
Find affordable web hosting packages at iFroggy Hosting
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
phpBB 2.0.3 to 2.0.4 Code Changes
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Fixes and Code Changes
 See a User Guidelines violation? Please contact us.
Author Message

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:46 pm    Post subject: Reply with quote

  • templates/subSilver/error_body.tpl



  1. FIND - Line 9
    Code:


                <td align="center"><span class="error">{ERROR_MESSAGE}</span></td>


    REPLACE WITH
    Code:


                <td align="center"><span class="gen">{ERROR_MESSAGE}</span></td>


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:47 pm    Post subject: Reply with quote

  • templates/subSilver/groupcp_info_body.tpl



  1. FIND - Line 12
    Code:


          <th class="thHead" colspan="7" height="25"><span class="tableTitle">{L_GROUP_INFORMATION}</span></th>


    REPLACE WITH
    Code:


          <th class="thHead" colspan="7" height="25">{L_GROUP_INFORMATION}</th>


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:47 pm    Post subject: Reply with quote

  • templates/subSilver/groupcp_pending_info.tpl



  1. FIND - Line 26
    Code:


         <td class="{pending_members_row.ROW_CLASS}" align="center"><span class="gensmall"> <input type="checkbox" name="pending_members[]" value="{pending_members_row.USER_ID}" /></span></td>


    REPLACE WITH
    Code:


         <td class="{pending_members_row.ROW_CLASS}" align="center"><span class="gensmall"> <input type="checkbox" name="pending_members[]" value="{pending_members_row.USER_ID}" checked="checked" /></span></td>


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:48 pm    Post subject: Reply with quote

  • templates/subSilver/modcp_split.tpl



  1. FIND - Line 18
    Code:


         <td class="row2" colspan="2"><span class="courier">
          <input type="text" size="35" style="width: 350px" maxlength="100" name="subject" class="post" />
          </span></td>
       </tr>
       <tr>
         <td class="row1" nowrap="nowrap"><span class="gen">{L_SPLIT_FORUM}</span></td>
         <td class="row2" colspan="2"><span class="courier">{S_FORUM_SELECT}</span></td>


    REPLACE WITH
    Code:


         <td class="row2" colspan="2"><input class="post" type="text" size="35" style="width: 350px" maxlength="60" name="subject" /></td>
       </tr>
       <tr>
         <td class="row1" nowrap="nowrap"><span class="gen">{L_SPLIT_FORUM}</span></td>
         <td class="row2" colspan="2">{S_FORUM_SELECT}</td>


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:49 pm    Post subject: Reply with quote

  • templates/subSilver/posting_body.tpl



  1. FIND - Line 20
    Code:


    var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
                    && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
                    && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));


    AFTER, ADD
    Code:


    var is_moz = 0;



  2. FIND - Line 95
    Code:


       text = ' ' + text + ' ';
       if (document.post.message.createTextRange && document.post.message.caretPos) {
          var caretPos = document.post.message.caretPos;
          caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
          document.post.message.focus();
       } else {
       document.post.message.value  += text;
       document.post.message.focus();
       }
    }

    function bbfontstyle(bbopen, bbclose) {
       if ((clientVer >= 4) && is_ie && is_win) {
          theSelection = document.selection.createRange().text;
          if (!theSelection) {
             document.post.message.value += bbopen + bbclose;
             document.post.message.focus();
             return;
          }
          document.selection.createRange().text = bbopen + theSelection + bbclose;
          document.post.message.focus();
          return;
       } else {
          document.post.message.value += bbopen + bbclose;
          document.post.message.focus();
          return;
       }
       storeCaret(document.post.message);
    }


    function bbstyle(bbnumber) {


    REPLACE WITH
    Code:


       var txtarea = document.post.message;
       text = ' ' + text + ' ';
       if (txtarea.createTextRange && txtarea.caretPos) {
          var caretPos = txtarea.caretPos;
          caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
          txtarea.focus();
       } else {
          txtarea.value  += text;
          txtarea.focus();
       }
    }
     
    function bbfontstyle(bbopen, bbclose) {
       var txtarea = document.post.message;

       if ((clientVer >= 4) && is_ie && is_win) {
          theSelection = document.selection.createRange().text;
          if (!theSelection) {
             txtarea.value += bbopen + bbclose;
             txtarea.focus();
             return;
          }
          document.selection.createRange().text = bbopen + theSelection + bbclose;
          txtarea.focus();
          return;
       }
       else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
       {
          mozWrap(txtarea, bbopen, bbclose);
          return;
       }
       else
       {
          txtarea.value += bbopen + bbclose;
          txtarea.focus();
       }
       storeCaret(txtarea);
    }


    function bbstyle(bbnumber) {
       var txtarea = document.post.message;



  3. FIND - Line 145
    Code:


             document.post.message.value += bbtags[butnumber + 1];
             buttext = eval('document.post.addbbcode' + butnumber + '.value');
             eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
          }
          imageTag = false; // All tags are closed including image tags :D
          document.post.message.focus();
          return;
       }

       if ((clientVer >= 4) && is_ie && is_win)
          theSelection = document.selection.createRange().text; // Get text selection
          
       if (theSelection) {
          // Add tags around selection
          document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];
          document.post.message.focus();
          theSelection = '';
          return;
       }


    REPLACE WITH
    Code:


             txtarea.value += bbtags[butnumber + 1];
             buttext = eval('document.post.addbbcode' + butnumber + '.value');
             eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
          }
          imageTag = false; // All tags are closed including image tags :D
          txtarea.focus();
          return;
       }

       if ((clientVer >= 4) && is_ie && is_win)
       {
          theSelection = document.selection.createRange().text; // Get text selection
          if (theSelection) {
             // Add tags around selection
             document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];
             txtarea.focus();
             theSelection = '';
             return;
          }
       }
       else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
       {
          mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);
          return;
       }



  4. FIND - Line 182
    Code:


                document.post.message.value += bbtags[butnumber + 1];
                buttext = eval('document.post.addbbcode' + butnumber + '.value');
                eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
                imageTag = false;
             }
             document.post.message.focus();
             return;
       } else { // Open tags
       
          if (imageTag && (bbnumber != 14)) {      // Close image tag before adding another
             document.post.message.value += bbtags[15];
             lastValue = arraypop(bbcode) - 1;   // Remove the close image tag from the list
             document.post.addbbcode14.value = "Img";   // Return button back to normal state
             imageTag = false;
          }
          
          // Open tag
          document.post.message.value += bbtags[bbnumber];
          if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag
          arraypush(bbcode,bbnumber+1);
          eval('document.post.addbbcode'+bbnumber+'.value += "*"');
          document.post.message.focus();
          return;
       }
       storeCaret(document.post.message);


    REPLACE WITH
    Code:


                txtarea.value += bbtags[butnumber + 1];
                buttext = eval('document.post.addbbcode' + butnumber + '.value');
                eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
                imageTag = false;
             }
             txtarea.focus();
             return;
       } else { // Open tags
       
          if (imageTag && (bbnumber != 14)) {      // Close image tag before adding another
             txtarea.value += bbtags[15];
             lastValue = arraypop(bbcode) - 1;   // Remove the close image tag from the list
             document.post.addbbcode14.value = "Img";   // Return button back to normal state
             imageTag = false;
          }
          
          // Open tag
          txtarea.value += bbtags[bbnumber];
          if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag
          arraypush(bbcode,bbnumber+1);
          eval('document.post.addbbcode'+bbnumber+'.value += "*"');
          txtarea.focus();
          return;
       }
       storeCaret(txtarea);
    }

    // From http://www.massless.org/mozedit/
    function mozWrap(txtarea, open, close)
    {
       var selLength = txtarea.textLength;
       var selStart = txtarea.selectionStart;
       var selEnd = txtarea.selectionEnd;
       if (selEnd == 1 || selEnd == 2)
          selEnd = selLength;

       var s1 = (txtarea.value).substring(0,selStart);
       var s2 = (txtarea.value).substring(selStart, selEnd)
       var s3 = (txtarea.value).substring(selEnd, selLength);
       txtarea.value = s1 + open + s2 + close + s3;
       return;



  5. FIND - Line 358
    Code:


                   <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">


    REPLACE WITH
    Code:


                   <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:49 pm    Post subject: Reply with quote

  • templates/subSilver/privmsgs_body.tpl



  1. FIND - Line 35
    Code:


            <td colspan="3" width="100%" class="row1" nowrap="nowrap"><span class="gensmall">{BOX_SIZE_STATUS}</span></td>
          </tr>
          <tr>
            <td colspan="3" width="100%" class="row2">


    REPLACE WITH
    Code:


            <td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{BOX_SIZE_STATUS}</span></td>
          </tr>
          <tr>
            <td colspan="3" width="175" class="row2">


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:50 pm    Post subject: Reply with quote

  • templates/subSilver/profile_send_email.tpl



  1. FIND - Line 60
    Code:


          <td class="catBottom" colspan="2" align="center" height="28"><input type="submit" tabindex="6" name="submit" class="mainoption" value="{L_SEND_EMAIL}" /></td>


    REPLACE WITH
    Code:


          <td class="catBottom" colspan="2" align="center" height="28">{S_HIDDEN_FIELDS}<input type="submit" tabindex="6" name="submit" class="mainoption" value="{L_SEND_EMAIL}" /></td>


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:51 pm    Post subject: Reply with quote

  • templates/subSilver/viewtopic_body.tpl



  1. FIND - Line 33
    Code:


                <td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>


    REPLACE WITH
    Code:


                <td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>



  2. FIND - Line 49
    Code:


       if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )


    REPLACE WITH
    Code:


       if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:52 pm    Post subject: Reply with quote

  • viewforum.php



  1. FIND - Line 106
    Code:


          $header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
          header($header_location . append_sid("login.$phpEx?redirect=viewforum.$phpEx&$redirect", true));
          exit;


    REPLACE WITH
    Code:


          redirect(append_sid("login.$phpEx?redirect=viewforum.$phpEx&$redirect", true));



  2. FIND - Line 374
    Code:


       $s_auth_can .= sprintf($lang['Rules_moderate'], '<a href="' . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');


    REPLACE WITH
    Code:


       $s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&sid=" . $userdata['session_id'] . '">', '</a>');



  3. FIND - Line 388
    Code:


    //
    // Dump out the page header and load viewforum template
    //


    AFTER, ADD
    Code:


    define('SHOW_ONLINE', true);


Back to top
View user's profile Send private message Visit poster's website

Acyd Burn
Consultant

Joined: 19 Apr 2002
Posts: 650
Location: Germany (Oldb)

PostPosted: January 26th 2003, 6:53 pm    Post subject: Reply with quote

  • viewonline.php



  1. FIND - Line 40
    Code:


    $page_title = $lang['Who_is_online'];


    REPLACE WITH
    Code:


    $page_title = $lang['Who_is_Online'];


Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Fixes and Code Changes All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 7 of 8
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - PhotoshopForums.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - DrGregHouse.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

Copyright © 2001-2009. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.