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 February 22nd 2013, 9:49 am

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™ February 22nd 2013, 5:05 pm

Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

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 February 22nd 2013, 7:54 pm

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 February 23rd 2013, 12:09 am

@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 February 23rd 2013, 9:57 am

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 February 23rd 2013, 10:13 am

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 February 24th 2013, 11:28 am

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 February 24th 2013, 11:44 am

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 February 24th 2013, 11:54 am

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