PDA

View Full Version: Solved Jinsi ya kuondoa vbet lugha code



norku
05-10-11, 10:41
Mimi imesakinushwa vbet lakini code lugha haikubadilishwa [lang = x], etc I don't want to have to go through hundreds of pages to remove them manually so did I miss a step? Can the code be removed without having to go through every single thread/post?

r.dziadusz
05-10-11, 12:33
Sasa hivi uninstalling vBET si safi BBcode, tafadhali kumbuka kwamba kurasa katika lugha ya kigeni kukaa katika lugha hii, hivyo wewe waliopotea watumiaji baada ya kuondoa vBET, zaidi ya hayo itakuwa vigumu sana kusoma posts untranslated hiyo - labda bora ufumbuzi ni kufuta posts haya wakati wote.
Lakini kama unataka kufuta tu "[lang = x" nk naweza kanuni kwa ajili yenu robot-safi na mwisho wa wiki

norku
05-10-11, 12:42
Kile kinachohitajika ni URL kusafisha ... url kwa nyuzi ambayo walikuwa posted na mtu ambaye alikuwa na lugha ya kigeni kuweka katika profile yao bado kuonyesha [langtitle = x] [/ langtitle] Je, mimi kurekebisha hayo?

I got kuepuka [lang = x], [/ lang], [notranslate] etc by using vb censoring. I desperately need help with the urls though...

Here's one: .xxxxx.com/forum/f23/[ langtitle=fr]insigne-vrai-ou-faux-[-langtitle]-5565/


How do I get the rubbish out and turn it into:

http://www.xxxxx.com/forum/f23/Dinsigne-vrai-ou-faux-5565/

norku
05-10-11, 13:46
Sorry lakini mimi haja ya mapema hii ...

Pia, imetuma viungo sasa redundant katika ripoti ya Google kurasa lugha ya kigeni kwenye jukwaa wangu?

vBET
05-10-11, 13:59
Kama Radek aliandika - sisi kujiandaa kwa ajili ya wewe robot (PHP script) ambao wote kuondoa lang, langtitle na BBCodes notranslate. Hii itafanyika na zinazotolewa na wewe katika wiki hii.

Kama una langtitle katika URL ina maana langtitle kuwa ni pamoja na katika cheo thread. Tu mabadiliko ya jina la thread na kuondoa hiyo. Katika maeneo ambayo ni muhimu na hawezi kusubiri tafadhali tu mabadiliko hayo manually. Katika maeneo mengine tafadhali kusubiri kwa script.

norku
05-10-11, 14:05
Hi,

Kwa nini si wewe kuwaonya watu kwamba kanuni vbet bb si kuondolewa wakati wewe Kibao? Mbona wewe tayari kuwa chombo kama unajua kwamba hii hutokea? Nashukuru msaada lakini ningependa kinda kama kikamilifu Kibao na si kusubiri kwa wiki wakati Google bahati sahihi urls ...

Je kuhusu kuelekeza kwa da /, / de, / threads es nk ambayo tayari Google indexed?

vBET
06-10-11, 02:24
Hi,

jibu kwa swali lako ni kibanda - kwa sababu ni kweli uncommon kufuta vBET wakati ni kweli zinahitajika na kutumika. Tulikuwa na kuuliza kwa chombo vile mara moja kabla, lakini mtumiaji aliamua kukaa na vBET na tu tuned yake ipasavyo.

Pia hatuwezi kufanya hivyo katika utaratibu wa kufuta - kusanidua hawezi kuwa uwezekano wa madhara. Nini unahitaji itahitaji database Backup katika kesi ya matatizo yoyote.

Pia tafadhali kumbuka kuwa kama una walemavu vBET basi Google si sahihi index URLs, kwa sababu vile si kuonyeshwa.

Kwa tayari indexed - tu kuunda kanuni redirection ambayo wale kuelekeza maombi yote nyuma ya asili moja. Kutumia hii (tafadhali mtihani wale):


#RewriteRule ^/?(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)/$ / [L,QSA]
#RewriteRule ^/?(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)/(.*)?$ /$2 [L,QSA]

Kuongeza jukwaa yako directory huko. kama una shida tu kutupa vBET sheria yako na tutakutumia nyuma iliyopita. Au kwa maneno mengine - wale ni 2 kwanza vBET sheria ambapo unapaswa kuondoa vbenterprisetranslator_seo.php vbet_lang = $ 1 & itaelekezwa =?

norku
06-10-11, 09:51
sheria rewrite hawana kazi. Kila umri ukurasa vbet inaitwa inazalisha 404.

Nina vB imewekwa katika jukwaa /

. Htaccess ni katika public_html


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)/$ / [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)/(.*)?$ /$2 [L,QSA]



