kikoo
 
 

Installation : oncidium Personnalisation : aigle17-uzuvale et 6 utilisateurs inconnus

 Mot :   Pseudo :  
 
Bas de page
Auteur
 Sujet :

Fichier config.tpl pour speedyber

 
n°1819
jcg11
profil
Posté le 03-10-2008 à 10:58:52  answer
 

Hello speed,
 
Voici le fichier config.tpl  
 

Code :
  1. <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  2.   <tr>
  3. <td align="left" valign="bottom">
  4.  <span class="gensmall">
  5. <!-- BEGIN switch_user_logged_in -->
  6. {LAST_VISIT_DATE}&nbsp;(<a href="{U_MODVISIT}" class="gensmall" target="modvisit" onClick="okienko=window.open('{U_MODVISIT}', 'modvisit', 'HEIGHT=580,resizable=yes,WIDTH=490');okienko.focus();return false;">{L_CHANGE}</a> )<br />
  7. <!-- END switch_user_logged_in -->
  8. {CURRENT_TIME}<br />
  9. </span>
  10. <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
  11. </span>
  12. </td>
  13. <td align="right" valign="bottom" class="gensmall">
  14. <!-- BEGIN switch_user_logged_in -->
  15.  <a href="{U_SEARCH_NEW}" class="dermessage">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
  16. <!-- END switch_user_logged_in -->
  17.  <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a>
  18. </td>
  19.   </tr>
  20. </table>
  21.  <!-- BEGIN news_team_index_enable -->
  22.  {NEWS_TEAM_BOX}
  23.  <!-- END news_team_index_enable -->
  24.  <!-- BEGIN newshr_index_enable -->
  25.  {NEWSHR_BOX}
  26.  <!-- END newshr_index_enable -->
  27. <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  28.   <tr>
  29. <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
  30. <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
  31. <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
  32. <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  33.   </tr>
  34.   <!-- BEGIN catrow -->
  35.   <tr>
  36. <td class="catLeft" colspan="2" height="28" align="center"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  37. <td class="rowpic" colspan="3" align="right">&nbsp;</td>
  38.   </tr>
  39.   <!-- BEGIN forumrow -->
  40.   <tr>
  41. <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"height="25" width="46" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
  42. <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
  43.   </span>
  44.   <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
  45.       </span>
  46.       <span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
  47.   <!-- BEGIN switch_attached_forums -->
  48.   <!-- BEGIN br -->
  49.   <br />
  50.   <!-- END br -->
  51.   <span class="genmed">{catrow.forumrow.switch_attached_forums.L_ATTACHED_FORUMS}:
  52.        <!-- BEGIN attached_forums -->
  53.         -> <a class="nav" href="{catrow.forumrow.switch_attached_forums.attached_forums.U_VIEWFORUM}"><img alt="{catrow.forumrow.switch_attached_forums.attached_forums.L_FORUM_IMAGE}" border="0" src="{catrow.forumrow.switch_attached_forums.attached_forums.FORUM_IMAGE}" title="{catrow.forumrow.switch_attached_forums.attached_forums.L_FORUM_IMAGE}" />{catrow.forumrow.switch_attached_forums.attached_forums.FORUM_NAME}</a>
  54.        <!-- END attached_forums -->
  55.       </span>
  56.   <!-- END switch_attached_forums -->
  57. </td>
  58. <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
  59. <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
  60. <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  61.   </tr>
  62.   <!-- END forumrow -->
  63.   <!-- END catrow -->
  64. </table>
  65. <table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  66.   <tr>
  67.  <td align="left">
  68.  <!-- BEGIN switch_user_logged_in -->
  69.   <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
  70.  <!-- END switch_user_logged_in -->
  71.  </td>
  72. <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  73.   </tr>
  74. </table>
  75. <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  76.   <tr>
  77. <td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  78.   </tr>
  79.   <tr>
  80.    <td class="row1" align="center" valign="middle" rowspan="4"><img src="templates/MysubSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
  81. <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
  82. </td>
  83.   </tr>
  84.   <tr>
  85. <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{BOT_LIST}</span></td>
  86.   </tr>
  87. <!-- mod : today userlist -->
  88.   <tr>
  89.    <td class="row1" align="left">
  90. <span class="gensmall">{L_TOTAL_TODAY}{TOTAL_TODAY_USERS}<br />{TOTAL_HOUR_USERS}<br />{L_REGISTERED_USERS} {S_TODAY_USERLIST}</span>
  91. </td>
  92.   </tr>
  93. <!-- fin mod : today userlist -->
  94. </table>
  95. <table width="100%" cellpadding="1" cellspacing="1" border="0">
  96. <tr>
  97. <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
  98. </tr>
  99. </table>
  100. <!-- BEGIN switch_user_logged_out -->
  101. <form method="post" action="{S_LOGIN_ACTION}">
  102.   <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  103. <tr>
  104.   <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
  105. </tr>
  106. <tr>
  107.   <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
  108.  <input class="post" type="text" name="username" size="10" />
  109.  &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
  110.  <input class="post" type="password" name="password" size="10" maxlength="32" />
  111.  <!-- BEGIN switch_allow_autologin -->
  112.  &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
  113.  <input class="text" type="checkbox" name="autologin" />
  114.  <!-- END switch_allow_autologin -->
  115.  &nbsp;&nbsp;&nbsp;
  116.  <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
  117.  </span> </td>
  118. </tr>
  119.   </table>
  120. </form>
  121. <!-- END switch_user_logged_out -->
  122. <br clear="all" />
  123. <table cellspacing="3" border="0" align="center" cellpadding="0">
  124.   <tr>
  125. <td width="20" align="center"><img src="templates/MysubSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
  126. <td><span class="gensmall">{L_NEW_POSTS}</span></td>
  127. <td>&nbsp;&nbsp;</td>
  128. <td width="20" align="center"><img src="templates/MysubSilver/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
  129. <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
  130. <td>&nbsp;&nbsp;</td>
  131. <td width="20" align="center"><img src="templates/MysubSilver/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
  132. <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  133.   </tr>
  134. </table>


 
 ;)

n°1820
speedyber
Modérateur Kikoochat ;-)
profil
Posté le 03-10-2008 à 11:59:06  answer
 

ça c'est le fichier index.tpl et non config.tpl mon cher ami
Tu aurais du le placer à la suite de ton post déjà bien commencé !
par contre je ne pourrais pas le tester alors il se peut que je te mette plusieurs versions que tu testeras  toi même
je te tiens au courant, je ne peux pas tout de suite je dois terminer un travail mais je jette un oeil dans le week end  ;)

 


Message édité par speedyber le 04-10-2008 à 08:17:49

---------------
Pas de support en MP, ils ne seront pas pris en considération, merci !
n°1821
jcg11
profil
Posté le 03-10-2008 à 15:33:55  answer
 

Hello,
 
Grosse faute de frappe de ma part..  :pfff:  c'est le fichier "index_body.tpl"..  :D  
 
C'est le style "subsilver" quelque peu modifié..  
 
Prends ton temps..
 
 ;)

n°1822
speedyber
Modérateur Kikoochat ;-)
profil
Posté le 03-10-2008 à 15:43:38  answer
 

oui ben justement je viens d'y jeter un coup d'oeil et je ne me rappelais plus qu'il y avait une page d'accueil et un protail
alors en fait c'est à savoir où tu le veux vu que ce ne sont que des stats en fait et tu peux également les placer à plusieurs endroits donc j'énumère

 

tu peux placer ces stats de différentes façons soit
- sur la page principale du site à la racine
- sur la page du portail avant d'être connécté
- sur la age du portail après être connectés
- ou sur le forum carrément et qui là je pense n'a plus vraiment d'intéret si c'est seulement placé là mais c'est toi qui choisi. C'est selon comment tu veux que les gens soient inforés

 

Tu peux les mettre à plusieurs endroits aussi en combinant comme par
Il y a x membres connectés dans x salons
ou détaillées comme par exemple
x membres connectés
x salons
x membres dans x salons
x utilisateurs en ligne

 

réfléchi à tout ça et on verra quel fichier tu dois me donner en plus au cas ou
Là ça ne se verra que sur le forum et uniquement sur le forum vers qui est en ligne; c'est le mieux avec ce fichier

 


vu que c'est un cas pratiquement privé et qu'il est isolé je le mets dans délestage, ça ne va intérésser personne, ce n'est pas un style par défaut
Enfin je pense s'il faut le remonter dites le !


Message édité par speedyber le 04-10-2008 à 08:18:40

---------------
Pas de support en MP, ils ne seront pas pris en considération, merci !

Aller à :
Ajouter une réponse
 

 
Copyright 2001 / 2008 Kikoochat ® Tous droits réservés | Une solution proposée par Clicavenue ®