• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
Strona 4 z 5 PierwszyPierwszy ... 2345 OstatniOstatni
  1. #31
    NLP-er jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    8

    Domyślnie

    o to ja wiem. Nie proszę o przetłumaczenie komunikatu tylko o powiedzienie co zrobić, żeby działało



  2. #32
    NLP-er jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    8

    Domyślnie

    Oki - poradzone zrobiłem wcześniej chdir('/forum'); tylko teraz mi się obrazki nie wyświetlają :/ jakiś pomysł na to badziewie?


  3. #33
    Awatar chomiczek
    chomiczek jest nieaktywny Stały bywalec
    Dołączył
    Oct 2008
    Przegląda
    Wadowice, Poland, Poland
    Posty
    254
    Przydatne posty
    1

    Domyślnie

    ale co Ty chcesz zrobić? Może będzie łatwiej jak wkleisz jakiś kawałek kodu, a nie tylko błąd i 1 funkcję


  4. #34
    NLP-er jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    8

    Domyślnie

    HIe hie - i z ytm jużsobie poradziłem - dodałwm w template w <head> tylko tyle <base href="/forum/" />


    Sorka za zawracanie gitary, ale mam nadzieję, że przynajmniej isę to komuś przyda


  5. #35
    lukas22 jest nieaktywny Użytkownik
    Dołączył
    Aug 2009
    Posty
    67

    Domyślnie

    Ja tam mam białą stronę... a test mam napisane małymi literami.


  6. #36
    hash_ jest nieaktywny Stały bywalec
    Dołączył
    Jun 2009
    Posty
    152

    Domyślnie

    Tez mam biala strone czy ktos wie jak to poprawic?


  7. #37
    Awatar Max
    Max
    Max jest nieaktywny There's something in the Air ...
    Dołączył
    Jan 2008
    Posty
    4 775
    Przydatne posty
    252
    Wpisów
    13


  8. #38
    hash_ jest nieaktywny Stały bywalec
    Dołączył
    Jun 2009
    Posty
    152

    Domyślnie

    Mam wersje 3.8.5, hmm?


  9. #39
    Awatar g0rn
    g0rn jest nieaktywny Stały bywalec
    Dołączył
    May 2009
    Posty
    188
    Przydatne posty
    5

    Domyślnie

    Cytat Zamieszczone przez MxK Zobacz posta
    Artykuł ten przedstawia sposób utworzenia własnej strony na forum. Zostało to zastosowane np. na vBHELP przy RSS:
    http://vbhelp.pl/forum/rss.php


    ...:: START ::...

    Otwórz dowolny edytor tekstowy i wklej kod:

    Kod php:
    <?php 

    // ####################### SET PHP ENVIRONMENT ########################### 
    error_reporting(E_ALL & ~E_NOTICE); 

    // #################### DEFINE IMPORTANT CONSTANTS ####################### 
    define('NO_REGISTER_GLOBALS'1); 
    define('THIS_SCRIPT''test'); // change this depending on your filename 

    // ################### PRE-CACHE TEMPLATES AND DATA ###################### 
    // get special phrase groups 
    $phrasegroups = array( 

    ); 

    // get special data templates from the datastore 
    $specialtemplates = array( 
         
    ); 

    // pre-cache templates used by all actions 
    $globaltemplates = array( 
        
    'TEST'
    ); 

    // pre-cache templates used by specific actions 
    $actiontemplates = array( 

    ); 

    // ######################### REQUIRE BACK-END ############################ 
    require_once('./global.php'); 

    // ####################################################################### 
    // ######################## START MAIN SCRIPT ############################ 
    // ####################################################################### 

    $navbits = array(); 
    $navbits[$parent] = 'Testowa Strona'

    $navbits construct_navbits($navbits); 
    eval(
    '$navbar = "' fetch_template('navbar') . '";'); 
    eval(
    'print_output("' fetch_template('TEST') . '");'); 

    ?>
    Fragmenty 'TEST' będziemy musieli zmienić na nazwę szablonu, który za chwilę stworzymy.
    Plik zapisujemy jako np. test.php i wrzucamy do głównego katalogu forum na FTP.
    Cytat Zamieszczone przez hash_ Zobacz posta
    Tez mam biala strone czy ktos wie jak to poprawic?
    usuń fragment

    Kod php:
    define('NO_REGISTER_GLOBALS'1); 
    gotowiec test.php
    Kod php:
     <?php
    // ####################### SET PHP ENVIRONMENT ###########################
    error_reporting(E_ALL & ~E_NOTICE);
    // #################### DEFINE IMPORTANT CONSTANTS #######################
    define('THIS_SCRIPT''test'); // change this depending on your filename
    // ################### PRE-CACHE TEMPLATES AND DATA ######################
    // get special phrase groups
    $phrasegroups = array();
    // get special data templates from the datastore
    $specialtemplates = array();
    // pre-cache templates used by all actions
    $globaltemplates = array('TEST');
    // pre-cache templates used by specific actions
    $actiontemplates = array();
    // ######################### REQUIRE BACK-END ############################
    require_once('./global.php');
    // #######################################################################
    // ######################## START MAIN SCRIPT ############################
    // #######################################################################
    $navbits = array();
    $navbits[$parent] = 'Testowa Strona';
    $navbits construct_navbits($navbits);
    eval(
    '$navbar = "' fetch_template('navbar') . '";');
    eval(
    'print_output("' fetch_template('TEST') . '");');
    ?>
    I możesz dać w CRR vbseo
    Kod html:
    'test\.php'=>'test.html'


  10. #40
    hash_ jest nieaktywny Stały bywalec
    Dołączył
    Jun 2009
    Posty
    152

    Domyślnie

    Hm, to nic nie dalo, dalej biala strona.

    Moze to wina mojego .htacces?
    Mam tak:
    Kod:
    RewriteEngine On
    
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Ostatnio edytowane przez hash_ ; 13.10.2010 o 21:41


Strona 4 z 5 PierwszyPierwszy ... 2345 OstatniOstatni

Podobne wątki

  1. Propozycja co do strony głownej forum
    By adekkwiek* in forum Sugestie i problemy
    Odpowiedzi: 2
    Ostatni post / autor: 16.02.2010, 08:41
  2. Wygląd strony głównej forum
    By Chajtek in forum Pytania i problemy
    Odpowiedzi: 4
    Ostatni post / autor: 24.11.2009, 16:49
  3. Nowa odsłona strony vBulletin.com
    By Max in forum Oficjalne ogłoszenia vBulletin
    Odpowiedzi: 0
    Ostatni post / autor: 14.10.2009, 22:51
  4. Reklama w kolumnie z prawej strony forum
    By jarcow in forum Pytania i problemy
    Odpowiedzi: 6
    Ostatni post / autor: 10.10.2009, 15:09
  5. Tytuł strony głownej forum
    By Syhro in forum Pytania i problemy
    Odpowiedzi: 8
    Ostatni post / autor: 13.05.2008, 18:21
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67