Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
myspace style template Details »»
myspace style template
Version: 1.00, by ryans ryans is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-11-2006 Last Update: Never Installs: 5
 
No support by the author.

I couldn't find this template on the site but I had it on my system and so here it is. Someone made this before but I have no idea who.

Here is the working version:
http://www.k20civic.com/forums/member.php?u=1


Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar


<!-- main info - avatar, profilepic etc. -->
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="0">
  <tr>
	<td width="64%" valign="top"> 
			<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr bgcolor="#919EBA"> 
				<td class="tcat" colspan="4" valign="top"> <b>Profile page 
				  for: <b>$userinfo[musername], $userinfo[usertitle] $userinfo[onlinestatus] 
				  </b></b></td>
			  </tr>
			  <tr> <if condition="$show['avatar']"> 
				<td class="panelsurround" width="15%"> 
				  <div align="center"><img src="$userinfo[avatarurl]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" 
			  /></div>
				</td>
				<else /> 
				<td>&nbsp;</td>
				</if> 
				
		  <td  class="panelsurround" width="42%" valign="top"> 
			<p><b>Gender:</b> $userinfo[field7]<br>
			  <b>Age: </b>$userinfo[age]<b></b> <br>
			   <b>Astrology:</b> $userinfo[field74]</p>
				</td>
				<td  class="panelsurround" width="42%" valign="top">
				<b>Member Since:</b> $userinfo[datejoined]<br>
				<b>Location:</b> $userinfo[field2]<br>
				  <b>Referrals:</b> $referrals<br>
				  <b>Reputation:</b> $userinfo[reputationdisplay]<br>
				  <b>Photo Album:</b> <a href="/gallery/browseimages.php?do=member&imageuser=$userinfo[userid]" title="View My Gallery">View $userinfo[username]'s Photo Album</a>
				  </td>
			  </tr>
			</table>
			<br>
			<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
			  <tr valign="top"> 
				<td class="tcat"> Bio:</td>
			  </tr>
			  <tr valign="top"> 
				<td class="panelsurround"> 
				  <p>$userinfo[field1]</p>
				</td>
			  </tr>
			</table>
			<br>
			
	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
		<tr valign="top"> 
		  <td class="tcat" bgcolor="#919EBA">Interests:</td>
		</tr>
		<tr valign="top"> 
		  <td class="panelsurround"> 
			<p>$userinfo[field3]</p>
			</td>
		</tr>
	  </table>
	  
	  <br>
	  	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	  		<tr valign="top"> 
	  		  <td class="tcat" bgcolor="#919EBA">Likes:</td>
	  		</tr>
	  		<tr valign="top"> 
	  		  <td class="panelsurround"> 
	  			<p>$userinfo[field66]</p>
	  			</td>
	  		</tr>
	  </table>
	  
	  <br>
	  	  	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	  	  		<tr valign="top"> 
	  	  		  <td class="tcat" bgcolor="#919EBA">Favorite Music:</td>
	  	  		</tr>
	  	  		<tr valign="top"> 
	  	  		  <td class="panelsurround"> 
	  	  			<p>$userinfo[field73]</p>
	  	  			</td>
	  	  		</tr>
	  </table>
	 
	 
	 
	 <br>
	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
		<tr valign="top"> 
		  <td class="tcat" bgcolor="#919EBA">Favorite Movies:</td>
		</tr>
		<tr valign="top"> 
		  <td class="panelsurround"> 
			<p>$userinfo[field68]</p>
			</td>
		</tr>
	  </table>
	  
	  <br>
	  	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	  		<tr valign="top"> 
	  		  <td class="tcat" bgcolor="#919EBA">Favorite Books & Magazines:</td>
	  		</tr>
	  		<tr valign="top"> 
	  		  <td class="panelsurround"> 
	  			<p>$userinfo[field69]</p>
	  			</td>
	  		</tr>
	  </table>
	  
	  <br>
	  	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	  		<tr valign="top"> 
	  		  <td class="tcat" bgcolor="#919EBA">Favorite Cars:</td>
	  		</tr>
	  		<tr valign="top"> 
	  		  <td class="panelsurround"> 
	  			<p>$userinfo[field70]</p>
	  			</td>
	  		</tr>
	  </table>
	  
	  <br>
	  	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	  		<tr valign="top"> 
	  		  <td class="tcat" bgcolor="#919EBA">Dislikes:</td>
	  		</tr>
	  		<tr valign="top"> 
	  		  <td class="panelsurround"> 
	  			<p>$userinfo[field67]</p>
	  			</td>
	  		</tr>
	  </table>
	 
	 
	 
	 <br>
	 	 <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
		<tr valign="top"> 
		  <td class="tcat" bgcolor="#919EBA">Favorite Links:</td>
		</tr>
		<tr valign="top"> 
		  <td class="panelsurround"> $userinfo[field75]</td>
		</tr>
</table>
	</td>
		  <td valign="top">&nbsp;</td>
		  <td width="34%" valign="top"> 
			
	  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
	  
	  
	  
	  <if condition="$show['profilepic']">	
	  <tr><td align="center" valign="top">
	  			<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" 
	  			border="0" style="border:1px solid $stylevar[tborder_bgcolor]" /> <else /> <img src="$stylevar[imgdir_misc]/no_pic.jpg"  alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" />
	  			</td></tr>
			</if> 
	  
	  
	  
		<tr> 
		  <td class="tcat">My Favorite Links:</td>
		</tr>
		<tr> 
		  <td class="panelsurround"> 
			<p>$userinfo[field11]</p>
		  </td>
		</tr>
		<tr> 
		  <td class="tcat">Forum Stats:</td>
		</tr>
		<tr> 
		  <td class="panelsurround">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> 
			(<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)<br>
			<a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a><br>
			<a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a><br>
			<if condition="$show['lastactivity']"> 
			<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
			</if> <if condition="$show['currentlocation']"> 
			<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> 
			  - <else /> @ </if> $userinfo[time]&nbsp;</div>
			</if></td>
		</tr>
		<tr> 
		  <td class="tcat">My contact info:</td>
		</tr>
		<tr> 
		  <td class="panelsurround"><if condition="$show['addbuddylist']"> <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a><else /> 
			<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
			
			</if><br><if condition="$show['addignorelist']"> <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a> 
			<else /> <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
			</if><br>
			<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a><br>
			<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></td>
		</tr>
		<tr> 
		  <td class="panelsurround"> 
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
			  <if condition="$show['textimicons']"> <if condition="$userinfo['showicq']"> 
			  <tr> 
				<td>$vbphrase[icq] 
				<td> 
				<td>$userinfo[icq]</td>
			  </tr>
			  </if> <if condition="$userinfo['showaim']"> 
			  <tr> 
				<td>$vbphrase[aim] 
				<td> 
				<td>$userinfo[aim]</td>
			  </tr>
			  </if> <if condition="$userinfo['showmsn']"> 
			  <tr> 
				<td>$vbphrase[msn] 
				<td> 
				<td>$userinfo[msn]</td>
			  </tr>
			  </if> <if condition="$userinfo['showyahoo']"> 
			  <tr> 
				<td>$vbphrase[yahoo] 
				<td> 
				<td>$userinfo[yahoo]</td>
			  </tr>
			  </if> <else /> <if condition="$userinfo['showicq']"> 
			  <tr> 
				<td>$userinfo[icqicon]</td>
				<td><a href="#" dir="ltr" onClick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
			  </tr>
			  </if> <if condition="$userinfo['showaim']"> 
			  <tr> 
				<td>$userinfo[aimicon]</td>
				<td><a href="#" dir="ltr" onClick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
			  </tr>
			  </if> <if condition="$userinfo['showmsn']"> 
			  <tr> 
				<td>$userinfo[msnicon]</td>
				<td><a href="#" dir="ltr" onClick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
			  </tr>
			  </if> <if condition="$userinfo['showyahoo']"> 
			  <tr> 
				<td>$userinfo[yahooicon]</td>
				<td><a href="#" dir="ltr" onClick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
			  </tr>
			  </if> </if> 
			</table>
		  </td>
		</tr>
		<tr> 
		  <td class="tcat">My Groups:</td>
		</tr>
		<tr> 
		  <td class="panelsurround"> 
			<table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
			  <tr> <if condition="$show['membergroups']"> 
				<td></td>
				<else /> 
				<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
				</if> </tr>
			  $membergroupbits 
			</table>
		  </td>
		</tr>
	  </table>
		  </td>
		</tr>
	  </table>
	
<!-- Start Buddies Hack -->
			<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">			
			<fieldset class="fieldset">
				<legend>$vbphrase[buddies]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[totalbuddies]: <strong>$buddyinoutcounter</strong>
					</td>
				</tr>
				<tr>
					<td><a href="buddies.php?u=$userinfo[userid]">$vbphrase[viewmemberbuddies]</a></td>
				</tr>
				</table>
			</fieldset>
			</if>
			<!-- End Buddies Hack -->	
			<br>$buddies
$footer 
</body>
</html>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-17-2006, 12:41 PM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this because it doesn't require any hacking and my board doesn't really need all the things myspace offers. Like the annoying ability for people to change the background image of the page to something unreadable. Plus with anything less then a few hundred members on your board people really don't need "friends" as it's already a pretty tight group.

But I have been encountering one problem. When I try to display content from custom profile fields that are multiple check boxes it displays a number rather then the value of the checkbox. The value being a word.

I also noticed that textarea content doesn't display line and paragraph breaks. I know neither of these are an issue with this template mod. But I wonder how to fix them.
Reply With Quote
  #13  
Old 03-19-2006, 01:03 PM
CreedFeed's Avatar
CreedFeed CreedFeed is offline
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryans
I think there should be a seperate thread for this. This is just one modification that can give the user a quick myspace look, while the other one is a huge hack. I'm waiting for one click to install that other one before I actually install it. Why? i've installed most of those mods about 5 times already and each time I did an update I lose the mod.
This isn't a complete modification. You never mention the profile fields that you must add in order to make this work. The profile also links to a file "browseimages.php" which is not mentioned.
Reply With Quote
  #14  
Old 03-20-2006, 09:36 PM
Ruler68jg Ruler68jg is offline
 
Join Date: Mar 2006
Location: Denmark
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello !

I have cut pasted this code in the memberinfo, now I cant see the members profiles

it shows me following error
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM turkcelinks WHERE userid = '13' AND valid = 1;

MySQL Error : Table 'biz7000_dk.turkcelinks' doesn't exist Error Number : 1146
Date : Tuesday, March 21st 2006 @ 12:34:26 AM
Script : http://www.xxxxxxx.xx/xxxxxxxxx/member.php?u=13
Referrer : http://www.xxxxxxx.xx/xxxxxxxxx/index.php
IP Address : xxxxxxxxxxxx
Username : HAKAN
Classname : vb_database

please assist me to fix this problem

ruler
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08297 seconds
  • Memory Usage 2,264KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete