Archives FluxBB.fr

Les archives de FluxBB.fr

Vous n'êtes pas identifié(e).

#1 23-02-2010 13:33:02

leeloo
Membre

smiley déformé

Bonjour

J'ai actuellement un forum FluxBB (1.2.22 fr). avec chatbox. J'ai voulu installé de nouveau smiley mais le problème c'est que dans la chatbox ils sont redimensionné. Alors que tout va bien sur le forum.

J'ai inspecté les pages PHP constitué le mod chatbox ainsi que l'index.php mais je n'ai pas trouvé où et comment empêcher ce redimensionnement.

Pourriez vous m'aider?

Dans redimensionnement, j'entends par là que la taille est plus petite que la taille réelle et donc le smiley est déformée. Comme s'il y avait une taille maxi d'affichage.

Bonne journée.

Merci d'avance.

Hors ligne

#2 23-02-2010 15:20:51

Wan
Membre

Re : smiley déformé

Salut !
Peut-être devrais-tu regarder par là : http://www.punbb.fr/aide/doku.php/faq#c … x15_pixels
En espérant que cela résoudra ton pb ! wink

Hors ligne

#3 23-02-2010 16:53:07

leeloo
Membre

Re : smiley déformé

Merci de votre aide.

Malheureusement, ce n'est pas ça, car mes smiley ne sont déformés QUE dans la chatbox, dans le forum ça ne pose pas de problème j'avais déjà fait la modification.


Merci problème résolu.

En fait, en ouvrant bien les yeux mdr j'ai découvert un fichier includes/perser_chatbox.php. c'est dans ce fichier qu'il fallait enlever les commandes hauteur et largeur.

Dernière modification par leeloo (23-02-2010 17:06:05)

Hors ligne

#4 23-02-2010 17:54:00

Wan
Membre

Re : smiley déformé

j'ai découvert un fichier includes/perser_chatbox.php.

Un parser pour Chatbox ? C'est marrant j'ai pas ça chez moi... Quelle mod de Chatbox as-tu appliquée ?

Hors ligne

#5 23-02-2010 18:50:26

leeloo
Membre

Re : smiley déformé

Poki BB ChatBox - v2.0 - by Pokemon_JOJO

Hors ligne

#6 13-12-2012 11:00:32

david18
Membre

Re : smiley déformé

bonjour,


Pour moi j'ai ajouté des smileys dans la fluxtoolbar  via smiley manager et le problème c'est qu' ils sont trop petit  lorsque l'on clique dessus alors que les autres sont  de taille normal pouvez vous m'aidez S.V.P


528313Capture.jpg


cdlt

david

Dernière modification par david18 (13-12-2012 11:09:30)

Hors ligne

#7 14-12-2012 21:25:06

david18
Membre

Re : smiley déformé

Au secours !!!!!!!  happy

Hors ligne

#8 15-12-2012 07:32:25

Retraité
Membre

Re : smiley déformé

Bonjour smile

Il faut prendre en compte la fin du readme.txt de la mode Smilies Manager (puisque que c'est cette mode qui est en cause)

#
#---------[ 8bis. NOTES (Français) ]--------------------------------------
#

Vous devez maintenant vous rendre sur le plugin "Smilies" pour ajouter/modifier/supprimer vos smilies.

1) Pour ajouter un smiley, il FAUT avoir AUPARAVANT uploadé une image dans le répertoire "img/smilies" (ou utiliser une image déjà existante). Le plugin permet l'upload des images.

2) Peut-être, afin de pouvoir uploader des images, vous devrez faire un CHMOD sur le répertoire "img/smilies" (ajouter les droits d'écriture).

3) Vous pouvez personnaliser les limites d'upload (taille, largeur et hauteur) en modifiant le fichier "AP_Smilies.php" ; regardez en haut du fichier.

4) Par défaut, la taille des smilies affichés est de 15x15 pixels. Si vous voulez utiliser des smilies plus grands (et qu'ils ne soient pas déformés), vous devez :
- ouvrir "include/parser.php"
- rechercher la ligne contenant "img/smilies"
- supprimer cette partie : ' width="15" height="15"'
- faire la même opération dans "help.php"

Hors ligne

#9 15-12-2012 19:14:20

david18
Membre

Re : smiley déformé

Bonsoir ,



J'ai supprimer cette ligne mais c'est toujours pareil les smileys rajoutés depuis smilies sont minuscules


163648Capture.jpg


c'est pas normale  qu'il s'affiche comme  en cliquant dessus , mais si on copie url il s'affiche normalement  hmm est ce qui'il a quelque chose d'autre a faire ..


Ps : Merci retraité de tes solutions c'est bien de ce sentir épauler Grand merci


cdlt

david

Hors ligne

#10 15-12-2012 20:09:51

PascL
Membre

Re : smiley déformé

Bonjour,

Non, le bout de code à supprimer ne l'est pas.
Voilà un lien de ton forum où il y a un smiley:
http://www.fansvswild.com/forum/viewtop … 4451#p4451
Voilà le code source qui affiche le smiley:

<img width="15" height="15" alt="drapeau" src="http://www.fansvswild.com/forum/img/smilies/drapeau.gif">

Soit tu ne l'as pas supprimé (par exemple tu l'as fait en local et pas remis en ligne ensuite), soit tu l'as à plusieurs endroits dans tes fichiers et tu ne l'as enlevé qu'à un seul.

Hors ligne

#11 15-12-2012 20:12:51

Otomatic
Régisseur

Re : smiley déformé

Bonjour,

Ce n'est pas la ligne complète qu'il faut supprimer mais seulement la partie width="15" height="15".
Pour autant qu'il m'en souvienne, je crois bien qu'avec la version 1.2.x, il fallait le faire deux fois à deux lignes différentes.
Pour le voir, effectue une recherche multifichiers avec comme critère width="15" height="15"'.

D'autre part il doit y avoir des modifs ou ajouts à faire dans le fichier css.
Voilà ce que j'ai dans mon fichier css (Et pour FluxBB 1.4.x ou 1.5.x)

