PDA

View Full Version : Myspace UserCP Rewrite


SuperFly
07 Feb 2006, 19:22
So sick of the old boring user cp?
http://www.fma-usa.com/untitled2.JPG

Change it into something more exciting like this
http://www.fma-usa.com/Untitled-1.png



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



$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.)

<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,s crollbars=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

<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.

PennylessZ28
07 Feb 2006, 19:37
Heh, thats neat I suppose. Good layout concept.

bashy
07 Feb 2006, 19:41
Hi m8

Just tried this and none of the links work.....they just seem to refresh the page..
I am removing as well as i have a good handfull of hacks installed and i dont think
they would look to good with this...

Brilliant idea though well done!!

redspider
07 Feb 2006, 19:58
thank you for share .

Gizmo5h1t3
07 Feb 2006, 19:59
same here, just refreshes the page...
stil, its an excellent idea.....u might want to develop it a bvit


very nice looking mate

silurius
07 Feb 2006, 20:43
LOVE the look; will bookmark this and await the fixes identified above.

projectego
07 Feb 2006, 21:24
Looks pretty cool, I might check it out once the invalid links problem has been resolved. :)

Nordinho
07 Feb 2006, 22:33
Looks pretty cool, I might check it out once the invalid links problem has been resolved. :)

nice idea...suggestion, add some tabs to it for easier navigating...

Xenon
07 Feb 2006, 22:37
that's looking really nice!

@the users with linking problems: have you tried to do a hard refresh.
sounds like a JS problem, which could be because an outdated cache?

dubsyxxx
07 Feb 2006, 22:43
need the reputation area

GamerJunk.net
07 Feb 2006, 23:41
Looks awesome, gonna try this when its fixed.

rb290
08 Feb 2006, 01:14
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

MissKalunji
08 Feb 2006, 04:22
works fine for me!


*edit* couple of javascript error out of no where

vbreal
08 Feb 2006, 06:07
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?

Snake
08 Feb 2006, 12:04
Oh this is interesting. Thanks! :)

Princeton
08 Feb 2006, 12:51
don't use a form dropdown ... use the vb menu control for navbar consistency

forte
08 Feb 2006, 16:09
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.

mikeB
08 Feb 2006, 17:10
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

Diana Notacat
08 Feb 2006, 19:12
Good Looking! ^o^ I'd love to see this developed some more!

MissKalunji
08 Feb 2006, 19:47
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

shadiguy1
08 Feb 2006, 23:22
same her eall words but blank white background.

The Chief
08 Feb 2006, 23:45
crappy html can do it too.

didn't you say you would make something like this HR3rdGen?

MissKalunji
08 Feb 2006, 23:46
crappy html can do it too.

"crappy"?

PennylessZ28
08 Feb 2006, 23:47
Shit, how did that post get in this thread? that was supose to be in the why is my skin loading so slow thread? God, gotta pay closer attention when using multi-tabs in firefox, sorry.

Darkfire122333
09 Feb 2006, 00:16
Fixed Script (Edited by me, please demo it.. cuz i dunno if it is working fully or not, please write feedback in PM as well as here if it is not and I can try to fix it)

Erase all the code in USERCP and replace with: (Please be sure to backup files just in case)

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
<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><if condition="$userinfo[profilepicurl]">
<img src="$userinfo[profilepicurl]" /><br /><else />You don't have a profile picture</if><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="$bburl/$bbuserinfo[username]">View my Profile</a><br />
<if condition="!$userinfo[profilepicurl]"></div></if>
</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>
<!-- / 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="private.php" method="post" target="_blank" name="vbform">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="3">$vbphrase[buddy_list]</td>
</tr>
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[online]</strong> --</span></td>
</tr>
$onlineusers
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span></td>
</tr>
$offlineusers
<tr>
<td class="tfoot" align="center" colspan="3">
<input type="button" class="button" value="$vbphrase[reload]" onclick="history.go(0);" />
<input type="button" class="button" value="Edit List" onclick="window.location='profile.php?do=editlist';" />
<input type="button" class="button" value="$vbphrase[pm_users]" onclick="pm(this.form);" title="$vbphrase[send_private_message_to_selected_users]" />
<input type="button" class="button" value="Open in this window" onclick="window.location='misc.php?$session[sessionurl]do=buddylist&amp;buddies=$buddies';" />
</td>
</tr>
</table>

</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 -->
</div>
</table>
</td></tr></table>
</div>
<script type="text/javascript">/*
<!-- Hack into hack - Nick -->
<table border="0"width="100%"><tr><td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="50%" align="center">
<tr valign="top"><tr style="alt2"><table border="0"><tr valign="top"><td style="tcat">Hello, <strong>$bbuserinfo[username]</strong>!</td></tr><tr>
<if condition="$show['profilepic']"><td><img src="$userinfo[profilepicurl]" /></td></if>
<td class="alt2">
<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</a><br /><br />
<a href="profile.php?do=editarcade">Edit Arcade Options</a><br /><br />
<a href="profile.php?do=editavatar">Edit Avatar</a><br /><br />
<a href="$bburl/$bbuserinfo[username]">View my Profile</a>
</td></tr></table></td></tr></table>
</td>
<td>

</td>
</tr></table>-->
<!-- / Hack into hack - Nick -->
<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<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>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>
<!-- Start Edit profile - by SuperFly -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr valign="top">
<td width="50%" align="right" valign="top">
<strong>Welcome Back</strong> $bbuserinfo[username]</td>
</tr>
<tr>
<td class="alt1"><strong>Link to profile: </strong>$vboptions[bburl]/$bbuserinfo[username]</td>
</tr>
<br />
<tr>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editprofile"><strong>Edit profile </strong></a></td>
</tr>
<br />


<tr>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editprofile"><strong><A href=$vboptions[bburl]/$bbuserinfo[username]>View profile </strong></a></td>
</tr>
</table>
<!-- End -->
<!-- ############## SUBSCRIBED THREADS ############## -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ############## -->


<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
$vbphrase[subscribed_forums]
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
<tr align="center" valign="bottom">
<td class="thead" width="2%">&nbsp;</td>
<td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="20%">$vbphrase[moderator]</td>
</if>
</tr>
$forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ############## -->
</if>


<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<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>
</table>
<br />
<!-- ############## END NEW REPUTATION ############## -->
</if>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>
*/</script>
</html>


Erase all the code in USERCP_SHELL and replace with: (Please be sure to backup files just in case)

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar

</td>
<td>&nbsp;&nbsp;</td>
<td width="100%">

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

</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>

SuperFly
09 Feb 2006, 00:23
Whoops forgot a headinclude in the first, thanks.

SuperFly
09 Feb 2006, 00:24
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?

This is for default only, rep will be added soon, the rest you would have to add yourself.

Darkfire122333
09 Feb 2006, 00:29
If you post the links, I would be happy to add tehm in as a edit, then SuperFly could add it as a extra file sayying "Modification links"

I would be happy to do that for you.

eNforce
09 Feb 2006, 00:42
I'm gonna keep an eye on this thread, I love these rewritten templates, it's a nice change :)

shadiguy1
09 Feb 2006, 01:10
some reason its not displaying my profile pic i have in there but it isnt display its showing the avatar fine but nit displaying the profile pic its just saying no profile pic. please help;;

Darkfire122333
09 Feb 2006, 01:15
Okay, so there is a bit of a problem with the profile picture, I will work on this to figure out why.

Darkfire122333
09 Feb 2006, 01:40
Ok. Profile Pic edit is now in place

in USERCP find:

<a href="profile.php?do=editavatar">Edit Avatar</a><br /><br />


Add Below:

