Cum pot sa fac la custom fields.

Pentru întrebări legate de facilităţile forumului phpBB 3.0.x, acest loc este cel mai potrivit.
Reguli forum
Aveti o problema si vreti sa primiti ajutor? Click aici ! Nu uitati si de regulamentul forumului !
Închis
Crisan Andrei
Utilizator înregistrat
Mesaje: 14
Membru din: 03-Sep-2012, 12:39:51
Versiune: 3.0.11
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Mediu

Cum pot sa fac la custom fields.

Mesaj de Crisan Andrei »

Cum fac la custom fields sa fie intre acele chenare iar cand pui mouse pe un chenar, sa ti se faca rosu ( chenarul )

Si tot odata, daca se poate sa imi spuneti cum pun o culoare la Posts: ca si in poza.

Imagine
Visan15
Utilizator înregistrat
Mesaje: 90
Membru din: 17-Sep-2012, 01:35:00
Versiune: 3.0.11
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Puţin experimentat
Nivel php: Neexperimentat

Re: Cum pot sa fac la custom fields.

Mesaj de Visan15 »

ACP -> Users and Groups -> Custom profile fields
Avatar utilizator
bogdan
AdministratorAdministrator
Mesaje: 10888
Membru din: 18-Oct-2002, 13:14:27
Versiune: 3.0.11
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Re: Cum pot sa fac la custom fields.

Mesaj de bogdan »

Visan15 scrie:ACP -> Users and Groups -> Custom profile fields
Iar raspunzi aiurea. Ce intreaba el si ce raspunzi tu...
Crisan Andrei scrie:Si tot odata, daca se poate sa imi spuneti cum pun o culoare la Posts: ca si in poza.
1. Invata HTML/CSS: http://www.w3schools.com/tags/att_font_color.asp
2. Aplici ce ai invatat in fisierul \styles\stilul_tau\template\viewtopic_body.html la linia:

Cod: Selectaţi tot

<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
Crisan Andrei scrie:Cum fac la custom fields sa fie intre acele chenare iar cand pui mouse pe un chenar, sa ti se faca rosu ( chenarul )
Similar cu ce am scris mai sus, poti incerca solutia de aici: http://www.webmasterworld.com/forum83/7358.htm
Avatar utilizator
Gotyc
Utilizator înregistrat
Mesaje: 518
Membru din: 20-Iun-2009, 02:10:00
Versiune: 3.1.x
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: iasi
Contact:

Re: Cum pot sa fac la custom fields.

Mesaj de Gotyc »

Deschidem : viewtopic_body.html
Cautam liniile:

Cod: Selectaţi tot

<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->

Inlocuim cu :

Cod: Selectaţi tot

     <!-- IF postrow.POSTER_AGE --><dd><strong style="color: #cd853f;">{L_AGE}:</strong> <span style="color: #cd853f;">{postrow.POSTER_AGE}</span></dd><!-- ENDIF -->

          <!-- IF postrow.POSTER_POSTS != '' --><dd><strong style="color: #9400d3;">{L_POSTS}:</strong> <span style="color: #9400d3;">{postrow.POSTER_POSTS}</span></dd><!-- ENDIF -->

          <!-- IF postrow.POSTER_JOINED --><dd><strong style="color: green;">{L_JOINED}:</strong> <span style="color: green;">{postrow.POSTER_JOINED}</span></dd><!-- ENDIF -->

          <!-- IF postrow.POSTER_FROM --><dd><strong style="color: red;">{L_LOCATION}:</strong> <span style="color: red;">{postrow.POSTER_FROM}</span></dd><!-- ENDIF -->
demo :Imagine
Avatar utilizator
Anișor
AdministratorAdministrator
Mesaje: 2987
Membru din: 08-Aug-2012, 20:46:05
Versiune: 4.0.0-a1
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Mediu
Localitate: Arbroath, Angus
Contact:

Re: Cum pot sa fac la custom fields.

Mesaj de Anișor »

Gotyc scrie:Deschidem : viewtopic_body.html
Cautam liniile:

Cod: Selectaţi tot

<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->

Inlocuim cu :

Cod: Selectaţi tot

     <!-- IF postrow.POSTER_AGE --><dd><strong style="color: #cd853f;">{L_AGE}:</strong> <span style="color: #cd853f;">{postrow.POSTER_AGE}</span></dd><!-- ENDIF -->

          <!-- IF postrow.POSTER_POSTS != '' --><dd><strong style="color: #9400d3;">{L_POSTS}:</strong> <span style="color: #9400d3;">{postrow.POSTER_POSTS}</span></dd><!-- ENDIF -->

          <!-- IF postrow.POSTER_JOINED --><dd><strong style="color: green;">{L_JOINED}:</strong> <span style="color: green;">{postrow.POSTER_JOINED}</span></dd><!-- ENDIF -->

          <!-- IF postrow.POSTER_FROM --><dd><strong style="color: red;">{L_LOCATION}:</strong> <span style="color: red;">{postrow.POSTER_FROM}</span></dd><!-- ENDIF -->
demo :Imagine
Tu nici macar nu citesti?
A zis cand pui sageata de la mouse sa se faca chenarul rosu , nu cum sa colorezi profilul.


EDIT:Ca sa colorezi numarul de mesaje deschide viewtopic_body.html,
Cauta :

Cod: Selectaţi tot

<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
Inlocuieste cu :

Cod: Selectaţi tot

<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b>  <span style="color: #culoare;">{postrow.POSTER_POSTS}</span><!-- ENDIF -->
Nu ofer ajutor prin intermediul mesageriei private.
Vă rog să postați toate problemele în forumuri.
Închis

Înapoi la “3.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Google [Bot] și 8 vizitatori