Jump to content

Adaugare Copyright Si Schimbare Default Avatar In Ipb?


Recommended Posts

Posted

Salutari,am niste intrebari:

 

1. Cum pun in FOOTER sa apara asa : http://gamesquad.ro/forum/uploads/imgs/pre_1361798109__captur_de_ecran_2013-02-25_151310.png

2. Cum pot adauga asta : http://gamesquad.ro/forum/uploads/imgs/pre_1361798355__captur_de_ecran_2013-02-25_151905.png la tema.

3. Cum schimb default avatar ? Am gasit in FTP la style_images acolo cu default_large si default_thumb , am pus imaginea ce am vrut-o dar tot nu s-a schimbat.

 

Va rog ajutati-ma :)

Posted

Intri in respectiva locatie (/admin/sources/base/core.php), cauti codul

  else if( ipsRegistry::$settings['allow_gravatars'] )
                {
                        /* Try a gravatar, if all else fails */
                        $av_hash  = md5( $member['email'] );
                        $s              = $lowestSize ? "&s={$lowestSize}" : '';
                        $blank_av = urlencode(ipsRegistry::$settings['avatars_url'] . '/blank_avatar.gif' ); 

                        return "<img src='http://www.gravatar.com/avatar/{$av_hash}?d={$blank_av}{$s}' alt='' />";
                }

retii numele pentru avatar, in cazul de fata blank_avatar.gif (il gasesti in penultima linie) si adaugi dedesubt (sub codul de mai sus)

    return "<img src='" . ipsRegistry::$settings['avatars_url'] . '/blank_avatar.gif' . "' alt='' />";

Unde inlocuiesti blank_avatar.gif cu numele pe care il ai tu in codul de mai sus, penultima linie. (poate ai acelasi nume). Alegi imaginea dorita, o redimensionezi potrivit setarilor tale, o redenumesti cu numele gasit in cod si ii dau copy/paste in public/style_avatars/.

fWy1P.gif

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.