<a href="profile.php?do=editprofilepic">Edit Profile Pic</a><br /><br />

shadiguy1
09 Feb 2006, 01:41
i have that in there i added it myself lol.. But the pic still isnt displaying. what i mean abov eon the left where it shows the avatar it is not displaying whatever prifile pic a user has.

vbreal
09 Feb 2006, 01:43
If you post the links, I would be happy to add tehm in as a edit, then SuperFly could add it as a extra file sayying "Modification links"

I would be happy to do that for you.

you want me to post the links to those choices..

Darkfire122333
09 Feb 2006, 01:44
ah, i now see what you mean. I will fond out that right now, please be patient, there is code to look through.

shadiguy1
09 Feb 2006, 01:52
one other thing its not going to my profile if i click view my profile thats not working. i noticed...

SuperFly
09 Feb 2006, 01:54
thats due to a .htaccess code i ahve that makes members for profiles there usernames instead of number, so if you all wish ill release the file for it.

Darkfire122333
09 Feb 2006, 01:57
you want me to post the links to those choices..

only the links that are not originally on there, becuase thats all i need.

shadiguy1
09 Feb 2006, 01:58
superfly if you could give me that info i would appreciate it.

vbreal
09 Feb 2006, 02:00
thats due to a .htaccess code i ahve that makes members for profiles there usernames instead of number, so if you all wish ill release the file for it.

is that the code that would make this

