This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

Display profile icons in memberlist view for prosilver

Code snippets/ small mods for phpBB3- these can be used to add small but useful features to your forum.
Forum rules
You need to be a registered member to view the topics within this forum ;)
Locked
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

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
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>
refresh the template for prosilver in acpanel :cool:
b4:
profile_icons_b4.png
after:
profile_icons_after.png
You do not have the required permissions to view the files attached to this post.
Hello! and Do NOT contact me via private message for support!!
Locked