重要:此頁面會使用Cookie (cookies). 使用本網站不關閉瀏覽器中的cookie,即表示您同意使用它。
現在購買! 特點 下載

賺錢與我們聯繫!

如果您想要開始賺錢與貝特聯接 聯盟計畫。
26 First首先 1234 ... 最後Last
結果 112058

主題: 如何清除vbet語言代碼

  1. #11
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    還在這裡
    最後編輯者 norku; 06-10-1115:03.

  2. #12
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    還在這裡。當你肯定你不在這裡多,儘管在下午雖然兩個多小時前 在這裡。我要做出一些茶。我可以等待

  3. #13
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    而回。任何消息?

  4. #14
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    Quote 作者: norku View Post
    一切都在 htaccess / 當安裝 vbet 能正常工作。是的我第一次嘗試我舊規則,但他們被忽視。我無法獲取您的規則或者 /forum 在工作或 /。我只是無法離開的事情他們,看看 Google 網站管理員工具後 404 湧入 404,但我比較喜歡乾淨的重定向。

    想要看一看嗎?我可以 PM 你的管理員/ftp 訪問。
    請告訴我您的.htaccess vBET 刪除之前。也請不要濫發 — — 它有沒有意義。此外請注意,下午消息都是私人消息 — — 那些正在等待再評價如果不請求,如果我們的工作人員之一是缺席忙再也能等。直到要求發送訪問資料請寫上論壇因此我們所有的員工都可以説明您。訪問詳細資訊不需要在這裡只是請發送您完整的.htaccess vBET 刪除之前。

    PS。
    我現在在新的Beta版本的更正工作 - 拉德克在這裡,不能幫助你,因為你由下午發送信息給我。對不起,你不得不等待。

  5. #15
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    垃圾郵件? !你在論壇上之前、 期間和我送的點後的下午。我之後等待相當長一段時間的答案線上程上發送它。如果你不能被打擾拖動你自己走了幾秒鐘回答一個問題,然後你可以至少已確認下午收到的。你引起我遇到的問題。Vbet 不工作作為廣告 (是的我知道你能控制),而我想要的就是快速地把它拿了我的論壇。但不是能只是像每個 Vb 的載入項被卸載。哦不,是因為 Vbet 樹葉散落在所有地方其 BB 代碼。

    無處可在您的網站有如何刪除 Vbet 的完整說明。不做您告訴我們我們卸載時,將無法刪除 BB 代碼,我們將不得不等待多日的一個工具,可以將其刪除。該工具應該安裝套裝軟體的一部分,但你顯然不喜歡談論的。而我得到一個令人難以置信的傲慢的答案你有效地說: 你永遠不會被視為可能有人想要卸載 Vbet? !

    所以,我現在有成千上萬的索引鏈接,而現在所有生產的404和幾百個職位,包含你的BB代碼,我的問題??

    重定向至於做你想要知道呢?我有我一再告訴您安裝在 /forum 的 vb 套房。要使用 Vb 安裝在 /forum Vbet 只有一組的重定向會工作,我知道你知道。我給你的 ftp 和管理員訪問,使您可以為你自己看看,但你顯然沒有相同的時間量,你所當我還是一個客戶 … …。


    這是之前,刪除 vbet htaccess。這是設在 public_html,工作得很好 (我有 vb 安裝在 /forum)


    PHP Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /


    #RewriteCond %{HTTP_HOST} !^www\.xxxx\.com
    RewriteCond %{HTTP_HOST} !(^www\.xxxx\.com$|^cdn\.xxxx\.com$)
    RewriteRule (.*) http://www.xxxx.com/$1 [R=301,L]

    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]

    RewriteRule ^forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

    #vbet translator rules start
    RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
    RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$[L,QSA]

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]


    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond 
    %{REQUEST_FILENAME} !-d
    RewriteCond 
    %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbenterprisetranslator_seo.php [L,QSA]
    #vbet translator rules end


    RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond 
    %{REQUEST_FILENAME} !-d
    RewriteCond 
    %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

    ## Expires
    <ifModule mod_expires.c>
        
    ExpiresActive On
        ExpiresDefault 
    "access plus 1 seconds"
        
    ExpiresByType text/html "access plus 1 seconds"
        
    ExpiresByType image/gif "access plus 3456000 seconds"
        
    ExpiresByType image/jpeg "access plus 3456000 seconds"
        
    ExpiresByType image/png "access plus 3456000 seconds"
        
    ExpiresByType text/css "access plus 3456000 seconds"
        
    ExpiresByType text/javascript "access plus 3456000 seconds"
        
    ExpiresByType application/javascript "access plus 3456000 seconds"
        
    ExpiresByType application/x-javascript "access plus 3456000 seconds"
    </ifModule>

    ## Compression
    <ifmodule mod_headers.c>
        <
    ifmodule mod_deflate.c>
            
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
            BrowserMatch 
    ^Mozilla/4 gzip-only-text/html
            BrowserMatch 
    ^Mozilla/4\.0[678no-gzip
            BrowserMatch 
    \bMSIE !no-gzip !gzip-only-text/html
        
    </ifmodule>
    </
    ifmodule>

    #Remove index.php from xxxx.com/index.php
    #rewrite engine on 
    RewriteCond %{THE_REQUESTindex\.php
    RewriteCond 
    %{QUERY_STRING} ^$
    RewriteRule ^index\.php$ / [L,R=301
    最後編輯者 norku; 07-10-1110:27.

  6. #16
    米哈爾 Podbielski(vBET職員) vBET's Avatar
    註冊日期
    2009年10月
    帖子
    3,037

    Default

    請注意,重複的郵件視為垃圾郵件 - 我知道每一個論壇上。我不想討論有關垃圾郵件的定義 - 請不要重複。我明白,如果你的消息是等待幾天,因為我們錯過了一些如何 - 也將讚賞提醒,但3次同一天... ...

    你的htaccess文件看起來應該像這樣:
    PHP Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /


    #RewriteCond %{HTTP_HOST} !^www\.xxxx\.com
    RewriteCond %{HTTP_HOST} !(^www.xxxx.com$|^cdn.xxxx.com$)
    RewriteRule (.*) http://www.xxxx.com/$1 [R=301,L]

    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forum/$1 [L,R=301]

    RewriteRule ^forum/((urllist|sitemap_).*.(xml|txt)(.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

    #vbet translator rules start
    RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ forum/ [L,R=301]
    RewriteRule ^forum/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ forum/$[L,R=301]

    RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forum/((archive/)?(.*.php(/.*)?))$ forum/vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond 
    %{REQUEST_FILENAME} !-d
    RewriteCond 
    %{REQUEST_FILENAME} !/(media|admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

    ## Expires
    <ifModule mod_expires.c>
        
    ExpiresActive On
        ExpiresDefault 
    "access plus 1 seconds"
        
    ExpiresByType text/html "access plus 1 seconds"
        
    ExpiresByType image/gif "access plus 3456000 seconds"
        
    ExpiresByType image/jpeg "access plus 3456000 seconds"
        
    ExpiresByType image/png "access plus 3456000 seconds"
        
    ExpiresByType text/css "access plus 3456000 seconds"
        
    ExpiresByType text/javascript "access plus 3456000 seconds"
        
    ExpiresByType application/javascript "access plus 3456000 seconds"
        
    ExpiresByType application/x-javascript "access plus 3456000 seconds"
    </ifModule>

    ## Compression
    <ifmodule mod_headers.c>
        <
    ifmodule mod_deflate.c>
            
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
            BrowserMatch 
    ^Mozilla/4 gzip-only-text/html
            BrowserMatch 
    ^Mozilla/4.0[678no-gzip
            BrowserMatch bMSIE 
    !no-gzip !gzip-only-text/html
        
    </ifmodule>
    </
    ifmodule>

    #Remove index.php from xxxx.com/index.php
    #rewrite engine on 
    RewriteCond %{THE_REQUESTindex.php
    RewriteCond 
    %{QUERY_STRING} ^$
    RewriteRule ^index.php$ / [L,R=301
    我向你們道歉 - 我忘了告訴約 301重定向之前。這是現在。請檢查並告訴“確定”(我不知道規則要求/論壇或者完整的URL前,但它是論壇上的檢查)。如果沒有,我將使用您的訪問資料時,您發送的昨天和在地方設置正確。

    PS。
    拉傑克現在測試腳本中刪除 vBET BBCodes-不久也會上市。

  7. #17
    退休;)
    註冊日期
    2011年8月
    帖子
    441

    Default

    嗨,
    注意!
    這是此腳本的 beta 版本 !

    1、 請創建檔並另存為 ""clearBB.php
    2.放入它下麵的代碼並將其保存
    3.將上傳到您的伺服器, 論壇根
    4. 您的資料庫的備份
    5.請關閉您的論壇
    6.以管理員身份登錄
    7.在您的流覽器,放到目標 url 你 ""clearBB.php
    8.按"清除"按鈕

    PHP Code:
    <?php echo "<input type=\"hidden\" name=\"securitytoken\" value=\"" $vbulletin->userinfo['securitytoken'] . "\" />\n";?>

    <p style="text-align: center">
    Use this program to remove all bbcode tags (from posts, and urls) added by vBET </br>
    To use this script, please log into your forum in other tab
    </br>This script has big influence on your
    database and changes are permanent - <b>can not be undone</b> therefore:
    </br>
    make sure you did the <b>backup of your database!</b> and remember to <b>turn
    off your forum</b> during using this script!</p>


    <form action="clearBB.php?do=execute" method="post"><input type="submit"
        value="clear" style="width: 70%; margin-left: 15%" /></form>

    <?php

    function &basic_clear($pagetext$what_to_clear) {
        if ((
    strpos($pagetext$what_to_clear)) === ){
            
    $i 0;
        } else {
            
    $i 1;
        }
        
    $message_tab explode($what_to_clear$pagetext);
        for (
    $i;$i<count($message_tab); $i++){
            if (
    $message_tab[$i][2] == ']')
            
    $message_tab[$i]=substr($message_tab[$i],3);
        }
        
    $new_message implode('',$message_tab);
        return 
    $new_message;
    }

    function 
    update_pagetext(&$new_message$message_id) {
        global 
    $vbulletin;

        
    $vbulletin->db->query_write("
                            UPDATE " 
    TABLE_PREFIX "post
                               SET pagetext = '"
    .addslashes($new_message)."'
                             WHERE postid = " 
    .$message_id
        
    );
    }

    function 
    update_tittle(&$new_tittle$tittle_id) {
        global 
    $vbulletin;

        
    $vbulletin->db->query_write("
                            UPDATE " 
    TABLE_PREFIX "post
                               SET title = '"
    .addslashes($new_tittle)."'
                             WHERE postid = " 
    .$tittle_id
        
    );
        
    $vbulletin->db->query_write("
                            UPDATE " 
    TABLE_PREFIX "thread
                               SET    title = '"
    .addslashes($new_tittle)."'
                             WHERE firstpostid = " 
    .$tittle_id
        
    );
    }

    require_once(
    './global.php');
    $charset vB_Template_Runtime::fetchStyleVar('charset');

    if (
    $_REQUEST['do'] == 'execute') {
        
        
    $result $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."post WHERE pagetext LIKE '%[lang=%' OR pagetext like '%notranslate%' OR title LIKE '%[langtitle=%'" );
        while (
    $message $db->fetch_array($result)){
            
    //block for clearing post content
            
    if (((strpos($message['pagetext'], 'lang')) !== FALSE) || ((strpos($message['pagetext'], '[notranslate]')) !== FALSE)){
                
    $new_message $message['pagetext'];
                
    $to_remove = array("[/lang]""[lang=zh-TW]""[lang=zh-CN]""[notranslate]""[/notranslate]");
                
    $new_message str_replace($to_remove,'',$new_message);
                if ((
    strpos($message['pagetext'], '[lang=')) !== FALSE){
                    
    $new_message basic_clear($new_message'[lang=');
                }
                
    update_pagetext($new_message,$message['postid'] );
            }
            
    // end block of clear for post


            //block for clearing urls and thread titles
            
    if ((strpos($message['title'], 'langtitle')) !== FALSE){
                
    $new_message_title $message['title'];
                
    $to_remove_title = array('[langtitle=zh-CN]','','');
                
    $new_message_title str_replace($to_remove_title,'',$new_message_title);
                if ((
    strpos($new_message_title'[langtitle='))  !== FALSE){
                    
    $new_message_title=basic_clear($new_message_title'[langtitle=');
                }
                
    update_tittle($new_message_title$message['postid']);
            }

            
    // end of block for clearing urls and threads titles
        
    }
    }
    ?>
    如果您希望僅有"明顯"的 url,請把切鑲的代碼的一部分:
    清除 url 和執行緒 //block 標題 <>-/ / 結束的清除 url 和執行緒標題塊
    比在您的瀏覽器類型的目標,推動“清除”按鈕
    最後編輯者 r.dziadusz; 18-10-1119:27. 原因: 更改代碼

  8. #18
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    非常感謝。我會讓你知道如果我有任何的問題,但信息似乎不夠明確。

  9. #19
    高級會員
    註冊日期
    2011年2月
    帖子
    138

    Default

    的。htaccess不起作用。它不重定向,並增加了首頁 /的URL的public_html /用戶 /等。刪除。

    為什麼有兩個以上員額 17盒嗎?我猜框1是腳本的一個框2是兩個腳本。這很重要,首先運行?
    最後編輯者 norku; 07-10-1118:32.

  10. #20
    退休;)
    註冊日期
    2011年8月
    帖子
    441

    Default

    只有一個腳本 - 第一個
    第二個框,刪除,如果你onlu要清除BBCode代碼從您的網址
    最後編輯者 r.dziadusz; 10-10-1109:06. 原因: 更改代碼

26 First首先 1234 ... 最後Last

標籤這個主題

發帖權限

  • 可能不會 發表新主題
  • 可能不會 發表回复
  • 可能不會 上傳附件
  • 可能不會 編輯您的文章
  •