Habari yoyote juu ya chombo BB code kuondolewa?

vBET
06-10-11, 11:37
Forum directory aliongeza katika mahali sahihi, matumizi ya hii moja:


RewriteRule ^/?(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,QSA]
RewriteRule ^/?(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/$2 [L,QSA]
#just comment to see whole 2nd rule


Lakini hii si kudhani kuwa katika public_html tu katika saraka ya jukwaa. Njia bora ni - kutumia sheria tu alikuwa kabla na kurekebisha hayo. Kama huna lolote, basi tutakuwa na kupata haki ya mmoja. Kutumia katika jukwaa saraka yako ya kwanza. Kama unataka kutumia katika saraka kuu, kisha kuangalia kwanza bila jukwaa ziada /

norku
06-10-11, 13:18
Kila kitu kazi nzuri na Htaccess katika / Nilipokwisha vbet imewekwa. Ndiyo, nilijaribu wangu sheria ya zamani ya kwanza lakini wao ni kuwa kupuuzwa. Siwezi kupata sheria yako ya kufanya kazi katika jukwaa ama / au /. Mimi nilikuwa tu kuacha mambo kama wao ni kuangalia na Google piling 404 baada ya 404 katika mtambo wa Webmaster lakini Ninapendelea safi redirect.

Wanataka kuchukua kuangalia? Siwezi PM wewe admin / FTP kufikia.

norku
06-10-11, 14:34
Bado hapa

norku
06-10-11, 16:20
na bado hapa. Wewe si chochote hapa zaidi ingawa licha PM juu ya masaa mawili iliyopita wakati wewe dhahiri walikuwa hapa. Mimi nina kwenda kufanya baadhi ya chai. Siwezi kusubiri

norku
06-10-11, 19:39
na nyuma. Habari yoyote?

vBET
06-10-11, 21:25
Kila kitu kazi nzuri na Htaccess katika / Nilipokwisha vbet imewekwa. Ndiyo, nilijaribu wangu sheria ya zamani ya kwanza lakini wao ni kuwa kupuuzwa. Siwezi kupata sheria yako ya kufanya kazi katika jukwaa ama / au /. Mimi nilikuwa tu kuacha mambo kama wao ni kuangalia na Google piling 404 baada ya 404 katika mtambo wa Webmaster lakini Ninapendelea safi redirect.

Wanataka kuchukua kuangalia? Siwezi PM wewe admin / FTP kufikia.

Tafadhali show me yako Htaccess. Kabla vBET iliondolewa. Pia tafadhali wala Spam - ina maana yoyote. Pia tafadhali kumbuka kuwa PM ujumbe ni ujumbe binafsi - wale ni kusubiri tena kwa ajili ya tathmini kama hakuwa aliomba na wanaweza kusubiri kwa muda mrefu kama mmoja wa wafanyakazi wetu ni watoro busy. Mpaka kuulizwa kutuma data upatikanaji tafadhali andika kwenye jukwaa ili wafanyakazi wetu wote wanaweza kukusaidia. Maelezo Access zinahitajika hapa - tu tafadhali tuma yako kamili Htaccess kabla vBET iliondolewa..

PS.
Nina kazi sasa juu ya marekebisho katika kutolewa mpya BETA - Radek alikuwa hapa na hakuweza kusaidia wewe kwa sababu wewe kutuma info kwangu na mchana. Samahani wewe ilibidi kusubiri.

norku
07-10-11, 09:05
Taka?! Wewe ulikuwa kwenye jukwaa kabla, wakati na baada ya mahali ambapo mimi alimtuma kwamba PM. Mimi nimewatuma baada ya kusubiri kwa kipindi cha kuridhisha cha muda kwa ajili ya jibu juu ya thread. Kama huwezi kuwa bothered dragging mwenyewe mbali kwa wanandoa wa sekunde kujibu swali basi unaweza angalau walikiri kupokea PM. YOU unasababishwa tatizo mimi nina zinaendelea. Vbet Haina KAZI kama kutangazwa (ndiyo, nje ya uwezo wako najua) na yote nataka ni kupata ni mbali jukwaa yangu haraka. Lakini haiwezi kuwa tu kusaniduliwa kama Vb kila mengine kuongeza-juu. Oh no, kwa sababu Vbet majani kanuni zake BB splattered kila mahali.

Hakuna mahali popote kwenye tovuti yako ni kuna maelezo kamili ya jinsi ya kuondoa Vbet. Hakuna wapi kutuambia kwamba BB code hautaondolewa wakati sisi Kibao na kwamba tutakuwa na kusubiri kwa siku kwa chombo kuondoa hiyo. Kwamba chombo inapaswa kuwa sehemu ya mfuko wa kufunga lakini kwa uwazi si kama kuzungumza juu ya kwamba. Badala yake mimi kupata jibu unbelievably kiburi ambapo wewe kwa ufanisi alisema kwamba kamwe kuchukuliwa uwezekano kwamba mtu yeyote bila kusanidua Vbet?!

Kwa hiyo, mimi sasa maelfu ya viungo indexed ambayo ni sasa wote 404s kuzalisha na wachache posts mia zenye code yako BB na I AM TATIZO?

Mbali kama redirects wasiwasi nini unataka kujua? Nina Suite vB imewekwa katika jukwaa / kama nimekuwa aliiambia wewe kurudia. Ili kupata Vbet kufanya kazi na Vb imewekwa katika / jukwaa moja tu ya kuweka redirects kazi na Mimi najua kuwa wewe kujua kwamba. Nilipotaka wewe ftp na admin upatikanaji ili uweze kuangalia kwa mwenyewe lakini kwa uwazi hawana kiasi hicho kama wewe alikuwa wakati mimi bado wateja ....


Hapa ni kabla ya kuondoa Htaccess vbet. Ilikuwa iko katika public_html na kazi kikamilifu (nina vB imewekwa katika jukwaa /)



# 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=$1 [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/$2 [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[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>

#Remove index.php from xxxx.com/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index\.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index\.php$ / [L,R=301]

vBET
07-10-11, 12:35
Tafadhali kumbuka kwamba ujumbe kurudia ni kuchukuliwa Spam - juu ya kila jukwaa najua. Sitaki kujadili kuhusu ufafanuzi wa Spam - tu tafadhali wala kurudia. Mimi kuelewa kama ujumbe wako alikuwa kusubiri siku chache, kwa sababu sisi miss ni baadhi ya jinsi - itakuwa appreciated hata kuwakumbusha, lakini mara 3 siku hiyo ...

. Yako Htaccess inapaswa kuangalia kama hii:


# 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=$1 [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/$2 [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[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>

#Remove index.php from xxxx.com/index.php
#rewrite engine on
RewriteCond %{THE_REQUEST} index.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index.php$ / [L,R=301]


Pia msamaha wangu - I forgot kukuambia kuhusu 301 redirect kabla. Ni imewekwa hapo sasa. Tafadhali angalia na kuwaambia ni OK (mimi nina uhakika haina sheria zinahitaji / kabla ya jukwaa au labda kamili URL, lakini ni kitu kwa kuangalia kwenye jukwaa). Kama si nitatumia kupata data yako kutuma jana na kuweka sahihi juu ya mahali.

PS.
Radek ni kupima haki sasa script kuondoa BBCodes vBET - ni lazima inapatikana hivi karibuni.

r.dziadusz
07-10-11, 14:46
Hi,
Kumbuka!
Hii ni beta toleo la script hii!

1.Please kuunda faili na ila ni kama "clearBB.php"
2.Put code chini ndani yake na kuokoa ni
3.Upload kwa server mizizi yako, jukwaa
4.Do Backup ya hifadhidata yako
5.Turn mbali jukwaa yako
6.Log katika kama admin
7.In browser yako, kuweka url na marudio na "clearBB.php" yako
8.Press "wazi" button


<?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)) === 0 ){
$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')) !== FALSE) || ((strpos($message['pagetext'], '')) !== FALSE)){
$new_message = $message['pagetext'];
$to_remove = array(""," [Lang = zh-TW] "," [lang = zh-CN] ","[notranslate]", "");
$ New_message = str_replace ($ to_remove,'', $ new_message);
kama ((strpos ($ ujumbe ['pagetext'], '[lang =')) ==! UONGO) {
$ New_message = basic_clear ($ new_message, '[lang =');
}
update_pagetext ($ new_message, $ ujumbe ['postid']);
}
/ / Mwisho block ya wazi kwa ajili ya post


