Tábhachtach: Tá an leathanach seo ag baint úsáide as fianáin (cookies). Ag baint úsáide as an suíomh gréasáin seo gan casadh as fianáin i bhrabhsálaí, ciallaíonn sé go n-aontaíonn tú le haghaidh úsáid a bhaint as é.
Ceannaigh Anois! Gnéithe Íosluchtuithe

Thuilleamh le linn!

Más mian leat chun tús a chur tuilleamh airgid leis an Taisteal páirt a ghlacadh chun Clár Affiliate.
Leathanach 2 de 6 FirstAn Chéad 1234 ... LastLast
Torthaí 11 go 20 de 58

Snáithe: Conas a bhaint as an cód teanga vbet

  1. #11
    Senior Member
    Dáta Ballraíochta
    Feabhra 2011
    Poist
    138

    Default

    Still anseo
    Last edited by norku; 06-10-11 ag 15:03.

  2. #12
    Senior Member
    Dáta Ballraíochta
    Feabhra 2011
    Poist
    138

    Default

    agus fós anseo. Nach bhfuil tú anseo ar bith níos mó ach in ainneoin na PM níos mó ná dhá uair an chloig ó shin nuair a dhéanann tú cinnte Bhí anseo. Tá mé ag dul a dhéanamh ar roinnt tae. Féidir liom fanacht

  3. #13
    Senior Member
    Dáta Ballraíochta
    Feabhra 2011
    Poist
    138

    Default

    agus ar ais. Aon scéal?

  4. #14
    Michał Podbielski (vBET Foirne)
    Dáta Ballraíochta
    Deireadh Fómhair 2009
    Poist
    3,037

    Default

    Quote Seolta ag norku View Post
    Gach rud a d'oibrigh fíneáil leis htaccess i / nuair a bhí mé suiteáilte Taisteal. Sea, rinne mé mo shean-rialacha dtús ach tá siad neamhaird á déanamh. Ní féidir liom a fháil do na rialacha a bheith ag obair i gceachtar / fhóraim nó /. Raibh mé fhágáil díreach rudaí mar atá siad agus é ag breathnú Google piling 404 tar éis 404 i Webmaster Tools ach b'fhearr liom go glan atreorú.

    Want a chur le breathnú? Is féidir liom PM leat admin / ftp rochtana.
    Taispeáin le do thoil dom do. Htaccess roimh baineadh Taisteal. Chomh maith leis sin do thoil nach Spam - tá sé aon chiall. Chomh maith leis sin tabhair faoi deara go bhfuil teachtaireachtaí PM theachtaireachtaí príobháideacha - iad siúd atá ag fanacht níos faide le haghaidh meastóireacht más rud é nach raibh iarrtha agus is féidir fanacht níos faide má tá sé ar cheann de na baill foirne as láthair gnóthach. Go dtí go iarr a sheoladh sonraí ar rochtain scríobh ar fhóram ionas gur féidir lenár bhfoireann go léir cabhrú leat. Ní mionsonraí Rochtana ag teastáil anseo - ach le do thoil seol do iomlán htaccess roimh baineadh Taisteal..

    PS.
    Tá mé ag obair anois ar ceartúcháin i scaoileadh BETA nua - Radek a bhí anseo agus nach bhféadfadh sé cabhrú leat mar gheall leat eolas a sheoladh chuig dom ag AM. Tá brón orm go raibh tú chun fanacht.

  5. #15
    Senior Member
    Dáta Ballraíochta
    Feabhra 2011
    Poist
    138

    Default

    Turscar?! Bhí tú ar an fóram roimh, le linn agus tar éis an pointe nuair a chuir mé go PM. Chuir mé é tar éis fanacht ar feadh tréimhse mhaith ama le freagra ar an snáithe. Más rud é nach féidir leat a bheith bothered dragging féin ar shiúl ar feadh cúpla soicind ceist a fhreagairt ansin d'fhéadfaí tú ar a laghad tar éis aitheantas a fháil ar an AM. Ba chúis leis an bhfadhb TÚ mé ag fulaingt. Taisteal NÍ OBAIR mar atá fógraithe (yes, thar do rialú a fhios agam) agus tá gach Ba mhaith liom chun é a fháil as mo fóram go tapa. Ach ní féidir é a suiteáilte díreach cosúil le gach Vb eile add-on. Oh no, mar go bhfágann teangacha tacaithe ag a bb cód splattered fud na háite.

    Níláit ar do shuíomh bhfuil cur síos iomlán ar conas Taisteal a bhaint. Uimh nuair a dhéanann tú insint dúinn nach mbeidh an cód bb a bhaint nuair a dhíshuiteáil agus go mbeidh muid ag fanacht le haghaidh laethanta le huirlis chun é a bhaint di. Ba chóir go mbeadh uirlis a bheith mar chuid den phacáiste a shuiteáil ach tú nach bhfuil cosúil go soiléir ag caint faoi sin. Ina áit sin liom a fháil freagra unbelievably sotalach nuair a dúirt tú riamh go héifeachtach gur mheas tú ar an bhféidearthacht go mbeadh duine ar bith ag iarraidh Taisteal a dhíshuiteáil?!

    Mar sin, tá mé anois na mílte naisc innéacsaithe atá anois go léir 404s tháirgeadh agus cúpla céad post ina bhfuil do chód BB agus MÉ AN FHADHB A??

    Chomh fada agus na athsheolaidh atá i gceist cad ba mhaith leat a fhios? Tá mé an seomra vb suiteáilte ag / fóram mar tá mé dúirt tú arís agus arís eile. Chun a fháil Beidh Taisteal ag obair le Vb suiteáilte ag / fóram ach sraith amháin de athsheolaidh oibre agus tá a fhios agam go bhfuil a fhios agat go bhfuil. Thairg mé tú rochtain ftp agus admin ionas gur féidir leat a chur le breathnú ar do shon féin ach tú nach léir nach bhfuil an méid céanna ama mar a bhí tú nuair a bhí mé fós le custaiméir ....


    Anseo tá htaccess roimh a bhaint Taisteal. Bhí sé suite i public_html agus d'oibrigh go foirfe (Tá mé vb suiteáilte ag / fóram)


    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
    Last edited by norku; 07-10-11 ag 10:27.

  6. #16
    Michał Podbielski (vBET Foirne)
    Dáta Ballraíochta
    Deireadh Fómhair 2009
    Poist
    3,037

    Default

    Tabhair faoi deara go bhfuil teachtaireachtaí athrá mheas Spam - ar gach fóram a fhios agam. Níl mé ag iarraidh a phlé maidir le sainmhíniú ar Spam - ach ní déan arís. Tuigim má bhí do theachtaireacht ag fanacht cúpla lá, mar gheall ar a chailleann sé roinnt againn conas - ba mhór againn fiú a mheabhrú, ach 3 uair an lá céanna ...

    . Ba chóir do htaccess breathnú mar seo:
    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
    Chomh maith leis sin mo leithscéal - Rinne mé dearmad a insint duit faoi 301 atreorú roimh. Tá sé leagtha síos ann anois. Seiceáil le do thoil agus insint go bhfuil sé ceart go leor (Níl mé cinnte nach gá le rialacha / roimh an fhóraim nó b'fhéidir URL iomlán, ach tá sé rud éigin a sheiceáil ar fhóram). Más rud é nach mbeidh mé úsáid do rochtain ar shonraí a sheolann tú inné agus leag sé ceart ar siúl.

    PS.
    Radek Tá tástáil faoi ceart anois script a bhaint BBCodes Taisteal - ba chóir é a bheith ar fáil go luath.

  7. #17
    Scortha;)
    Dáta Ballraíochta
    Lúnasa 2011
    Poist
    441

    Default

    Dia duit,
    Tabhair faoi deara!
    Is é seo an leagan béite seo a script!

    1.Please chruthú comhad a shábháil agus é mar "ClearBB.php"
    2.Put an cód seo thíos isteach é agus a shábháil sé
    3.Upload ar do fhreastalaí, Fréimhe Fóram
    4.Do an cúltaca de do bhunachar sonraí
    5.Turn as do fóram
    6.Log i mar do admin
    7.In do bhrabhsálaí, a chur moladh le ceann scríbe le do "ClearBB.php"
    8.Press "soiléire" a bhrú

    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
        
    }
    }
    ?>
    Más mian leat ach go bhfuil "soiléire" do thoil URLanna a ghearradh mar chuid de chód bordered sé le:
    / / Bloc do imréitigh teidil URLanna agus snáithe <-> / / deireadh an bloc do URLanna imréitigh agus teidil snáitheanna
    Ná i do bhrabhsálaí chineál scríbe dó, agus a bhrú ar an "soiléire" a bhrú
    Last edited by r.dziadusz; 18-10-11 ag 19:27. Cúis: ag athrú cód

  8. #18
    Senior Member
    Dáta Ballraíochta
    Feabhra 2011
    Poist
    138

    Default

    Go raibh maith agat go mór. Feicfidh mé in iúl duit má tá aon fhadhb agam ach is cosúil an t-eolas soiléir go leor.

  9. #19
    Senior Member
    Dáta Ballraíochta
    Feabhra 2011
    Poist
    138

    Default

    Níl. Htaccess obair. Ní chuireann sé atreorú agus cuireann baile / public_html / úsáideora / srl leis an moladh. Bhaint astu.

    Cén fáth a bhfuil dhá bhosca in iar 17 thuas? Tá mé guessing go bhfuil an bosca 1 script amháin agus go bhfuil an bosca 2 script dhá. An bhfuil sé ábhar atá á reáchtáil ar dtús?
    Last edited by norku; 07-10-11 ag 18:32.

  10. #20
    Scortha;)
    Dáta Ballraíochta
    Lúnasa 2011
    Poist
    441

    Default

    Is Ther ach aon script - chéad cheann
    Tá bosca Dara a bhaint más onlu tú ag iarraidh BBCode a ghlanadh ó do URLanna
    Last edited by r.dziadusz; 10-10-11 ag 09:06. Cúis: ag athrú cód

Leathanach 2 de 6 FirstAn Chéad 1234 ... LastLast

Clibeanna le haghaidh an Thread

Ríomhphostaithe

  • Leat Is féidir nach snáitheanna post nua
  • Leat Is féidir nach post freagraí
  • Leat Is féidir nach ceangaltán post
  • Leat Is féidir nach in eagar do phoist
  •