[ADB] Social Networking Site Buttons 2.1.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
Helter Skelter
Registered User
Posts: 144
Joined: Tue Jan 25, 2005 8:22 am
Location: integramod.com
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by Helter Skelter » Thu May 21, 2009 12:16 am

this will work for subsilver2 based themes until KellyBean has time to add subsilver edits to the mod.
*KellyBean... pm me if you want me to delete this cause I dont want to step on any toes ;)

Get Images

*there is an editable .png to edit the images for use with other templates

Code: Select all

# 
#-----[ COPY ]------------------------------------------ 
# 
/imageset/* all images, to forum root/styles/subsilver2/imageset/
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/overall_header.html
# 
#-----[ FIND ]------------------------------------------
# 
</head>
# 
#-----[ BEFORE, ADD ]------------------------------------------
# 
<script type="text/JavaScript">
// match all instances of 'external'
document.observe('dom:loaded', function() {
	$$("a[rel~=external]").each(function(el) {
		el.observe("click", function(event) {
			window.open(this.href);
			event.preventDefault();
		});
	});
});
</script>
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/simple_header.html
# 
#-----[ FIND ]------------------------------------------
# 
</head>
# 
#-----[ BEFORE, ADD ]------------------------------------------
# 

<script type="text/JavaScript">
// match all instances of 'external'
document.observe('dom:loaded', function() {
	$$("a[rel~=external]").each(function(el) {
		el.observe("click", function(event) {
			window.open(this.href);
			event.preventDefault();
		});
	});
});
</script>


# 
#-----[ OPEN ]------------------------------------------
# 
  styles/subsilver2/template/memberlist_view.html

# 
#-----[ FIND ]------------------------------------------
# 
				<td><!-- IF U_JABBER and S_JABBER_ENABLED --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
			</tr>
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
            <!-- IF USER_BEBO -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_BEBO}: </td>
				<td><a href="http://www.bebo.com/{USER_BEBO}" title="{L_VIEW_BEBO}: {USER_BEBO}" rel="external">{BEBO_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_BLOGGER -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_BLOGGER}: </td>
				<td><a href="{USER_BLOGGER}" title="{L_VIEW_BLOGGER}: {USER_BLOGGER}" rel="external">{BLOGGER_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_FACEBOOK -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_FACEBOOK}: </td>
				<td><a href="{USER_FACEBOOK}" title="{L_VIEW_FACEBOOK}: {USER_FACEBOOK}" rel="external">{FACEBOOK_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_GOODREADS -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_GOODREADS}: </td>
				<td><a href="{USER_GOODREADS}" title="{L_VIEW_GOODREADS}: {USER_GOODREADS}" rel="external">{GOODREADS_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_LINKEDIN -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_LINKEDIN}: </td>
				<td><a href="{USER_LINKEDIN}" title="{L_VIEW_LINKEDIN}: {USER_LINKEDIN}" rel="external">{LINKEDIN_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_MYSPACE -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_MYSPACE}: </td>
				<td><a href="http://www.myspace.com/{USER_MYSPACE}" title="{L_VIEW_MYSPACE}: {USER_MYSPACE}" rel="external">{MYSPACE_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_NETLOG -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_NETLOG}: </td>
				<td><a href="{USER_NETLOG}" title="{L_VIEW_NETLOG}: {USER_NETLOG}" rel="external">{NETLOG_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_TWITTER -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_TWITTER}: </td>
				<td><a href="http://www.twitter.com/{USER_TWITTER}" title="{L_VIEW_TWITTER}: {USER_TWITTER}" rel="external">{TWITTER_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/ucp_pm_viewmessage
***This edit is not necessary for subsilver2 based themes unless you want to add the images to the view PM window**
# 
#-----[ FIND ]------------------------------------------
# 
		<!-- END bcc_recipient -->
		</td>
	</tr>
<!-- ENDIF -->
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
	<tr>
		<td style="padding: 5px 0;">&nbsp;</td>
	</tr>
<!-- IF U_MSN -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_MSN}" onclick="popup(this.href, 780, 550); return false">{L_MSNM}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_YIM -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false">{L_YIM}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_AIM -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_AIM}" onclick="popup(this.href, 780, 550); return false">{L_AIM}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_ICQ -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_ICQ}" onclick="popup(this.href, 780, 550); return false">{L_ICQ}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_JABBER and S_JABBER_ENABLED -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_ICQ}" onclick="popup(this.href, 780, 550); return false">{L_JABBER}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_BEBO -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="http://www.bebo.com/{U_BEBO}" title="{L_VIEW_BEBO}: {U_BEBO}" rel="external">{L_BEBO}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_BLOGGER -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_BLOGGER}" title="{L_VIEW_BLOGGER}: {U_BLOGGER}" rel="external">{L_BLOGGER}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_FACEBOOK -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_FACEBOOK}" title="{L_VIEW_FACEBOOK}: {U_FACEBOOK}" rel="external">{L_FACEBOOK}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_GOODREADS -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_GOODREADS}" title="{L_VIEW_GOODREADS}: {U_GOODREADS}" rel="external">{L_GOODREADS}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_LINKEDIN -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_LINKEDIN}" title="{L_VIEW_LINKEDIN}: {U_LINKEDIN}" rel="external">{L_LINKEDIN}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_MYSPACE -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="http://www.myspace.com/{U_MYSPACE}" title="{L_VIEW_MYSPACE}: {U_MYSPACE}" rel="external">{L_MYSPACE}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_NETLOG -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_NETLOG}" title="{L_VIEW_NETLOG}: {U_NETLOG}" rel="external">{L_NETLOG}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_TWITTER -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="http://www.twitter.com/{U_TWITTER}" title="{L_VIEW_TWITTER}: {U_TWITTER}" rel="external">{L_TWITTER}</a></td>
	</tr>
<!-- ENDIF -->
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/viewtopic_body.html
# 
#-----[ FIND ]------------------------------------------
# 
								<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
            					<!-- IF postrow.U_BEBO --><a href="http://www.bebo.com/{U_BEBO}" title="{L_VIEW_BEBO}: {U_BEBO}" rel="external">{BEBO_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_BLOGGER --><a href="{postrow.U_BLOGGER}" title="{L_VIEW_BLOGGER}: {U_BLOGGER}" rel="external">{BLOGGER_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_FACEBOOK --><a href="{postrow.U_FACEBOOK}" title="{L_VIEW_FACEBOOK}: {U_FACEBOOK}" rel="external">{FACEBOOK_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_GOODREADS --><a href="{postrow.U_GOODREADS}" title="{L_VIEW_GOODREADS}: {U_GOODREADS}" rel="external">{GOODREADS_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_LINKEDIN --><a href="{postrow.U_LINKEDIN}" title="{L_VIEW_LINKEDIN}: {U_LINKEDIN}" rel="external">{LINKEDIN_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_MYSPACE --><a href="http://www.myspace.com/{U_MYSPACE}" title="{L_VIEW_MYSPACE}: {U_MYSPACE}" rel="external">{MYSPACE_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_NETLOG --><a href="{postrow.U_NETLOG}" title="{L_VIEW_NETLOG}: {U_NETLOG}" rel="external">{NETLOG_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_TWITTER --><a href="http://www.twitter.com/{U_TWITTER}" title="{L_VIEW_TWITTER}: {U_TWITTER}" rel="external">{TWITTER_IMG}</a> &nbsp;<!-- ENDIF -->
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/ucp_profile_profile_info.html
# 
#-----[ FIND ]------------------------------------------
#
	<td class="row2"><input class="post" type="text" name="website" size="30" maxlength="255" value="{WEBSITE}" /></td>
</tr>
# 
#-----[ AFTER, ADD ]------------------------------------------
#
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_BEBO}: </b><br /><span>{L_BEBO_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="bebo" id="bebo" size="30" maxlength="255" value="{BEBO}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_BLOGGER}: </b><br /><span>{L_BLOGGER_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="blogger" id="blogger" size="30" maxlength="255" value="{BLOGGER}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_FACEBOOK}: </b><br /><span>{L_FACEBOOK_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="facebook" id="facebook" size="30" maxlength="255" value="{FACEBOOK}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_GOODREADS}: </b><br /><span>{L_GOODREADS_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="goodreads" id="goodreads" size="30" maxlength="255" value="{GOODREADS}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_LINKEDIN}: </b><br /><span>{L_LINKEDIN_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="linkedin" id="linkedin" size="30" maxlength="255" value="{LINKEDIN}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_MYSPACE}: </b><br /><span>{L_MYSPACE_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="myspace" id="myspace" size="30" maxlength="255" value="{MYSPACE}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_NETLOG}: </b><br /><span>{L_NETLOG_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="netlog" id="netlog" size="30" maxlength="255" value="{NETLOG}" /></td>
</tr>
<tr> 
	<td class="row1" width="35%"><b class="genmed">{L_TWITTER}: </b><br /><span>{L_TWITTER_EXPLAIN}</span></td>
	<td class="row2"><input class="post" type="text" name="twitter" id="twitter" size="30" maxlength="15" value="{TWITTER}" /></td>
</tr>
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/imageset/imageset.cfg
# 
#-----[ FIND ]------------------------------------------
# 
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
img_icon_contact_bebo = icon_contact_bebo.gif*20*25
img_icon_contact_blogger = icon_contact_blogger.gif*20*25
img_icon_contact_fb = icon_contact_fb.gif*20*25
img_icon_contact_gr = icon_contact_gr.gif*20*25
img_icon_contact_li = icon_contact_li.gif*20*25
img_icon_contact_ms = icon_contact_ms.gif*20*25
img_icon_contact_netlog = icon_contact_netlog.gif*20*25
img_icon_contact_twit = icon_contact_twit.gif*20*25
# 
#-----[ EOM ]------------------------------------------
# 


Last edited by Helter Skelter on Thu May 21, 2009 2:49 am, edited 1 time in total.

User avatar
Ahri89
Registered User
Posts: 516
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by Ahri89 » Thu May 21, 2009 12:23 am

Nice mod!! You can add Tuenti and/or Badoo? Thanks :D
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by KellyBean » Thu May 21, 2009 1:13 am

Helter Skelter wrote:this will work for subsilver2 based themes until KellyBean has time to add subsilver edits to the mod.
*KellyBean... pm me if you want me to delete this cause I dont want to step on any toes ;)

Get Images

*there is an editable .png to edit the images for use with other templates

Code: Select all

# 
#-----[ COPY ]------------------------------------------ 
# 
/imageset/* all images, to forum root/styles/subsilver2/imageset/
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/overall_header.html
# 
#-----[ FIND ]------------------------------------------
# 
</head>
# 
#-----[ BEFORE, ADD ]------------------------------------------
# 
<script type="text/JavaScript">
// match all instances of 'external'
document.observe('dom:loaded', function() {
	$$("a[rel~=external]").each(function(el) {
		el.observe("click", function(event) {
			window.open(this.href);
			event.preventDefault();
		});
	});
});
</script>
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/simple_header.html
# 
#-----[ FIND ]------------------------------------------
# 
</head>
# 
#-----[ BEFORE, ADD ]------------------------------------------
# 

<script type="text/JavaScript">
// match all instances of 'external'
document.observe('dom:loaded', function() {
	$$("a[rel~=external]").each(function(el) {
		el.observe("click", function(event) {
			window.open(this.href);
			event.preventDefault();
		});
	});
});
</script>


# 
#-----[ OPEN ]------------------------------------------
# 
  styles/subsilver2/template/memberlist_view.html

# 
#-----[ FIND ]------------------------------------------
# 
				<td><!-- IF U_JABBER and S_JABBER_ENABLED --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
			</tr>
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
            <!-- IF USER_BEBO -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_BEBO}: </td>
				<td><a href="http://www.bebo.com/{USER_BEBO}" title="{L_VIEW_BEBO}: {USER_BEBO}" rel="external">{BEBO_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_BLOGGER -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_BLOGGER}: </td>
				<td><a href="{USER_BLOGGER}" title="{L_VIEW_BLOGGER}: {USER_BLOGGER}" rel="external">{BLOGGER_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_FACEBOOK -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_FACEBOOK}: </td>
				<td><a href="{USER_FACEBOOK}" title="{L_VIEW_FACEBOOK}: {USER_FACEBOOK}" rel="external">{FACEBOOK_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_GOODREADS -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_GOODREADS}: </td>
				<td><a href="{USER_GOODREADS}" title="{L_VIEW_GOODREADS}: {USER_GOODREADS}" rel="external">{GOODREADS_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_LINKEDIN -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_LINKEDIN}: </td>
				<td><a href="{USER_LINKEDIN}" title="{L_VIEW_LINKEDIN}: {USER_LINKEDIN}" rel="external">{LINKEDIN_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_MYSPACE -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_MYSPACE}: </td>
				<td><a href="http://www.myspace.com/{USER_MYSPACE}" title="{L_VIEW_MYSPACE}: {USER_MYSPACE}" rel="external">{MYSPACE_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_NETLOG -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_NETLOG}: </td>
				<td><a href="{USER_NETLOG}" title="{L_VIEW_NETLOG}: {USER_NETLOG}" rel="external">{NETLOG_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
            <!-- IF USER_TWITTER -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_TWITTER}: </td>
				<td><a href="http://www.twitter.com/{USER_TWITTER}" title="{L_VIEW_TWITTER}: {USER_TWITTER}" rel="external">{TWITTER_IMG}</a></td>
			</tr>
			<!-- ENDIF -->
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/ucp_pm_viewmessage
***This edit is not necessary for subsilver2 based themes unless you want to add the images to the view PM window**
# 
#-----[ FIND ]------------------------------------------
# 
		<!-- END bcc_recipient -->
		</td>
	</tr>
<!-- ENDIF -->
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
	<tr>
		<td style="padding: 5px 0;">&nbsp;</td>
	</tr>
<!-- IF U_MSN -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_MSN}" onclick="popup(this.href, 780, 550); return false">{L_MSNM}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_YIM -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false">{L_YIM}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_AIM -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_AIM}" onclick="popup(this.href, 780, 550); return false">{L_AIM}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_ICQ -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_ICQ}" onclick="popup(this.href, 780, 550); return false">{L_ICQ}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_JABBER and S_JABBER_ENABLED -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_ICQ}" onclick="popup(this.href, 780, 550); return false">{L_JABBER}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_BEBO -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="http://www.bebo.com/{U_BEBO}" title="{L_VIEW_BEBO}: {U_BEBO}" rel="external">{L_BEBO}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_BLOGGER -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_BLOGGER}" title="{L_VIEW_BLOGGER}: {U_BLOGGER}" rel="external">{L_BLOGGER}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_FACEBOOK -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_FACEBOOK}" title="{L_VIEW_FACEBOOK}: {U_FACEBOOK}" rel="external">{L_FACEBOOK}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_GOODREADS -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_GOODREADS}" title="{L_VIEW_GOODREADS}: {U_GOODREADS}" rel="external">{L_GOODREADS}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_LINKEDIN -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_LINKEDIN}" title="{L_VIEW_LINKEDIN}: {U_LINKEDIN}" rel="external">{L_LINKEDIN}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_MYSPACE -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="http://www.myspace.com/{U_MYSPACE}" title="{L_VIEW_MYSPACE}: {U_MYSPACE}" rel="external">{L_MYSPACE}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_NETLOG -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_NETLOG}" title="{L_VIEW_NETLOG}: {U_NETLOG}" rel="external">{L_NETLOG}</a></td>
	</tr>
<!-- ENDIF -->
<!-- IF U_TWITTER -->
	<tr>
		<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><a href="http://www.twitter.com/{U_TWITTER}" title="{L_VIEW_TWITTER}: {U_TWITTER}" rel="external">{L_TWITTER}</a></td>
	</tr>
<!-- ENDIF -->
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/template/viewtopic_body.html
# 
#-----[ FIND ]------------------------------------------
# 
								<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
            					<!-- IF postrow.U_BEBO --><a href="http://www.bebo.com/{U_BEBO}" title="{L_VIEW_BEBO}: {U_BEBO}" rel="external">{BEBO_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_BLOGGER --><a href="{postrow.U_BLOGGER}" title="{L_VIEW_BLOGGER}: {U_BLOGGER}" rel="external">{BLOGGER_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_FACEBOOK --><a href="{postrow.U_FACEBOOK}" title="{L_VIEW_FACEBOOK}: {U_FACEBOOK}" rel="external">{FACEBOOK_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_GOODREADS --><a href="{postrow.U_GOODREADS}" title="{L_VIEW_GOODREADS}: {U_GOODREADS}" rel="external">{GOODREADS_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_LINKEDIN --><a href="{postrow.U_LINKEDIN}" title="{L_VIEW_LINKEDIN}: {U_LINKEDIN}" rel="external">{LINKEDIN_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_MYSPACE --><a href="http://www.myspace.com/{U_MYSPACE}" title="{L_VIEW_MYSPACE}: {U_MYSPACE}" rel="external">{MYSPACE_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_NETLOG --><a href="{postrow.U_NETLOG}" title="{L_VIEW_NETLOG}: {U_NETLOG}" rel="external">{NETLOG_IMG}</a> &nbsp;<!-- ENDIF -->
            					<!-- IF postrow.U_TWITTER --><a href="http://www.twitter.com/{U_TWITTER}" title="{L_VIEW_TWITTER}: {U_TWITTER}" rel="external">{TWITTER_IMG}</a> &nbsp;<!-- ENDIF -->
# 
#-----[ OPEN ]------------------------------------------
# 
styles/subsilver2/imageset/imageset.cfg
# 
#-----[ FIND ]------------------------------------------
# 
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19
# 
#-----[ AFTER, ADD ]------------------------------------------
# 
img_icon_contact_bebo = icon_contact_bebo.gif*20*25
img_icon_contact_blogger = icon_contact_blogger.gif*20*25
img_icon_contact_fb = icon_contact_fb.gif*20*25
img_icon_contact_gr = icon_contact_gr.gif*20*25
img_icon_contact_li = icon_contact_li.gif*20*25
img_icon_contact_ms = icon_contact_ms.gif*20*25
img_icon_contact_netlog = icon_contact_netlog.gif*20*25
img_icon_contact_twit = icon_contact_twit.gif*20*25
# 
#-----[ EOM ]------------------------------------------
# 


Sweet! I just haven't had the chance to do the Subsilver2 yet... it's been really crazy around here for a bit. Thanks! I'll check this out and get back to you. :)
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

Helter Skelter
Registered User
Posts: 144
Joined: Tue Jan 25, 2005 8:22 am
Location: integramod.com
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by Helter Skelter » Thu May 21, 2009 2:50 am

np... I updated my first post because I forgot to add styles/subsilver2/template/ucp_profile_profile_info.html

User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by Eragon » Sun May 24, 2009 3:59 pm

There are some errors

ACP- users and groups - users - manage users - find a member

Code: Select all

[phpBB Debug] PHP Notice: in file /memberlist.php on line 1724: Undefined variable: bebo
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1725: Undefined variable: blogger
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1726: Undefined variable: facebook
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1727: Undefined variable: goodreads
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1728: Undefined variable: linkedin
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1729: Undefined variable: myspace
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1730: Undefined variable: netlog
[phpBB Debug] PHP Notice: in file /memberlist.php on line 1731: Undefined variable: twitter

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17087
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by DavidIQ » Tue May 26, 2009 3:51 am

That happens if you haven't run the database queries.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by KellyBean » Tue May 26, 2009 12:14 pm

Just wanted to thank Helter_Skelter again. I LOVE the Subsilver images you made... that saves me a ton of work right there. :D My goal for this morning is to test out the Subsilver edits you gave me and hopefully add them to the MOD package, then resubmit the MOD to the MOD database. :) Sorry that I haven't been around... I've been really busy "IRL" lately. ;)
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by Eragon » Tue May 26, 2009 6:27 pm

There are problems on memberlist_search.html.. Many times I've tried this modification.. my post

my localhost/phpmyadmin
Image


memberlist_search.html
Image

thanks
sorry my english

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by KellyBean » Wed May 27, 2009 11:13 am

Eragon... try this:

In memberlist.php:

Find:

Code: Select all

$jabber		= request_var('jabber', '');
After add:

Code: Select all

		$bebo   	= request_var('bebo','');
			$blogger 	= request_var('blogger', '');
			$facebook   = request_var('facebook','');
			$goodreads	= request_var('goodreads', '');
			$linkedin   = request_var('linkedin','');
			$myspace 	= request_var('myspace', '');
			$netlog   	= request_var('netlog','');
			$twitter 	= request_var('twitter', '');
Not sure why I'm not getting the same error on my test board... :? But if that works for you, I'll add it to the next version of this MOD.
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

User avatar
vwrmic
Registered User
Posts: 175
Joined: Mon Apr 07, 2008 11:06 pm
Location: Inside my server!

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by vwrmic » Wed May 27, 2009 2:00 pm

Just wanted to thank you KellyBean for this. I had previously tried coding something similar to show some buttons, but not as indepth as yours. Mine appeared all the time regardless of whether anything had been entered.

Removed all of my work, added all of yours plus some other Networks. Took about 2 hours in total but was well worth it. Thank you for the great mod!

User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by Eragon » Wed May 27, 2009 6:05 pm

KellyBean thank you , problem solved :)

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by KellyBean » Thu May 28, 2009 12:21 am

Eragon: Glad that worked! That fix will be included in the next release. :)

vwrmic: Thanks for the kind words! Glad you like my humble little MOD. :D
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

User avatar
hww
Registered User
Posts: 177
Joined: Tue Sep 30, 2008 2:52 pm
Location: Wollongong, N.S.W., Australia

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by hww » Thu May 28, 2009 12:49 pm

I'd also like to say thanks for this MOD, Kelly. Something lie this was much needed for a long time. :D

I'd previously been playing around with the "Orkut Profile Hack" MOD posted at StarTrekGuide (I'd morphed it into a "Facebook Profile Hack"), but your MOD is a lot better.
Sorry for my English, but I am Australian. Forgive me please.

eugene187
Registered User
Posts: 108
Joined: Sun Aug 15, 2004 4:05 am

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by eugene187 » Sat May 30, 2009 4:23 pm

can't wait to give this mod a test drive, thank you for all your work

-e

User avatar
[o0]
Registered User
Posts: 23
Joined: Sat Apr 25, 2009 10:04 am
Location: Germany
Contact:

Re: [RC3] Social Networking Site Buttons 2.0.1

Post by [o0] » Sat May 30, 2009 4:35 pm

What about support for last.fm profiles? Or - even better - a possibility to add custom sites/buttons? So Everyone who misses a social network in this mod can add this site himself.
I mean I'm from Germany, the only site in this mod which is really common here is myspace, twitter is also well known but the rest.. almost no one uses these. It would be great if the admin of a board could add other (for his users) releveant sites.

best regards ;)

Locked

Return to “[3.0.x] MODs in Development”