[CAMPANIE STAFF]Cautam moderatori si designeri activi!
Welcome to WTFCS Community Forums!
Servere gaming la super-preturi! [HOSTING SERVICE]
-->






Tutorial avatar default in phpBB3
Author : hite., Category : Phpbb, 1 Replyes, 675 Views
EVALUATE THIS TOPIC
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1 Guest(s)
Junior
 
185
POSTS
176
THREADS
10
REPUTATION
Male
Sex

WtfCs Coins: 0[w]
07-04-2012, 06:52 PM
#1
Daca doriti sa asociati un anumit avatar tuturor membrilor care nu isi seteaza ei un anumit avatar, pe un forum phpBB3, faceti urmatoarele:

- creati un avatar default, gif, care sa respecte dimensiunile maxime pentru forumul vostru
- urcati avatarul pe ftp, in forum/images/avatars/no_avatar.gif
- deschideti includes/functions_display.php si cautati linia:
Cod:
if (empty($avatar) || !$avatar_type)
{
return '';

In aceasta line cautati: return ''; - stergeti return ''; si in locul lui puneti linia:
Cod:
return '<img src="images/avatars/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';

- salvati si inchideti fisierul functions_display.php, apoi dati un refresh la tema voastra si gata!
Regulament forum: You are not allowed to view links. Register or Login to view.

You are not allowed to view links. Register or Login to view.

You are not allowed to view links. Register or Login to view.
¥ Arthur ¥
 
665
POSTS
4,836
THREADS
359
REPUTATION
Male
Sex

WtfCs Coins: 0[w]
02-08-2014, 10:58 PM
#2
Nu s-a mai uitat nimeni.

T/c.
Regulament forum: You are not allowed to view links. Register or Login to view.

You are not allowed to view links. Register or Login to view.

You are not allowed to view links. Register or Login to view.


Forum Jump: