• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
  • Tagi:
  1. #1
    zenext jest nieaktywny Stały bywalec
    Dołączył
    Nov 2008
    Posty
    248
    Przydatne posty
    1

    Domyślnie Tylko nazwa domeny w CMS

    Witam,
    Czy byloby mozliwe zeby jak sie wchcodzi na CMS, link byl tylko z nazwa domeny.
    to znaczy : mojadomena.pl a nie jak teraz mojadomena.pl/content.php


    Pozdrawiam



  2. #2
    Awatar WoG
    WoG
    WoG jest nieaktywny vB Specialist
    Dołączył
    Feb 2008
    Posty
    2 812
    Przydatne posty
    298
    Wpisów
    1

    Domyślnie

    Ustawione masz w pliku index.php by content był ładowany na starcie?
    Z poważaniem,
    WoG

    Ty też możesz pomóc spolszczać vBulletin 5: GitHub.com
    "Rozczarowanie spowodowane niską jakością pamięta się długo po przeminięciu radości spowodowanej niską ceną"


  3. #3
    zenext jest nieaktywny Stały bywalec
    Dołączył
    Nov 2008
    Posty
    248
    Przydatne posty
    1

    Domyślnie

    Nie wiem czy mam ustawione ze w index.php content był ładowany na starcie
    ale wiem jedno ze CMS otwiera sie przy starcie

    sorry za moja cimnote
    Ostatnio edytowane przez zenext ; 21.02.2012 o 10:41


  4. #4
    Awatar WoG
    WoG
    WoG jest nieaktywny vB Specialist
    Dołączył
    Feb 2008
    Posty
    2 812
    Przydatne posty
    298
    Wpisów
    1

    Domyślnie

    Wstaw zawartość swojego pliku index.php, tak powiem
    Z poważaniem,
    WoG

    Ty też możesz pomóc spolszczać vBulletin 5: GitHub.com
    "Rozczarowanie spowodowane niską jakością pamięta się długo po przeminięciu radości spowodowanej niską ceną"


  5. #5
    zenext jest nieaktywny Stały bywalec
    Dołączył
    Nov 2008
    Posty
    248
    Przydatne posty
    1

    Domyślnie

    Kod php:
    /**
     * If you want to move this file to the root of your website, change this
     * line to your vBulletin directory and uncomment it (delete the //).
     *
     * For example, if vBulletin is installed in '/forum' the line should
     * state:
     *
     *    define('VB_RELATIVE_PATH', 'forum');
     *
     * Note: You may need to change the cookie path of your vBulletin
     * installation to enable your users to log in at the root of your website.
     * If you move this file to the root of your website then you should ensure
     * the cookie path is set to '/'.
     *
     * See 'Admin Control Panel
     *    ->Cookies and HTTP Header Options
     *      ->Path to Save Cookies
     */

    //define('VB_RELATIVE_PATH', 'forums');


    // Do not edit.
    if (defined('VB_RELATIVE_PATH'))
    {
        
    chdir('./' VB_RELATIVE_PATH);
    }


    /**
     * You can choose the default script here.  Uncomment the appropriate line
     * to set the default script.  Note: Only uncomment one of these, you must
     * add // to comment out the script(s) that you DO NOT want to use as your
     * default script.
     *
     * You can choose the default script even if you do not plan to move this
     * file to the root of your website.
     */

    /**
     * Use the CMS as the default script:
     */

    // require('forum.php');


    /**
     * Use the forum as the default script:
     */

    require('content.php'); 


  6. #6
    Awatar WoG
    WoG
    WoG jest nieaktywny vB Specialist
    Dołączył
    Feb 2008
    Posty
    2 812
    Przydatne posty
    298
    Wpisów
    1

    Domyślnie

    Możesz spróbować podmienić index.php z content.php i w opcjach przestawić, że content.php to index.php, ale bądź ostrożny, bo to nie są zalecane modyfikacje.
    Z poważaniem,
    WoG

    Ty też możesz pomóc spolszczać vBulletin 5: GitHub.com
    "Rozczarowanie spowodowane niską jakością pamięta się długo po przeminięciu radości spowodowanej niską ceną"


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