Enpòtan: Paj sa a se lè l sèvi avèk bonbon (cookies). Sèvi ak sit entènèt sa a san yo pa vire sou bonbon nan navigatè, vle di ke ou dakò pou sèvi ak li.
Buy Now! Features Downloads

Gen ak nou!

Si ou ta renmen kòmanse lajan ak are vBET pou salè pou gwo travay Afilye pwogram.
Paj 1 nan 2 12 DenyeLast
Rezilta 1 10 nan 11

Thread: & Goto = lyen newpost pa redireksyon byen

  1. #1
    Senior Member
    Join Date
    Mar 2009
    Posts
    168

    Default & Goto = lyen newpost pa redireksyon byen

    Tout demann showthread.php? T = x & Goto = newpost montre paj vid epi yo pa byen redireksyon.

    Sa a se yon. Takses pwoblèm (se sa ki vbseo sipò te di m 'pi bonè), men ranje yo te sanble yo kraze yon lòt bagay. Èske w gen okenn lide ki sa ki kapab dwe mal isit la?

    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\.pentaxforums\.com
    RewriteRule (.*) http://www.pentaxforums.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|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|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|el|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|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    #RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    #RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    Options All -Indexes
    Options +FollowSymLinks

  2. #2
    vBulletin Enterprise Translator (vBET) Anplwaye
    Join Date
    Me 2010
    Posts
    1,000

    Default

    hello,
    Èske ou ka kopi règleman sa-a:
    Code:
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    epi kole l 'devan:
    Code:
    #RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    #RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    Si ou enfim vBET se pwoblèm nan la toujou?

  3. #3
    Senior Member
    Join Date
    Mar 2009
    Posts
    168

    Default

    Mèsi pou repons lan èd memwa.
    -Wi, pwoblèm nan al fè wout yo lè mwen retire règ takses vbet a
    -Ou repare pa t 'chanje anyen

  4. #4
    vBulletin Enterprise Translator (vBET) Anplwaye
    Join Date
    Me 2010
    Posts
    1,000

    Default

    Hello,
    se sa, tanpri dekri isit la - ki jan mwen kapab repwodui l 'sou yon fowòm ou paske mwen cant repwodui li epi li i cant wè pwoblèm sa a.
    Dezyèmman - tanpri keratin isit la ranpli sèvè louvri sesyon ou an (ranpli ak Informations sou tout pwoblèm sou sèvè) paske nou menm nou panse ke swa fonksyon se pa vizib
    (Ki manke
    PHP Code:
    require_once 
    ) Paske ou gen yon paj vid.

    Thanks

  5. #5
    Senior Member
    Join Date
    Mar 2009
    Posts
    168

    Default

    http://www.pentaxforums.com/forums/s...0&goto=newpost

    Eseye ki genyen lyen ki kòm yon egzanp.

    Remake byen ke pa gen okenn erè PHP oswa avètisman sou sa paj la.

    Pwoblèm nan sèvè sèlman mwen obsève kounye a se yon pwoblèm ki sklit, men pwoblèm nan newpost anteryeur ki, kidonk sa a ka inyore.

    Ki sa ki ta dwe pi bon fason debug sa a? Petèt dosye a vbenterprisetranslator_seo li pa byen pi devan demann nan vbseo? Remake byen ke showthread.php se pa menm yo rele si ou klike sou link ki pi wo yo.

  6. #6
    vBulletin Enterprise Translator (vBET) Anplwaye
    Join Date
    Me 2010
    Posts
    1,000

    Default

    Hello,
    Moman mwen menm sou sit ou la a:
    Code:
    http://www.pentaxforums.com/forums/
    tanpri ekri kote m 'ta dwe klike sou gen pwoblèm sa a (etap pa etap) paske mwen dwe repwodui li byen.
    Thanks

  7. #7
    Senior Member
    Join Date
    Mar 2009
    Posts
    168

    Default

    Pwoblèm la sèlman reyèlman vini leve pou itilizatè a fini lè AJAX fwa deyò epi yo replies rapid yo soumèt kòm yon fòm regilye. Li te tou fèt sou po a mobil ke nou asire w pou lyen yo newpost.

    Tout moun sa yo se egzanp pafè nan erè a:
    http://www.pentaxforums.com/forums/s...0&goto=newpost
    http://www.pentaxforums.com/forums/s...0&goto=newpost

    Sa a travay paske fil la se inègzistan:
    http://www.pentaxforums.com/forums/s...0&goto=newpost

  8. #8
    vBulletin Enterprise Translator (vBET) Anplwaye
    Join Date
    Me 2010
    Posts
    1,000

    Default

    hello,

    Ok kidonk si w pa gen okenn nòt nan dosye log sèvè - tanpri ban m '(pa PM) aksè a detay admincp ou ak FTP.

    dezyèmman. tanpri dekri isit la ki sa mwen ta dwe fè repwodui pwoblèm sa a (etap pa etap - pa gen okenn lyen yo) tanpri dekri kote mwen shoud klike sou, depi konbyen tan mwen ta dwe rete tann elatriye
    Thanks

  9. #9
    Senior Member
    Join Date
    Mar 2009
    Posts
    168

    Default

    Mwen te fiks pwoblèm nan.

    Nan vbenterprisetranslator_seo.php, chanje liy 56 nan:

    PHP Code:
    if (isset($_GET['t']) && !isset($_GET['goto']) && false !== strpos($_SERVER['REQUEST_URI'], 'showthread.php')) { 

  10. #10
    Michał Podbielski (vBET Anplwaye) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Li te deja tankou sa nan kòd nou yo nan vBET4.x - nou bliye fè li tou nan vBET 3.x - fot nou. Mwen korije li kounye a - li pral enkli nan lage pwochen.

Paj 1 nan 2 12 DenyeLast

Tags pou sa a Thread

Posting Permissions

  • Ou Pouvwa pa Post fil nouvo
  • Ou Pouvwa pa Post replies
  • Ou Pouvwa pa Post atachman
  • Ou Pouvwa pa modifye posts ou
  •