/ / Kwa ajili ya kuzuia clearing vyeo urls na thread
kama ((strpos ($ ujumbe ['cheo'], 'langtitle')) ==! UONGO) {
$ New_message_title = $ ujumbe ['cheo'];
$ To_remove_title = array ('[langtitle = zh-CN]','','');
$ New_message_title = str_replace ($ to_remove_title,'', $ new_message_title);
kama ((strpos ($ new_message_title, ');
}

// end of block for clearing urls and threads titles
}
}
?>

Kama unataka tu kuwa na "wazi" urls tafadhali kukata sehemu ya maadili ya Imepakana na:

//block for clearing urls and thread titles <--> / / Mwisho wa kuzuia kwa clearing urls na vyeo nyuzi
Kuliko katika browser yako ya aina marudio, na kushinikiza "wazi" button

norku
07-10-11, 18:13
Shukrani sana. Mimi itabidi basi wewe kujua kama mimi kuwa na matatizo yoyote lakini habari inaonekana wazi kutosha.

norku
07-10-11, 18:30
. Htaccess haifanyi kazi. Haina redirect na anaongeza nyumbani / public_html / user / nk kwa url. Kuondolewa.

Kwa nini kuna masanduku mbili katika post 17 hapo juu? Mimi guessing kwamba sanduku 1 ni script moja na kwamba sanduku 2 ni script mbili. Je, ni jambo ambalo ni kukimbia kwanza?

r.dziadusz
07-10-11, 22:05
Ther ni moja tu script - kwanza moja
Sanduku ya pili ni kuondoa kama wewe onlu unataka kufuta bbcode kutoka urls yako

norku
08-10-11, 11:20
Shukrani. Mimi nina kupata hii wakati mimi kujaribu kukimbia ni:

"Utii yako inaweza kuwa ishara ya usalama wa kusindika kwa sababu alikuwa missing.

Kama haya yalifanyika bila kutarajia, tafadhali taarifa msimamizi na kuelezea hatua wewe kazi kabla ya kupokea hili kosa ".

Nilijaribu kwa kutumia ngozi default script na pia kwa Plugins walemavu katika config.php. Bado haifanyi kazi.

vBET
08-10-11, 12:09
Tafadhali jaribu kwanza kuingia katika baraza lako, na kisha kufungua script katika kivinjari kimoja. Tafadhali alifanya hivyo kusaidia.

norku
08-10-11, 12:33
Mimi :) ilikuwa logged in mimi pia kufunguliwa script katika dirisha moja.