div#toolbar {
  background: transparent url(../img/fluxtoolbar/bg.png) repeat-x center center;
	border: 1px solid #d1d1d1;
	border-width: 1px 1px 0 1px;
	width: 110%;
}

/* Images in toolbar div */
div#toolbar img {
	vertical-align: middle;
}

Ce n'est pas parce que l'erreur se propage qu'elle devient vérité. Gandhi
Sont différents : ça et sa - est et ait - à et a - ce et se - mes et mais ou met - été et était - c'est et ces - ce-si et ceci
La vie sans musique est tout simplement une erreur, une fatigue, un exil. Friedrich Nietzsche

Hors ligne

#12 16-12-2012 00:02:11

david18
Membre

Re : smiley déformé

Est ce que c'est a cause de ça que quand  j' upload avec smilies mes smileys apparaisse minuscule ? et si j'ai bien compris il faut que je supprime   la mention  ( width="15" height="15"  )  et faire une recherche de celle-ci .



j'ai commencer a chercher  mais je ne l'ait pas trouvé et  de toute façon cette ligne n'est pas présent partout . Donc je cherche toujours wink  et part ailleurs sur ce forum quand on clique sur un smiley et s'affiche normalement tandis que moi c'est tout petit  et c'est bizarre par ce que c'est juste des smiley que j'ai pris ailleurs et s'affiche ainsi .


Ps : et j'avais une autre question en fessant allusion du lien que ma donner pascL  est t'il possible de changer la largeur du forum afin de la réduire à 960 px de large ?


Donc je continue mes recherches et je vous tiens au courantet un  Grand merci a PascL et otomatic c'est super sympas d'avoir des personnes sur qui compter ( chapeau a fluxbb.fr ) ^^


Ps: otomatic  il se trouve ou ce fichier  css ?

Dernière modification par david18 (16-12-2012 10:45:49)

Hors ligne

#13 16-12-2012 09:10:43

Retraité
Membre

Re : smiley déformé

Bonjour david18


Sur le fichier include\parser.php provenant de fluxbb-1.5.0 d'origine (c'est cette version que tu utilises), nous avons

Line 850

foreach ($smilies as $smiley_text => $smiley_img)
	{
		if (strpos($text, $smiley_text) !== false)
			$text = ucp_preg_replace('%(?<=[>\s])'.preg_quote($smiley_text, '%').'(?=[^\p{L}\p{N}])%um', '<img src="'.pun_htmlspecialchars(get_base_url(true).'/img/smilies/'.$smiley_img).'" width="15" height="15" alt="'.substr($smiley_img, 0, strrpos($smiley_img, '.')).'" />', $text);
	}

Qu'il convient de modifier comme ceci :

foreach ($smilies as $smiley_text => $smiley_img)
	{
		if (strpos($text, $smiley_text) !== false)
			$text = ucp_preg_replace('%(?<=[>\s])'.preg_quote($smiley_text, '%').'(?=[^\p{L}\p{N}])%um', '<img src="'.pun_htmlspecialchars(get_base_url(true).'/img/smilies/'.$smiley_img).'"  "   alt="'.substr($smiley_img, 0, strrpos($smiley_img, '.')).'" />', $text);

    }

Il faut apporter la même modification dans le fichier \help.php

Line 146 d'origine

foreach ($smiley_groups as $smiley_img => $smiley_texts)
	echo "\t\t".'<p><code>'.implode('</code> '.$lang_common['and'].' <code>', $smiley_texts).'</code> <span>'.$lang_help['produces'].'</span> <samp><img src="'.pun_htmlspecialchars(get_base_url(true)).'/img/smilies/'.$smiley_img.'" width="15" height="15" alt="'.$smiley_texts[0].'" /></samp></p>'."\n";

remplacée par

foreach ($smiley_groups as $smiley_img => $smiley_texts)
	echo "\t\t".'<p><code>'.implode('</code> '.$lang_common['and'].' <code>', $smiley_texts).'</code> <span>'.$lang_help['produces'].'</span> <samp><img src="'.pun_htmlspecialchars(get_base_url(true)).'/img/smilies/'.$smiley_img).'"  "   alt="'.$smiley_texts[0].'" /></samp></p>'."\n";

Ne pas oublier d’effacer les fichiers cache via le plugin toolbars

Pour fixer la largeur du forum, il faut modifier ton fichier css

body .pun {
    width:960px; margin:12px auto; text-align:left
    }

smile

Hors ligne

#14 16-12-2012 09:17:11

david18
Membre

Re : smiley déformé

Bonjour,


Merci beaucoup retraité  des tes solution  et je regarde ça de suite Grand merci à toi


cdlt

david ^^

Hors ligne

#15 16-12-2012 09:25:49

david18
Membre

Re : smiley déformé

je vient de faire la modif dans les deux fichiers et les smileys que j'ai rajoutés sont toujours  minuscules et il faudrait que je recherche si cette ligne n'est pas ailleurs .  hmm




Ps : PascL  pour modifier le fichier css c'est bien dans le thème utiliser moi c'est  ( Heart  ) et est ce que c'est là dedans et quels ligne je ne la vois pas ?

/*****************************************************************
1. INITIAL SETTINGS
*****************************************************************/

/* Limited Reset
----------------------------------------------------------------*/

html, body, .pun table, .pun div, .pun form, .pun p, .pun h1, .pun h2, .pun h3, .pun h4, .pun h5, .pun pre, .pun blockquote,
.pun ul, .pun ol, .pun li, .pun dl, .pun dt, .pun dd, .pun th, .pun td, .pun fieldset, .pun legend .pun img,
.pun abbr, .pun cite {
	border: 0;
	font-style: normal;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

.pun ul, .pun ol {
	list-style: none;
}

.pun select {
	padding-bottom: 1px;
	padding-top: 1px;
}

/* Content Defaults
----------------------------------------------------------------*/

.pun {
	font: 81.25%/1.462em Arial, Helvetica, sans-serif;
}

.pun table, .pun td, .pun th, .pun input, .pun select, .pun optgroup, .pun textarea, .pun legend {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}

.pun pre, .pun code {
	font-family: consolas, monaco, "bitstream vera sans mono", "courier new", courier, monospace;
	font-size: 1em;
}

.pun pre code {
	font-size: 1em;
}

.pun table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
	empty-cells: show;
	width: 100%;
}

.pun h1 {
	font:2.154em/1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 7px 0;
}

.pun h2, .pun .hd h2 {
	font: 1.462em/1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 7px 0;
}

.pun h3 {
	font-size: 1.154em;
	line-height: 1.267em;
	padding: 7px 0;
}

.pun h4 {
	font-size: 1.077em;
	font-weight: bold;
	padding: 7px 0;
}

.pun h5, .pun h6 {
	font-size: 1em;
	font-weight: bold;
	padding: 7px 0;
}

.pun p, .pun ul, .pun ol, .pun dl, .pun th, .pun td, .pun legend {
	padding: 7px 0;
}

.pun strong, .pun th, .pun span.warntext, .pun p.warntext {
	font-weight: bold;
}

.pun em {
	font-style: italic;
}

.pun a, .pun a:link, .pun a:visited {
	text-decoration: none;
}

.pun a:hover, .pun a:active, .pun a:focus {
	text-decoration: underline;
}

.pun .actions span {
	padding-left: 16px;
	padding-right: 8px;
	background: url(Earth/img/bull.png) center left no-repeat;
	display: inline-block;
	line-height: normal;
}

/* Hidden Elements
----------------------------------------------------------------*/

#brdfooter h2, #brdstats h2, #debug h2, #brdstats .conl dt, #brdstats .conr dt, #modcontrols dt,
#searchlinks dt, div.postright h3, .pun .subscribelink span, #announce .hd, #reportform h2, #punmoderate #vf h2,
#punviewforum #vf h2, .pun .required strong span, .pun .icon div {
	display: block;
	overflow: hidden;
	position: absolute;
	text-indent: -9999em;
	width: 0;
}

/* Generic Float Clear
----------------------------------------------------------------*/

.pun .inbox, .pun #brdmain, .pun .crumbs, .pun .pagepost, .pun .block2col {
	min-height: 1px;
}

* html .pun .inbox, * html .pun #brdmain, * html .pun .infldset, * html .pun .crumbs, * html .pun .pagepost, * html .pun .block2col {
	display: inline-block;
}

* html .pun .inbox, * html .pun #bdrdmain, * html .pun .infldset, * html .pun .crumbs, * html .pun .pagepost, * html .pun .block2col {
	display: block;
}

.pun .inbox:after, .pun #brdmain:after, .pun .crumbs:after, .pun .pagepost:after, .pun .block2col:after {
	content: " ";
	display: block;
	height: 0;
	font-size: 0;
	clear: both;
	visibility: hidden;
}

.pun .block2col .inbox:after {
	content: none;
	clear: none;
}

.clearl {
	clear: left;
}

/*****************************************************************
2. COMMON STYLES
*****************************************************************/

/* Page Layout
----------------------------------------------------------------*/

.pun {
	padding: 30px 40px;
}

#punredirect, #punmaint {
	padding: 60px 20% 12px 20%;
}

#puninstall, #pundb_update {
	padding: 20px 10%;
}

.pun .punwrap {
	border: 1px solid;
	padding: 18px;
}

.pun .top-box {
	height: 18px;
	margin-bottom: -18px;
	position: relative;
	background: url(Earth/img/main_top.png) top left no-repeat;
}

.pun .top-box div {
	height: 18px;
	margin-left: 50%;
	background: url(Earth/img/main_top.png) top right no-repeat;
}

.pun .end-box {
	margin-top: -17px;
	height: 18px;
	position: relative;
	background: url(Earth/img/main_end.png) bottom left no-repeat;
}

.pun .end-box div {
	height: 18px;
	margin-left: 50%;
	background: url(Earth/img/main_end.png) bottom right no-repeat;
}

#punredirect h2, #punmaint h2 {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	margin-bottom: 3px;
}

/* Section Spacing and Borders
----------------------------------------------------------------*/

#brdmain {
	border-style: solid none;
	border-width: 2px 0;
	margin-bottom: 12px;
	padding: 12px 0;
}

#punindex #brdmain {
	padding-top: 24px;
}

#punredirect #brdmain, #punmaint #brdmain {
	border: 0;
	margin: 0;
	padding: 0;
}

#brdstats {
	border-style: solid none none none;
	border-width: 2px 0 0 0;
	margin-top: 24px;
	padding-top: 12px;
}

#quickpost {
	border-style: solid none none none;
	border-width: 2px 0 0 0;
	margin-top: 12px;
	padding-top: 12px;
}

#announce {
	border-style: solid none none none;
	border-width: 2px 0 0 0;
	padding-top: 3px;
}

/*****************************************************************
3. COMMON BOARD ELEMENTS
*****************************************************************/

/* Logo, Description and Main Menu
----------------------------------------------------------------*/

#brdtitle h1 {
	padding: 0 0 10px 0;
}

#brddesc {
	border-top-style: dotted;
	border-top-width: 1px;
	padding: 10px 0;
}

#brddesc p {
	padding: 0;
}

#brdmenu ul {
	padding: 0;
}

#brdmenu li {
	float: left;
}

#brdmenu a:link, #brdmenu a:visited {
	border-right-style: solid;
	border-width: 1px;
	display: block;
	min-width: 60px;
	padding: 12px 16px 6px 8px;
	white-space: nowrap;
}

#brdmenu a:hover, #brmenu a:active, #brdmenu a:focus {
	text-decoration: none;
}

/* Welcome Box
----------------------------------------------------------------*/

#brdwelcome {
	padding: 10px 0;
}

#brdwelcome .conl, #brdwelcome .conr, #brdwelcome p, #brdwelcome li {
	display: inline;
	padding: 0;
}

#brdwelcome .conl {
  float: left;
}

#brdwelcome .conr {
  float: right;
}

#brdwelcome li span {
	background: url(Earth/img/bull.png) center left no-repeat;
	padding-left: 18px;
	margin-right: 3px;
	display: inline-block;
	line-height: normal;
	white-space: nowrap;
}

#brdwelcome .conl li:first-child span {
	padding-left: 0;
	background: none;
}

/* Stats
----------------------------------------------------------------*/

#brdstats .conl {
	float: left;
}

#brdstats .conr {
	float: right;
	text-align: right;
}

#brdstats #onlinelist {
	border-top-style: dotted;
	border-top-width: 1px;
	clear: both;
}

#brdstats #onlinelist dt, #brdstats #onlinelist dd {
	display: inline;
}

/* Footer
----------------------------------------------------------------*/

.pun #modcontrols {
	border-style: none none dotted none;
	border-width: 0 0 1px 0;
	margin-bottom: 4px;
	text-align: center;
	width: 100%;
}

.pun #modcontrols dd {
	display: inline;
}

.pun #brdfooter #modcontrols dd span {
	background: url(Earth/img/bull.png) center left no-repeat;
	display: inline-block;
	line-height: normal;
	padding-left: 18px;
	white-space: nowrap;
}

.pun #brdfooter .conl {
	float: left;
}

.pun #brdfooter .conr {
	text-align: right;
	float: right;
}

.pun #brdfooter #poweredby a {
	font-size: 1.077em;
	font-weight: bold;
}

.pun #brdfooter #qjump {
	padding-top: 5px;
}

.pun #brdfooter #qjump * {
	white-space: nowrap;
}

.pun #brdfooter #searchlinks dd span {
	background: url(Earth/img/bull.png) center left no-repeat;
	display: inline-block;
	line-height: normal;
	padding-left: 18px;
	white-space: nowrap;
}

.pun #brdfooter #feedlinks {
	padding-bottom: 0;
}

.pun #brdfooter #feedlinks span {
	background: url(Earth/img/feed.png) center left no-repeat;
	display: inline-block;
	padding-left: 18px;
	white-space: nowrap;
}

.pun #debugtime {
	border-style: dotted none none none;
	border-width: 1px 0 0 0;
	margin-top: 7px;
	text-align: center;
}

/* Breadcrumbs, Postlink, Pagination
----------------------------------------------------------------*/

.pun .linkst .inbox, .pun linksb .inbox, .pun .postlinksb .inbox {
	overflow: hidden;
}

.pun .linksb, .pun .postlinksb, .pun .linkst, .pun .crumbs {
	clear: both;
	position: relative;
}

.pun .linkst .crumbs {
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 1.462em;
	line-height: 1.211em;
	padding: 7px 0;
}

.pun .linksb .crumbs, .pun .postlinksb .crumbs {
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 1.154em;
}

.pun .linkst .crumbsplus .pagepost {
	border-top-style: dotted;
	border-top-width: 1px;
}

.pun .linksb .crumbsplus .pagepost, .pun .postlinksb .crumbsplus .pagepost {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
}

.pun .postlinksb .crumbs {
	margin-right: 11em;
}

.pun .crumbs li {
	float: left;
	padding-right: 0.4em;
	white-space: nowrap;
}

.pun .crumbs li strong {
	font-weight: normal;
}

.pun .pagelink {
	float: left;
	white-space: nowrap;
}

.pun .pagelink strong, .pun .pagelink a, .pun .pagelink span.spacer {
	border-style: none none none solid;
	border-width: 0 0 0 1px;
	display: inline-block;
	padding: 0 12px 0 10px;
	margin-right: -6px;
}

.pun .pagelink .item1 {
	border: 0;
}

.pun .pagelink .pages-label {
	display: inline-block;
}

.pun .postlink {
	float: right;
	font-weight: bold;
	text-align: right;
}

.pun .modbuttons {
	float: right;
	padding: 5px 0 3px 0;
}

.pun .modbuttons input {
	margin-left: 8px;
}

.pun .subscribelink {
	position: absolute;
	right: 0;
	text-align: right;
	top: 33px;
}

#punindex .subscribelink {
	top: 0px;
}

#punindex .linksb {
	height: 12px;
}

/*****************************************************************
4. MAIN TABLES
*****************************************************************/

.pun #brdmain .blocktable {
	position: relative;
}

#punindex #brdmain .blocktable h2, #punsearch #vf h2 {
	font: 1em/1.462em Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin: 1px 1px 0 1px;
	padding-left: 8px;
	position: absolute;
	left: 0;
	white-space: nowrap;
	z-index: 100;
}

#punindex .blocktable th.tcl, #punsearch #vf th.tcl {
	font-size: 0;
	text-indent: -9999em;
}

.pun .blocktable .box {
	border-style: solid;
	border-width: 1px;
	margin-bottom: -1px;
	overflow: hidden;
	position: relative;
}

* html .pun .blocktable .box {
	display: inline-block;
}

.pun .blocktable table {
	table-layout: fixed;
	margin-bottom: -1px;
}

.pun .blocktable th {
	padding: 7px 8px;
	border-style: none none solid none;
	border-width: 1px;
	text-align: left;
}

.pun .blocktable td {
	padding: 7px 8px;
	line-height: 1.3077em;
	border-style: none none solid none;
	border-width: 1px;
	text-align: left;
}

.pun .blocktable h3 {
	font-size: 1.077em;
	font-weight: bold;
	padding: 0;
}

.pun .blocktable p {
	padding: 0;
}

.pun .blocktable .tcl p {
	padding: 5px 0 0 0;
}

.pun .blocktable .tcl {
	width: auto;
}

.pun .blocktable .tc2, .pun .blocktable .tc3, .pun .blocktable .tcmod {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	width: 11%;
}

.pun .blocktable .tcr {
	width: 30%;
}

.pun .blocktable td .newtext, .pun .blocktable td .pagestext, .pun .blocktable td .byuser {
	white-space: nowrap;
}

.pun .blocktable .tcl h3 span.newtext {
	font-size: 0.929em;
	font-weight: normal;
}

.pun #vf td.tcl span.stickytext, .pun #vf td.tcl span.closedtext {
	font-size: 1em;
	font-weight: bold;
}

#punsearch #vf .tc2 {
	padding-left: 8px;
	padding-right: 8px;
	text-align: left;
	width: 18%;
}

#users1 .tcr {
	width: 25%;
}

#users1 .tc2 {
	padding-left: 8px;
	padding-right: 8px;
	text-align: left;
	width: 25%;
}

