The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

avatar in header phpbb2

View previous topic View next topic Go down

avatar in header phpbb2

Post by fraNNNta on October 12th 2013, 3:35 pm

hy,can help me anyone with my problem?
i wanna put the avatar of registers member in header for phpbb2
my overal_header modify is this

Code:

 <center><table class="headerbar" width="100%" cellspacing="0" cellpadding="0" border="0">
           
             
                               
                                      <div class="toolbar">
    <ul id="navigation">
 <li class="home"><a href="#"><span>Home</span></a></li>
 <li class="about"><a href="#"><span>About</span></a></li>
 <li class="search"><a href="#"><span>Search</span></a></li>
 <li class="photos"><a href="#"><span>Photos</span></a></li>
 <li class="rssfeed"><a href="#"><span>Rss Feed</span></a></li>
 <li class="podcasts"><a href="#"><span>Podcasts</span></a></li>
 <li class="contact"><a href="#"><span>Contact</span></a></li>
</ul>

                                        </div>
                                       
                           

                                  <tr>
                  <!-- BEGIN switch_logo_left -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_left -->
                  <td align="center" width="100%" valign="middle">
                    <!-- BEGIN switch_logo_center -->
                    <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                    <br />
                    <!-- END switch_logo_center -->
                    <div class="maintitle">{MAIN_SITENAME}</div>
                    <br />
                    <span class="gen">{SITE_DESCRIPTION}<br />  </span>
                  </td>
                  <!-- BEGIN switch_logo_right -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_right -->
              </tr>
            </table></center>

fraNNNta
New Member

Male Posts : 9
Reputation : 2
Language : romanian

http://frannnta-design.online-talk.net/forum

Back to top Go down

Re: avatar in header phpbb2

Post by levy on October 12th 2013, 4:30 pm

Code:
$(document).ready(function(){
    $('table.headerbar').append('<div id="avatar_header"></div>');
    $('#avatar_header').load('/profile?mode=editprofile&page_profil=avatars td.row1 img'); });
I'm not very sure if that work . Shit

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Re: avatar in header phpbb2

Post by fraNNNta on October 13th 2013, 2:32 pm

now how i resize the avatar? in css the class #avatar_header he;s not working Sad

fraNNNta
New Member

Male Posts : 9
Reputation : 2
Language : romanian

http://frannnta-design.online-talk.net/forum

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum