It is currently Tue 27 Sep 2016 - 20:54 - créer un forum

[tuto]séparateur d'annonce et post-it

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 37, 8, 935, 36, 37  >

[tuto]séparateur d'annonce et post-it
Author Message
themalin


Joined: 19 Apr 2006
Posts: 8,897

PostPosted: Sun 23 Sep 2007 - 20:23    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

remplaces ton template par celui la

 
Code: Sélectionner - Agrandir


<script language="Javascript" type="text/javascript">
<!--
imprim = 0;
-->
</script>
<script language="Javascript" type="text/javascript">
<!--
function teststicky(annonce){
var elems=document.getElementsByTagName('img');
var issticky=false;
for(var i=0;i<elems.length;i++){
if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
issticky=true;
break;
}
if (issticky == true) {
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br><br></td></tr>');
imprim = 1;
}
}
-->
</script>
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
    <tr>
      <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}"><img src="http://img7.xooimage.com/files/i/c/icon_nav-3118c.gif" border="0" align="absmiddle">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
      <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
    </tr>
    <tr>
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
      <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
    </tr>
  </table>
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline" bgcolor="red">
    <tr>
      <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
      <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
      <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
    </tr>

      <!-- BEGIN topicrow -->
<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>
<tr>
      <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
      <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
      <td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   
    <!-- END topicrow -->

    <!-- BEGIN switch_no_topics -->
    <tr>
      <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
    </tr>
    <!-- END switch_no_topics -->
    <tr>
      <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
        <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
        </span></td>
    </tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
    <tr>
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
      <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
        </td>
    </tr>
    <tr>
      <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
    </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
    <tr>
        <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
            <tr>
                <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
                <td class="gensmall">{L_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
                <td class="gensmall">{L_ANNOUNCEMENT}</td>
            </tr>
            <tr>
                <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
                <td class="gensmall">{L_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
                <td class="gensmall">{L_STICKY}</td>
            </tr>
            <tr>
                <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
                <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
                <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
            </tr>
        </table></td>
        <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
    </tr>
</table> 
Forum
Author Message
Arawn


Offline
Guest




PostPosted: Mon 24 Sep 2007 - 18:59    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Et moi ? T'as jetté l'éponge TheMalin ??

Author Message
*GaMoVeR*


Offline
Guest




PostPosted: Mon 24 Sep 2007 - 20:27    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Oh je te suit infiniment reconnaissant, cela fonctionne parfaitement !!!
Vraiment les modérateurs vous êtes géniaux d'avoir autant de patience et d'être à notre écoute, les gens comme vous sont rares de nos jours, vous pouvez être fier ! Smile
A bientot peut-être
GaMoVeR.


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 25 Sep 2007 - 09:36    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Arawn wrote:
Et moi ? T'as jetté l'éponge TheMalin ??



non mais il faudrait que j'ai le même thème avec modif pour pouvoir voir pourquoi ça ne marche pas
sinon gamover je ne suis pas modo
_______________________


Forum
Author Message
Arawn


Offline
Guest




PostPosted: Tue 25 Sep 2007 - 14:13    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

themalin wrote:
Arawn wrote:
Et moi ? T'as jetté l'éponge TheMalin ??



non mais il faudrait que j'ai le même thème avec modif pour pouvoir voir pourquoi ça ne marche pas
sinon gamover je ne suis pas modo

Hmmm... tu veux que j'enregistre mes différents template et que je te les envoi ??

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 25 Sep 2007 - 17:15    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

si tu as le thème subsilver pour les couleurs donne moi juste le template que tu as modifié ça doit etre ton overall header
_______________________


Forum
Author Message
Arawn


Offline
Guest




PostPosted: Tue 25 Sep 2007 - 18:23    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

J'ai à la base le thème subsilver, mais plus aucune couleur d'origine puisque j'ai toujours colorié à mes gouts... reste donc la disposition du subsilver.

voilà le overall_header que j'ai effectivement modifier.
Le seul autre que j'ai modifié étant le viewforum_body.
Je me souviens pas avoir fait de modif autre part...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img.xooimage.com/files2/7/d/3/subsilver-1a994a.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
 background-color: {T_BODY_BGCOLOR};
 scrollbar-face-color: {T_TR_COLOR2};
 scrollbar-highlight-color: {T_TD_COLOR2};
 scrollbar-shadow-color: {T_TR_COLOR2};
 scrollbar-3dlight-color: {T_TR_COLOR3};
 scrollbar-arrow-color:  {T_BODY_LINK};
 scrollbar-track-color: {T_TR_COLOR1};
 scrollbar-darkshadow-color: {T_TH_COLOR1};
}
/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover  { text-decoration: underline; color : {T_BODY_HLINK}; }
hr { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}
/* This is the border line & background colour round the entire page */
.bodyline { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }
/* This is the outline round the main forum tables */
.forumline { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }
.forumline2    { background-color: #51A8FF; border: 2px #006699 solid; } 
/* Main table cell colours and backgrounds */
td.row1 { background-color: {T_TR_COLOR1}; }
td.row2 { background-color: {T_TR_COLOR2}; }
td.row3 { background-color: {T_TR_COLOR3}; }
/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
  background-color: {T_TD_COLOR2};
  background-image: url(http://img.xooimage.com/files3/9/0/5/lignes2-1a9949.gif);
  background-repeat: repeat-y;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
 color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
 background-color: {T_BODY_LINK}; height: 25px;
 background-image: url(http://img.xooimage.com/files2/4/d/5/barre-18c7a2.gif);
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
   background-image: url(http://img.xooimage.com/files10/f/5/e/cellpic_nav-3389d.gif);
   background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}
/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it Smile
*/
td.cat,td.catHead,td.catBottom {
 height: 29px;
 border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
 font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
 background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}
th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow  { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right  { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft   { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop  { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
 font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
 text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}
/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: {T_BODY_HLINK}; text-decoration: underline; }
/* The register, login, search etc links at the top of the page */
.mainmenu  { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu  { text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Forum category titles */
.cattitle  { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle  { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink  { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink  { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav   { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav   { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover  { text-decoration: underline; }
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover { text-decoration: underline; color : {T_BODY_HLINK}; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name   { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
/* Location, number of posts, post date etc */
.postdetails  { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }
/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}
/* Quote & Code blocks */
.code {
 font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
 background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
 border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
 font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
 background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
 border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
/* Copyright and bottom info */
.copyright  { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright  { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}
/* Form elements */
input,textarea, select {
 color : {T_BODY_TEXT};
 font: normal {T_FONTSIZE2}px {T_FONTFACE1};
 border-color : {T_BODY_TEXT};
}
/* The text input fields background colour */
input.post, textarea.post, select {
 background-color : {T_TD_COLOR2};
}
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
 background-color : {T_TR_COLOR1};
 color : {T_BODY_TEXT};
 font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}
/* The main submit button option */
input.mainoption {
 background-color : {T_TD_COLOR1};
 font-weight : bold;
}
/* None-bold submit button */
input.liteoption {
 background-color : {T_TD_COLOR1};
 font-weight : normal;
}
/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know Wink
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img.xooimage.com/files10/f/o/formie-30d7c.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
 if ( {PRIVATE_MESSAGE_NEW_FLAG} )
 {
  window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
 }
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top">[/url]
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
        <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td align="center">
</td></tr><tr>
                <td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span>
<span class="gen">{SITE_DESCRIPTION}
&nbsp; </span>
                <table cellspacing="0" cellpadding="2" border="0">     <tr>
      <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
</span><span class="mainmenu">
</span><span class="mainmenu">
</span><span class="mainmenu">
<!-- BEGIN switch_user_logged_out -->
 <!-- END switch_user_logged_out -->
</span></tr><span class="mainmenu">
Partenaires & Sites amis
</span></td>
     </tr>
    </table></td>
   </tr>
  </table>
  

<script language="Javascript" type="text/javascript">
<!-- BEGIN switch_user_logged_out -->
   document.getElementsByName("topnavimg1")[0].src = "http://img145.imageshack.us/img145/4412/bon1qw.png";
   
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
   //parse strings
   loginlogout = "{U_LOGIN_LOGOUT}";
   stringIndex = loginlogout.indexOf("amp");
   loginlogout2 = loginlogout.slice(0,stringIndex);
   loginlogout2 += loginlogout.slice(stringIndex+4);   
   document.getElementsByName("topnavimg1")[0].src = "http://img145.imageshack.us/img145/3269/boff7ws.png";
   
<!-- END switch_user_logged_in -->   
</script>   
<script language="Javascript" type="text/javascript">
<!--
//declaring variables and arrays
var privmsg_image_path = "{PRIVMSG_IMG}", current_lang = "";
//extract the current language string
current_lang = privmsg_image_path.match(/lang_[a-z]*/);
if (current_lang != ""){
<!-- BEGIN switch_user_logged_out -->
<!--   document.getElementsByName("topnavimg6")[0].src = "http://img145.imageshack.us/img145/4412/bon1qw.png"; -->
   
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
   //parse strings
   loginlogout = "{U_LOGIN_LOGOUT}";
   stringIndex = loginlogout.indexOf("amp");
   loginlogout2 = loginlogout.slice(0,stringIndex);
   loginlogout2 += loginlogout.slice(stringIndex+4);
   
   document.getElementsByName("topnavimg6")[0].src = "http://img145.imageshack.us/img145/1184/bmp10gu.png";
   if ( {PRIVATE_MESSAGE_NEW_FLAG} )
   {
document.getElementsByName("topnavimg6")[0].src = "http://img191.imageshack.us/img191/6092/amp2kt.gif";
      
   }   
<!-- END switch_user_logged_in -->   
}
//-->
</script> 


Author Message
Cocoon


Offline
Guest




PostPosted: Sun 7 Oct 2007 - 20:19    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

themalin wrote:

ici



Code: Sélectionner - Agrandir
<script language="Javascript" type="text/javascript">
        <!--
        imprim = 0;
        -->
        </script>
        <script language="Javascript" type="text/javascript">
        <!--
        function teststicky(annonce){
        var elems=document.getElementsByTagName('img');
        var issticky=false;
        for(var i=0;i<elems.length;i++){
        if(elems[i][/i].src.search(/(announce|sticky)/g) < 0) continue;
        issticky=true;
        break;
        }
        if (issticky == true) {
        document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br></td></tr>');
        imprim = 1;
        }
        }
        -->
        </script>   


tu n'as pas ajouté le code de ta barre comme indiqué

sinon post à la suite du tuto en cas de problème


Bah je suis plus graphiste que programmateur mais je vois pas ce que tu as changer sur le script et le code de la barre je ne sais pas ou elle se trouve. Embarassed


Last edited by Cocoon on Sun 7 Oct 2007 - 20:25; edited 1 time in total
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 7 Oct 2007 - 20:24    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

mets ce ci
Code: Sélectionner - Agrandir


<script language="Javascript" type="text/javascript">
        <!--
        imprim = 0;
        -->
        </script>
        <script language="Javascript" type="text/javascript">
        <!--
        function teststicky(annonce){
        var elems=document.getElementsByTagName('img');
        var issticky=false;
        for(var i=0;i<elems.length;i++){
        if(elems[i][/i].src.search(/(announce|sticky)/g) < 0) continue;
        issticky=true;
        break;
        }
        if (issticky == true) {
        document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><img src="lien de ton image" border="0"><br></td></tr>');
        imprim = 1;
        }
        }
        -->
        </script>  

_______________________


Forum
Author Message
Cocoon


Offline
Guest




PostPosted: Sun 7 Oct 2007 - 20:32    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Sinon j'ai deux template "viewforum_body.tpl" est ce normal??

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 7 Oct 2007 - 20:40    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

non tu devrais en avoir un seul mais dans le doute fais le dans les deux
_______________________


Forum
Author Message
Cocoon


Offline
Guest




PostPosted: Sun 7 Oct 2007 - 20:47    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

je peux faire comment pour supprimer le second.

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 7 Oct 2007 - 21:19    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

tu ne peux pas tu n'as pas de pouvoir sur la composition des templates
_______________________


Forum
Author Message
callie..


Offline
Guest




PostPosted: Mon 8 Oct 2007 - 15:07    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

j ' ai mis un post it  ou annonce " peut importe "

mais il se place en fin de liste " en dessous de mes sous forum " alors que je veux qu 'il soit " tout en haut et separer du reste

comment je peux faire !!

merci d 'avance


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Mon 8 Oct 2007 - 17:22    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

il suffit d'appliquer le tuto pour séparer les sous forum mais de mettre le code en dessous de celui donner dans ce tuto
_______________________


Forum
Author Message
callie..


Offline
Guest




PostPosted: Mon 8 Oct 2007 - 17:25    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

explique moi mieux que sa !!!

je comprend rien !! a ce que vous m ' expliquer !!!!!!!!!!!!!

merci


Author Message
Contenu Sponsorisé





PostPosted: Today at 20:54    Post subject: [tuto]séparateur d'annonce et post-it

Display posts from previous:   
Reply to topic Page 8 of 37 Goto page: <  1, 2, 37, 8, 935, 36, 37  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401