Jump to content

Adaugare Copyright Si Schimbare Default Avatar In Ipb?


Recommended Posts

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 :)

Link to comment
Share on other sites

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/.



Link to comment
Share on other sites

Pentru 3 ar trebui sa reusesti fara modificari de fisiere (daca am inteles eu bine ce vrei sa faci, si, ce nu iti merge), vizitand acest topic: Cum pot schimba avatarul default in IPB 3? si urmand instructiunile de acolo.

  • Upvote 1

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.