www.vbulletin.org/realtalk (http://www.vbulletin.org/realtalk)

shadiguy1
09 Feb 2006, 02:02
or i could just use the info to use the user number please either would help me.

SuperFly
09 Feb 2006, 02:03
is that the code that would make this

www.vbulletin.org/realtalk (http://www.vbulletin.org/realtalk)

Yes
Ill upload the .htaccess file for you all and type in instructions for it.

vbreal
09 Feb 2006, 02:09
Yes
Ill upload the .htaccess file for you all and type in instructions for it.

awesome, thanks!

SuperFly
09 Feb 2006, 02:11
Has anyone forgotten to click https://www.vbulletin.org/forum/ (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=107394)

SuperFly wonders if the install button is scary

shadiguy1
09 Feb 2006, 02:20
ok stil not working for me dunno what i did wrong... i did change it cause my main forums page is called by forums.php which i changed it to and it still isnt working and i uploaded the htaccess to the root of my server.

SuperFly
09 Feb 2006, 02:23
Just to make sure, you edit the name once uploaded so it just says .htaccess ?

shadiguy1
09 Feb 2006, 02:25
correct just .htaccess

SuperFly
09 Feb 2006, 02:26
Alright, then you may not have mod_rewrite on your server, try the very bottom code then.

shadiguy1
09 Feb 2006, 02:29
i dont follow please explaing im sorry pplease bare with me.

SuperFly
09 Feb 2006, 02:30
This should work

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
<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><if condition="$userinfo[profilepicurl]">
<img src="$userinfo[profilepicurl]" /><br /><else />You don't have a profile picture</if><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="$bburl/member.php?u=$bbuserinfo[userid]">View my Profile</a><br />
<if condition="!$userinfo[profilepicurl]"></div></if>
</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>
<!-- / 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="private.php" method="post" target="_blank" name="vbform">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="3">$vbphrase[buddy_list]</td>
</tr>
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[online]</strong> --</span></td>
</tr>
$onlineusers
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span></td>
</tr>
$offlineusers
<tr>
<td class="tfoot" align="center" colspan="3">
<input type="button" class="button" value="$vbphrase[reload]" onclick="history.go(0);" />
<input type="button" class="button" value="Edit List" onclick="window.location='profile.php?do=editlist';" />
<input type="button" class="button" value="$vbphrase[pm_users]" onclick="pm(this.form);" title="$vbphrase[send_private_message_to_selected_users]" />
<input type="button" class="button" value="Open in this window" onclick="window.location='misc.php?$session[sessionurl]do=buddylist&amp;buddies=$buddies';" />
</td>
</tr>
</table>

</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>
</div></table></thead>
<!-- End Third Column SF-->

</div>
</table>
</td></tr></table>
</div>
<script type="text/javascript">/*
<!-- Hack into hack - Nick -->
<table border="0"width="100%"><tr><td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="50%" align="center">
<tr valign="top"><tr style="alt2"><table border="0"><tr valign="top"><td style="tcat">Hello, <strong>$bbuserinfo[username]</strong>!</td></tr><tr>
<if condition="$show['profilepic']"><td><img src="$userinfo[profilepicurl]" /></td></if>
<td class="alt2">
<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</a><br /><br />
<a href="profile.php?do=editarcade">Edit Arcade Options</a><br /><br />
<a href="profile.php?do=editavatar">Edit Avatar</a><br /><br />
<a href="$bburl/$bbuserinfo[username]">View my Profile</a>
</td></tr></table></td></tr></table>
</td>
<td>

</td>
</tr></table>-->
<!-- / Hack into hack - Nick -->
<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<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>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>





<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="20%" align="center">
<thead>
<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>
</table>
<br />
<!-- ############## END NEW REPUTATION ############## -->
</if>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>
*/</script>
</html>

Darkfire122333
09 Feb 2006, 02:35
Sorry about the absence, my step-brother wanted on... ok i can help again.

shadiguy1
09 Feb 2006, 02:36
Thanks works like a charm dark was working on something else i notices 2 other things not functioniong properpley online buddies not showing up and The profile pic wheter you have one or not will not display if u do it still says no profile pic any ideas?

SuperFly
09 Feb 2006, 02:44
Hmm ill look at it some more tomorrow after school, as for now i need some sleep.

Darkfire122333
09 Feb 2006, 02:55
Cure for no profile pic in main:

Find: (in usercp template)

<div>Profile Picture:</div><if condition="$userinfo[profilepicurl]">
<img src="$userinfo[profilepicurl]" /><br /><else />You don't have a profile picture</if><div>Avatar:</div><img src="image.php?u=$bbuserinfo[userid]" /></td><td style="border-style:solid;border-width:1px;" class="vbmenu_control"><br />


Replace with:

<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 />

vbreal
09 Feb 2006, 02:58
are all these updates being added to the install file. i am waiting to download it.

great job on the suport

SuperFly
09 Feb 2006, 03:03
Yes, im making sure everything works then adding them.

Code 100% updated.
Except for rep and buddy list, all known bugs fixed.

Darkfire122333
09 Feb 2006, 03:10
re-enter last post, there is now a image restrict on it.. shadi was nice enuf to tell me that there was a problem with the size restriction.. now updated in that last edit.

SuperFly
09 Feb 2006, 03:13
re-enter last post, there is now a image restrict on it.. shadi was nice enuf to tell me that there was a problem with the size restriction.. now updated in that last edit.

Its already edited in first post, but thank you for pointing it out.

vbreal
09 Feb 2006, 03:26
ummm i tried the .htaccess file when i click on view profile it does not work

btw i clicked install ha ha

vbreal
09 Feb 2006, 03:34
here are the link thanks

http://www.mysite.com/profile.php?do=editarcade edit arcade options

http://www.mysite.com/invites.php? invites

http://www.mysite.com/private.php# who viewed system


i have a question. when u click on the links there is no way to get back to the main usercp page with out hitting the back button

Darkfire122333
09 Feb 2006, 03:46
here is your extra options real :D

Open USERCP find:

<a href="profile.php?do=editprofilepic">Edit Profile Pic</a><br /><br />


Add below:

<a href="profile.php?do=editarcade">Edit Arcade Options</a><br /><br />
<a href="profile.php?do=invites.php">View Invites</a><br /><br />
<a href="profile.php?do=private.php">Who's Viewed System</a><br /><br />

vbreal
09 Feb 2006, 04:07
thanks man

btw i figured out why the .htacess file wasn't working

let me ask u a question would that work on a mysite.mysite.com

Darkfire122333
09 Feb 2006, 04:13
if you want it on a sub.site.com then the best idea you can do is the full url...

like instead of <a href="profile.php?"> have it <a href="http://sub.site.com/profile.php?">

vbreal
09 Feb 2006, 04:22
i am talking about with the .htacess file

also the online buddies are not showing in the usercp with this hack

Langly
09 Feb 2006, 04:43
I have this installed and looks nice. Few questions though:

1. How do I increase the Avatar upload size from 19.5kb? I already havea custom avatar set but it doesn't show up.
2. THe new screen shows up fine if I click on my own UserCP. If someone clicks on my name or I click on someone elses profile, the VB default profile shows up. Is this the way it is supposed to be?
3. I entered stuff like the yahoo, icq, etc.. info but they don't show up in my UserCP even though it is actually there. How do I make it show up when someone views a members profile?

eNforce
09 Feb 2006, 04:58
I've been messing with the code for quite some time but here's what I've come up with:

I can't figure out how to change the width of that subscirbed thread area with the icon :(

Darkfire122333
09 Feb 2006, 05:01
i am talking about with the .htacess file

also the online buddies are not showing in the usercp with this hack


Yes, we do know of this error, it will be fixed, just please give us some time.


I have this installed and looks nice. Few questions though:

1. How do I increase the Avatar upload size from 19.5kb? I already havea custom avatar set but it doesn't show up.
2. THe new screen shows up fine if I click on my own UserCP. If someone clicks on my name or I click on someone elses profile, the VB default profile shows up. Is this the way it is supposed to be?
3. I entered stuff like the yahoo, icq, etc.. info but they don't show up in my UserCP even though it is actually there. How do I make it show up when someone views a members profile?

1. The avatar upload size is a main vbulletin option. This has nothing to do with this hack.
2. The usercp is not related to the profile. This is meant to look different, hence why there is no postcount, icq, or anything like that.
3. UserCP does not show icq and chat icons. If you want that, it is in the profile. That is what shows it all.

Darkfire122333
09 Feb 2006, 05:04
I've been messing with the code for quite some time but here's what I've come up with:

I can't figure out how to change the width of that subscirbed thread area with the icon :(

Sorry but you will have to wait until SuperFly comes back online. I have no cluse how to edit the subscriptions. Sorry.

Brandon Sheley
09 Feb 2006, 05:05
nice concept, will try it out when I get some time :)

/me subscribes to this thread

Darkfire122333
09 Feb 2006, 05:19
Different layout... *Screenshot attached

Clear USERCP_SHELL temlate and paste this:
(backup of template reccomended)

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar


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

$footer
</body>
</html>


clear USERCP template and paste this:
(backup of template reccomended)

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
<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="100" height="100" /><br />
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div>Avatar:</div><img src="image.php?u=$bbuserinfo[userid]" /></td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editsignature"><div align="center">Edit Signature</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editprofile"><div align="center">Edit Profile</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editoptions"><div align="center">Edit Options</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editpassword"><div align="center">Edit Password/E-mail</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editavatar"><div align="center">Edit Avatar</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editprofilepic"><div align="center">Edit Profile Pic</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="$bburl/$bbuserinfo[username]"><div align="center">View my Profile</div></a>
<if condition="!$userinfo[profilepicurl]"></div></if>
</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>
<!-- / 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="private.php" method="post" target="_blank" name="vbform">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="3">$vbphrase[buddy_list]</td>
</tr>
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[online]</strong> --</span></td>
</tr>
$onlineusers
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span></td>
</tr>
$offlineusers
<tr>
<td class="tfoot" align="center" colspan="3">
<input type="button" class="button" value="$vbphrase[reload]" onclick="history.go(0);" />
<input type="button" class="button" value="Edit List" onclick="window.location='profile.php?do=editlist';" />
<input type="button" class="button" value="$vbphrase[pm_users]" onclick="pm(this.form);" title="$vbphrase[send_private_message_to_selected_users]" />
<input type="button" class="button" value="Open in this window" onclick="window.location='misc.php?$session[sessionurl]do=buddylist&amp;buddies=$buddies';" />
</td>
</tr>
</table>

</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 -->
</div>
</table>
</td></tr></table>
</div>
<script type="text/javascript">/*
<!-- Hack into hack - Nick -->
<table border="0"width="100%"><tr><td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="50%" align="center">
<tr valign="top"><tr style="alt2"><table border="0"><tr valign="top"><td style="tcat">Hello, <strong>$bbuserinfo[username]</strong>!</td></tr><tr>
<if condition="$show['profilepic']"><td><img src="$userinfo[profilepicurl]" /></td></if>
<td class="alt2">
<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</a><br /><br />
<a href="profile.php?do=editarcade">Edit Arcade Options</a><br /><br />
<a href="profile.php?do=editavatar">Edit Avatar</a><br /><br />
<a href="$bburl/$bbuserinfo[username]">View my Profile</a>
</td></tr></table></td></tr></table>
</td>
<td>

</td>
</tr></table>-->
<!-- / Hack into hack - Nick -->
<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<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>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>
<!-- Start Edit profile - by SuperFly -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr valign="top">
<td width="50%" align="right" valign="top">
<strong>Welcome Back</strong> $bbuserinfo[username]</td>
</tr>
<tr>
<td class="alt1"><strong>Link to profile: </strong>$vboptions[bburl]/$bbuserinfo[username]</td>
</tr>
<br />
<tr>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editprofile"><strong>Edit profile </strong></a></td>
</tr>
<br />


<tr>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editprofile"><strong><A href=$vboptions[bburl]/$bbuserinfo[username]>View profile </strong></a></td>
</tr>
</table>
<!-- End -->
<!-- ############## SUBSCRIBED THREADS ############## -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ############## -->


<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
$vbphrase[subscribed_forums]
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
<tr align="center" valign="bottom">
<td class="thead" width="2%">&nbsp;</td>
<td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="20%">$vbphrase[moderator]</td>
</if>
</tr>
$forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ############## -->
</if>


<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<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>
</table>
<br />
<!-- ############## END NEW REPUTATION ############## -->
</if>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>
*/</script>
</html>

Darkfire122333
09 Feb 2006, 05:36
to create a new block right beside view profile, edit usercp template..

add:

</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editprofile"><div align="center">Edit Profile</div></a>
</td>
</tr>

(replace profile.php?do=editprofile with the location of the file and change Edit Profile to the name you want it to be displayed as)

After:

<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="$bburl/$bbuserinfo[username]"><div align="center">View my Profile</div></a>
<if condition="!$userinfo[profilepicurl]"></div></if>
</td>
</tr>


After that if you want to add anotehr row of 2... add this and do the same edit as above, only twice...

Find:

<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="$bburl/$bbuserinfo[username]"><div align="center">View my Profile</div></a>
<if condition="!$userinfo[profilepicurl]"></div></if>
</td>
</tr>

(remember what you put the one above as, becuase this goes right after that.)

Add after:

<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editavatar"><div align="center">Edit Avatar</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editprofilepic"><div align="center">Edit Profile Pic</div></a>
</td>
</tr>

(same thing.. edit the same things.. yadda yadda yadda....)

MissKalunji
09 Feb 2006, 05:38
Different layout... *Screenshot attached

clear USERCP template and paste this:
(backup of template reccomended)

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
<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="100" height="100" /><br />
<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div>Avatar:</div><img src="image.php?u=$bbuserinfo[userid]" /></td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editsignature"><div align="center">Edit Signature</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editprofile"><div align="center">Edit Profile</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editoptions"><div align="center">Edit Options</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editpassword"><div align="center">Edit Password/E-mail</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editavatar"><div align="center">Edit Avatar</div></a>
</td>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="profile.php?do=editprofilepic"><div align="center">Edit Profile Pic</div></a>
</td>
</tr>
<tr>
<td width="50%" style="border-style:solid;border-width:1px;" class="vbmenu_control">
<a href="$bburl/$bbuserinfo[username]"><div align="center">View my Profile</div></a>
<if condition="!$userinfo[profilepicurl]"></div></if>
</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>
<!-- / 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="private.php" method="post" target="_blank" name="vbform">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="3">$vbphrase[buddy_list]</td>
</tr>
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[online]</strong> --</span></td>
</tr>
$onlineusers
<tr>
<td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span></td>
</tr>
$offlineusers
<tr>
<td class="tfoot" align="center" colspan="3">
<input type="button" class="button" value="$vbphrase[reload]" onclick="history.go(0);" />
<input type="button" class="button" value="Edit List" onclick="window.location='profile.php?do=editlist';" />
<input type="button" class="button" value="$vbphrase[pm_users]" onclick="pm(this.form);" title="$vbphrase[send_private_message_to_selected_users]" />
<input type="button" class="button" value="Open in this window" onclick="window.location='misc.php?$session[sessionurl]do=buddylist&amp;buddies=$buddies';" />
</td>
</tr>
</table>

</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 -->
</div>
</table>
</td></tr></table>
</div>
<script type="text/javascript">/*
<!-- Hack into hack - Nick -->
<table border="0"width="100%"><tr><td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="50%" align="center">
<tr valign="top"><tr style="alt2"><table border="0"><tr valign="top"><td style="tcat">Hello, <strong>$bbuserinfo[username]</strong>!</td></tr><tr>
<if condition="$show['profilepic']"><td><img src="$userinfo[profilepicurl]" /></td></if>
<td class="alt2">
<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</a><br /><br />
<a href="profile.php?do=editarcade">Edit Arcade Options</a><br /><br />
<a href="profile.php?do=editavatar">Edit Avatar</a><br /><br />
<a href="$bburl/$bbuserinfo[username]">View my Profile</a>
</td></tr></table></td></tr></table>
</td>
<td>

</td>
</tr></table>-->
<!-- / Hack into hack - Nick -->
<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<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>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>
<!-- Start Edit profile - by SuperFly -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr valign="top">
<td width="50%" align="right" valign="top">
<strong>Welcome Back</strong> $bbuserinfo[username]</td>
</tr>
<tr>
<td class="alt1"><strong>Link to profile: </strong>$vboptions[bburl]/$bbuserinfo[username]</td>
</tr>
<br />
<tr>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editprofile"><strong>Edit profile </strong></a></td>
</tr>
<br />


<tr>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editprofile"><strong><A href=$vboptions[bburl]/$bbuserinfo[username]>View profile </strong></a></td>
</tr>
</table>
<!-- End -->
<!-- ############## SUBSCRIBED THREADS ############## -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ############## -->


<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
$vbphrase[subscribed_forums]
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
<tr align="center" valign="bottom">
<td class="thead" width="2%">&nbsp;</td>
<td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="20%">$vbphrase[moderator]</td>
</if>
</tr>
$forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ############## -->
</if>


<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<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>
</table>
<br />
<!-- ############## END NEW REPUTATION ############## -->
</if>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>
*/</script>
</html>




hallllllllllf of these things arent showing :-/

Darkfire122333
09 Feb 2006, 05:40
hallllllllllf of these things arent showing :-/

you still have to do the usercp_shell edit too...

MissKalunji
09 Feb 2006, 06:15
Nice good work! iim trying to redesign the profile page....cause its so confusing!

wont be as good as HR3rdGen but should do my work!

vbreal
09 Feb 2006, 06:21
Issue New Invitation
Click Here To Invite New Users to Our Board!


how do we incorperate the invite system

vbreal
09 Feb 2006, 06:25
nevermind i got it

vbreal
09 Feb 2006, 06:29
its not displaying my subscribed threads :(

vbreal
09 Feb 2006, 07:01
i have a few issues. i wold like the profile pic to be a lil larger but it stretches the screen out and it looks funny. anyway that the frames can adjust based on the size of the profile pic.

also the who viewed my profile link isn't working. i had ot do an edit in the usercp_shell to do that here is the code


In Template USERCP_SHELL
FIND
--------------------------------------------------------------------------------
</table>
<!-- / usercp nav -->
--------------------------------------------------------------------------------
ABOVE that ADD
--------------------------------------------------------------------------------
<if condition="$permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews']">
<tr>
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="#" onclick="openWindow('misc.php?$session[sessionurl]do=profileviews', 300, 400); return false;">$vbphrase[who_viewed_my_profile]</a></td>
</tr>
</if>
--------------------------------------------------------------------------------

and my subscriptions were not populating but when i click onthe link it works. i see in the pic it worked for you.

one last thing i am trying to get my .htacess file to work my forum index is in www.mysite.com/forums/ (http://www.mysite.com/forums/) and it didnt' work

also my friend has asite www.sub.doman.com (http://www.sub.doman.com) and it didn't work for that either


thanks in advance for the help

SuperFly
09 Feb 2006, 14:51
Hmm, subscriptions thing is weird, did you replace most upadted code for both usercp and usercp_shell?

The .htaccess may not work if you do not have mod_rewrite on your server.


Has anyone forgotten to click https://www.vbulletin.org/forum/ (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=107394)

If you would not mind if you like/have installed the product please click it.

vbreal
09 Feb 2006, 16:04
i got the code last night. i will replace it again.

yes i clicked install

how do i get mod_rewrite

vbreal
09 Feb 2006, 16:24
i just replaced the code and i still don't see my subscriptions. i see you added the reputation art. good deal

what about the code i need in the usercp to keep my who viewed profile hack.

Darkfire122333
09 Feb 2006, 16:27
I also have a problem with the subscriptions, I have no idea how to work that, but i can say, what do you mean, is it supposed to pop up, or is it just a link?

vbreal
09 Feb 2006, 16:45
is what supposed to pop up

if ur talking about the who viewed myprofile think its a popup.

vbreal
09 Feb 2006, 16:51
ok i got the profile view thing to work. but it opens up inthe same window. how do i get it to open in a new window with a certain width and hieght.

Snake
09 Feb 2006, 16:52
Good work on the update.

SuperFly
09 Feb 2006, 18:57
i got the code last night. i will replace it again.

yes i clicked install

how do i get mod_rewrite

Alright, ask the server admin [host] if they could get it.

And to view profile, in another window, im not to sure about, i jsut right click and open in new window.

PennylessZ28
09 Feb 2006, 23:32
This is all I managed to do.....
http://bcfbody.org/vbspace/vbspace_usercp2.gif

http://bcfbody.org/vbspace/vbspace_usercp3.gif

pbw
10 Feb 2006, 00:14
I have a question on the .htaccess, i'm pretty much a newbie with the stuff. All i have included in mine is a 301 to redirect non www to www, a showthread line, a forumdisplay line and your profile bit. However, i have a problem now with vbadvanced custom pages.

By default it's displayed as yourforum.com/?page=pagename . After adding the profile rewrite bit it simply points to forumhome when trying to view the page. I'm sure there's something simple i could put to change it to yourforum.com/pagename.html or similar. Would anyone be kind enough to point me in the right direction?

I tried the following (which of course is incorrect, else i wouldnt be posting)

RewriteRule (^[-_A-Za-z0-9\ ]*$) ?page=$1
and
RewriteRule (^[A-Za-z0-9\-]+)\.html$ ?page=$1

Thanks,

-- pbw

vbreal
10 Feb 2006, 05:17
the drop down buttons for search and quick links do not work when u make this change

are u aware of that?

SuperFly
10 Feb 2006, 14:30
Actually i just noticed that, ill look into it, thank you.

SuperFly
10 Feb 2006, 20:12
Heres the plans for this

-Total rewrite of buddy list code
-Fix most problems
-It will install though a product soon.

Darkfire122333
10 Feb 2006, 20:16
having it as a product would be really nice :D

vbreal
12 Feb 2006, 00:57
Actually i just noticed that, ill look into it, thank you.

no prob man

check out this

http://www.vbulletin.org/forum/showthread.php?t=107630

SuperFly
12 Feb 2006, 02:02
hmm sounds interesting

MissKalunji
12 Feb 2006, 02:09
hmm sounds interesting


you know for the buddy list you can insert

in a frame "misc.php?do=buddylist"

And it will show your buddy list


its because all the code are being generated by misc.php

its not just a template modification

SuperFly
12 Feb 2006, 02:10
I know, but i dont like it that way, so im gonna recode it.

MissKalunji
12 Feb 2006, 02:13
I know, but i dont like it that way, so im gonna recode it.


ok but keepin mind the fact that it refreshes all the time it will slow down the page and crash on some user....

i've tried by editing the misc.php and it slowed the page

then again i was only showing the online buddy list....

SuperFly
12 Feb 2006, 02:40
Im not editing, im making a new one.

MissKalunji
12 Feb 2006, 03:09
okay dokie!

vbreal
15 Feb 2006, 18:06
Im not editing, im making a new one.


are you going to tackle the hack i mentioned in the other thread. that would be real cool.

SuperFly
15 Feb 2006, 19:14
other thread?

influence
15 Feb 2006, 20:19
why im I getting a black background for my table instead of the default?

something is not right

screen shot below

SuperFly
16 Feb 2006, 02:11
Thats how your style is setup no?

MissKalunji
16 Feb 2006, 02:32
no it could be because of the way you coded it cause for one of my skin i had to change from thead to tcat1 for it to look the way the rest are

SuperFly
17 Feb 2006, 21:21
Hmm ill look at it, but currently om on a huge BB project.

Overfed
18 Feb 2006, 03:29
May I ask what is the purpose of the htaccess file and is there a way to fix the buddy system?

yayvb
18 Feb 2006, 03:39
Wow, I just came across this hack and I think it's a great one. I am not in a good position to try this on either of my live boards right now, but I will definitely in the near future since this looks so much more appealing and not so CONFUSING

MissKalunji
18 Feb 2006, 04:18
May I ask what is the purpose of the htaccess file and is there a way to fix the buddy system?

its for you rprofile

instead of having it say something like domainname.com/forum/member.php?u=125

it would say domainname.com/forum/username

vbreal
18 Feb 2006, 05:35
other thread?
http://www.vbulletin.org/forum/showthread.php?t=107630

about making avatars show next to a pm like on myspace

Aesma Deva
28 Feb 2006, 03:46
Very Nice, hope bugs are fixed....
Edit: JOMIFAGAWD, Fly posted as me.

Brandon Sheley
28 Feb 2006, 04:28
its for you rprofile

instead of having it say something like domainname.com/forum/member.php?u=125

it would say domainname.com/forum/username

isn't this just for the usercp ?

MissKalunji
28 Feb 2006, 04:32
isn't this just for the usercp ?

yes but in the usercp he is asing why htaccess is needed its for the link : go to my profile.....

Aesma Deva
28 Feb 2006, 12:44
yes but in the usercp he is asing why htaccess is needed its for the link : go to my profile.....
With .htaccess:
<a href="$bburl/$bbuserinfo[username]">
Without it:
<a href="$bburl/member.php?u=$bbuserinfo[userid]">
This is because in Fly's forums, you can get to a member's profile page with this URL: www.site_name.com/path_to_forums/member_name. I suppose .htaccess adds this path.
I have made the main hack though, Superfly added reputation, subscriptions and the stuff that was missing in the first version, and I can say the results won't change with the .htaccess, besides that URL that leads to the same page anyway.

vbreal
12 Mar 2006, 20:08
the online buddies still doesn't work. was there an update to this or new mod made

SuperFly
13 Mar 2006, 22:33
Most likley its abandoned, seems other like the other user cp, i have everything i need working in mine so yea.

Exitilus
14 Mar 2006, 00:44
:(

I like this bets out of all the other USER CP Re-Writes .....

I also noticed another issue besides the Buddies. when you update your Avatar / Profile Picture .... It doesn't update in USER CP. Still shows the old

MissKalunji
14 Mar 2006, 03:12
Most likley its abandoned, seems other like the other user cp, i have everything i need working in mine so yea.

Uhm thats kind of harsh

SuperFly
14 Mar 2006, 03:24
Uhm thats kind of harsh

No see no harshness.
I come up with a great idea, then other almost identical in code comes up.
Sure its dffrent, and to be bant, it may be better, so to not have multiple of same hacks, im stopping progress.

Exitilus
14 Mar 2006, 19:29
I still don't think it's better. I like yours ALOT better :(

MissKalunji
14 Mar 2006, 19:55
No see no harshness.
I come up with a great idea, then other almost identical in code comes up.
Sure its dffrent, and to be bant, it may be better, so to not have multiple of same hacks, im stopping progress.


Why dont you guys work together instead?

its a community *join hands* starts dancing around :banana:

Come on!!

plus other ppl are waiting on you...

Darkfire122333
14 Mar 2006, 22:45
Dude, you never told me anything about this! If you want, I can remove mine and yers can be the only one on here, I had no idea that it would cayse you to do that... sorry...

SuperFly
15 Mar 2006, 01:39
Well, if i can figure out buddy list, then i guess ill release next one. The next one will let you choose form original usercp to new one.

SuperFly
15 Mar 2006, 02:59
Alright, i made it so you click buddies and it opens up in another window.
I cant figure out how to get buddies to actually show up in page.
Im all out of ideas here, so if there are any, please let me know.

Aesma Deva
15 Mar 2006, 20:02
Zomg fans.
How about an ol' good iframe? And we could take the good stuff from both hacks and "merge" them, Brandon.

MissKalunji
15 Mar 2006, 21:03
dats what i told him to do long time ago but he said *he knew how to do it*

SuperFly
15 Mar 2006, 21:33
Well, i kinda wanted it to be so no file edits, so if we can figure that out then yea. I kinda also like a idea of switching between two user cp's.

Exitilus
16 Mar 2006, 04:01
Sounds like a nice idea :)

See I like Superfly's idea because I'm not a fan of collapsible stuff. And the layout in general is AWESOME ...

I've found out how to add options under Misc that wasy easy. But I really love the style of Superfly's ....

MissKalunji
16 Mar 2006, 04:31
Well, i kinda wanted it to be so no file edits, so if we can figure that out then yea. I kinda also like a idea of switching between two user cp's.

i dont get what you're saying......can you show me an example?

SuperFly
16 Mar 2006, 19:31
Kinda hard as i didnt start but,

A little box that you can select, to make your own user cp like the myspace one, or vbulletin default.

And i wanted to try and make it so you can just import product.

Aesma Deva
19 Mar 2006, 06:48
I'll try to make this now, it isn't that hard.
Edit ~ Updated, it's a bit harder to install now though. I'm adding a script for the navigation too.

Exitilus
19 Mar 2006, 20:50
Question. While in UserCP. If you try to use the Drop Down Menu Bars in the Nav Menu. You get a IE Error

'vB.menu.menus[...]' is null or not a object

pcoskat
20 Mar 2006, 03:04
My users will LOVE this...

I haven't read the entire thread yet...just the first 4 pages. Are all the bugs gone?

SuperFly
21 Mar 2006, 12:07
My users will LOVE this...

I haven't read the entire thread yet...just the first 4 pages. Are all the bugs gone?

All bugs are gone, just adding new features.

Aesma Deva
21 Mar 2006, 12:25
What about the navbar and the avatar/profile pic, actually? I still can't find that goddamn dateline variable ;__; Maybe I'll have to make a plugin for these to work.

SuperFly
21 Mar 2006, 14:41
What about the navbar and the avatar/profile pic, actually? I still can't find that goddamn dateline variable ;__; Maybe I'll have to make a plugin for these to work.

As of right now, the avatar and profile picture need a plugin, im trying to figure it out.

It won't hurt anything.

Im pretty sure if we use VB current defaults to rebuild pic/avi we can get around it.

ronoxQ
24 Mar 2006, 00:49
Darn it!

Darkfly canceled his mod, which means if I convert things might get all messed up.

Superfly, I have two questions before I switch over to this layout.

1) Is it possible to add in extra option layouts? I have a page for vbPlaza options and one for QuickClips. Could I add those as categories here or would it mess up the layout?
2) Would this support the AJAX tabs from the other mod?

MissKalunji
24 Mar 2006, 01:05
i hope everyone will be satisfied now :)

SuperFly
24 Mar 2006, 01:10
Darn it!

Darkfly canceled his mod, which means if I convert things might get all messed up.

Superfly, I have two questions before I switch over to this layout.

1) Is it possible to add in extra option layouts? I have a page for vbPlaza options and one for QuickClips. Could I add those as categories here or would it mess up the layout?
2) Would this support the AJAX tabs from the other mod?

A 1. I can make it go under misc. Or have a guide to where you can edit blah blah

A 2. At the moment no, but im working on it.

ronoxQ
24 Mar 2006, 01:14
Okay, gotcha! Thanks for responding so quickly!

*installs*

SuperFly
24 Mar 2006, 02:01
Alright i got two more spots added atleast for now, and small guide on how you can edit them at bottom of thread.

Next stop, Tabs.

Exitilus
24 Mar 2006, 02:21
Question. While in UserCP. If you try to use the Drop Down Menu Bars in the Nav Menu. You get a IE Error

'vB.menu.menus[...]' is null or not a object

Still getting errors anytime you move the mouse cursor over the Nav Bar drop down menu's :(

The Chief
24 Mar 2006, 02:23
Alright i got two more spots added atleast for now, and small guide on how you can edit them at bottom of thread.

Next stop, Tabs.
good work, I will install when tabs come in :)

SuperFly
24 Mar 2006, 02:42
Still getting errors anytime you move the mouse cursor over the Nav Bar drop down menu's :(

Updated code

The profile switch code will not work as divs are used.

Highley recommend everoyne go to newest code.

So yea, back to normal for now.

Exitilus
25 Mar 2006, 21:15
Updated code

The profile switch code will not work as divs are used.

Highley recommend everoyne go to newest code.

