Log in

View Full Version : Myspace UserCP Rewrite


SuperFly
02-06-2006, 10:00 PM
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','status bar=no,menubar=no,toolbar=no,scrollbars=yes,resiza ble=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
02-07-2006, 06:37 PM
Heh, thats neat I suppose. Good layout concept.

bashy
02-07-2006, 06:41 PM
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
02-07-2006, 06:58 PM
thank you for share .

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

very nice looking mate

silurius
02-07-2006, 07:43 PM
LOVE the look; will bookmark this and await the fixes identified above.

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

Nordinho
02-07-2006, 09:33 PM
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
02-07-2006, 09:37 PM
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
02-07-2006, 09:43 PM
need the reputation area

GamerJunk.net
02-07-2006, 10:41 PM
Looks awesome, gonna try this when its fixed.

rb290
02-08-2006, 12:14 AM
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
02-08-2006, 03:22 AM
works fine for me!

*edit* couple of javascript error out of no where

vbreal
02-08-2006, 05:07 AM
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
02-08-2006, 11:04 AM
Oh this is interesting. Thanks! :)

Princeton
02-08-2006, 11:51 AM
don't use a form dropdown ... use the vb menu control for navbar consistency

forte
02-08-2006, 03:09 PM
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
02-08-2006, 04:10 PM
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
02-08-2006, 06:12 PM
Good Looking! ^o^ I'd love to see this developed some more!

MissKalunji
02-08-2006, 06:47 PM
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
02-08-2006, 10:22 PM
same her eall words but blank white background.

The Chief
02-08-2006, 10:45 PM
crappy html can do it too.

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

MissKalunji
02-08-2006, 10:46 PM
crappy html can do it too.

"crappy"?

PennylessZ28
02-08-2006, 10:47 PM
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
02-08-2006, 11:16 PM
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
02-08-2006, 11:23 PM
Whoops forgot a headinclude in the first, thanks.

SuperFly
02-08-2006, 11:24 PM
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
02-08-2006, 11:29 PM
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
02-08-2006, 11:42 PM
I'm gonna keep an eye on this thread, I love these rewritten templates, it's a nice change :)

shadiguy1
02-09-2006, 12:10 AM
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
02-09-2006, 12:15 AM
Okay, so there is a bit of a problem with the profile picture, I will work on this to figure out why.

Darkfire122333
02-09-2006, 12:40 AM
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
02-09-2006, 12:41 AM
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
02-09-2006, 12:43 AM
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
02-09-2006, 12:44 AM
ah, i now see what you mean. I will fond out that right now, please be patient, there is code to look through.

shadiguy1
02-09-2006, 12:52 AM
one other thing its not going to my profile if i click view my profile thats not working. i noticed...

SuperFly
02-09-2006, 12:54 AM
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
02-09-2006, 12:57 AM
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
02-09-2006, 12:58 AM
superfly if you could give me that info i would appreciate it.

vbreal
02-09-2006, 01:00 AM
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
02-09-2006, 01:02 AM
or i could just use the info to use the user number please either would help me.

SuperFly
02-09-2006, 01:03 AM
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
02-09-2006, 01:09 AM
Yes
Ill upload the .htaccess file for you all and type in instructions for it.

awesome, thanks!

SuperFly
02-09-2006, 01:11 AM
Has anyone forgotten to click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=107394)

SuperFly wonders if the install button is scary

shadiguy1
02-09-2006, 01:20 AM
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
02-09-2006, 01:23 AM
Just to make sure, you edit the name once uploaded so it just says .htaccess ?

shadiguy1
02-09-2006, 01:25 AM
correct just .htaccess

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

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

SuperFly
02-09-2006, 01:30 AM
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
02-09-2006, 01:35 AM
Sorry about the absence, my step-brother wanted on... ok i can help again.

shadiguy1
02-09-2006, 01:36 AM
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
02-09-2006, 01:44 AM
Hmm ill look at it some more tomorrow after school, as for now i need some sleep.

Darkfire122333
02-09-2006, 01:55 AM
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
02-09-2006, 01:58 AM
are all these updates being added to the install file. i am waiting to download it.

great job on the suport

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

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

Darkfire122333
02-09-2006, 02:10 AM
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
02-09-2006, 02:13 AM
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
02-09-2006, 02:26 AM
ummm i tried the .htaccess file when i click on view profile it does not work

btw i clicked install ha ha

vbreal
02-09-2006, 02:34 AM
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
02-09-2006, 02:46 AM
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
02-09-2006, 03:07 AM
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
02-09-2006, 03:13 AM
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
02-09-2006, 03:22 AM
i am talking about with the .htacess file

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

Langly
02-09-2006, 03:43 AM
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
02-09-2006, 03:58 AM
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
02-09-2006, 04:01 AM
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
02-09-2006, 04:04 AM
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
02-09-2006, 04:05 AM
nice concept, will try it out when I get some time :)

* Brandon Sheley subscribes to this thread

Darkfire122333
02-09-2006, 04:19 AM
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
02-09-2006, 04:36 AM
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
02-09-2006, 04:38 AM
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
02-09-2006, 04:40 AM
hallllllllllf of these things arent showing :-/

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

MissKalunji
02-09-2006, 05:15 AM
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
02-09-2006, 05:21 AM
Issue New Invitation
Click Here To Invite New Users to Our Board!

how do we incorperate the invite system

vbreal
02-09-2006, 05:25 AM
nevermind i got it

vbreal
02-09-2006, 05:29 AM
its not displaying my subscribed threads :(

vbreal
02-09-2006, 06:01 AM
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
02-09-2006, 01:51 PM
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://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=107394)

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

vbreal
02-09-2006, 03:04 PM
i got the code last night. i will replace it again.

yes i clicked install

how do i get mod_rewrite

vbreal
02-09-2006, 03:24 PM
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
02-09-2006, 03:27 PM
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
02-09-2006, 03:45 PM
is what supposed to pop up

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

vbreal
02-09-2006, 03:51 PM
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
02-09-2006, 03:52 PM
Good work on the update.

SuperFly
02-09-2006, 05:57 PM
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
02-09-2006, 10:32 PM
This is all I managed to do.....
http://bcfbody.org/vbspace/vbspace_usercp2.gif

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

pbw
02-09-2006, 11:14 PM
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
02-10-2006, 04:17 AM
the drop down buttons for search and quick links do not work when u make this change

are u aware of that?

SuperFly
02-10-2006, 01:30 PM
Actually i just noticed that, ill look into it, thank you.

SuperFly
02-10-2006, 07:12 PM
Heres the plans for this

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

Darkfire122333
02-10-2006, 07:16 PM
having it as a product would be really nice :D

vbreal
02-11-2006, 11:57 PM
Actually i just noticed that, ill look into it, thank you.

no prob man

check out this

https://vborg.vbsupport.ru/showthread.php?t=107630

SuperFly
02-12-2006, 01:02 AM
hmm sounds interesting

MissKalunji
02-12-2006, 01:09 AM
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
02-12-2006, 01:10 AM
I know, but i dont like it that way, so im gonna recode it.

MissKalunji
02-12-2006, 01:13 AM
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
02-12-2006, 01:40 AM
Im not editing, im making a new one.

MissKalunji
02-12-2006, 02:09 AM
okay dokie!

vbreal
02-15-2006, 05:06 PM
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
02-15-2006, 06:14 PM
other thread?

influence
02-15-2006, 07:19 PM
why im I getting a black background for my table instead of the default?

something is not right

screen shot below

SuperFly
02-16-2006, 01:11 AM
Thats how your style is setup no?

MissKalunji
02-16-2006, 01:32 AM
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
02-17-2006, 08:21 PM
Hmm ill look at it, but currently om on a huge BB project.

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

yayvb
02-18-2006, 02:39 AM
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
02-18-2006, 03:18 AM
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
02-18-2006, 04:35 AM
other thread?
https://vborg.vbsupport.ru/showthread.php?t=107630

about making avatars show next to a pm like on myspace

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

Brandon Sheley
02-28-2006, 03:28 AM
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
02-28-2006, 03:32 AM
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
02-28-2006, 11:44 AM
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
03-12-2006, 07:08 PM
the online buddies still doesn't work. was there an update to this or new mod made

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

Exitilus
03-13-2006, 11:44 PM
:(

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
03-14-2006, 02:12 AM
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
03-14-2006, 02:24 AM
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
03-14-2006, 06:29 PM
I still don't think it's better. I like yours ALOT better :(

MissKalunji
03-14-2006, 06:55 PM
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
03-14-2006, 09:45 PM
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
03-15-2006, 12:39 AM
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
03-15-2006, 01:59 AM
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
03-15-2006, 07:02 PM
Zomg fans.
How about an ol' good iframe? And we could take the good stuff from both hacks and "merge" them, Brandon.

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

SuperFly
03-15-2006, 08:33 PM
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
03-16-2006, 03:01 AM
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
03-16-2006, 03:31 AM
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
03-16-2006, 06:31 PM
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
03-19-2006, 05:48 AM
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
03-19-2006, 07:50 PM
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
03-20-2006, 02:04 AM
My users will LOVE this...

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

SuperFly
03-21-2006, 11:07 AM
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
03-21-2006, 11:25 AM
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
03-21-2006, 01:41 PM
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
03-23-2006, 11:49 PM
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
03-24-2006, 12:05 AM
i hope everyone will be satisfied now :)

SuperFly
03-24-2006, 12:10 AM
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
03-24-2006, 12:14 AM
Okay, gotcha! Thanks for responding so quickly!

*installs*

SuperFly
03-24-2006, 01:01 AM
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
03-24-2006, 01:21 AM
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
03-24-2006, 01:23 AM
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
03-24-2006, 01:42 AM
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
03-25-2006, 08:15 PM
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
03-26-2006, 04:21 AM
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
03-26-2006, 01:27 PM
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
03-26-2006, 03:38 PM
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
03-28-2006, 10:08 AM
Avatar/profile pic should need a plugin to define that dateline variable. I'll try making one when I have time.

Stangsta
03-29-2006, 04:06 AM
stangsta got a fix for the navbar ishYes i do. :banana:

Synth
03-29-2006, 10:32 AM
This is looking nice:banana:

Exitilus
03-29-2006, 07:55 PM
Yes i do. :banana:

What's the fix?

ocmca
04-03-2006, 01:33 AM
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
04-03-2006, 01:50 AM
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
04-03-2006, 02:16 AM
I have a fix, But I am not going to release it to the public. Sorry!

Exitilus
04-03-2006, 03:25 AM
*twitch*

Synth
04-03-2006, 09:27 AM
I have a fix, But I am not going to release it to the public. Sorry!


Why?

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

Synth
04-03-2006, 03:34 PM
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
04-03-2006, 04:12 PM
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
04-03-2006, 08:09 PM
Hmm still not working for me after updating the usercp_shell template :(

Darkfire122333
04-03-2006, 10:27 PM
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
04-03-2006, 10:41 PM
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
04-03-2006, 10:53 PM
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-03-2006, 11:11 PM
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-04-2006, 01:46 PM
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-04-2006, 03:11 PM
: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-04-2006, 04:32 PM
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-04-2006, 04:35 PM
just subscribed to it in thread tool

yumyumcat
04-04-2006, 05:20 PM
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-04-2006, 05:23 PM
just subscribed to it in thread tool
Oh, you're right! I forgot about that.

*clicks uninstall* for real :)

Exitilus
04-04-2006, 07:43 PM
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-04-2006, 07:44 PM
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
04-05-2006, 03:20 AM
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
04-05-2006, 03:29 AM
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
04-05-2006, 04:11 AM
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
04-05-2006, 01:42 PM
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
04-05-2006, 06:25 PM
its cause some ppl loves to pm and talking trash...death threats and all...thats why

I know the same feelings.....

MissKalunji
04-05-2006, 06:26 PM
I know the same feelings.....

dont we all :(

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

vbreal
04-06-2006, 12:42 AM
o ok

napukjon
04-06-2006, 12:21 PM
Brilliant works like a treat!

SuperFly
04-09-2006, 11:33 AM
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
04-09-2006, 08:29 PM
As long as it keeps the same look :laugh :)

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

The Chief
04-09-2006, 08:55 PM
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
04-12-2006, 10:41 AM
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
04-23-2006, 06:00 PM
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
04-24-2006, 01:46 PM
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
04-24-2006, 03:56 PM
where abouts in usercp shell do i put them

Exitilus
04-26-2006, 03:12 AM
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
04-26-2006, 03:12 AM
where abouts in usercp shell do i put them

Your replacing the entire usercp shell

Wordplay
04-26-2006, 03:53 PM
no feedback or support for this? has this been abandoned?

SuperFly
04-26-2006, 05:08 PM
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
04-26-2006, 05:32 PM
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
04-26-2006, 11:12 PM
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
05-19-2006, 06:44 AM
Can't wait for the new version

silkie
05-21-2006, 04:14 AM
me too I really like this hack

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

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


what does that have to do with the usercp?

Shaliza
05-23-2006, 09:59 PM
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
05-23-2006, 10:56 PM
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
05-25-2006, 02:32 AM
Still waiting for this one too :) Can't Wait ...

SuperFly
05-25-2006, 01:10 PM
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
05-26-2006, 07:21 AM
Sounds like a good idea to me.

Exitilus
05-27-2006, 09:20 PM
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
06-03-2006, 12:35 AM
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
06-11-2006, 05:04 PM
alright, im adding 2 more things to it, a profile music player/whats playing and then starting my vbspace project for 3.6.

daystorm
06-13-2006, 01:52 AM
This is Great!!!

Thank you, Thank you, Thank you!

Ella

UncoderMom
06-23-2006, 06:45 PM
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
06-24-2006, 08:11 AM
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
06-26-2006, 02:15 AM
We are looking for the profile picture and avatar fix, has anybody found anything for this yet? :)

If so, please contact!

Exitilus
06-27-2006, 09:02 PM
I know someone posted earlier they found a fix but refused to post it :(

futuredood
06-30-2006, 06:18 AM
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
06-30-2006, 06:32 AM
rebuilding the stats or just plain giving it time is the only thing that will work.

The Chief
07-01-2006, 03:48 PM
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
07-01-2006, 05:45 PM
SuperFly, didn't you say you were working on a version 2?


Thats correct, for VB 3.6

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

m80
07-16-2006, 10:36 AM
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
07-18-2006, 03:08 PM
<a href="$bburl/$bbuserinfo[userid]">View my Profile</a><br />

guwebby
07-24-2006, 04:26 PM
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
07-24-2006, 04:54 PM
Could be because it was never coded for intentions in Firefox, and to do so id have to recode it all.

d8tabyte
07-25-2006, 01:27 AM
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
08-24-2006, 01:35 PM
Any update on version 2 superfly ?

Chicago_VLNU_4s
09-06-2006, 04:39 AM
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
10-23-2006, 03:14 AM
Any word on a version 2 ?

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

tomotron
12-19-2006, 08:06 PM
looks promising, i'd like to see version 2 when it comes out.

does anyone know of any other usercp rewrite hacks?

Vic123
06-26-2007, 05:15 PM
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
06-26-2007, 11:27 PM
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
06-30-2007, 11:55 AM
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
07-08-2007, 09:55 PM
it works, but the picture doesn't update in the usercp.

turbo.:R
10-26-2007, 11:17 PM
it works, but the picture doesn't update in the usercp.
x2...