去掉 WP Estimation Form 每次彈出的註冊提示,需要進行修改的檔案位置。

正在檢視 3 個帖子:1-3 (共 3 個帖子)
  • 作者
    帖子
  • 詩語
    管理員
    • 文章數量: 5,943
    發帖數:10000
    樓主
    @feibisi

    WP Estimation Form 外掛為輸入註冊碼的時候會在每次開啟介面的時候都提示需要輸入註冊碼,同時還需要等待 10 秒才能關閉。

    這樣是實在是太麻煩了,我們直接去掉了輸入框,不影響外掛使用。

    詩語
    管理員
    • 文章數量: 5,943
    發帖數:10000
    樓主
    @feibisi

    大概位置在 3108 行

    /wp-content/plugins/WP_Estimation_Form/includes/lfb-admin.php

    
            echo '<div id="lfb_winActivation" class="modal fade " data-show="' . $dispS . '" >
                              <div class="modal-dialog">
                                <div class="modal-content">
                                  <div class="modal-header">
                                    <h4 class="modal-title">'.__('Verification of the license','lfb').'</h4>
                                  </div>
                                  <div class="modal-body">
                                    <div id="lfb_iconLock"></div>
                                    <p style="margin-bottom: 14px;">
                                        <span id="lfb_lscUnverified">'.__("The license of this plugin isn't verified",'lfb').'.<br/></span>'.__('Please fill the field below with your purchase code','lfb').' :
                                    </p>
                                    <div class="form-group" style="margin-bottom: 24px;">
                                    	<input type="text" value="'.$settings->purchaseCode.'" class="form-control" style="display:inline-block; width: 312px; margin-bottom: 4px" name="purchaseCode" placeholder="'.__('Enter your purchase code here','lfb').'"/>
                                    	<a href="javascript:" onclick="lfb_checkLicense();" class="btn btn-primary"><span class="glyphicon glyphicon-check"></span>'.__('Verify','lfb').'</a>
                                    	<br/>
                                    	<span style="font-size:12px;"><a href="' . $this->parent->assets_url . 'img/purchaseCode.gif" target="_blank">'.__('Where can I find my purchase code ?','lfb').'</a></span>
                                    </div>
                                    <div class="alert alert-danger" style="font-size:12px;  margin-bottom: 0px;" >
                                    	<span class="glyphicon glyphicon-warning-sign" style="margin-right: 12px;float: left;font-size: 22px;margin-top: 10px;margin-bottom: 10px;"></span>
                                        '.__('Each website using this plugin needs a legal license (1 license = 1 website)','lfb').'.<br/>
                                        '.__('To read find more information on envato licenses','lfb').',
                                            <a href="https://codecanyon.net/licenses/standard" target="_blank">'.__('click here','lfb').'</a>.<br/>
                                         '.__('If you need to buy a new license of this plugin','lfb').', <a href="https://codecanyon.net/item/wp-flat-estimation-payment-forms-/7818230?ref=loopus" target="_blank">'.__('click here','lfb').'</a>.
                                    </div>
                                  </div>
                                  <div class="modal-footer" style="text-align: center;">
                                                <a href="javascript:"  id="lfb_closeWinActivationBtn" class="btn btn-default disabled"><span class="glyphicon glyphicon-remove"></span><span class="lfb_text">'.__('Close','lfb').'</span></a>
                                          </div><!-- /.modal-footer -->
                                </div><!-- /.modal-content -->
                              </div><!-- /.modal-dialog -->
                            </div><!-- /.modal -->';
                        
    詩語
    管理員
    • 文章數量: 5,943
    發帖數:10000
    樓主
    @feibisi

    直接去掉就行。

正在檢視 3 個帖子:1-3 (共 3 個帖子)
  • 哎呀,回覆話題必需登入。

話題資訊