So yea, back to normal for now.

Switched to the new code and still getting those Errors where the drop downs won't work :(

Exitilus
26 Mar 2006, 05:21
fyi,

I've been looking into the issue w/ Profile Pics / Avatar's not refreshing. I've tried using the dateline code for it but that doesn't even work.

I'm new at all this. But looks like the issue is due to usercp.php isn't setup to display the Avatars / Profile Pics. So all the code that allows it to update / refresh aren't there (like they are in profile.php).

Just annoyed with the refresh thing so i've been playing around for a hour or so

SuperFly
26 Mar 2006, 14:27
fyi,

I've been looking into the issue w/ Profile Pics / Avatar's not refreshing. I've tried using the dateline code for it but that doesn't even work.

I'm new at all this. But looks like the issue is due to usercp.php isn't setup to display the Avatars / Profile Pics. So all the code that allows it to update / refresh aren't there (like they are in profile.php).

Just annoyed with the refresh thing so i've been playing around for a hour or so

I got mine to refresh, but i had to update counters.
I think i have to hack usercp.
And as for navbar, still trying to figure it out....

I know php and html not vb :(

vbreal
26 Mar 2006, 16:38
I got mine to refresh, but i had to update counters.
I think i have to hack usercp.
And as for navbar, still trying to figure it out....

I know php and html not vb :(

stangsta got a fix for the navbar ish

Aesma Deva
28 Mar 2006, 11:08
Avatar/profile pic should need a plugin to define that dateline variable. I'll try making one when I have time.

Stangsta
29 Mar 2006, 05:06
stangsta got a fix for the navbar ishYes i do. :banana:

Synth
29 Mar 2006, 11:32
This is looking nice:banana:

Exitilus
29 Mar 2006, 20:55
Yes i do. :banana:

What's the fix?

ocmca
03 Apr 2006, 02:33
Love this hack--Installed for certain. I did mine pretty much exactly like the author has on the main page but I am having the problem of my Avatar and Profile pic not showing up... Here's a screen shot.
http://img415.imageshack.us/img415/2695/untitled15ur.th.jpg (http://img415.imageshack.us/my.php?image=untitled15ur.jpg)

And here is the code that I have... incase something is wrong.
<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>

If someone could help me that would be great :)

PS: Next we need an Edit Profile rewrite, if only I was better at coding... :)

