Pagina 1 din 1

Cum pot sa fac la custom fields.

Scris: 21-Sep-2012, 20:53:18
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

Re: Cum pot sa fac la custom fields.

Scris: 22-Sep-2012, 00:15:01
de Visan15
ACP -> Users and Groups -> Custom profile fields

Re: Cum pot sa fac la custom fields.

Scris: 22-Sep-2012, 02:52:22
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

Re: Cum pot sa fac la custom fields.

Scris: 22-Sep-2012, 14:27:55
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

Re: Cum pot sa fac la custom fields.

Scris: 22-Sep-2012, 15:08:25
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 -->