Page 1 of 1

Avatar Mod

Posted: Mon Dec 06, 2010 11:02 am
by Ghostface
Hi, on this site you have the avatar showing for whoever logs in.. how can i get this on my board?? and is it hard to add on??

Thanks
Ghostface

Re: Avatar Mod

Posted: Mon Dec 06, 2010 1:20 pm
by cisco007
are you talking about the avatar that shows on the who is online on the index?

Re: Avatar Mod

Posted: Mon Dec 06, 2010 5:54 pm
by Ghostface
yes, thats the one.

Re: Avatar Mod

Posted: Tue Dec 07, 2010 12:59 am
by cisco007
don't know if this is the exact edits that LDM has on here, but these is what i have! Remember that this edits are for a clean file with no mods, if you have any mods around the same area you will have to work around them!
first:
Open index.php
Find:

Code: Select all

'NEWEST_USER'   => sprintf($user->lang['NEWEST_USER'], get_username_string('full', $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour'])),
Add after, on a new line:

Code: Select all

'USER_AVATAR'                    => get_user_avatar($user->data['user_avatar'], $user->data['user_avatar_type'], $user->data['user_avatar_width'], $user->data['user_avatar_height']),

Open styles/prosilver/template/index_body.html
Find:

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->
   <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
   <p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
   <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<!-- ENDIF -->
Replace with:

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->
   <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<table><tr><!-- IF S_USER_LOGGED_IN and USER_AVATAR --><td valign="top" style="padding-right:6px;">{USER_AVATAR}</td><!-- ENDIF --><td>
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
    <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
   </td></tr></table>
<!-- ENDIF -->

Re: Avatar Mod

Posted: Tue Dec 07, 2010 1:31 am
by Ghostface
The only mods i have are the default avatar code working,and a couple of BBCodes for YT and Spoilers... hopefully this should work...

Re: Avatar Mod

Posted: Tue Dec 07, 2010 1:55 am
by Ghostface
Are these code edits to be done in the skin i have in use? i dont have any templates for prosilver i can see.

Re: Avatar Mod

Posted: Tue Dec 07, 2010 1:57 am
by cisco007
yeah, i mean any mods that involved doing edits to the index_body.html!
and yes, to the style you have in use, if you are not using prosilver just look for those edits and it should work!

Re: Avatar Mod

Posted: Tue Dec 07, 2010 2:05 am
by Ghostface
Ok,ill give it a try...

Re: Avatar Mod

Posted: Tue Dec 07, 2010 2:14 am
by Ghostface
Brilliant!! Top notch!!! Worked good!! http://www.Ghostface.co.uk/forum

Finally a mod that works! and easy to install,second mod today!

Many thanks Cisco007...i have one question left, where can i get the "Mood Status" thats in use here? and is that easy to install too?? :grin:

Re: Avatar Mod

Posted: Tue Dec 07, 2010 2:34 am
by cisco007
http://www.phpbb.com/customise/db/mod/p ... od_swings/ that is what you are looking for, don't really know, i installed it a while back but don't remember how hard it was to install!

Re: Avatar Mod

Posted: Tue Dec 07, 2010 2:50 am
by Ghostface
Thanks,,, looking at it its a long process.. may have a look tomorrow.. How do you "Thank" on here??

Re: Avatar Mod

Posted: Tue Dec 07, 2010 3:41 am
by cisco007
LDM, probably doesn't have the Thanks Mod edits done for this style!

Re: Avatar Mod

Posted: Tue Dec 07, 2010 4:04 am
by Ghostface
Well thanks for the help!!

Re: Avatar Mod

Posted: Sun Jan 27, 2013 3:42 pm
by Ghostface
Hi, i have a different skin installed as of the last few days, called N.Design, there is also N.Design 2, which allows me to have the mod i was on about here all that time ago, however the first N.Design is the skin im using and it refuses to let me have the mod, both are based on Subsilver but only the one that i dont use will let me have the avavtar showing on the main index.. I dont need to be messing around with my modified skin again as it took me 3 nights to get it how it is... is there any help anyone here can give me on this?? ?
I have a test board, but if i install both N.Design themes it confuses the board.. and imagesets are sometimes read off opposite folders... Which again is strange.. the N.Design 2 is templated differently, and i prefer to stick 'with the original one if i can after all the work i did on it.
Please help.. again..:)