Exitilus
03 Apr 2006, 02:50
I know there is a issue w/ the Avatar / Profile Pics displaying that no one has really figured out yet. *shrugs*

I'm also still waiting to hear from Stangsta on the fix for getting errors w/ the drop downs

Darkfire122333
03 Apr 2006, 03:16
I have a fix, But I am not going to release it to the public. Sorry!

Exitilus
03 Apr 2006, 04:25
*twitch*

Synth
03 Apr 2006, 10:27
I have a fix, But I am not going to release it to the public. Sorry!


Why?

Aesma Deva
03 Apr 2006, 14:30
Navbar drop-down menu's fixed, update the usercp_shell template.

Synth
03 Apr 2006, 16:34
Navbar drop-down menu's fixed, update the usercp_shell template.


It has been updated? or Needs to be updated? Who has the fix?

Aesma Deva
03 Apr 2006, 17:12
I updated it, it should work now. The usercp_shell template was missing these 2 lines:
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js"></script>
In these files, there are some functions that are needed for the drop down's.

Exitilus
03 Apr 2006, 21:09
Hmm still not working for me after updating the usercp_shell template :(

Darkfire122333
03 Apr 2006, 23:27
Not going to release becuase there are too many people out there that do not deserve to have a working profile and avatar picture. I might release it to SuperFly later on, but not right now.

MissKalunji
03 Apr 2006, 23:41
Not going to release becuase there are too many people out there that do not deserve to have a working profile and avatar picture. I might release it to SuperFly later on, but not right now.

well said :surprised:

SuperFly
03 Apr 2006, 23:53
Not going to release becuase there are too many people out there that do not deserve to have a working profile and avatar picture. I might release it to SuperFly later on, but not right now.

I respect yuor wishes.
Though you may not give it out, ill still be trying to develop a plugin to do it, though it may come up as a failure.

Exitilus
04 Apr 2006, 00:11
Not going to release becuase there are too many people out there that do not deserve to have a working profile and avatar picture. I might release it to SuperFly later on, but not right now.

*blink*...... O.o

pcoskat
04 Apr 2006, 14:46
Not going to release becuase there are too many people out there that do not deserve to have a working profile and avatar picture.
:rolleyes: What-ev-er...

So I'm assuming this mod doesn't work correctly? It's a great idea but if it doesn't work, I'd rather not offer it to my members.

Synth
04 Apr 2006, 16:11
:rolleyes: What-ev-er...

So I'm assuming this mod doesn't work correctly? It's a great idea but if it doesn't work, I'd rather not offer it to my members.


I think that is what most potential installers are assuming...

pcoskat
04 Apr 2006, 17:32
I think that is what most potential installers are assuming...
LOL!

I'd *click uninstall* but I want to be able to keep an eye on the thread.

Maybe one day I'll 'deserve' a working version of this mod :cross-eyed:

Again, great idea...oh well.

MissKalunji
04 Apr 2006, 17:35
just subscribed to it in thread tool

yumyumcat
04 Apr 2006, 18:20
I have no idea where the user shell template is! LOL ~ in the meanwhile, I'm kieeping an eye on this too ~ you guys are so talented :D

pcoskat
04 Apr 2006, 18:23
just subscribed to it in thread tool
Oh, you're right! I forgot about that.

*clicks uninstall* for real :)

