Aller au contenu

ZepX3

Actif
  • Compteur de contenus

    32
  • Inscrit(e) le

  • Dernière visite

Messages postés par ZepX3

  1. Salut en fait ce n'est pas mauvais, mais je l'avais mal fait... Je viens de trouver la solution! Je devais mettre le bloc news et À la une dans un même bloc principal, alors une fois ceci fait j'ai mis float:left à "À la une" et float:right aux news et le tour est joué.

    Merci

  2. Salut

    Voici une capture d'écran de mon site en cour de construction.

    screenxgnewti3.png

    J'aimerais mettre la partie des news (le texte en gris) du côté droit du site et faire monter la partie Nouveautés à même égalité mais à gauche.

    Comment faire? J'ai essayé mais en vain.

    Mon code PHP :

    CODE

    <body>

    <div id="header">

    </div>

    <div id="menubar">

    <a href="/forums">Forums</a>

    <a href="/fiches.php">Fiches de jeux</a>

    <a href="aide.php">Aide</a>

    </div>

    <div id="contenu">

    <div id="titre">Titre de la new</div>

    <p>

    Blablablabla</p>

    </div>

    <div id="nouveautes">

    <div id="titrenouv">Nouveautés</div>

    <p>

    Ici les nouveautés<br />

    </p>

    </div>

    </div>

    <div id="footer">

    </div>

    </body>

    Et mon code CSS

    CODE

    body

    {

    width: 900px;

    margin: auto;

    margin-top: 20px;

    margin-bottom: 20px;

    background-color: #DBDBDB;

    }

    #header

    {

    width: 900px;

    height: 220px;

    background-image: url("/design/images/header.jpg");

    background-repeat: no-repeat;

    }

    #menubar

    {

    width: 898px;

    height: 25px;

    background-image: url("/design/images/menubarback.jpg");

    border: 1px solid #A8A6A7;

    text-align: right;

    color: #7A7A7A;

    }

    #menubar a

    {

    text-align: right;

    background-image: url("/design/images/menubarback.jpg");

    padding-left: 3px;

    padding-right: 3px;

    text-decoration: none;

    margin-left: 10px;

    color: #5F5F5F;

    height: 25px;

    }

    #menubar a:hover

    {

    text-align: right;

    background-image: url("/design/images/menubarback-on.jpg");

    padding-left: 3px;

    padding-right: 3px;

    text-decoration: none;

    color: #5F5F5F;

    height: 25px;

    }

    #contenu

    {

    padding: 5px;

    color: #838383;

    background-image: url("/design/images/topcontent.jpg");

    background-repeat: no-repeat;

    background-color: #FFFFFF;

    width: 888px;

    border-left: 1px solid #A8A6A7;

    border-right: 1px solid #A8A6A7;

    }

    #titre

    {

    background-image: url("/design/images/titleback.jpg");

    padding: 5px;

    font-size: 16px;

    color: #000000;

    }

    #nouveautes

    {

    float: left;

    width: 120px;

    }

    #nouveautes titrenouv

    {

    float: left;

    width: 120px;

    }

    #footer

    {

    width: 900px;

    height: 50px;

    background-image: url("/design/images/footer.jpg");

    background-repeat: no-repeat;

    }

    Merci

  3. Salut à vous.

    Je voulais savoir s'il était possible de faire une case quelque part sur mon forum IPB (dans la barre membre, pourquoi pas?) qui, une fois coché, changerait les liens du header.

    Parce que j'ai limité les liens de mon header pour que le skin ne bug pas avec les petites écrans mais c'est dommage quand on en a une grosse.

    Alors la case non coché laisserait les liens comme sa mais une fois coché les liens changeraient pour en avoir plus.

    Si vous ne comprenez pas, dites-le moi.

    Merci à vous

  4. J'ai essayé la requête de cadoual et sa me dit :

    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 ''points' INT(11) DEFAULT '100' NOT NULL; ALTER TABLE `ibf_forum

    quand j'essais celle de robinsonvendredi, sa me fait :

    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 '; ALTER TABLE ibf_forums ADD PostPoints INT(10) DEFAULT '20' NO
  5. Donc j'exécute :

    ALTER TABLE ibf_members ADD COLUMN points INT(11) NOT NULL DEFAULT '100'

    ;

    ALTER TABLE `ibf_forums` ADD `PostPoints` INT(10) DEFAULT '20' NOT NULL

    ;

    ALTER TABLE `ibf_forums` ADD `ReplyPoints` INT(10) DEFAULT '10' NOT NULL

    et sa me fait le même message.

    Pareil si je me fait :

    ALTER TABLE ibf_members ADD COLUMN points INT(11) NOT NULL DEFAULT '100';

    `ibf_forums` ADD `PostPoints` INT(10) DEFAULT '20' NOT NULL;

    `ibf_forums` ADD `ReplyPoints` INT(10) DEFAULT '10' NOT NULL;

  6. Cela me dit :

    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 'ALTER TABLE ibf_forums ADD PostPoints INT(10) DEFAULT '20' NOT N

    En passant j'ai MySQL 4

  7. J'ai essayé les deux techniques en vain.

    Par contre, quand je fais ceci :

     ALTER TABLE `ibf_members` ADD COLUMN points INT(11) NOT NULL DEFAULT '100'

    ALTER TABLE `ibf_forums` ADD `PostPoints` INT(10) DEFAULT '20' NOT NULL

    ALTER TABLE `ibf_forums` ADD `ReplyPoints` INT(10) DEFAULT '10' NOT NULL

    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 'ALTER TABLE `ibf_forums` ADD `PostPoints` INT(10) DEFAULT '20' N
  8. Bonjour à tous.

    J'ai essayé d'installer un mod sur mon forum IPB.

    Dans les instructions, sa dit :

    If you already have the Perfect Points System v1.0.1 installed, you don't need to do the first ALTER TABLE

    In your IPB ACP go to: ADMIN>SQL Management>SQL Toolbox

    Scroll all the way to the bottom of the page. Copy each query below (you must do them one at a time), and paste it into the text box labeled "Run a Query", then click on the "Run Query" button. You may need to change the ibf_ prefix if your tables use something different from ibf_.

    The 100 is the number of points you want your new members to start with (you may change this before running the query).

    The 20 is the number of points you want your members to earn for starting a new thread (you may change this before running the query).

    The 10 is the number of points you want your members to earn for replying to an existing post (you may change this before running the query).

    ALTER TABLE ibf_members ADD COLUMN points INT(11) NOT NULL DEFAULT '100'

    ALTER TABLE `ibf_forums` ADD `PostPoints` INT(10) DEFAULT '20' NOT NULL

    ALTER TABLE `ibf_forums` ADD `ReplyPoints` INT(10) DEFAULT '10' NOT NULL

  9. Ton problème persiste toujours?

    Essaie de mettre simplement le lien, pour que tes visiteurs puissent les regardé sous Windows Media Player ou bien n'importe quel autre logiciel permettant de visualisé des vidéos.

    Ou bien sinon, tu pourrais simplement changer de code...

  10. Ci dessous, la partie avec supposément une erreure :

    CREATE TABLE `phpbb_adr_alignments` (
    `alignment_id` smallint(8) NOT NULL default '0',
    `alignment_name` varchar(255) NOT NULL default '',
    `alignment_desc` text NOT NULL,
    `alignment_level` tinyint(1) NOT NULL default '0',
    `alignment_img` varchar(255) NOT NULL default '',
    PRIMARY KEY (`alignment_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

  11. 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 'DEFAULT CHARSET=latin1' at line 8

    Sa me dit sa quand j'exécutre une requête

×
×
  • Créer...