The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Avatar of the last poster on the index [PHPBB3]

4 posters

Go down

Avatar of the last poster on the index [PHPBB3] Empty Avatar of the last poster on the index [PHPBB3]

Post by JAN2XONLINE 22/2/2013, 11:49

JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by Sir Chivas™ 22/2/2013, 19:05

Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by MasterSly 22/2/2013, 21:54

CSS Stylesheet
Code:
        /* Avatar hover effect in the last post*/
        .thai_avatar img {
        border: 1px solid #DDD;
        height: 50px;
        margin: 0 5px;
        padding: 1px;
        width: 50px;
        }
        .thai_avatar:hover img {
        cursor: pointer;
        position: absolute;
        width: 150px;
        height: 150px;
        background-color: white;
        }
        /* Avatar hover effect in the last post*/
javascript
Placement:In all the pages
Code:
Code:
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('$(8).9(4(){$(\'.a.g .b\').c(4(e){f m=3.5(\'6\')[0].7.d;$(3).h(\'<2 o="1" p="1\'+e+\'"></2>\');$(\'#1\'+e).l(m+\' #j-k-q i:n(0)\')})});',27,27,'|thai_avatar|span|this|function|getElementsByTagName|strong|firstChild|document|ready|topiclist|lastpost|each|href||var|forums|prepend|img|profile|advanced|load||eq|class|id|right'.split('|'),0,{}))
MasterSly
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by JAN2XONLINE 23/2/2013, 02:09

@Sir Chivas They didn't tell how to do it. Confused

@MasterSly Not working dude. Confused EDIT* It works! I changed the "in all pages" to "in the homepage"! Thank you!

But why is it like this? Confused

Some forums doesn't show the avatar.
Avatar of the last poster on the index [PHPBB3] Proble10

EDIT*

When you use the code, the toolbar will disappear too.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by MasterSly 23/2/2013, 11:57

You must have to make Topic to show avatar
MasterSly
MasterSly
Forumember

Male Posts : 173
Reputation : 6

http://greekfmsupport.forumgreek.com/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by JAN2XONLINE 23/2/2013, 12:13

Avatar of the last poster on the index [PHPBB3] This_o10

That one has a topic.
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by JAN2XONLINE 24/2/2013, 13:28

BUMPPPP
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by levy 24/2/2013, 13:44

Javascript

Code:
$(document).ready(function () {
  $('.topiclist.forums .lastpost').each(function(e) {
      var l = this.getElementsByTagName('strong')[0].firstChild.href;
      $(this).prepend('<span class="lp_avatar" id="lp_avatar'+e+'"></span>');
      $('#lp_avatar'+e).load(l+' #profile-advanced-right img:eq(0)');
    });
});

CSS

Code:
.lp_avatar {
  padding: 2px;
  margin: 0 5px;
  border: 1px solid #105289;
  float: left;
}
.lp_avatar img {
  height: 40px;
  width: 40px;
}
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Avatar of the last poster on the index [PHPBB3] Empty Re: Avatar of the last poster on the index [PHPBB3]

Post by JAN2XONLINE 24/2/2013, 13:54

Avatar of the last poster on the index [PHPBB3] Why10

I'm still having the same problem. Confused
JAN2XONLINE
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Back to top

- Similar topics

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