Exitilus
04 Apr 2006, 20:43
I have no idea where the user shell template is! LOL ~ in the meanwhile, I'm kieeping an eye on this too ~ you guys are so talented :D

Go to Styles & Templates. Go to your main (Default) template

Look for User Control Panel Templates. It's in there.

Exitilus
04 Apr 2006, 20:44
I'm using this mod as it looks awesome and the issues that are happening aren't anything that big. The biggest is the Profile Picture / Avatar not updating for a while after you change it. I've spent countless hours trying to correctly have it pull a dateline but .. have yet to figure it out myself :-/

vbreal
05 Apr 2006, 04:20
Not going to release becuase there are too many people out there that do not deserve to have a working profile and avatar picture. I might release it to SuperFly later on, but not right now.

what makes someone deserving or undeserving of having a working profile picture or avatar. mine is working just fine but that comment is crazy to me.

i thought this was a community where peeps share and try to help one another out when ever they can. some are able to help more than others. I try to when ever i can.


i have a problem. my reputation stretches the screen anyone have any idea on how to fix it. oh and of course the java script

Exitilus
05 Apr 2006, 04:29
what makes someone deserving or undeserving of having a working profile picture or avatar. mine is working just fine but that comment is crazy to me.

i thought this was a community where peeps share and try to help one another out when ever they can. some are able to help more than others. I try to when ever i can.


i have a problem. my reputation stretches the screen anyone have any idea on how to fix it. oh and of course the java script

The issue w/ the Avatar / Profile pic happens when you update them. It shows the old ones not the new ones (eventually it will show the new ones).

MissKalunji
05 Apr 2006, 05:11
what makes someone deserving or undeserving of having a working profile picture or avatar. mine is working just fine but that comment is crazy to me.

i thought this was a community where peeps share and try to help one another out when ever they can. some are able to help more than others. I try to when ever i can.


i have a problem. my reputation stretches the screen anyone have any idea on how to fix it. oh and of course the java script

its cause some ppl loves to pm and talking trash...death threats and all...thats why

yumyumcat
05 Apr 2006, 14:42
Go to Styles & Templates. Go to your main (Default) template

Look for User Control Panel Templates. It's in there.
Thank you Exitilus:):bunny:

SuperFly
05 Apr 2006, 19:25
its cause some ppl loves to pm and talking trash...death threats and all...thats why

I know the same feelings.....

MissKalunji
05 Apr 2006, 19:26
I know the same feelings.....

dont we all :(

Exitilus
05 Apr 2006, 21:02
I don't *cry* I'm worthy *sniffles* In fact I've loved this since day one *lol*

vbreal
06 Apr 2006, 01:42
o ok

napukjon
06 Apr 2006, 13:21
Brilliant works like a treat!

SuperFly
09 Apr 2006, 12:33
Brilliant works like a treat!

Thanks

Im currently trying to re-write it again, to make code easier, and hopefully make all edit pages the same format, or like myspace.

Exitilus
09 Apr 2006, 21:29
As long as it keeps the same look :laugh :)

I love this Plugin. Just hoping that the 2 issues are resolved soon :)

The Chief
09 Apr 2006, 21:55
Thanks

Im currently trying to re-write it again, to make code easier, and hopefully make all edit pages the same format, or like myspace.
will soon install on myetalk and make some cool custom additions to mine soon, hope you work out everything alright :)

BlackxRam
12 Apr 2006, 11:41
I think what the problem is not everyone stores images in the Database, which I think is why the image.php link doesnt work.

birdcat
23 Apr 2006, 19:00
Can each individual user choose whether they want to use this? A few users on my board love the way it looks, but I personally think it looks like ass. If you could add that option in there, that'd be great, because I know some of my users would love it.

Wordplay
24 Apr 2006, 14:46
installed in 3.5.4 couple of problems though...

1) the link to the profile links to board/username... can you let me know where the hack is to make "member.php?u=XX" = the username of that user?

2) i copied and pasted the exact same info you have there... but my table looks messy. where the reputations are.
http://www.sakana-sushi.com/uzumaki/oatdaheo.png

3) i would like to add the rep given table to it, where exactly would i put that?

saba
24 Apr 2006, 16:56
where abouts in usercp shell do i put them

Exitilus
26 Apr 2006, 04:12
Curious if anyone has found a fix (that wants to post it) for the Java Script Error for Drop down links in the navbar. And the Profile Pic / Avatar not updating after changing it :)

Exitilus
26 Apr 2006, 04:12
where abouts in usercp shell do i put them

Your replacing the entire usercp shell

Wordplay
26 Apr 2006, 16:53
no feedback or support for this? has this been abandoned?

SuperFly
26 Apr 2006, 18:08
no feedback or support for this? has this been abandoned?

Why would you say that?
I am working on other projects aswell, and yes this is still being worked on, plugin version atleast.

The Chief
26 Apr 2006, 18:32
Why would you say that?
I am working on other projects aswell, and yes this is still being worked on, plugin version atleast.
If this comes out before the Beta 2 of vB Space, expect me to install it.

Wordplay
27 Apr 2006, 00:12
Why would you say that?
I am working on other projects aswell, and yes this is still being worked on, plugin version atleast.
i just asked because i didn't know, since i had asked a question 3 days ago, and still hadn't gotten an answer. hmm just noticed it had only been 3 days, sorry it seemed much longer.

1) the link to the profile links to board/username... can you let me know where the hack is to make "member.php?u=XX" = the username of that user?
3) i would like to add the rep given table to it, where exactly would i put that?

Shaliza
19 May 2006, 07:44
Can't wait for the new version

silkie
21 May 2006, 05:14
me too I really like this hack

Shaliza
22 May 2006, 22:31
Now I'm having second thoughts because of the upcoming vB Space.

MissKalunji
22 May 2006, 22:49
Now I'm having second thoughts because of the upcoming vB Space.


what does that have to do with the usercp?

Shaliza
23 May 2006, 22:59
I thought that the UserCP was going to be "touched up" in the other hack as well? If not, I'll download this one.

MissKalunji
23 May 2006, 23:56
Nah it has a custom usercp to go WITH vb space but wont touch the normal one that you have on right now (well from what i last saw)

Exitilus
25 May 2006, 03:32
Still waiting for this one too :) Can't Wait ...

SuperFly
25 May 2006, 14:10
Im kinda waiting for VBspace to be released, so i can integrate it a little with the current usercp and this, so until its released nothing major will happen.