#debug {
	margin-top: 12px;
}

#debug .tcl {
	width: 10%;
}

#punredirect #debug .tcl, #punmaint #debug .tcl {
	width: 20%;
}

#debug .tcr {
	width: 90%;
	white-space: normal
}

#punindex .tcr .byuser {
	display: block
}

#punindex td.tc2, #punindex td.tc3, #punindex td.tcr, .pun #vf td.tc2, .pun #vf td.tc3,
.pun #vf td.tcr, #punindex td.tcl div.forumdesc, .pun #vf td.tcl span {
	font-size: 0.923em;
}

.pun #vf td.tcl a {
	font-weight: bold;
}

.pun #vf td.tcl span a {
	font-weight: normal;
}

.pun .blocktable .tclcon {
	height: 1%;
	min-height: 1px;
	overflow: hidden;
	padding: 0 11px 0 12px;
	position: relative;
}

.pun .blocktable .tclcon div {
	width: 100%;
	overflow: hidden;
}

.pun .icon {
	background: url(Earth/img/avatar.png) no-repeat;
	border-width: 8px;
	float: left;
	height: 44px;
	overflow: hidden;
	width: 44px;
}

.pun .iposted .ipost {
	font-weight: bold;
	left: 0;
	padding-left: 4px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 8px;
}

/*****************************************************************
MAIN POSTS
*****************************************************************/

/* Structure
----------------------------------------------------------------*/

.pun .blockpost {
	border-style: solid;
	border-width: 1px;
	margin-bottom: -1px;
	overflow: hidden;
	position: relative;
}

* html .pun .blockpost {
	display: inline-block;
}

.pun .blockpost h2 {
	font: 1em/1.462em Arial, Helvetica, sans-serif;
	white-space: nowrap;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	height: 1.462em;
	padding: 0.538em 8px 0.538em 236px;
	font-weight: normal;
}

#punsearch .blockpost h2 {
	height: auto;
	padding-left: 36px;
	white-space: normal;
}

#punsearch .blockpost h2 span span {
	white-space: nowrap;
	display: inline-block;
	font: 1.077em "Trebuchet MS", Arial, Helvetica, sans-serif
}

#punsearch .blockpost .icon {
	position: absolute;
	top: 0;
	margin-top: -2.154em;
}

.pun .blockpost h2 .conr {
	float: right;
	text-align: right;
}

.pun .blockpost .inbox {
	float: right;
	position: relative;
	width: 100%;
}

.pun .blockpost .postbody, .pun .blockpost .postfoot {
	border-left-style: solid;
	border-left-width: 1px;
	float: right;
	margin-right: -218px;
	position: relative;
	text-align: left;
	width: 100%;
}

.pun .blockpost .postleft, .pun .blockpost .postfootleft {
	width: 194px;
	padding: 7px 12px 7px 12px;
	float: left;
	margin-left: -218px;
	position: relative;
}

.pun .blockpost .postleft dl {
	padding: 0;
}

#punviewtopic .blockpost dt, #punmoderate .blockpost dt {
	display: block;
	position: absolute;
	padding: 0.538em 0 0.538em 12px;
	height: 1.462em;
	top: -2.615em;
	left: 0;
	overflow: hidden;
	width: 206px;
}

.pun .blockpost dt strong {
	font-size: 1.231em;
	font-weight: bold;
}

.pun .blockpost .postleft dd {
	font-size: 0.923em;
}

.pun .blockpost .postleft .usertitle {
	padding: 4px 0 6px 0;
	font-size: 1em;
}

.pun .blockpost .postleft .postavatar {
	display: block;
	margin: 0 0 4px 0;
}

.pun .blockpost .postright {
	position: relative;
	padding: 4px 230px 7px 18px;
}

.pun .postmsg {
	width:100%;
	overflow: hidden;
	word-wrap: break-word;
}

.pun .blockpost .postfootright {
	position: relative;
	padding: 7px 230px 7px 18px;
	text-align: right;
}

.pun .postfoot p, .pun .postfoot ul {
	padding: 0;
}

.pun .blockpost .postfootright li {
	display: inline;
}

.pun .blockpost .postfootright li span {
	display: inline-block;
	padding-left: 16px;
	margin-left: 8px;
	line-height: normal;
	background: url(Earth/img/bull.png) center left no-repeat;
}

.pun .blockpost .usercontacts {
	padding: 7px 0;
}

.pun .blockpost .usercontacts .email {
	background: url(Earth/img/email.png) left 65% no-repeat;
	margin-right: 5px;
	padding-left: 21px;
	display: inline-block;
	line-height: normal;
}

.pun .blockpost .usercontacts .website {
	background: url(Earth/img/ext.png) left 65% no-repeat;
	padding-left: 18px;
	display: inline-block;
	line-height: normal;
}

.pun .postsignature hr {
	border:none;
	height: 1px;
	margin-left: 0px;
	text-align: left;
}

/* Content (includes other user content)
----------------------------------------------------------------*/

.pun .usercontent {
	padding: 7px 0;
}

.pun .postmsg p, .pun .postmsg li, #punhelp p samp {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.pun .usercontent h1, .pun .usercontent h2, .pun .usercontent h3,
.pun .usercontent h4, .pun .usercontent h5, .pun .usercontent h6 {
	padding: 7px 0 0 0;
}

.pun .postmsg h5, #punhelp h5 {
	font-size: 1.231em;
	font-weight: bold;
	padding: 7px 0;
}

.pun .usercontent ul, .pun .postmsg ul {
	list-style: disc;
	padding: 4px 13px 4px 30px;
}

.pun .usercontent ol, .pun .postmsg ol {
	list-style: decimal;
	padding: 4px 13px 4px 30px;
}

.pun .usercontent ol.alpha, .pun .postmsg ol.alpha {
	list-style: lower-alpha;
}

.pun .usercontent li, .pun .postmsg li {
	padding: 0 3px;
}

.pun .usercontent li p, .pun .postmsg li p {
	padding: 0;
}

.pun span.bbu {
	text-decoration: underline;
}

.pun span.bbs, .pun del {
	text-decoration: line-through;
}

.pun .postmsg ins, #punhelp samp ins {
	text-decoration: none;
}

.pun .blockpost .postmsg .postedit {
	font-size: 0.857em;
}

.pun .blockform .postsignature, .pun .blockpost .postsignature {
	font-size: 0.923em;
}

.pun .codebox {
	border-style: solid;
	border-width: 1px;
	margin: 0.75em 1em;
	padding: 0;
}

.pun .quotebox {
	border-style: solid;
	border-width: 1px 1px 1px 3px;
	margin: 0.75em 1em;
	padding: 0 0.75em;
}

.pun .quotebox cite {
	display: block;
	padding: 0.75em 0 0 0;
	font-weight: bold;
	line-height: 1.462em;
}

.pun .quotebox blockquote {
	overflow: hidden;
	width: 100%;
}

.pun .codebox pre {
	overflow-y:hidden;
	overflow: auto;
	width: 100%;
	direction: ltr;
	text-align: left;
}

* html .pun .codebox pre {
	padding-bottom: 10px;
}

*:first-child+html .pun .codebox pre {
	padding-bottom: 10px;
}

.pun .codebox pre code {
	padding: 0.75em;
	white-space: pre;
}

.pun div[class*=codebox] pre code {
	display: inline-block;
}

* html .pun .codebox pre code {
	display: block;
}

.pun .codebox pre.vscroll {
	height: 32em;
	overflow: auto;
	overflow-y: auto
}

.pun .postmsg img, #punhelp samp img {
	vertical-align: text-top;
}

.pun .postmsg .postimg img {
	max-width: 98%;
	vertical-align: middle;
	margin: 7px 0.5em 7px 0;
}

.pun .postmsg .postimg a:link img, .pun .postmsg .postimg a:visited img {
	border-style: solid;
	border-width: 2px;
}

/*****************************************************************
MAIN FORMS
*****************************************************************/

#punedit .blockform h2, #punpost .blockform h2, #postpreview h2, #posterror h2,
.pun #quickpost h2, .pun #reportform h2, #pundelete .blockform h2 {
	font: 1em/1.462em Arial, Helvetica, sans-serif;
	font-weight: bold;
	white-space: nowrap;
	padding: 10px 19px 4px 37px;
	border: 0;
}

#punpost .blockform h2, #punedit .blockform h2,.pun #quickpost h2,
#pundelete .blockform h2 {
	margin: 1px 1px 0 1px;
	width: 25em;
	position: absolute;
	z-index: 100;
}

.pun #quickpost legend, #punpost legend, #punedit legend {
	width: 25em;
	overflow: hidden;
	white-space: nowrap;
}

.pun .blockform .box {
	border-style: solid;
	border-width: 1px;
	padding-bottom: 12px;
}

.pun #posterror {
	border-style: solid;
	border-width: 1px;
}

.pun #posterror .box {
	padding: 0 18px 12px 18px;
}

* html .pun .blockform .box, * html .pun #posterror {
	display: inline-block;
}

.pun .blockform .forminfo, .pun .error-info {
	padding: 12px 18px;
	border-style: solid;
	border-width: 1px;
	position: relative;
}

.pun .blockform .forminfo {
	margin-top: 12px;
}

#pundelete .blockform .forminfo {
	margin-top: 33px;
}

.pun .forminfo h3 {
	padding-bottom: 0;
}

.pun .error-list li {
	padding-left: 24px;
	background: url(Earth/img/exclaim.png) center left no-repeat;
}

.pun .inform {
	padding: 0 18px;
}

.pun legend {
	font-weight: bold;
	padding: 10px 19px 4px 19px;
}

* html .pun legend {
	margin-left: -7px;
}

*:first-child+html .pun legend {
	margin-left: -7px;
}

.pun .infldset {
	border-style: solid;
	border-width: 1px;
	padding: 12px 18px;
}

#punregister #rules .infldset {
	padding: 5px 18px;
}

.pun fieldset p {
	padding: 0 0 7px 0;
	width: 100%;
}

.pun fieldset .usercontent p {
	padding: 7px 0;
}

.pun fieldset label {
	display: block;
	padding: 0 0 7px 0;
}

.pun label em {
	font-weight: normal;
	font-style: normal;
}

.pun .required strong {
	background: url(Earth/img/asterisk.png) center right no-repeat;
	font-weight: normal;
	padding-right: 14px;
	white-space: pre;
	display: inline-block;
	line-height: normal;
}

.pun label input, .pun label select, .pun label textarea {
	margin-top: 2px;
}

.pun label.conl {
	display: inline-block;
	padding-right: 12px;
}

.pun form .buttons {
	padding: 8px 19px 8px 34px;
	margin-bottom: -12px;
}

.pun .blockform .buttons input {
	margin-right: 12px;
}

.pun .rbox {
	padding: 3px 0;
}

.pun .rbox label {
	padding: 3px 0 3px 1.75em;
	position: relative;
	min-height: 1px;
}

* html .pun .rbox label {
	text-indent: -3px;
	height: 1%;
}

.pun .rbox input {
	margin: 3px 0.75em 3px -1.75em;
	float: left;
	position: relative;
	vertical-align: middle;
	padding: 0;
	height: 1em;
	width: 1em;
}

.pun input[type=text], .pun select, .pun textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.pun .txtarea textarea, .pun input.longinput {
	width: 98%;
}

.pun #quickpost .txtarea {
	padding-right: 12px;
	position: relative;
}

.pun .blockform .bblinks {
	padding-top: 0;
}

.pun .blockform .bblinks li {
	display: inline;
}

.pun .blockform .bblinks li span {
	background: url(Earth/img/help.png) center left no-repeat;
	margin-right: 8px;
	padding-left: 20px;
	display: inline-block;
}

.pun #quickpost .bblinks {
	padding-top: 0;
}

.pun #quickpost .bblinks li {
	display: inline;
}

.pun #login p.clearb {
	border-top-style: dotted;
	border-top-width: 1px;
	font-size: 0;
	height: 0;
	line-height: 0;
	margin-top: 7px;
	overflow: hidden;
	padding-bottom: 3px;
	padding-top: 7px;
	text-indent: -9999em;
	width: 100%;
}