Edit: smilie haina maana kwamba tatizo akaenda zake. Siwezi kukimbia script.

Zaidi ya hariri: tafadhali angalia post 19. htaccess wewe posted haifanyi kazi.

Mimi nimewatuma FTP na admincp kupata saa kadhaa iliyopita kama wewe ombi.




Moja zaidi hariri tu ili kuepuka swali kuepukika na kuokoa muda hapa ni kiungo mfano sasa katika ripoti ya Google:
http://www.xxxx.com/forum/no/f72/just-an mfano-726 /

Hii ni matokeo ya kuelekeza wakati mimi kutumia htaccess wako katika post 16:
http://www.xxxx.com/home/xx/public_html/forum/f72/just-an-example-726/

Ninahitaji ya hariri katika sheria yako ili kuondoa nyumbani / xx / public_html /?

vBET
08-10-11, 23:44
Nilikuwa katika server yako na yako suala hilo. Htaccess ni kutatuliwa. Kama nilivyoandika mimi hakuwa na uhakika unahitaji / mwanzo wa anwani-kuelekeza au ilikuwa ni lazima. Ni sawa sasa - tafadhali angalia na kuthibitisha.

Radek itakusaidia kwa script suala yako - atakuwa kazi Jumatatu. Sorry itachukua baadhi muda zaidi, lakini Radek ilikuwa kujenga na kupima script - yeye ni bora mtu wa kukusaidia. Kama ni kweli kitu gani hawezi kusubiri hadi Jumatatu tafadhali napenda kujua na mimi kutumia Jumapili wakati wa kuangalia ni. Hope si kweli hivyo haraka.

norku
09-10-11, 13:19
Kubwa. Asante. kuelekeza ni kufanya kazi kikamilifu.

script si hivyo haraka lakini kama inaweza kuangaliwa juu ya Jumatatu kwamba itakuwa bora.