Shaliza
26 May 2006, 08:21
Sounds like a good idea to me.

Exitilus
27 May 2006, 22:20
will anyone ever post a fix for the error with drops downs and the Avatar / Profile pic not displaying right? i'd really like to get this fixed :(

Lqd
03 Jun 2006, 01:35
For some reason all my pulldown menu's fail when I install this hack. I have custom navbar installed as well. Does anyone have an idea what this could be?

SuperFly
11 Jun 2006, 18:04
alright, im adding 2 more things to it, a profile music player/whats playing and then starting my vbspace project for 3.6.

daystorm
13 Jun 2006, 02:52
This is Great!!!

Thank you, Thank you, Thank you!

Ella

UncoderMom
23 Jun 2006, 19:45
It is great! I thank you SuperFly and Dark (used his layout) But this is deffenatly awesome! Now If I can get the myspace rewrite as great lol

I really appreciate all the hard work that the coders do here!! It is making our VB sites untouchable! Again TY! Hopefully Ill get the hang of this and be able to contribute one day too!!

Truth be told@ I didnt by VB for VB I bought it because of the great coders and the awesome hacks they contribute. VB.org coders too! Thanks!


Edit* I need to add the stuff I added like arcades subs and what not but other wise I CLICK Installed :)

futuredood
24 Jun 2006, 09:11
i thumbed through every page.. but how do you include things into the page.. for example, i'd like to have "usergroups" listed their too, yet nothing shows up but a "this user is not in any groups" message..

The Chief
26 Jun 2006, 03:15
We are looking for the profile picture and avatar fix, has anybody found anything for this yet? :)

If so, please contact!

Exitilus
27 Jun 2006, 22:02
I know someone posted earlier they found a fix but refused to post it :(

futuredood
30 Jun 2006, 07:18
We are looking for the profile picture and avatar fix, has anybody found anything for this yet? :)

If so, please contact!

This would be nice.. someone please find a fix for this. It's kind of ridiculous when a member updates his profile picture, only to see it in the CP as the first one he ever uploaded!

SuperFly
30 Jun 2006, 07:32
rebuilding the stats or just plain giving it time is the only thing that will work.

The Chief
01 Jul 2006, 16:48
rebuilding the stats or just plain giving it time is the only thing that will work.
SuperFly, didn't you say you were working on a version 2?

SuperFly
01 Jul 2006, 18:45
SuperFly, didn't you say you were working on a version 2?


Thats correct, for VB 3.6

The Chief
01 Jul 2006, 20:01
Thats correct, for VB 3.6
Great, can you tell us if this fix will be done for vb 3.6?

m80
16 Jul 2006, 11:36
you have this line in the usercp template.

<a href="$bburl/$bbuserinfo[username]">View my Profile</a><br />

when thats clicked on the site it goes to domain/forum/username but that only works if you have .htaccess.I cant do htaccess so when i click on it i get a page doesnt exist.Im wondering if anyone knows the code to make it work through the userid instead.

SuperFly
18 Jul 2006, 16:08
<a href="$bburl/$bbuserinfo[userid]">View my Profile</a><br />

guwebby
24 Jul 2006, 17:26
One of the members pointed out that it looks all weird

http://www.crespire.com/jamestemp/untitled.gif

Thats what he showed me, in IE it doesnt look like that, but in FF it looked similar to it, it didnt look right in FF

SuperFly
24 Jul 2006, 17:54
Could be because it was never coded for intentions in Firefox, and to do so id have to recode it all.

d8tabyte
25 Jul 2006, 02:27
umm seeing as how it is almost a split now - 50/50 IE to firefox users - don't you think you should at least TRY to be multi browser compliant?

KevNJ
24 Aug 2006, 14:35
Any update on version 2 superfly ?

Chicago_VLNU_4s
06 Sep 2006, 05:39
nice! didn't look thru all 15 pages, but you placed a wrong code in for "View My Page". I believe you put "[username]" and its supposed to be

<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]

sorry if some1 said it b4 me. Nice hack though **installed**


*******************

also, your "View My Buddy's" was wrongfully linked. I have the forum friends thing installed so i modified it to goto that hack using this

<a href="friends.php?$session[sessionurl]u=$bbuserinfo[userid]">

but sorry again if some1 has already corrected this. Just inputing

KevNJ
23 Oct 2006, 04:14
Any word on a version 2 ?

Chicago_VLNU_4s
04 Nov 2006, 22:54
any1 know how i would write a hook to the user cp for the "profile views" hack and "last login" hack?

tomotron
19 Dec 2006, 21:06
looks promising, i'd like to see version 2 when it comes out.

does anyone know of any other usercp rewrite hacks?

Vic123
26 Jun 2007, 18:15
just want you show my interest in a fixed version where the following problems will be fixed:

- newest profile pic / avatar showing up
- a working buddylist with online/offline status
- a working PM preview


That product you released here is to great to continue letting it be so buggy. I really like your work especially this product. When the issues mentioned above are solved I think it can become far more popular. Lot of ppl are scared by the reported bugs/malfunctions.

Thanks for your time! Keep up the good work! :up:

bye
Vic

Vic123
27 Jun 2007, 00:27
regarding a bugfix for that timestamp/avatar/profilepic issue I just found that thread on vb.com. perhabs that might be helpful:

http://www.vbulletin.com/forum/showthread.php?t=224697

Mysticales
30 Jun 2007, 12:55
Ok all. Thank me later... I solved it.. Good ol by hand jury rigging.

Ok here is what I have. I am a 3.5.x VB user. I do NOT store Avatars and Profile pics in the database, I have them in the Filesystem (Aka to those who dont know, its in admincp - Attachments - Storage type. Taking the files from the SQL database to a ftp type server basically.

Now then if your having the issue of you cant find a variable, command etc to get the profile pics to show up or avatar pics to show up in the UserCP "Myspace" looking template. Here you go.



<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div>Profile Picture:</div><img src="customprofilepics/profilepic$bbuserinfo[userid]_1.gif" alt="$vbphrase[your_profile_picture]" border="0" /><br /><div>Avatar:</div><img src="customavatars/avatar$bbuserinfo[userid]_1.gif" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" /><br /></a></td></td>



This is my exact code used to make them show up in UserCP. Just find the same areas and look for Profile Picture: and Avatar: and its whats next to them that matters, just gave you the rest of the code so you know where it fits in.

Explination:

Now then, since we filesystem users cant seem to use image.php that means we are stuck..
well I learned how VB was working this. In the FTP for the folder "customavatars or customprofilepics"
You will notice the file names, the file name MATCH the userid #.
So added the extra chars it needed, and vola, when the forums load it up, as you can see it loads the path, avatar(that I wrote in manually in the template), the user ID number, then -1.gif and vola!
It works! Now mind you I will mention this as I can see a issue already.
This is pre defined for Custom Avatars and Profile pics ONLY.
Meaning if you have "Set" avatars to select in your forum.. you would need to code it differently.
I can only guide you part way here.
But least I have a REAL answer for you on how to code it if your a filesystem user.


You should be able to use this code out of the box, provided your vb install was the same as normal installs. If not, alter the path. Any questions, let me know. =)

Btw.. mine is tad tricker.. as im giving users the option to choose which type of usercp they want to use.. not to mention I have them able to change avatar types from normal avatar to xbox live gamertag as a avatar, controlled within usercp. =)

Anyways does this help out anyone?

foulplay
08 Jul 2007, 22:55
it works, but the picture doesn't update in the usercp.

turbo.:R
27 Oct 2007, 00:17
it works, but the picture doesn't update in the usercp.
x2...