.pun #postreview {
	padding-top: 12px;
}

.pun #postpreview, .pun #posterror {
	margin-bottom: 12px;
}

.pun #postpreview .postright {
	padding: 0;
}

.pun #postpreview .postbody {
	border-style: solid;
	border-width: 1px;
	float: none;
	margin: 0 18px 12px 18px;
	padding: 0;
	padding: 4px 18px 4px 18px;
	width: auto;
}

.pun span.email {
	background: url(Earth/img/email.png) left 65% no-repeat;
	margin-right: 5px;
	padding-left: 21px;
	display: inline-block;
	line-height: normal;
}

.pun span.website {
	background: url(Earth/img/ext.png) left 65% no-repeat;
	padding-left: 18px;
	display: inline-block;
	line-height: normal;
}

#punmisc #rules .box {
	border-style: solid;
	border-width: 1px;
	padding: 5px 18px;
}


#punhelp .box {
	border-style: solid;
	border-width: 1px;
	padding: 7px 12px;
}

.pun .multiselect {
	float: left;
	padding-bottom: 7px;
}

.pun .checklist {
	border-width: 1px;
	border-style: solid;
	max-height: 9em;
	width: 20em;
	overflow: auto;
	padding: 0.25em 0.5em;
	margin: 0.25em 16px 0 0.15em;
}

.pun .checklist legend {
	padding: 0;
}

.pun .checklist legend span {
	width: auto;
	max-width: 25em;
}

.pun .checklist .checklist-item {
	position: relative;
}

.pun .checklist .checklist-item label {
	padding: 0 0 0 1.75em;
}

.pun .checklist .checklist-item .fld-input {
	position: absolute;
	left: 0;
	top: 0;
	padding: 0;
	margin: 0;
}

.pun .checklist .checklist-item input {
	margin: 0;
	height: 1.55em;
	width: 1.55em;
}

/*****************************************************************
PROFILES (+ ADMIN MENU)
*****************************************************************/

/* Profile / Admin
----------------------------------------------------------------*/

.pun .blockmenu {
	width: 13em;
	float: left;
	padding-bottom: 12px;
}

.pun .block2col .blockform, .pun .block2col .block {
	margin-left: 15em;
}

.pun .blockmenu .block2 {
	padding-top: 19px;
}

.pun .blockmenu ul {
	border-top-style: dotted;
	border-top-width: 1px;
	padding: 0;
}

.pun .blockmenu li {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	font-weight: bold;
	padding: 0;
}

.pun .blockmenu a:link, .pun .blockmenu a:visited {
	display: block;
	padding: 9px 6px 3px 6px;
	min-height: 1px;
	text-decoration: none;
}

* html .pun .blockmenu a:link,  * html .pun .blockmenu a:visited {
	height: 1%;
}

.pun .blockmenu a:hover, .pun .blockmenu a:active, .pun .blockmenu a:focus {
	text-decoration: none;
}

#viewprofile .box {
	border-style: solid;
	border-width: 1px;
	padding-bottom: 18px;
}

#viewprofile dt, #adstats dt {
	padding: 7px 0;
	position: absolute;
	width: 13em;
	left: 0;
}

#viewprofile dl {
	border-style: solid none none none;
	border-width: 1px;
	margin: 7px 0;
	padding: 0;
	width: 100%;
	position: relative;
}

#adintro, #adstats {
	border-style: solid;
	border-width: 1px;
	padding: 18px;
}

#adintro li span {
	display: inline-block;
	padding-left: 16px;
	margin-left: 8px;
	line-height: normal;
	background: url(Earth/img/bull.png) center left no-repeat;
}

#adstats .inbox, #adintro .inbox {
	border-style: solid;
	border-width: 1px;
	padding: 18px;
}

#adstats dl {
	margin: 0;
	padding: 0;
	width: 100%;
	position: relative;
}

#viewprofile dd, #adstats dd {
	border-style: none none solid none;
	border-width: 1px;
	padding: 7px 0 7px 13em;
}

/*****************************************************************
COLOUR SCHEME
*****************************************************************/

/* Basic defaults and Common Items
----------------------------------------------------------------*/

html, body, .pun {
	background: #eaede2;
	color: #333;
}

.pun .punwrap {
	background: #fff;
	border-color: #ccd7c1;
	color: #526550;
}

#brdtitle #brddesc, .pun .pagepost, #brdstats #onlinelist, #brdfooter #searchlinks, #brdfooter #modcontrols,
#punmaint h2, #punredirect h2, #adminconsole .submittop, .pun #debugtime, .pun .pagelink a, .pun .pagelink * {
	border-color: #bbc6b2;
}

.pun a, .pun a:link, .pun a:visited {
	color: #047E00;
}

.pun a:hover, .pun a:active, .pun a:focus {
	color: #73A900;
}

.pun .postmsg .postimg a:link img, .pun .postmsg .postimg a:visited img {
	border-color: #047E00;
}

.pun .postmsg .postimg a:hover img, .pun .postmsg .postimg a:active img, .pun .postmsg .postimg a:focus img {
	border-color: #73A900;
}

/* Primary Navigation
----------------------------------------------------------------*/

#brdmenu {
	background: #32671d;
}

#brdmenu a, #brdmenu a:link, #brdmenu a:visited {
	background: #32671d;
	border-color: #fff;
	color: #e3e3c8;
}

#brdmenu a:hover, #brdmenu a:active, #brdmenu a:focus {
	background: #2ca100;
	border-color: #fff;
	color: #fff;
}

/* Main Tables
----------------------------------------------------------------*/

.pun .blocktable .box {
	background: #fcfcf4;
	border-color: #bbc6b2 #d8dccf;
}

#punindex .blocktable h2, .pun #vf h2 {
	color: #83866a;
}

#adminconsole fieldset th, #adminconsole fieldset td {
	background: #f6f6ea;
	border-color: #dce6d8;
}

.pun #users1 h2 {
	background: #fff;
}

.pun .blocktable td {
	border-color: #dce6d8;
}

.pun .blocktable th {
	background: #eaecda;
	border-color: #ccd7c1;
	color: #83866a;
}

.pun .blocktable td.tcl span.stickytext {
	color: #c08b20;
}

/* Main Posts
----------------------------------------------------------------*/

.pun .blockpost {
	background: #f6f6ea;
	border-color: #bbc6b2 #d8dccf;
}

.pun .blockpost h2 {
	background: #eaecda;
	border-color: #ccd7c1;
	color: #83866a;
}

.pun .blockpost .postbody, .pun .blockpost .postfoot {
	background: #fcfcf4;
	border-color: #dce6d8;
}

.pun .blockpost .postfootright li {
	color: #fcfcf4;
}

.pun .postmsg, #punhelp code, #punhelp samp {
	color: #333;
}

.pun .postsignature, .pun .postmsg .postedit {
	color: #526550;
}

.pun .quotebox {
	background: #f9fae5;
	border-color: #bdbc7a;
	color: #566579;
}

.pun .quotebox cite {
	color: #83866a;
}

.pun .codebox, #punhelp .codebox code {
	background: #333;
	color: #fff;
}

.pun .postmsg hr {
	background: #bbc6b2;
}

.pun .postmsg ins, #punhelp samp ins {
	background-color: #ff0;
}

/* Main Forms + Profile
----------------------------------------------------------------*/

.pun .blockform .box, #adstats, #adintro, #postpreview, #posterror {
	border-color: #bbc6b2 #d8dccf;
	background: #eaecda;
}

#punmisc #rules .box, #punhelp .box {
	border-color: #bbc6b2 #d8dccf;
	background: #f6f6ea;
}

.pun #quickpost h2, #punpost .blockform h2, #punedit .blockform h2, #posterror h2,
#pundelete .blockform h2 {
	background: #eaecda;
	color: #83866a;
}

.pun .forminfo {
	background: #fff;
	border-color: #dce6d8;
}

#puninstall form#install .forminfo {
	background: #32671d;
	color: #fff;
}

.pun #posterror .error-info {
	background: #ffffe1;
	border-color: #dfe6ee;
}

#puninstall form#install .error-info {
	background: #ffffe1;
	border-color: #dfe6ee;
	color: #333;
}

.pun .infldset, #adintro .inbox, #adstats .inbox {
	background: #f6f6ea;
	border-color: #dce6d8;
}

.pun label, .pun legend, #adminconsole fieldset th {
	color: #83866a;
}

.pun fieldset p {
	border-color: #bbc6b2;
}

.pun .blockmenu ul, .pun .blockmenu li {
	border-color: #bbc6b2;
}

.pun .blockmenu a:hover, .pun .blockmenu a:active, .pun .blockmenu a:focus {
	background: #ffffe6;
}

.pun .blockmenu .isactive a:link, .pun .blockmenu .isactive a:visited {
	color: #333;
	background: #f6f6ea;
	}

.pun #viewprofile .box {
	border-color: #bbc6b2 #d8dccf;
	background: #eaecda;
}

.pun #viewprofile dt, #adstats dt {
	color: #83866a;
}

.pun #viewprofile dl, .pun #viewprofile dd, #adstats dl, #adstats dd {
	border-color: #dce6d8;
}

#adminconsole fieldset td.nodefault {
	background: #d59b9b;
}

.pun .multiselect {
	color: #83866A;
}

.pun .checklist {
	background: white;
	border-color: #ccc;
}

/* Status Indicators
----------------------------------------------------------------*/

.pun .icon {
	border-color: #eef1e8 #dbddd4 #e6e8df #eef1e8;
}

.pun .iredirect .icon {
	border-color: #bbc6b2;
	border-width: 1px;
	padding: 7px;
}

.pun .inew .icon {
	border-color: #50a42f #408426 #32671d #4a982c;
}

Dernière modification par david18 (16-12-2012 10:45:32)

Hors ligne

#16 16-12-2012 12:15:57

Retraité
Membre

Re : smiley déformé

david18 a écrit :

je vient de faire la modif dans les deux fichiers et les smileys que j'ai rajoutés sont toujours  minuscules et il faudrait que je recherche si cette ligne n'est pas ailleurs .  hmm

Je viens moi aussi de tester, en remettant les valeurs d'origine (width="15" height="15")dans les deux fichiers concernés.

Résultat :

926109smilies1.png

J'ai de nouveau supprimé ces valeurs

Résultat :

396796smilies2.png 

Il faudrait que tu reprennes cette modification de A à Z ( elle pas bien longue à recommencer happy)

Il n'y a que ces deux lignes a modifier et éventuellement revoir le point c du readme.txt

3) Vous pouvez personnaliser les limites d'upload (taille, largeur et hauteur) en modifiant le fichier "AP_Smilies.php" ; regardez en haut du fichier.

Pour le css, il faut rajouter l'instruction commentée avant .pun dans ton fichier de style (earth.css en l'occurence)

/* Forum largeur fixe  modif */  
body .pun {
    width:930px; margin:12px auto; text-align:left
    } 
.pun {
	font: 81.25%/1.462em Arial, Helvetica, sans-serif;
}

Hors ligne

#17 16-12-2012 12:49:40

david18
Membre

Re : smiley déformé

Oui dans ma fluxtoolbar mes smileys sont tous de la taille normale comme sur l'image ci-dessous :


862176Capture.jpg


Et ceux encadrer  sont les smileys qui s'affiche ainsi lorsque je clique dessus voir l'image ci-dessous :


845177Capture.jpg



J'ai très bien compris  de ce que tu as voulu dire PascL   et en te remerciant de ta patience par avance c'est juste pour que sa soit bien claire pour moi  , merci !!


cdlt

david

Dernière modification par david18 (16-12-2012 12:54:10)

Hors ligne

#18 19-12-2012 11:32:20

david18
Membre

Re : smiley déformé

Bonjour ,


Je clôture ma discussion qui aujourd'hui est résolue grasse au conseille  de PascL et otomatic grand merci a vous !

Ps : j'ai supprimé les valeurs    (width="15" height="15") dans mes dossiers . Résolue pour moi a ce jours ..


A+


cdlt

david

Dernière modification par david18 (19-12-2012 11:33:21)

Hors ligne

Pied de page des forums