Page 1 of 1

Display profile icons in memberlist view for prosilver

Posted: 25 Mar 2010, 23:50
by Steve
Lets use the profile icons on the viewtopic page in members profile.

open styles/prosilver/template/memberslist_view.html
[spoiler]Find:

Code: Select all

		<!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}:</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {USERNAME}</a></dd><!-- ENDIF -->
		<!-- IF U_WWW --><dt>{L_WEBSITE}:</dt> <dd><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}">{U_WWW}</a></dd><!-- ENDIF -->
		<!-- IF U_PM --><dt>{L_PM}:</dt> <dd><a href="{U_PM}">{L_SEND_PRIVATE_MESSAGE}</a></dd><!-- ENDIF -->
		<!-- IF U_MSN or USER_MSN --><dt>{L_MSNM}:</dt> <dd><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_MSNM_MESSAGE}</a><!-- ELSE -->{USER_MSN}<!-- ENDIF --></dd><!-- ENDIF -->
		<!-- IF U_YIM or USER_YIM --><dt>{L_YIM}:</dt> <dd><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;">{L_SEND_YIM_MESSAGE}</a><!-- ELSE -->{USER_YIM}<!-- ENDIF --></dd><!-- ENDIF -->
		<!-- IF U_AIM or USER_AIM --><dt>{L_AIM}:</dt> <dd><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_AIM_MESSAGE}</a><!-- ELSE -->{USER_AIM}<!-- ENDIF --></dd><!-- ENDIF -->
		<!-- IF U_ICQ or USER_ICQ --><dt>{L_ICQ}:</dt> <dd><!-- IF U_ICQ --><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_ICQ_MESSAGE}</a><!-- ELSE -->{USER_ICQ}<!-- ENDIF --></dd><!-- ENDIF -->
		<!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}:</dt> <dd><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}:</dt> <dd>{USER_JABBER}</dd><!-- ENDIF -->
		
Replace with:

Code: Select all

		<dd>
			<ul class="profile-icons">
		<!-- IF U_EMAIL --><li class="email-icon"><a href="{U_EMAIL}"title="{L_SEND_EMAIL_USER} {USERNAME}"></a></li><!-- ENDIF -->
		<!-- IF U_WWW --><li class="web-icon"><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}"></a></li><!-- ENDIF -->
		<!-- IF U_PM --><li class="pm-icon"><a href="{U_PM}" title="{L_PRIVATE_MESSAGE} {USERNAME}"></a></li><!-- ENDIF -->
		<!-- IF U_MSN or USER_MSN --><li class="msnm-icon"><!-- IF U_MSN --><a href="{U_MSN}" title="{L_MSNM}" onclick="popup(this.href, 550, 320); return false;"></a><!-- ELSE -->{USER_MSN}<!-- ENDIF --></li><!-- ENDIF -->
		<!-- IF U_YIM or USER_YIM --><li class="yahoo-icon"><!-- IF U_YIM --><a href="{U_YIM}" title="{L_YIM}" onclick="popup(this.href, 780, 550); return false;"></a><!-- ELSE -->{USER_YIM}<!-- ENDIF --></li><!-- ENDIF -->
		<!-- IF U_AIM or USER_AIM --><li class="aim-icon"><!-- IF U_AIM --><a href="{U_AIM}" title="{L_AIM}" onclick="popup(this.href, 550, 320); return false;"></a><!-- ELSE -->{USER_AIM}<!-- ENDIF --></li><!-- ENDIF -->
		<!-- IF U_ICQ or USER_ICQ --><li class="icq-icon"><!-- IF U_ICQ --><a href="{U_ICQ}" title="{L_ICQ}" onclick="popup(this.href, 550, 320); return false;"></a><!-- ELSE -->{USER_ICQ}<!-- ENDIF --></li><!-- ENDIF -->
		<!-- IF U_JABBER and S_JABBER_ENABLED --><li class="jabber-icon"><a href="{U_JABBER}" title="{L_JABBER}" onclick="popup(this.href, 550, 320); return false;"></a></li><!-- ELSEIF USER_JABBER --><li class="jabber-icon"><a href="{U_JABBER}" title="{L_JABBER}" onclick="popup(this.href, 550, 320); return false;"></a></li><!-- ENDIF -->
			</ul>
		</dd>
[/spoiler]
refresh the template for prosilver in acpanel :ugeek:
b4:
[hsimg]http://www.djsimg.com/images/48392318_0310_b4.png[/hsimg]
after:
[hsimg]http://www.djsimg.com/images/72665602_0310_after.png[/hsimg]

Re: Display profile icons in memberlist view for prosilver

Posted: 29 Mar 2010, 00:48
by IpHeX
Very nice, thanks vectra-mods. :D

Re: Display profile icons in memberlist view for prosilver

Posted: 24 Jul 2010, 16:58
by Georgio
for SubSilver2 it's posible?

Re: Display profile icons in memberlist view for prosilver

Posted: 24 Jul 2010, 17:14
by Steve
why? its already done
whysyb.PNG

Re: Display profile icons in memberlist view for prosilver

Posted: 14 Aug 2010, 12:41
by Ashley.S.
Hello,

Would it be possible to make the icons list under each other and include it's title, exactly like subsilver2 does :?:

Re: Display profile icons in memberlist view for prosilver

Posted: 09 Sep 2010, 12:04
by Georgio
Steve© » 24 Jul 2010, 17:14 wrote:why? its already done
whysyb.PNG
i mean all icons inline without the titles, but anyway is done, sorry! :D