r.dziadusz
10-10-11, 08:39
Sorry wewe kusubiri muda mrefu
Nimekuwa kanuni mwisho katika post yangu ya awali (CLICK
Tafadhali jaribu kutumia moja mpya


Shukrani. Mimi nina kupata hii wakati mimi kujaribu kukimbia ni:

"Utii yako inaweza kuwa ishara ya usalama wa kusindika kwa sababu alikuwa missing.

Kama haya yalifanyika bila kutarajia, tafadhali taarifa msimamizi na kuelezea hatua wewe kazi kabla ya kupokea hili kosa ".

Nilijaribu kwa kutumia ngozi default script na pia kwa Plugins walemavu katika config.php. Bado haifanyi kazi.

Ndiyo, lakini ni vizuri kujua suala la vBulletin, mimi nina kuelezea ni yao, kwa sasa, lakini kwa sasa tafadhali kutumia kanuni mpya muda zaidi, na tafadhali kujaribu kubadili jina faili

Hariri
Tafadhali niambie ambayo toleo la vBulletin gani unatumia?

norku
10-10-11, 11:11
Hi,

Mimi aliongeza kanuni yako mpya, jina faili na alijaribu kukimbia lakini mimi bado kupata ujumbe kuhusu ishara usalama. Mimi nina kutumia vB Suite toleo 4.1.6

r.dziadusz
10-10-11, 21:46
Nimekuwa ni pamoja na baadhi ya ladha vBulletin, na kufanya kanuni hii kasi, tafadhali jaribu sasa: CLICK na napenda kujua, kama inasaidia

raymond
11-10-11, 04:26
Nikaona saa kanuni na kuona hii.


<form action="clearBB.php?do=execute" method="post"> <pembejeo aina = "kuwasilisha"
thamani = "wazi" style = "width: 70%; margin-kushoto: 15%" /> </ form>

Labda script itabidi jina kama clearBB.php?

raymond
11-10-11, 04:49
Kazi kwa ajili yangu.
Mimi kunakiliwa code, pasted kwa mhariri asilia na kuokoa ni kama clearBB.php
Pakia clearBB.php katika mizizi ya jukwaa vBulletin.
Logged katika kama admin, karibu na ubao kukimbia clearBB.php kutoka mtandao browser yangu.
Bonyeza kifungo wazi.

Voila, tag zote za lugha imekuwa akalipa.

Shukrani kwa vBSEO, wale wote waliokufa viungo ni ya kudumu itaelekezwa awali thread :)

r.dziadusz
11-10-11, 06:08
Nikaona saa kanuni na kuona hii.

<form action="clearBB.php?do=execute" method="post"> <pembejeo aina = "kuwasilisha"
thamani = "wazi" style = "width: 70%; margin-kushoto: 15%" /> </ form>

Labda script itabidi jina kama clearBB.php?

Ndiyo, walikuwa sahihi, lakini tatizo na Ishara missing, ni juu ya line nyingine ni hii kanuni - moja kwamba anatoa haki ya kutekeleza faili.
Fikiria suala hili kutatuliwa, au unaweza kupata maswali yoyote

norku
11-10-11, 10:20
Shukrani Raymond. Kwamba fasta kosa ishara kwa ajili yangu.

Hii si 'kutatuliwa' ingawa r.dziadusz ...

Tatizo baada ya mbio script: zote apostrophes uliopita (na quotation alama) ni sasa katika ASCII Html ':', "mawazo yoyote juu ya jinsi ya kutatua tatizo hili? (I have vbseo na alijaribu badala tabia kazi - haifanyi kazi mimi pia upya cache post baada ya mbio script BB -. Hakubadili chochote). Apostrophes tu na alama Nukuu huko walikuwa kabla script ilikuwa kukimbia wameathirika (mpya posts zenye yao kuonyesha mapenzi kwa kawaida) Siwezi 'kudanganya' fix ubaguzi kwa kutumia vB kukaguliwa lakini nisingependa si.

Pia, ni kuonyesha & kila mahali kama &

Tatizo 2: kwa sababu fulani mimi na hii BB code katika baadhi ya maeneo: [Lang = x], [lang = x] nk Je, mimi kurekebisha script yako (clearBB.php) kuua wale pia?

r.dziadusz
11-10-11, 12:18
Samahani nimekuwa alama kama kutatuliwa, mimi walidhani kazi kwa nyote wawili
Nami kuchunguza kwa nini wewe kupata ', tafadhali niambie nini seti si unatumia (kueleza jinsi ya kufanya hivyo, unaweza kupata katika faili readme.html)
Kuhusu tatizo la pili, ni kwa sababu watumiaji appeard kuongeza "lang" code manualy
Kama unataka kuondoa ii kutumia script wangu kwa kesi ya kwanza [Lang = x]
tafadhali kupata mistari haya:

kama ((strpos ($ ujumbe ['pagetext'], '[lang =')) ==! UONGO) {
$ New_message = basic_clear ($ new_message, '[lang =');
}

na hasa baada ya kuweka:

kama ((strpos ($ ujumbe ['pagetext'], '[Lang =')) ==! UONGO) {
$ New_message = basic_clear ($ new_message, '[Lang =');
}


-Hii si kipimo ni kurekebisha haraka
lakini katika kesi ya pili [lang = x] bbcode hii haina kazi na ni ngumu zaidi, pia unaweza kuathiri na baadhi ya matatizo zaidi, becouse wewe kunionyesha tag pamoja na mapengo mawili, lakini sijui kama kulikuwa ndio na tatu mapengo nk, na becouse ya kwamba unaweza kuwa na baadhi ya maandishi cutted, i haja ya kufikiri kama inawezekana kuondoa tags kama hii kwa usalama.

Hariri
Kuhusu 'sisi ni curently kazi yake Pleae kusubiri pili

norku
11-10-11, 12:45
Hi na shukrani. Nilianza thread mpya juu ya hili, hivyo unaweza kufuta tafadhali?

Charset yangu ni ISO-8859-1

Shukrani pia kwa maelezo juu ya script.

Kuangalia mbele kusikia kutoka kwenu juu ya jambo ASCII html kama mimi ingekuwa kweli kama kupata kwamba fasta.

r.dziadusz
11-10-11, 19:17
Hi bado kazi yake, inabidi kuondokana na baadhi ya muda vBulletin suala hilo katika mtihani forum yetu, sorry kwa kuchelewa, utapata ufumbuzi haraka iwezekanavyo!

r.dziadusz
12-10-11, 11:09
Hi i kujua kile inaonekana kuwa suala hilo, mimi nadhani kutumia toleo la awali la clearBB hivyo kama mimi alisema ni toleo beta.
Kuondoa & nk tafadhali kurejesha database yako kutoka Backup yako tu kabla ya kutumia robot, na kuunda faili hii tena hasa kama ni descrption: CLICK kutumia sasa - (si uliopita, inaweza kuunda tatizo - sorry kwa kuwa) toleo la script

norku
12-10-11, 15:04
Na kupoteza muda wa siku 2 thamani ya posts / nyuzi kwenye jukwaa walioathirika? Siwezi kufanya hivyo ...

r.dziadusz
12-10-11, 16:20
Ok i anaweza kujenga kwa mwingine script kwamba kuondoa yote ', ", &
Sorry kwamba hii ASCI html codes inaonekana, lakini tafadhali kumbuka kwamba matumizi ya toleo beta wa bidhaa hii, sisi kufanya kitu chochote ili kukusaidia

norku
12-10-11, 17:19
Hiyo itakuwa bora. Shukrani. Je script kuondoa yao hata kama ni alijiunga kwenye maneno mengine kama hii: "Munchen-Nordwest"?

r.dziadusz
12-10-11, 17:31
Pia ni beta toleo

1.Please kujenga na kuokoa faili kama "decode.php"
2.Put code chini ndani yake na kuokoa ni
3.Upload kwa server mizizi yako, jukwaa
4.Do Backup ya hifadhidata yako
5.Turn mbali jukwaa yako
6.Log katika kama admin
7.In browser yako, kuweka url na marudio na "clearBB.php" yako
8.Press "wazi" button
<Php echo "<input type=\\"hidden\\" name=\\"securitytoken\\" value=\\"" $vbulletin-> userinfo ['securitytoken'].." \\? "/> \\ N";?>

<p style="text-align: center">
Tumia programu ya mabadiliko ya asci html code katika ishara "kawaida"
</ Br> script hii ina athari kubwa juu yako
database na mabadiliko ni ya kudumu - <b> hawezi kuwa undone </ b> kwa hiyo:
</ Br>
kuhakikisha kwamba alifanya Backup <b> ya database yako! </ b> na kumbuka <b> kugeuka
mbali jukwaa yako </ b> wakati wa kutumia script </ p>!


<form action="decode.php?do=execute" method="post"> <pembejeo aina = "kuwasilisha"
thamani = "wazi" style = "width: 70%; margin-kushoto: 15%" /> </ form>

<Php?

kazi update_pagetext (& $ new_message, $ MESSAGE_ID) {
kimataifa $ vBulletin;

$ VBulletin-> db-> query_write ("
UPDATE ". TABLE_PREFIX." Post
SET pagetext = '"addslashes. ($ New_message)."'
WAPI postid = "$. MESSAGE_ID
);
}

kazi update_tittle (& $ new_tittle, $ tittle_id) {
kimataifa $ vBulletin;

$ VBulletin-> db-> query_write ("
UPDATE ". TABLE_PREFIX." Post
SET title = "addslashes ($ new_tittle).." '
WAPI postid = "$. Tittle_id
);
$ VBulletin-> db-> query_write ("
UPDATE "TABLE_PREFIX.." Thread
SET title = "addslashes ($ new_tittle).." '
WAPI firstpostid = "$. Tittle_id
);
}


require_once ('/ global.php.');


kama ($ _REQUEST ['kufanya'] == 'kuwaua') {
$ To_remove = array (">", "<", "&", "'", """);

$ Matokeo = $ vBulletin-> db-> query_read ("CHAGUA * KUTOKA". TABLE_PREFIX. "Baada ya WAPI KAMA pagetext'%>%' AU pagetext kama'%<%' AU pagetext kama'%&%' AU pagetext kama'%'%' AU pagetext kama'%"%' AU KAMA'%&%' cheo au jina LIKE'%'%' AU KAMA'%<%' cheo au jina kama ' %>% 'au jina LIKE'%"%' ");
wakati ($ ujumbe = $ db-> fetch_array ($ matokeo)) {
$ New_message = $ ujumbe ['pagetext'];
kama ((strpos ($ ujumbe ['pagetext'],'>')) ==! UONGO) {
$ New_message = str_replace ('>','>',$ new_message);
}
kama ((strpos ($ ujumbe ['pagetext'],'<')) ==! UONGO) {
$ New_message = str_replace ('<','<',$ new_message);
}
kama ((strpos ($ ujumbe ['pagetext'],'&')) ==! UONGO) {
$ New_message = str_replace ('&','&',$ new_message);
}
kama ((strpos ($ ujumbe ['pagetext'],''')) ==! UONGO) {
$ New_message = str_replace (''',"'",$ new_message);
}
kama ((strpos ($ ujumbe ['pagetext'],'"')) ==! UONGO) {
$ New_message = str_replace ('"','"',$ new_message);
}

update_pagetext ($ new_message, $ ujumbe ['postid']);

$ New_title = $ ujumbe ['title'];
kama ((strpos ($ ujumbe ['title'],'>')) ==! UONGO) {
$ New_title = str_replace ('>','>',$ new_title);
}
kama ((strpos ($ ujumbe ['title'],'<')) ==! UONGO) {
$ New_title = str_replace ('<','<',$ new_title);
}
kama ((strpos ($ ujumbe ['title'],'&')) ==! UONGO) {
$ New_title = str_replace ('&','&',$ new_title);
}
kama ((strpos ($ ujumbe ['title'],''')) ==! UONGO) {
$ New_title = str_replace (''',"'",$ new_title);
}
kama ((strpos ($ ujumbe ['title'],'"')) ==! UONGO) {
$ New_title = str_replace ('"','"',$ new_title);
}
update_tittle ($ new_title, $ ujumbe ['postid']);
}
}
?>

r.dziadusz
12-10-11, 17:36
Pole kwa style lakini kama i kuiweka katika [php] tag, &amp; changes into & etc.

norku
12-10-11, 17:53
Walijaribu tu script na haiondoi html ascii kama ni alijiunga kwenye neno. Hapa ni mfano: Hizi ni stunning. Naweza &#039; t msaada na tathmini ...

Ninatakiwa kuwa kuona screen matokeo baada ya mimi kukimbia script?

norku
12-10-11, 18:49
Oh kubwa, katika hatua ya kufuta http:// "/; xxxxxxxxxxxxxxxx" imekuwa aliongeza kwa mzigo wa viungo wa ndani katika posts .... Hakuna hata sasa kazi ya shaka. Si furaha

r.dziadusz
13-10-11, 10:18
baadhi ya hatua ya kufuta
Wakati Unatumia pili script ndiyo? Pia kama kitu fulani kitaenda vibaya tu kurejesha database yako kutoka Backup, wakati wa kutumia code wewe jukwaa inapaswa kufunga chini kwa hivyo lazima losts hakuna.
Pia naweza esly chang script pili kuondoa code html hata kama ni ndani ya baadhi ya maneno, pole kwa hii unonvinient

norku
13-10-11, 23:33
Hi,

Mimi kukimbia matoleo yote ya script juu database sawa (ndiyo, kwa jukwaa imefungwa kama kwa maelekezo yako).

Mimi alitumia masaa 8 leo kwenda kwa mamia ya nyuzi kurekebisha viungo wa ndani na "nk Mimi ni umakini kuchoka sasa hivyo kama unaweza kufanya mimi script ambayo kuondoa # 039;", & hata kama ni sehemu ya maneno kwamba itakuwa kubwa kabisa :)

Hariri: Je script pia kurekebisha viungo vya ndani kama moja katika post # 43 hapo juu?

r.dziadusz
14-10-11, 08:45
script ambayo sasa Nawaandikieni ninyi kubadilika kila # 039; ", & katika 'nk unaweza pia PM yangu thread url na viungo kuvunjwa inaonekana

r.dziadusz
14-10-11, 09:21
Kanuni update: Bonyeza

norku
17-10-11, 14:00
Hi na shukrani kwa ajili ya update. Mimi mbio script na got kosa folllowing. Looks kama moja ya vigezo ili labda kuwa na makosa?


Database error in vBulletin 4.1.6:

Invalid SQL:
SELECT * FROM post WHERE pagetext LIKE '%&gt;%' OR pagetext like '%&lt;%' OR pagetext like '%&amp;%' OR pagetext like '%'%' OR pagetext like '%&quot;%' OR title LIKE '%&amp;%' OR title LIKE '%'%' OR title LIKE '%&lt;%' OR title LIKE '%&gt;%';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%' OR pagetext like '%&quot;%' OR title LIKE '%&amp;%' OR title LIKE '%'%' OR ti' at line 1
Error Number : 1064
Request Date : Monday, October 17th 2011 @ 01:57:46 PM
Error Date : Monday, October 17th 2011 @ 01:57:46 PM
Script : http://www.xxxx.com/forum/decode.php?do=execute
Referrer : http://www.xxxx.com/forum/clearBB.php
IP Address : 79.194.232.35
Username : xxxx
Classname : vB_Database
MySQL Version : 5.0.92-community

r.dziadusz
17-10-11, 20:35
Je, unaweza tafadhali moja zaidi wakati nipe makosa yako mesage bila puting ndani yake yoyote tag BBcode - wakati wa kufanya hii code baadhi html ni iliyopita katika yaani ishara:. '% Kwa%'%% nk

norku
18-10-11, 12:11
Database kosa katika vBulletin 4.1.6:
Hapa kwenda:



Batili SQL:
CHAGUA * KUTOKA post WAPI% '% &%' '% <%' '%>%' pagetext KAMA AU pagetext kama AU pagetext kama AU pagetext kama% '%' 'AU pagetext kama'%% "'AU cheo KAMA' & % 'AU cheo KAMA' '%'% AU cheo KAMA '% <%' AU cheo KAMA '%>%';

MySQL Hitilafu: Una kosa katika syntax yako SQL; angalia mwongozo kwamba sambamba na toleo yako MySQL server kwa syntax haki ya kutumia karibu '%' AU pagetext kama '%% "' AU cheo KAMA '% &%' AU cheo KAMA '%'% 'AU ti' katika mstari wa 1
Idadi Error: 1064
Ombi Tarehe: Jumatatu, Oktoba 17, 2011 @ 01:57:46
Hitilafu Tarehe: Jumatatu, Oktoba 17, 2011 @ 01:57:46
Script: http://www.xxxxx.com/forum/decode.php?do=execute (http://www.hj-research.com/forum/decode.php?do=execute)
Referrer: http://www.xxxx.com/forum/clearBB.php (http://www.hj-research.com/forum/clearBB.php)
Anwani ya IP: 79.194.232.35
Jina la mtumiaji: xxxx
Classname: vB_Database
MySQL Version: 5.0.92-jamii

r.dziadusz
18-10-11, 12:29
Hi wakati wewe kuweka code wangu katika maandishi mpango editing, ni wengi pengine mabadiliko html Asci code katika ishara ya kawaida, na hivyo kuwa tatizo kuonekana. Tafadhali kuuweka tena kwa mara na kuhakikisha wote code asci hakuna mabadiliko - anakaa njia hiyo ni katika post yangu. Hasa makini juu ya "% # 039;%" ni lazima kuwa '

norku
18-10-11, 12:49
sawa. Nitajaribu hiyo.

norku
18-10-11, 13:09
Je, mimi kuzuia kwamba maneno? Nimekuwa walijaribu Notepad + + lakini pia wakati mimi kuweka code yako mabadiliko ya alama

r.dziadusz
18-10-11, 13:51
Kama wewe tafadhali PM acces yako kina ili FTP yako i unaweza mahali hiyo code exatly kama ni lazima, kama hutaki kunipa acces unaweza kujaribu manualy kubadili alama tena baada ya inakuwa kama hii '

norku
18-10-11, 14:43
Mimi mbio anyway na inaonekana kuwa kazi wakati huu. Yaandike kwa 'operator kosa' :)

Shukrani sana kwa sticking saa hii na nina matumaini kwamba thread itakuwa na manufaa kwa mtu mwingine ambaye ana kufuta vbet kwa sababu fulani.

Ncha kwa kusanidua yeyote: DO NOT kufanya nini mimi na tu Kibao kama wewe ungekuwa na Mod kawaida vBulletin. Dhahiri kuuliza guys hapa vbet KABLA wewe kufuta. Ni utakuwa kuokoa mengi ya maumivu ya kichwa.

r.dziadusz
18-10-11, 19:20
Wewe kuwakaribisha, kama una swali lolote nyingine katika thread hii tafadhali kuuliza, kwa ajili ya masuala mengine yoyote tafadhali wazi thread mpya.
Kama kila kitu ni ok i utakuwa ni kutatuliwa

schan
20-02-14, 20:37
Je, hii ni bado ni tatizo au ina masuala haya kutatuliwa kwa sasa? Je, ni bado maumivu katika kitako kufuta vBET?

Shukrani.

Marcin Kalak
21-02-14, 13:11
suala hilo kutatuliwa.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.9.99