Duyuru

Kapat
Henüz duyuru yok.

Resim küçültme eklentisindeki "BÜYÜLT,KÜÇÜLT" yazısını kaldıramıyorum

Kapat
X
  • Filtrele
  • Zaman
  • Göster
Hepsini Sil
new posts

  • Çözüldü - Resim küçültme eklentisindeki "BÜYÜLT,KÜÇÜLT" yazısını kaldıramıyorum

    Resmi gerçek boyutunda görmek için tıklayın.

Resmin ismi:  287e3510560638f626bacac25fd08bb6.jpg
Görüntüleme: 1
Büyüklüğü:  33,2 KBbu yazıyı ve kutucugu kaldırmak istiyorum yardımlarınız için şimdiden teşekkürler

    eklentiye ait olan ncode_imageresizer_headinclude şablonundan aşağıdaki kodları silince düzeldi.


    Kod:
    }
    
    table.ncode_imageresizer_warning td {
        font-size: 10px;
        vertical-align: middle;
        text-decoration: none;
    }
    
    table.ncode_imageresizer_warning td.td1 {
        padding: 5px;
    }
    
    table.ncode_imageresizer_warning td.td1 {
        padding: 2px;
    }
    Konu cem94 tarafından (http://www.vbulletin-turko.com/member/3596-cem94 Saat 29.02.2012, 22:17 ) değiştirilmiştir.

  • #2
    Cevap: Resim küçültme eklentisindeki "BÜYÜLT,KÜÇÜLT" yazısını kaldıramıyorum

    AdminCP > Diller & Cümleler > Cümlelerde Ara kısmından o cümleyi ara bulursa düzenle'yi tıkla içeriğini istediğin sekilde ayarla veya bos bırak.

    eğer burada bulamaz isen bu ürünü kurduğun plugin dosyasını not defteri ile aç içinde o cümleyi ara istediğin değişikliği yap ve tekrar plugin yöneticisi'nden içeri al

    Ey insanlara doğru yolu göstermek için Peygamber gönderen ALLAH. Fahr-i Kâinat hürmetine, seni tesbih eder, takdis eyleyen hayırlı ümmet aşkına, bizi imandan, kur-ân'dan, islamdan ayırma.Müslüman olarak haşret.. Resûlünden şefaat umarız. Bizi ondan mahrum etme..Senden afv-ü mağfiret dileriz..Bizi boş çevirme Allah'ım.. Bizi boş çevirme.. « AMİN »

    Yorum yap


    • #3
      Cevap: Resim küçültme eklentisindeki "BÜYÜLT,KÜÇÜLT" yazısını kaldıramıyorum

      RhomaNtiC Nickli Üyeden Alıntı Mesajı göster
      AdminCP > Diller & Cümleler > Cümlelerde Ara kısmından o cümleyi ara bulursa düzenle'yi tıkla içeriğini istediğin sekilde ayarla veya bos bırak.

      eğer burada bulamaz isen bu ürünü kurduğun plugin dosyasını not defteri ile aç içinde o cümleyi ara istediğin değişikliği yap ve tekrar plugin yöneticisi'nden içeri al

      o kadarını düşünebildim ben de hocam o kutucugu komple kaldrmak ıstıyorum

      Yorum yap


      • #4
        Cevap: Resim küçültme eklentisindeki "BÜYÜLT,KÜÇÜLT" yazısını kaldıramıyorum

        o zaman 2. dediğime bak plugin dosyasından gerekli yeri sil öyle içeri al.

        Ey insanlara doğru yolu göstermek için Peygamber gönderen ALLAH. Fahr-i Kâinat hürmetine, seni tesbih eder, takdis eyleyen hayırlı ümmet aşkına, bizi imandan, kur-ân'dan, islamdan ayırma.Müslüman olarak haşret.. Resûlünden şefaat umarız. Bizi ondan mahrum etme..Senden afv-ü mağfiret dileriz..Bizi boş çevirme Allah'ım.. Bizi boş çevirme.. « AMİN »

        Yorum yap


        • #5
          Cevap: Resim küçültme eklentisindeki "BÜYÜLT,KÜÇÜLT" yazısını kaldıramıyorum

          Kod:
          <?xml version="1.0" encoding="ISO-8859-1"?>
          
          <product productid="ncode_imageresizer" active="1">
              <title>Image Resizer</title>
              <description>Automatically resizes images in posts!</description>
              <version>1.0.2</version>
              <url>http://www.vbulletin.org/forum/showthread.php?t=176531</url>
              <versioncheckurl />
              <dependencies>
                  <dependency dependencytype="vbulletin" minversion="3.6.x" maxversion="" />
              </dependencies>
              <codes>
                  <code version="1.0.2">
                      <installcode><![CDATA[if(!file_exists(CWD.'/clientscript/ncode_imageresizer.js')) {
              if(!defined('DISABLE_PRODUCT_REDIRECT')) define('DISABLE_PRODUCT_REDIRECT', 1);
              print_form_header('', '', 0, 1, 'messageform', '65%');
              print_table_header('Warning: javascript file not found');
              print_description_row('<blockquote><br />You have to upload the Javascript file ncode_imageresizer.js to the clientscript folder manually.<br /><br /></blockquote>');
              print_table_footer();
          }
          
          function ncode_imageresizer_checkdb() {
              global $vbulletin;
              
              $fielddefs = array (
                  'ncode_imageresizer_mode' => array (
                      'Type' => 'enum(\'none\',\'enlarge\',\'samewindow\',\'newwindow\')',
                      'Null' => 'YES',
                      'Default' => NULL,
                  ),
                  'ncode_imageresizer_maxwidth' => array (
                      'Type' => 'smallint(5) unsigned',
                      'Null' => 'YES',
                      'Default' => NULL,
                  ),
                  'ncode_imageresizer_maxheight' => array (
                      'Type' => 'smallint(5) unsigned',
                      'Null' => 'YES',
                      'Default' => NULL,
                  ),
              );
              
              $fields = array();
              $result = $vbulletin->db->query('SHOW FULL COLUMNS FROM `'.TABLE_PREFIX.'user` LIKE "ncode\_imageresizer\_%"');
              while($r = $vbulletin->db->fetch_array($result)) {
                  if(isset($fielddefs[$r['Field']])) {
                      $fields[$r['Field']] = true;
                      foreach($fielddefs[$r['Field']] AS $k=>$v) {
                          if((!is_array($v) && $r[$k] != $v) || (is_array($v) && !in_array($r[$k], $v))) {
                              $fields[$r['Field']] = false;
                              break;
                          }
                      }
                  }
              }
              $sqls = array();
              foreach($fielddefs AS $field=>$def)
                  if(!isset($fields[$field]) || $fields[$field] === false)
                      $sqls[] = (!isset($fields[$field]) ? 'ADD' : 'CHANGE `'.$field.'`').' `'.$field.'` '.$def['Type'].' DEFAULT '.($def['Default'] == NULL ? 'NULL' : '"'.$def['Default'].'"').' '.($def['Null'] == 'YES' ? 'NULL' : 'NOT NULL');
              
              return $sqls;
          }
          
          $sqls = ncode_imageresizer_checkdb();
          
          if(count($sqls) > 0) {
              $sql = 'ALTER TABLE `'.TABLE_PREFIX.'user` '.implode(', ', $sqls);
              $vbulletin->db->query_write($sql);
              
              $sqls = ncode_imageresizer_checkdb();
              if(count($sqls) > 0) {
                  if(!defined('DISABLE_PRODUCT_REDIRECT')) define('DISABLE_PRODUCT_REDIRECT', 1);
                  print_form_header('', '', 0, 1, 'messageform', '65%');
                  print_table_header('Error while adapting database');
                  print_description_row('<blockquote><br />The following query has been executed to update your database, but the setup has detected that it has failed. Please run this query manually. After executing the query, the product is ready to use.<br /><br /><textarea cols="100" rows="4" wrap="soft">'.htmlspecialchars($sql).'</textarea><br /><br /></blockquote>');
                  print_table_footer();
              }
          }]]></installcode>
                      <uninstallcode><![CDATA[if(file_exists(CWD.'/clientscript/ncode_imageresizer.js')) {
              if(!defined('DISABLE_PRODUCT_REDIRECT')) define('DISABLE_PRODUCT_REDIRECT', 1);
              print_form_header('', '', 0, 1, 'messageform', '65%');
              print_table_header('Uninstallation notice');
              print_description_row('<blockquote><br />The javascript file ncode_imageresizer.js is still present in your filesystem. It\'s safe to delete this file.<br /><br /></blockquote>');
              print_table_footer();
          }
          
          function ncode_imageresizer_checkdb() {
              global $vbulletin;
              $allfields = array('ncode_imageresizer_mode', 'ncode_imageresizer_maxwidth', 'ncode_imageresizer_maxheight');
              $fields = array();
              $result = $vbulletin->db->query('SHOW FULL COLUMNS FROM `'.TABLE_PREFIX.'user` LIKE "ncode\_imageresizer\_%"');
              while($r = $vbulletin->db->fetch_array($result)) {
                  if(in_array($r['Field'], $allfields)) {
                      $fields[] = $r['Field'];
                  }
              }
          }
          
          $fields = ncode_imageresizer_checkdb();
          
          if(count($fields) > 0) {
              $sql = 'ALTER TABLE `'.TABLE_PREFIX.'user` DROP `'.implode('`, DROP `', $fields).'`';
              $vbulletin->db->query_write($sql);
              
              $fields = ncode_imageresizer_checkdb();
              if(count($fields) > 0) {
                  if(!defined('DISABLE_PRODUCT_REDIRECT')) define('DISABLE_PRODUCT_REDIRECT', 1);
                  print_form_header('', '', 0, 1, 'messageform', '65%');
                  print_table_header('Error while adapting database');
                  print_description_row('<blockquote><br />The following query has been executed to update your database, but the setup has detected that it has failed. Please run this query manually. After executing the query, the product completely removed.<br /><br /><textarea cols="100" rows="4" wrap="soft">'.htmlspecialchars($sql).'</textarea><br /><br /></blockquote>');
                  print_table_footer();
              }
          }]]></uninstallcode>
                  </code>
              </codes>
              <templates>
                  <template name="ncode_imageresizer_headinclude" templatetype="template" date="1175944770" username="nCode" version="1.0"><![CDATA[<!-- 
            nCode Image Resizer
            (c) nCode
            http://www.ncode.nl/vbulletinplugins/
          -->
          <script type="text/javascript" src="$vboptions[bburl]/clientscript/ncode_imageresizer.js?v=1.0.1"></script>
          <style type="text/css">
          <!--
          table.ncode_imageresizer_warning {
              background: #FFFFE1;
              color: #000000;
              border: 1px solid #CCC;
              cursor: pointer;
          }
          
          table.ncode_imageresizer_warning td {
              font-size: 10px;
              vertical-align: middle;
              text-decoration: none;
          }
          
          table.ncode_imageresizer_warning td.td1 {
              padding: 5px;
          }
          
          table.ncode_imageresizer_warning td.td1 {
              padding: 2px;
          }
          -->
          </style>
          <script type="text/javascript">
          <!--
          NcodeImageResizer.MODE = '$NCODE_IMAGERESIZER_MODE';
          NcodeImageResizer.MAXWIDTH = $NCODE_IMAGERESIZER_MAXWIDTH;
          NcodeImageResizer.MAXHEIGHT = $NCODE_IMAGERESIZER_MAXHEIGHT;
          
          NcodeImageResizer.BBURL = '$vboptions[bburl]';
          
          vbphrase['ncode_imageresizer_warning_small'] = '$vbphrase[ncode_imageresizer_warning_small]';
          vbphrase['ncode_imageresizer_warning_filesize'] = '$vbphrase[ncode_imageresizer_warning_filesize]';
          vbphrase['ncode_imageresizer_warning_no_filesize'] = '$vbphrase[ncode_imageresizer_warning_no_filesize]';
          vbphrase['ncode_imageresizer_warning_fullsize'] = '$vbphrase[ncode_imageresizer_warning_fullsize]';
          //-->
          </script>]]></template>
              </templates>
              <plugins>
                  <plugin active="1" executionorder="5">
                      <title>nCode Image Resizer: Enforce Maximum Dimensions</title>
                      <hookname>admin_options_processing</hookname>
                      <phpcode><![CDATA[if($vbulletin->GPC['setting']['ncode_imageresizer_useroptions'] == 'maxdimensions') {
              if($oldsetting['varname'] == 'ncode_imageresizer_maxwidth' && $oldsetting['value'] > intval($vbulletin->GPC['setting']['ncode_imageresizer_maxwidth']) && intval($vbulletin->GPC['setting']['ncode_imageresizer_maxwidth']) > 0) {
                  $db->query_write('UPDATE `'.TABLE_PREFIX.'user` SET `ncode_imageresizer_maxwidth` = '.intval($vbulletin->GPC['setting']['ncode_imageresizer_maxwidth']));
              } elseif($oldsetting['varname'] == 'ncode_imageresizer_maxheight' && $oldsetting['value'] > intval($vbulletin->GPC['setting']['ncode_imageresizer_maxheight']) && intval($vbulletin->GPC['setting']['ncode_imageresizer_maxheight']) > 0) {
                  $db->query_write('UPDATE `'.TABLE_PREFIX.'user` SET `ncode_imageresizer_maxheight` = '.intval($vbulletin->GPC['setting']['ncode_imageresizer_maxheight']));
              }
          }
          
          if($vbulletin->GPC['setting']['ncode_imageresizer_clearusersettings'] == '1') {
              $vbulletin->GPC['setting']['ncode_imageresizer_clearusersettings'] = '0';
              $db->query_write('UPDATE `'.TABLE_PREFIX.'user` SET `ncode_imageresizer_maxheight` = NULL, `ncode_imageresizer_maxheight` = NULL, `ncode_imageresizer_maxwidth` = NULL, `ncode_imageresizer_mode` = NULL WHERE 1');
          }]]></phpcode>
                  </plugin>
                  <plugin active="1" executionorder="5">
                      <title>nCode Image Resizer: Replacer In Uncached Data</title>
                      <hookname>bbcode_parse_complete</hookname>
                      <phpcode><![CDATA[if(defined('NCODE_IMAGERESIZER_INIT') && strtolower(get_class($this)) == 'vb_bbcodeparser' && $this->ncode_imageresizer_do !== false) {
              $text = ncode_imageresizer_replace($text);
          }]]></phpcode>
                  </plugin>
                  <plugin active="1" executionorder="5">
                      <title>nCode Image Resizer: Replacer In Cached Data</title>
                      <hookname>bbcode_parse_start</hookname>
                      <phpcode><![CDATA[$this->ncode_imageresizer_do = false;
          if(defined('NCODE_IMAGERESIZER_INIT') && strtolower(get_class($this)) == 'vb_bbcodeparser' && ($forumid != "signature" || $this->registry->options['ncode_imageresizer_resizesignatures'] == '1')) {
              if(!empty($parsedtext) && $parsedhasimages) {
                  $parsedtext = $this->handle_bbcode_img($parsedtext, $dobbimagecode, $parsedhasimages);
                  $parsedtext = ncode_imageresizer_replace($parsedtext);
                  $parsedhasimages = false;
              } else {
                  $this->ncode_imageresizer_do = true;
              }
          }]]></phpcode>
                  </plugin>
                  <plugin active="1" executionorder="5">
                      <title>nCode Image Resizer: Initialization I</title>
                      <hookname>cache_templates</hookname>
                      <phpcode><![CDATA[if($vbulletin->options['ncode_imageresizer_enabled'] == '1') {
              if($vbulletin->userinfo['ncode_imageresizer_mode'] == '' || $vbulletin->options['ncode_imageresizer_useroptions'] == 'none') {
                  $NCODE_IMAGERESIZER_MODE = $vbulletin->options['ncode_imageresizer_defaultmode'];
              } else {
                  $NCODE_IMAGERESIZER_MODE = $vbulletin->userinfo['ncode_imageresizer_mode'];
              }
              
              if($NCODE_IMAGERESIZER_MODE != 'none') {
                  if($vbulletin->userinfo['ncode_imageresizer_maxwidth'] == '' || $vbulletin->options['ncode_imageresizer_useroptions'] == 'none' || $vbulletin->options['ncode_imageresizer_useroptions'] == 'modeonly' || ($vbulletin->options['ncode_imageresizer_useroptions'] == 'maxdimensions' && $vbulletin->options['ncode_imageresizer_maxwidth'] > 0 && $vbulletin->userinfo['ncode_imageresizer_maxwidth'] > $vbulletin->options['ncode_imageresizer_maxwidth'])) {
                      $NCODE_IMAGERESIZER_MAXWIDTH = $vbulletin->options['ncode_imageresizer_maxwidth'];
                  } else {
                      $NCODE_IMAGERESIZER_MAXWIDTH = $vbulletin->userinfo['ncode_imageresizer_maxwidth'];
                  }
                  
                  if($vbulletin->userinfo['ncode_imageresizer_maxheight'] == '' || $vbulletin->options['ncode_imageresizer_useroptions'] == 'none' || $vbulletin->options['ncode_imageresizer_useroptions'] == 'modeonly' || ($vbulletin->options['ncode_imageresizer_useroptions'] == 'maxdimensions' && $vbulletin->options['ncode_imageresizer_maxheight'] > 0 && $vbulletin->userinfo['ncode_imageresizer_maxheight'] > $vbulletin->options['ncode_imageresizer_maxheight'])) {
                      $NCODE_IMAGERESIZER_MAXHEIGHT = $vbulletin->options['ncode_imageresizer_maxheight'];
                  } else {
                      $NCODE_IMAGERESIZER_MAXHEIGHT = $vbulletin->userinfo['ncode_imageresizer_maxheight'];
                  }
                  
                  define('NCODE_IMAGERESIZER_PREINIT', 1);
                  
                  $globaltemplates[] = 'ncode_imageresizer_headinclude';
                  function ncode_imageresizer_replace($in) {
                      return preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $in);
                  }
                  $ncjssafephrases = array('ncode_imageresizer_warning_small', 'ncode_imageresizer_warning_filesize', 'ncode_imageresizer_warning_no_filesize', 'ncode_imageresizer_warning_fullsize');
                  foreach($ncjssafephrases AS $k) {
                      $vbphrase[$k] = strtr($vbphrase[$k], array("\r\n" => '\r\n', "\n" => '\n', '\'' => '\\\''));
                  }
                  unset($ncjssafephrases);
              }
          }]]></phpcode>
                  </plugin>
                  <plugin active="1" executionorder="3">
                      <title>nCode Image Resizer: Initialization II</title>
                      <hookname>parse_templates</hookname>
                      <phpcode><![CDATA[if(defined('NCODE_IMAGERESIZER_PREINIT')) {
              define('NCODE_IMAGERESIZER_INIT', 1);
              $vbulletin->templatecache['headinclude'] .= $vbulletin->templatecache['ncode_imageresizer_headinclude'];
          }]]></phpcode>
                  </plugin>
                  <plugin active="1" executionorder="5">
                      <title>nCode Image Resizer: UserCP inclusion</title>
                      <hookname>profile_complete</hookname>
                      <phpcode><![CDATA[if($vbulletin->options['ncode_imageresizer_enabled'] == '1' && $_REQUEST['do'] == 'editoptions' && $vbulletin->options['ncode_imageresizer_useroptions'] != 'none') {
              global $vbphrase;
              
              // MODE
              $profilefieldname = 'ncode_imageresizer_mode';
              $profilefield['title'] = $vbphrase['ncode_imageresizer_mode_title'];
              $profilefield['description'] = $vbphrase['ncode_imageresizer_mode_description'];
              $show['noemptyoption'] = false;
              $show['optionspage'] = true;
              
              $selectbits = '';
              
              $options = array(
                  ''                => construct_phrase($vbphrase['ncode_imageresizer_defaultmode'], $vbphrase['ncode_imageresizer_'.$vbulletin->options['ncode_imageresizer_defaultmode']]),
                  'none'            => $vbphrase['ncode_imageresizer_none'],
                  'enlarge'        => $vbphrase['ncode_imageresizer_enlarge'],
                  'samewindow'    => $vbphrase['ncode_imageresizer_samewindow'],
                  'newwindow'        => $vbphrase['ncode_imageresizer_newwindow']
              );
              
              foreach($options AS $key=>$val) {
                  $selected = $vbulletin->userinfo['ncode_imageresizer_mode'] == $key ? 'selected="selected"' : '';
                  eval('$selectbits .= "' . fetch_template('userfield_select_option') . '";');
              }
              
              eval('$tempcustom = "' . fetch_template('userfield_select') . '";');
              
              $customfields['threadview'] .= $tempcustom;
              
              if($vbulletin->options['ncode_imageresizer_useroptions'] != 'modeonly') {
                  // MAXWIDTH
                  $profilefieldname = 'ncode_imageresizer_maxwidth';
                  $profilefield['title'] = $vbphrase['ncode_imageresizer_maxwidth_title'];
                  if($vbulletin->options['ncode_imageresizer_useroptions'] == 'maxdimensions' && $vbulletin->options['ncode_imageresizer_maxwidth'] > 0) {
                      $phrasename = 'ncode_imageresizer_maxwidth_description_restricted';
                  } else {
                      $phrasename = 'ncode_imageresizer_maxwidth_description';
                  }
                  $profilefield['description'] = construct_phrase($vbphrase[$phrasename], $vbulletin->options['ncode_imageresizer_maxwidth']);
                  $profilefield['size'] = 5;
                  $profilefield['maxlength'] = 5;
                  
                  eval('$tempcustom = "' . fetch_template('userfield_textbox') . '";');
                  
                  $customfields['threadview'] .= $tempcustom;
                  
                  // MAXHEIGHT
                  $profilefieldname = 'ncode_imageresizer_maxheight';
                  $profilefield['title'] = $vbphrase['ncode_imageresizer_maxheight_title'];
                  if($vbulletin->options['ncode_imageresizer_useroptions'] == 'maxdimensions' && $vbulletin->options['ncode_imageresizer_maxheight'] > 0) {
                      $phrasename = 'ncode_imageresizer_maxheight_description_restricted';
                  } else {
                      $phrasename = 'ncode_imageresizer_maxheight_description';
                  }
                  $profilefield['description'] = construct_phrase($vbphrase[$phrasename], $vbulletin->options['ncode_imageresizer_maxheight']);
                  $profilefield['size'] = 5;
                  $profilefield['maxlength'] = 5;
                  
                  eval('$tempcustom = "' . fetch_template('userfield_textbox') . '";');
                  
                  $customfields['threadview'] .= $tempcustom;
              }
          }]]></phpcode>
                  </plugin>
                  <plugin active="1" executionorder="5">
                      <title>nCode Image Resizer: Process UserCP submission</title>
                      <hookname>profile_updateoptions</hookname>
                      <phpcode><![CDATA[if($vbulletin->options['ncode_imageresizer_enabled'] == '1' && $vbulletin->options['ncode_imageresizer_useroptions'] != 'none') {
              $mode = in_array($vbulletin->GPC['userfield']['ncode_imageresizer_mode'], array('none', 'samewindow', 'newwindow', 'enlarge')) ? '"'.$vbulletin->GPC['userfield']['ncode_imageresizer_mode'].'"' : 'NULL';
              $userdata->validfields['ncode_imageresizer_mode'] = array(TYPE_NOCLEAN, REQ_NO);
              $userdata->set('ncode_imageresizer_mode', $mode, false);
              
              if($vbulletin->options['ncode_imageresizer_useroptions'] != 'modeonly') {
                  $maxwidth = $vbulletin->GPC['userfield']['ncode_imageresizer_maxwidth'] == '' ? 'NULL' : intval($vbulletin->GPC['userfield']['ncode_imageresizer_maxwidth']);
                  if($vbulletin->options['ncode_imageresizer_useroptions'] == 'maxdimensions' && $vbulletin->options['ncode_imageresizer_maxwidth'] > 0 && $maxwidth != 'NULL' && $maxwidth > $vbulletin->options['ncode_imageresizer_maxwidth']) {
                      $maxwidth = $vbulletin->options['ncode_imageresizer_maxwidth'];
                  }
                  
                  $userdata->validfields['ncode_imageresizer_maxwidth'] = array(TYPE_NOCLEAN, REQ_NO);
                  $userdata->set('ncode_imageresizer_maxwidth', $maxwidth, false);
                  
                  $maxheight = $vbulletin->GPC['userfield']['ncode_imageresizer_maxheight'] == '' ? 'NULL' : intval($vbulletin->GPC['userfield']['ncode_imageresizer_maxheight']);
                  if($vbulletin->options['ncode_imageresizer_useroptions'] == 'maxdimensions' && $vbulletin->options['ncode_imageresizer_maxheight'] > 0 && $maxheight != 'NULL' && $maxheight > $vbulletin->options['ncode_imageresizer_maxheight']) {
                      $maxheight = $vbulletin->options['ncode_imageresizer_maxheight'];
                  }
                  $userdata->validfields['ncode_imageresizer_maxheight'] = array(TYPE_NOCLEAN, REQ_NO);
                  $userdata->set('ncode_imageresizer_maxheight', $maxheight, false);
              }
          }]]></phpcode>
                  </plugin>
              </plugins>
              <phrases>
                  <phrasetype name="Control Panel Help Text" fieldname="cphelptext">
                      <phrase name="options_options_ncode_imageresizer_defaultmode_text" date="1149766435" username="nCode" version="1.0 RC 4"><![CDATA[The default resize mode decides what behaviour a user without this setting will experience. This includes anonymous users and users who haven't submitted the User CP -> Options form after this plugin got installed.]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_defaultmode_title" date="1150295825" username="nCode" version="1.0 RC 4"><![CDATA[Default resize mode]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_maxheight_text" date="1150295914" username="nCode" version="1.0 RC 4"><![CDATA[This setting applies for all users who don't have their own setting or anonymous users.
          When the plugin detects images which are taller than this height, it will resize them to this height. The width is automatically adapted proportionally.
          
          Enter 0 to allow all heights.]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_maxheight_title" date="1149766204" username="nCode" version="1.0 RC 4"><![CDATA[Maximum Height]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_maxwidth_text" date="1150295907" username="nCode" version="1.0 RC 4"><![CDATA[This setting applies for all users who don't have their own setting or anonymous users.
          When the plugin detects images which are wider than this width, it will resize them to this width. The height is automatically adapted proportionally.
          
          Enter 0 to allow all widths.]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_maxwidth_title" date="1149766351" username="nCode" version="1.0 RC 4"><![CDATA[Maximum Width]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_useroptions_text" date="1150987596" username="nCode" version="1.0 RC 4"><![CDATA[By default, the users have complete control over the image resizing behaviour. You can limit this with this option.
          <ul>
          <li><b>Allow all options</b> - This allows the user to set the mode, maximum width and maximum height without restrictions</li>
          <li><b>Allow no options</b> - The inverse of the first option: the users will not be able to set anything, alle admin settings are enforced</li>
          <li><b>Allow only mode selection</b> - The user can only select the resize mode, not the maximum dimensions</li>
          <li><b>Use default dimensions as maximum</b> - The user will be able to set the dimensions, but their settings cannot exceed the default dimensions. This applies only for those dimensions for which a default maximum greater than 0 exists</li>
          </ul>]]></phrase>
                      <phrase name="options_options_ncode_imageresizer_useroptions_title" date="1150987250" username="nCode" version="1.0 RC 4"><![CDATA[User options]]></phrase>
                  </phrasetype>
                  <phrasetype name="Control Panel Options" fieldname="cpoption">
                      <phrase name="ncode_imageresizer_useroptions_all" date="1150986314" username="nCode" version="1.0 RC 4"><![CDATA[Allow all options]]></phrase>
                      <phrase name="ncode_imageresizer_useroptions_maxdimensions" date="1150987395" username="nCode" version="1.0 RC 4"><![CDATA[Use default dimensions as maximum]]></phrase>
                      <phrase name="ncode_imageresizer_useroptions_modeonly" date="1150986346" username="nCode" version="1.0 RC 4"><![CDATA[Allow only mode selection]]></phrase>
                      <phrase name="ncode_imageresizer_useroptions_none" date="1150986329" username="nCode" version="1.0 RC 4"><![CDATA[Allow no options]]></phrase>
                  </phrasetype>
                  <phrasetype name="GLOBAL" fieldname="global">
                      <phrase name="ncode_imageresizer_warning_filesize" date="1173736007" username="nCode" version="1.0 RC 4"><![CDATA[This image has been resized. Click this bar to view the full image. The original image is sized {1}x{2} and weights {3}KB.]]></phrase>
                      <phrase name="ncode_imageresizer_warning_fullsize" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Click this bar to view the small image.]]></phrase>
                      <phrase name="ncode_imageresizer_warning_no_filesize" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[This image has been resized. Click this bar to view the full image. The original image is sized {1}x{2}.]]></phrase>
                      <phrase name="ncode_imageresizer_warning_small" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Click this bar to view the full image.]]></phrase>
                  </phrasetype>
                  <phrasetype name="User Tools (global)" fieldname="user">
                      <phrase name="ncode_imageresizer_defaultmode" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Default ({1})]]></phrase>
                      <phrase name="ncode_imageresizer_enlarge" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Enlarge in same window]]></phrase>
                      <phrase name="ncode_imageresizer_maxheight_description" date="1171900442" username="nCode" version="1.0 RC 4"><![CDATA[<fieldset class="fieldset"><legend>Image Height</legend>Images taller than this height will be resized. Enter 0 to allow all heights, or leave the field empty to use the default value of {1}:</fieldset>]]></phrase>
                      <phrase name="ncode_imageresizer_maxheight_description_restricted" date="1171900482" username="nCode" version="1.0 RC 4"><![CDATA[Images taller than this height will be resized. Enter 0 in the field below to allow all heights, or leave the field empty to use the default value. The maximum and default value is {1}.]]></phrase>
                      <phrase name="ncode_imageresizer_maxheight_title" date="1150291028" username="nCode" version="1.0 RC 4"><![CDATA[Maximum height]]></phrase>
                      <phrase name="ncode_imageresizer_maxwidth_description" date="1171900552" username="nCode" version="1.0 RC 4"><![CDATA[<fieldset class="fieldset"><legend>Image width</legend>Images wider than this width will be resized. Enter 0 in the field below to allow all widths, or leave the field empty to use the default value of {1}:</fieldset>]]></phrase>
                      <phrase name="ncode_imageresizer_maxwidth_description_restricted" date="1171900531" username="nCode" version="1.0 RC 4"><![CDATA[Images wider than this width will be resized. Enter 0 to allow all widths, or leave the field empty to use the default value. The maximum and default value is {1}.]]></phrase>
                      <phrase name="ncode_imageresizer_maxwidth_title" date="1150291049" username="nCode" version="1.0 RC 4"><![CDATA[Maximum width]]></phrase>
                      <phrase name="ncode_imageresizer_mode_description" date="1150290660" username="nCode" version="1.0 RC 4"><![CDATA[<fieldset class="fieldset"><legend>Image Resize</legend> This forum automatically resizes images which are too large. Please choose below how you would like to view the enlarged images.</fieldset>]]></phrase>
                      <phrase name="ncode_imageresizer_mode_title" date="1150290805" username="nCode" version="1.0 RC 4"><![CDATA[Please select the resize mode ]]></phrase>
                      <phrase name="ncode_imageresizer_newwindow" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Open in new window]]></phrase>
                      <phrase name="ncode_imageresizer_none" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Keep original size]]></phrase>
                      <phrase name="ncode_imageresizer_samewindow" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Open in same window]]></phrase>
                  </phrasetype>
                  <phrasetype name="vBulletin Settings" fieldname="vbsettings">
                      <phrase name="setting_ncode_imageresizer_clearusersettings_desc" date="1172090246" username="nCode" version="1.0 RC 4"><![CDATA[To clear all settings that users have made set this setting to Yes. It will be set to No after the settings are cleared.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_clearusersettings_title" date="1172090173" username="nCode" version="1.0 RC 4"><![CDATA[Clear User Settings]]></phrase>
                      <phrase name="setting_ncode_imageresizer_defaultmode_desc" date="1172083772" username="nCode" version="1.0 RC 4"><![CDATA[This will be the resize mode for anonymous users or users who haven't set their preferences yet.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_defaultmode_title" date="1172083772" username="nCode" version="1.0 RC 4"><![CDATA[Default Resize Mode]]></phrase>
                      <phrase name="setting_ncode_imageresizer_enabled_desc" date="1172090345" username="nCode" version="1.0 RC 4"><![CDATA[Image Resizer provides client side image resizing functionality to prevent large images from disrupting a thread/post layout.<br><br>Select <strong>yes to enable</strong> Image Resizer.<br>Select <strong>no to disable</strong> Image Resizer.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_enabled_title" date="1172090282" username="nCode" version="1.0 RC 4"><![CDATA[Image Resizer Enabled]]></phrase>
                      <phrase name="setting_ncode_imageresizer_maxheight_desc" date="1172083761" username="nCode" version="1.0 RC 4"><![CDATA[Give the default maximum height of images in pixels for users without this setting and anonymous users. Images taller than the given size will be resized. Enter 0 to ignore the height of images.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_maxheight_title" date="1172083761" username="nCode" version="1.0 RC 4"><![CDATA[Default Maximum Height]]></phrase>
                      <phrase name="setting_ncode_imageresizer_maxwidth_desc" date="1172083767" username="nCode" version="1.0 RC 4"><![CDATA[Give the default maximum width of images in pixels for users without this setting and anonymous users. Images wider than the given size will be resized. Enter 0 to ignore the width of images.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_maxwidth_title" date="1172083767" username="nCode" version="1.0 RC 4"><![CDATA[Default Maximum Width]]></phrase>
                      <phrase name="setting_ncode_imageresizer_resizesignatures_desc" date="1172083746" username="nCode" version="1.0 RC 4"><![CDATA[Image Resizer can resize images in signatures. If you do not want this behaviour you can disable this using this setting.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_resizesignatures_title" date="1172083746" username="nCode" version="1.0 RC 4"><![CDATA[Resize Images in Signatures]]></phrase>
                      <phrase name="setting_ncode_imageresizer_useroptions_desc" date="1172083753" username="nCode" version="1.0 RC 4"><![CDATA[By default, the users have complete control over the image resizing behaviour. You can limit this with this option.]]></phrase>
                      <phrase name="setting_ncode_imageresizer_useroptions_title" date="1172083753" username="nCode" version="1.0 RC 4"><![CDATA[User Options]]></phrase>
                      <phrase name="settinggroup_ncode_imageresizer" date="1171899945" username="nCode" version="1.0 RC 4"><![CDATA[Image Resizer Options]]></phrase>
                  </phrasetype>
              </phrases>
              <options>
                  <settinggroup name="ncode_imageresizer" displayorder="1000">
                      <setting varname="ncode_imageresizer_enabled" displayorder="1">
                          <datatype>boolean</datatype>
                          <optioncode>yesno</optioncode>
                          <defaultvalue>1</defaultvalue>
                      </setting>
                      <setting varname="ncode_imageresizer_defaultmode" displayorder="2">
                          <datatype>free</datatype>
                          <optioncode>select:piped
          none|ncode_imageresizer_none
          enlarge|ncode_imageresizer_enlarge
          samewindow|ncode_imageresizer_samewindow
          newwindow|ncode_imageresizer_newwindow</optioncode>
                          <validationcode><![CDATA[return in_array($data, array('none', 'enlarge', 'samewindow', 'newwindow'));]]></validationcode>
                          <defaultvalue>enlarge</defaultvalue>
                      </setting>
                      <setting varname="ncode_imageresizer_maxwidth" displayorder="3">
                          <datatype>number</datatype>
                          <validationcode><![CDATA[return $data >= 0;]]></validationcode>
                          <defaultvalue>640</defaultvalue>
                      </setting>
                      <setting varname="ncode_imageresizer_maxheight" displayorder="4">
                          <datatype>number</datatype>
                          <validationcode><![CDATA[return $data >= 0;]]></validationcode>
                          <defaultvalue>0</defaultvalue>
                      </setting>
                      <setting varname="ncode_imageresizer_useroptions" displayorder="5">
                          <datatype>free</datatype>
                          <optioncode>select:piped
          all|ncode_imageresizer_useroptions_all
          none|ncode_imageresizer_useroptions_none
          modeonly|ncode_imageresizer_useroptions_modeonly
          maxdimensions|ncode_imageresizer_useroptions_maxdimensions</optioncode>
                          <validationcode><![CDATA[return in_array($data, array('all', 'none', 'modeonly', 'maxdimensions'));]]></validationcode>
                          <defaultvalue>all</defaultvalue>
                      </setting>
                      <setting varname="ncode_imageresizer_resizesignatures" displayorder="6">
                          <datatype>boolean</datatype>
                          <optioncode>yesno</optioncode>
                          <defaultvalue>1</defaultvalue>
                      </setting>
                      <setting varname="ncode_imageresizer_clearusersettings" displayorder="7">
                          <datatype>boolean</datatype>
                          <optioncode>yesno</optioncode>
                          <defaultvalue>0</defaultvalue>
                      </setting>
                  </settinggroup>
              </options>
              <helptopics>
                  <helpscript name="options">
                      <helptopic disp="1" act="options" opt="ncode_imageresizer_defaultmode" />
                      <helptopic disp="1" act="options" opt="ncode_imageresizer_useroptions" />
                      <helptopic disp="1" act="options" opt="ncode_imageresizer_maxwidth" />
                      <helptopic disp="1" act="options" opt="ncode_imageresizer_maxheight" />
                  </helpscript>
              </helptopics>
              <cronentries>
              </cronentries>
              <faqentries>
              </faqentries>
          </product>
          bütün kodları bu ama bir türlü kaldıramadım

          Yorum yap

          Unconfigured Ad Widget

          Kapat
          Hazırlanıyor...
          X