Display profile icons in memberlist view for prosilver

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
Locked
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Display profile icons in memberlist view for prosilver

Post 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]
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
IpHeX
BBCoder II
BBCoder II
Posts: 23
Joined: 23 Mar 2010, 21:02

Re: Display profile icons in memberlist view for prosilver

Post by IpHeX »

Very nice, thanks vectra-mods. :D
User avatar
Georgio
BBCoder II
BBCoder II
Posts: 53
Joined: 06 Mar 2010, 19:10
Location: Cabanes, Spain
Contact:

Re: Display profile icons in memberlist view for prosilver

Post by Georgio »

for SubSilver2 it's posible?
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Display profile icons in memberlist view for prosilver

Post by Steve »

why? its already done
whysyb.PNG
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Ashley.S.
BBCoder II
BBCoder II
Posts: 36
Joined: 05 Mar 2010, 12:24
Location: Falmouth, Cornwall, UK
Contact:

Re: Display profile icons in memberlist view for prosilver

Post 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 :?:
Regards,
-Ashley.S. [ Pluto Hosting Managing Director & ProphpBB Moderator ]
User avatar
Georgio
BBCoder II
BBCoder II
Posts: 53
Joined: 06 Mar 2010, 19:10
Location: Cabanes, Spain
Contact:

Re: Display profile icons in memberlist view for prosilver

Post 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
Locked