Pagina 1 din 2

Afişare avertismente utilizator în subiect

Scris: 30-Ian-2013, 11:02:01
de AleKs
URL forum: http://universalgames.regalhost.net
Versiunea phpbb 3.0.9
Daca forumul a fost instalat recent sau reprezinta un update/upgrade/conversie?:Recent
Ati folosit un wizard de instalare furnizat de firma de gazduire pentru instalare?: Instalare Automata
MODurile instalate:Nici unul
De cand a aparut problema semnalata?:NU
Nivelul vostru de experienta in instalarea/utilizarea/administrarea phpbb (fiti sinceri, raspunsul ar putea fi formulat pe intelesul vostru daca sunteti la inceput).:Putin
Problema:
Pai as vrea sa mi apara acel numar de avertismente,warns,cand postezi, Avertismente: 1 din 3
Stiu ca s au mai facut topic-uri,dar problema e ca mi apare o eroare:
http://i50.tinypic.com/34j6vkw.jpg
Am adaugat dupa acel cod:

Cod: Selectaţi tot

<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
Aceasta:

Cod: Selectaţi tot

<!-- ELSEIF postrow.POSTER_WARNINGS --><dd><strong><span style='color:#aa0000;font-weight:bold;'>{L_WARNINGS}</span>: </strong> {postrow.POSTER_WARNINGS} din 3</dd><!-- ENDIF -->
Trebuie spatiu sau ceva? :D
Arata c-am asa

Cod: Selectaţi tot

<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF --><!-- ELSEIF postrow.POSTER_WARNINGS --><dd><strong><span style='color:#aa0000;font-weight:bold;'>{L_WARNINGS}</span>: </strong> {postrow.POSTER_WARNINGS} din 3</dd><!-- ENDIF -->
Eu v-am aratat,cat mai detaliat ce problema am,si as vrea sa va intreb inca ceva,daca pot baga un warn bar... "automat" adica atunci cand dau avertisment,i se schimba singur,si daca acesta e mod,cum il instalez :?:

Re: Problema Warns

Scris: 30-Ian-2013, 14:06:59
de Anișor
Codul tau ar trebui sa arate cam asa :

Cod: Selectaţi tot

    <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
    <!-- ELSEIF postrow.POSTER_WARNINGS --><dd><strong><span style='color:#aa0000;font-weight:bold;'>{L_WARNINGS}</span>: </strong> {postrow.POSTER_WARNINGS} din 3</dd><!-- ENDIF -->

Dupa ce stergi cache , si avertizezi un user o sa apara automat 1 din 3 sau depinde cate warn-uri primeste.

Re: Problema Warns

Scris: 30-Ian-2013, 14:53:33
de Ivan Petre Paul
Mutat din 3.0.x Funcţionare

Re: Afişare avertismente utilizator în subiect

Scris: 30-Ian-2013, 18:26:03
de AleKs
:@ Nu merge
Se pune asa:

Cod: Selectaţi tot

				
				<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->   
                                <!-- ELSEIF postrow.POSTER_WARNINGS --><dd><strong><span style='color:#aa0000;font-weight:bold;'>{L_WARNINGS}</span>: </strong> {postrow.POSTER_WARNINGS} din 3</dd><!-- ENDIF -->
				<!-- IF postrow.S_PROFILE_FIELD1 -->
Si nu merge,imi apare

Cod: Selectaţi tot

Parse error: syntax error, unexpected T_ELSE in /home/u548186542/public_html/cache/tpl_black-pearl_viewtopic_body.html.php on line 202
Daca cineva are macar putin de chef,sa ma ajute,referindu-ma sa mi faca,fiindca mie nu mi merge,sa dea *
Multumesc de raspunsuri,mai astept! :cry:

Re: Afişare avertismente utilizator în subiect

Scris: 31-Ian-2013, 00:13:42
de alin1994
Salut

Cod: Selectaţi tot

<!-- IF postrow.S_USERID_BANNED --><dd><strong>{L_CURRENTLY_BANNED}</strong></dd><!-- ELSEIF postrow.POSTER_WARNINGS --><dd><strong>{L_WARNINGS}:</strong> {postrow.POSTER_WARNINGS}</dd><!-- ENDIF -->
Incearca sa pui asta cu spatiu de 1 rand intre, dai refresh la template si cureti cache

Re: Afişare avertismente utilizator în subiect

Scris: 31-Ian-2013, 17:31:46
de AleKs
Nu functioneaza,tot nu functioneaza,dar,totusi imi puteti da o tema,care are deja setat asa ceva? :shock:

Re: Afişare avertismente utilizator în subiect

Scris: 31-Ian-2013, 19:44:42
de alin1994
Esti sigur ca ai instalat tot corect? Incearca MOD'ul pe tema Prosilver si revino cu un reply daca merge

Re: Afişare avertismente utilizator în subiect

Scris: 31-Ian-2013, 19:49:06
de AleKs
Ce mod ma?Nu este nici un mod!

Re: Afişare avertismente utilizator în subiect

Scris: 31-Ian-2013, 19:49:52
de Anișor
Am testat pe tema mea , si functioneaza perfect , am testat pe 3 teme diferite si rezultatul a fost pozitiv.

Re: Afişare avertismente utilizator în subiect

Scris: 31-Ian-2013, 21:05:40
de alin1994
Este MOD, nu fi iritat :)
Ai incercat?