Bonjour et Bienvenue sur les forums de services et support de Phpbb-Assistance.com .

M’enregistrer Connexion




En cours Recherche script (bannière aléatoire) sur header

Recherche script (bannière aléatoire) sur header Toutes les questions en rapport à l'utilisation de phpbb3 uniquement .
  • Publicité

Avatar de l’utilisateur

Membre Tranquility
Statut: En ligne
Messages: 2234
Age: 46 ans
Inscription: Ven 6 Mai 2011 15:26
Localisation: Au dessus de la Seine et de la Marne.
Hébergeur(s):
OVH - KIMSUFI
MessageMessage posté: Mer 8 Fév 2012 16:03
Bonjour,

mon header est composé d'un fond (texture), de 6 bannières (et d'un code qui permet à chaque clic de proposer une bannière aléatoire), puis d'un logo flash.

Je recherche le code exact du script (clic aléatoire) dans mon fichier overall_header. Voilà un bout de code où je suppose qu'il se situe. Pour info mes bannières se trouve dans Style/Thème/Images/Bann

Code: Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="forum jardinage r&eacute;gional, jardiner naturellement, fiche jardinage, conseil jardinage, fiche culture, fiche potager, fiche verger, fiche bassin, conseil identification plante, fiche plante, &eacute;change graines, astuce potager, astuce jardin, potager r&eacute;gion nord pas de calais, potager picardie, potager belgique, site jardins nord, association de jardiniers nord" />
<meta name="description" content="jardins du nord forum r&eacute;gional d'&eacute;change et de partage, site de conseils en jardinage, jardins du nord association de jardiniers passionn&eacute;s de culture et de nature, jardins du nord le site de votre jardin et de votre potager" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="icon" type="image/png" href="http://jardins-du-nord.fr/favicon.png" />
<!--[if IE]><link rel="shortcut icon" type="image/x-icon" href="http://jardins-du-nord.fr/favicon.ico" /><![endif]-->


<!-- IF S_ENABLE_FEEDS -->
   <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<!--
   phpBB style name: prosilver
   Based on style:   prosilver (this is the default phpBB3 style)
   Original author:  Tom Beddard ( http://www.subBlue.com/ )
   Modified by:

   NOTE: This page was generated by phpBB, the free open-source bulletin board package.
         The phpBB Group is not responsible for the content of this page and forum. For more information
         about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
   var jump_page = '{LA_JUMP_PAGE}:';
   var on_page = '{ON_PAGE}';
   var per_page = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';
   var style_cookie = 'phpBBstyle';
   var style_cookie_settings = '{A_COOKIE_SETTINGS}';
   var onload_functions = new Array();
   var onunload_functions = new Array();

   <!-- IF S_USER_PM_POPUP -->
      if ({S_NEW_PM})
      {
         var url = '{UA_POPUP_PM}';
         window.open(url.replace(/&amp;/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
      }
   <!-- ENDIF -->

   /**
   * Find a member
   */
   function find_username(url)
   {
      popup(url, 760, 570, '_usersearch');
      return false;
   }

   /**
   * New function for handling multiple calls to window.onload and window.unload by pentapenguin
   */
   window.onload = function()
   {
      for (var i = 0; i < onload_functions.length; i++)
      {
         eval(onload_functions[i]);
      }
   }

   window.onunload = function()
   {
      for (var i = 0; i < onunload_functions.length; i++)
      {
         eval(onunload_functions[i]);
      }
   }

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
   <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

<!-- INCLUDE gallery/plugins_header.html -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/animatedcollapse.js"></script>
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div id="wrap">
   <a id="top" name="top" accesskey="t"></a>
   <div id="page-header">
      <div class="headerbar">
         <div class="inner"><span class="corners-top-ok"><span></span></span>

         <div id="site-description">
         <img id="bann" src="{T_THEME_PATH}/images/bann/bann-{BANN_RANDOM}.jpg" alt="Jardins du nord"/>
            <a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>


            <!--<h1>{SITENAME}</h1>
            <p>{SITE_DESCRIPTION}</p>-->

            <p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
                     <span class="corners-bottom"><span></span></span></div></div>


Merci pour votre aide :clin:
Avatar de l’utilisateur

Support Phpbb Assistance
Statut: Hors ligne
Messages: 1078
Inscription: Lun 27 Déc 2010 03:52
MessageMessage posté: Mer 8 Fév 2012 21:36
Salut

cherche BANN_RANDO dans includes/functions.php ca devrait te mettre sur la voie, ca devrait etre du genre :

Code: Tout sélectionner
'BANN_RANDO'      => mt_rand(1, 6),
Avatar de l’utilisateur

Administrateur Phpbb Assistance
Statut: Hors ligne
Messages: 4933
Age: 31 ans
Inscription: Lun 19 Avr 2010 18:44
Localisation: En plein [Dev] ...
Hébergeur(s):
Monarobase , Easy Hebergement, OVH
MessageMessage posté: Jeu 1 Mar 2012 11:54
Si le problème est considéré comme réglé

Merci de passer ton topic en "Recherche script (bannière aléatoire) sur header" à l'aide de l'attribut [Résolu].

A bientôt :clin:
Recherche script (bannière aléatoire) sur header Conditions générales de services - Conditions générales de support - C.G.U - Recherche script (bannière aléatoire) sur header Découvrir nos packs
Merci de mettre un titre de sujet explicite pour toutes vos demandes de support . :!: Pas de support par Mp ... Merci

[ Base de donnée des mods ] - [ Traduction Fr mod's phpbb3 ] - [ Forum de documentation ]
Référencement gratuit - Forum informatique - Forum de graphisme -
Recherche script (bannière aléatoire) sur headerRecherche script (bannière aléatoire) sur header
Avatar de l’utilisateur

Membre Tranquility
Statut: En ligne
Messages: 2234
Age: 46 ans
Inscription: Ven 6 Mai 2011 15:26
Localisation: Au dessus de la Seine et de la Marne.
Hébergeur(s):
OVH - KIMSUFI
MessageMessage posté: Mar 1 Mai 2012 09:07
Bonjour,

toujours en cours, je fais au plus vite, j'ai du mal avec certains codes :fii:

Merci.


Retourner vers Utilisation

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités