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 UserCP Rewrite Details »»
Myspace UserCP Rewrite
Version: 2.0, by SuperFly SuperFly is offline
Developer Last Online: Apr 2008 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-06-2006 Last Update: Never Installs: 53
Template Edits
 
No support by the author.

So sick of the old boring user cp?


Change it into something more exciting like this




1. Copy this into the UserCP_Shell template
(I would make a text backup.)

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js"></script>
$headinclude
	<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar



<!-- main page contents -->
$HTML
<!-- / main page contents -->


$footer
</body>
</html>
2. Copy this into the USERCP template
(Again id Backup in text file.)
Code:
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="90%"><tr><td width="50%" valign="top"><div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="border-width:0px;" border="0" width="100%">
<!-- First Column -->
<tr>
<td colspan="2" style="border-style:solid;border-width:1px;" class="tcat" align="center">Hello, <strong>$bbuserinfo[username]</strong>!</td>
</tr><tr>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div>Profile Picture:</div><img src="image.php?u=$bbuserinfo[userid]&type=profile" width="90" height="90" /><br /><div>Avatar:</div><img src="image.php?u=$bbuserinfo[userid]" /></td><td style="border-style:solid;border-width:1px;" class="vbmenu_control"><br /><a href="profile.php?do=editsignature">Edit Signature</a><br /><br />
<a href="profile.php?do=editprofile">Edit Profile</a><br /><br />
<a href="profile.php?do=editoptions">Edit Options</a><br /><br />
<a href="profile.php?do=editpassword">Edit Password/E-mail</a><br /><br />
<a href="profile.php?do=editavatar">Edit Avatar</a><br /><br />
<a href="profile.php?do=editprofilepic">Edit Picture</a><br /><br />
<a href="$bburl/$bbuserinfo[username]">View my Profile</a><br />
</div>
</td>
</tr>
<tr>
<td>
<br />
</td>
</tr>
<tr>
<td colspan="2" style="border-style:solid;border-width:1px;" class="tcat" align="center">Private messages</td>
</tr>
<tr>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control" colspan="2">
<div align="center">
<strong>$vbphrase[unread_x_nav_compiled]</strong> - <strong>$vbphrase[total_x_nav_compiled]</strong>
</div>
</td>
</tr>
<tr>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="private.php"><div align="center">Inbox</div></a>
</td>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="private.php?s=&pp=&folderid=-1"><div align="center">Sent Items</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="private.php?do=newpm"><div align="center">Send New PM</div></a>
</td>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="private.php?do=editfolders"><div align="center">Edit Folders</div></a>
</td>
</tr>
<tr>
<td>
<br />
</td>
</tr>
<tr>
<td colspan="3" style="border-style:solid;border-width:1px;" class="tcat" align="center">Miscellaneous</td>
</tr><tr>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div align="center"><a href="$bburl/calendar.php?do=viewreminder">Event Reminders</a></div>
</td>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div align="center"><a href="$bburl/profile.php?do=editattachments">Attachments</a> </div>
</td>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="link goes here"><div align="center">New Link Text</div></a>
</td>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="link goes here"><div align="center">New Link Text</div></a>
</td>
</tr>
</td>
</tr>
<!-- / First Column -->
</table>
</div>
</td>
<td width="50%" valign="top"><div align="center"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-width:0px;" align="center">
<!-- Second Column -->
<script type="text/javascript">
	<!--
	function pm(tform)
	{
		var users = new Array();
		var arrCount = 0;
		for (i = 0; i < tform.elements.length; i++)
		{
			var element = tform.elements[i];
			if ((element.name != "allbox") && (element.type == "checkbox") && (element.checked == true))
			{
				users[arrCount] = element.value;
				arrCount++;
			}
		}
		if (arrCount == 0)
		{
			alert("$vbphrase[no_users_selected]");
		}
		else
		{
			var querystring = "";
			for (i = 0; i < users.length; i++)
			{
				querystring += "&userid[]=" + users[i];
			}
			if (opener && !opener.closed)
			{ // parent window is still open
				opener.location="private.php?$session[sessionurl]do=newpm" + querystring;
			}
			else
			{ // parent window has closed or went to a different URL.
				window.open("private.php?$session[sessionurl]do=newpm" + querystring, "pm");
			}
		}
	}
	// -->
	</script>
<form action="onlineusers.php" method="post" target="_blank" name="vbform">

<tr><td class="vbmenu_option"><a href="#" onclick="window.open('$bburl/misc.php?do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">Open Buddy List</a></td></tr>

<if condition="$show['playsound']">
<!--<embed src="YourAlertSound.wav" hidden="True"> -->
</if>
</form>
<if condition="$show['privatemessages']">
<div class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
<a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
</div>
<div id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</div>
</if>
<!-- / Second column -->
</br>
<!-- Third Column SF-->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"><tr><td width="100%" valign="top">
<tr>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">


<tr>
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<thead>


<tr>
		<td class="tcat" colspan="7">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
			<a href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[new_subscribed_threads]</a><span class="normal">: ($numthreads)</span>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
	<if condition="$show['threads']">
		<tr class="thead">
		
			<if condition="$show['threadicons']">
				<td class="thead" colspan="2">&nbsp;</td>
			<else />
				<td class="thead">&nbsp;</td>
			</if>
			
			<td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
			<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
			<td class="thead" align="center">$vbphrase[replies]</td>
			<td class="thead" align="center">$vbphrase[views]</td>
		</tr>
		$threadbits
	<else />
		<tr>
			<td class="alt1" align="center" colspan="7"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
		</tr>
	</if>
	<tr>
		<td align="$stylevar[right]" colspan="7" class="tfoot">
		<span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
		</td>
	</tr></br>

</td></td>
</tr>
</tr>
</tbody>
</br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"><tr><td width="100%" valign="top">
<thead><td style="border-style:solid;border-width:1px;" class="vbmenu_control">
	<tr>
		<td class="tcat" colspan="$reputationcolspan">
			<span class="smallfont" style="float:$stylevar[right]">
				<phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
				&nbsp; &nbsp;
				<a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
			</span>
			$vbphrase[latest_reputation_received]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
	<tr>
		<td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
		<td class="thead">$vbphrase[date]</td>
		<if condition="$vboptions['showuserraters']">
		<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
		</if>
		<td class="thead">$vbphrase[comment]</td>
	</tr>
	$reputationcommentbits
</tbody>

</div></table></thead>
<!-- End Third Column SF-->

</div>
</table></table
</td></tr></table>
</div>
To edit the bottom 2 links under misc, i made this code

Code:
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="link goes here"><div align="center">New Link Text</div></a>
Just edit as followed.

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 02-07-2006, 10:41 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks awesome, gonna try this when its fixed.
Reply With Quote
  #13  
Old 02-08-2006, 12:14 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dubsyxxx
need the reputation area
^ what he said ^

theres a lot of blank space on the bottom right, maybe you can add the reputation area there
Reply With Quote
  #14  
Old 02-08-2006, 03:22 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine for me!

*edit* couple of javascript error out of no where
Reply With Quote
  #15  
Old 02-08-2006, 05:07 AM
vbreal vbreal is offline
 
Join Date: Dec 2005
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about all the extra ish that is added by plugins. like invites, who viewed ur profile,

here is a list of what i have. with all this still show up. and what about the rep. where will the rep show. great idea!!

Control Panel
Settings & Options
Edit Signature
Edit Email & Password

Edit Arcade Options
Edit Profile
Edit Options
Edit Avatar
Edit Profile Picture
Private Messages
Folders
Inbox
Sent Items

List Messages
Send New Message
Track Messages
Edit Folders
Subscribed Threads
Folders
Subscriptions

List Subscriptions
Edit Folders
Miscellaneous
Event Reminders
Buddy / Ignore Lists
Attachments
Invites
Who viewed my Profile?
Reply With Quote
  #16  
Old 02-08-2006, 11:04 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh this is interesting. Thanks!
Reply With Quote
  #17  
Old 02-08-2006, 11:51 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't use a form dropdown ... use the vb menu control for navbar consistency
Reply With Quote
  #18  
Old 02-08-2006, 03:09 PM
forte's Avatar
forte forte is offline
 
Join Date: Jul 2005
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i click any link in it, it just sends me to the page which has all the things but it just has a blank background but all the words are still there.
Reply With Quote
  #19  
Old 02-08-2006, 04:10 PM
mikeB's Avatar
mikeB mikeB is offline
 
Join Date: Dec 2001
Location: CT
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it in there partially but the memberlist block is broken (it's not picking it up)
great idea will be watching the development
Reply With Quote
  #20  
Old 02-08-2006, 06:12 PM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Looking! ^o^ I'd love to see this developed some more!
Reply With Quote
  #21  
Old 02-08-2006, 06:47 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by forte
When i click any link in it, it just sends me to the page which has all the things but it just has a blank background but all the words are still there.

same here
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:31 AM.


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.10910 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (2)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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