Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 11-22-2002, 02:30 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom Profile?

Hi Guys,

I have been playing around with VB for a while now and installed a few hacks i am very happy with, and i have decided i want to modify the user profile page. Problem is i have huge problems with it!

I have attached a screen shot of the page i get when i modify the template.

The HTML i am using for the template is below, could you please have a look at it and tell me what i am doing wrong.

Thanks;

Code:
{htmldoctype}
<html>
<head>
<title>$bbtitle - View Profile</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no")
}
// -->
</script>
</head>
<body>
$header

<br>

<table width="98%" border="0" cellspacing="1" cellpadding="4">
  <tr> 
    <td colspan="3" bgcolor="#AFCDFE"><b>$userinfo[username]'s Profile</b></td>
  </tr>
  <tr> 
    <td width="28%">&nbsp;</td>
    <td width="7%">&nbsp;</td>
    <td width="65%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="28%"> 
      <table width="260" border="0" cellspacing="1" cellpadding="4">
        <tr bgcolor="#AFCDFE"> 
          <td><b>$userinfo[username]'s Avatar.</b></td>
        </tr>
        <tr> 
          <td> 
            <div><img src="$userinfo[avatarurl]" border="0" align="middle"></div>
          </td>
        </tr>
        <tr> 
          <td> 
            <div align="center"><normalfont>$userinfo[usertitle]</normalfont></div>
          </td>
        </tr>
      </table>
    </td>
    <td colspan="2"> 
      <table width="525%" border="0" cellspacing="1" cellpadding="4">
        <tr bgcolor="#AFCDFE"> 
          <td colspan="2"><b>About $userinfo[username]</b></td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="127">Website :</td>
          <td width="377"><normalfont><a href="$userinfo[homepage]" target="_blank">$userinfo[homepage]</a>&nbsp;</normalfont></td>
        </tr>
        <tr> 
          <td width="127">Biography :</td>
          <td width="377">&nbsp;</td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="127">Interest's :</td>
          <td width="377">&nbsp;</td>
        </tr>
        <tr> 
          <td width="127">Occupation :</td>
          <td width="377">&nbsp;</td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="127">Location :</td>
          <td width="377">&nbsp;</td>
        </tr>
        <tr> 
          <td width="127">Birthday :</td>
          <td width="377">$birthday</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td width="28%"> 
      <table width="300" border="0" cellspacing="1" cellpadding="4">
        <tr bgcolor="#AFCDFE"> 
          <td colspan="2"><b>Contact $userinfo[username]</b></td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="109">Private Message</td>
          <td width="170"><normalfont>$userinfo[sendpm]
	</normalfont></td>
        </tr>
        <tr> 
          <td width="109">eMalil </td>
          <td width="170"><normalfont> <a href="member.php?s=$session%5Bsessionhash%5D&amp;action=mailform&amp;userid=$userinfo%5Buserid%5D"> 
            eMail $userinfo[username]</a></normalfont></td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="109">ICQ</td>
          <td width="170"><normalfont>$userinfo[aim] <!-- $ userinfo[aimicon] AIM ICON - remove comments --></normalfont></td>
        </tr>
        <tr> 
          <td width="109">Yahoo</td>
          <td width="170"><normalfont>$userinfo[yahoo] <!-- $ userinfo[yahooicon] YAHOO ICON - remove comments --></normalfont></td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="109">MSN</td>
          <td width="170">&nbsp;</td>
        </tr>
        <tr bgcolor="#ffffff"> 
          <td width="109">AOL</td>
          <td width="170"><normalfont>$userinfo[aim] <!-- $ userinfo[aimicon] AIM ICON - remove comments --></normalfont></td>
        </tr>
      </table>
      <br>
      <br>
    </td>
    <td colspan="2"> 
      <table width="525%" border="0" cellspacing="1" cellpadding="4">
        <tr bgcolor="#AFCDFE"> 
          <td colspan="2"><b>$userinfo[username]'s Statistics</b></td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="127">Total Posts :</td>
          <td width="377" bgcolor="#EBF1F7"><normalfont>$userinfo[posts] ($postsperday 
            posts per day)</normalfont></td>
        </tr>
        <tr> 
          <td width="127">Total Threads :</td>
          <td width="377"></td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="127">Refferals :</td>
          <td width="377" bgcolor="#EBF1F7">$referrals</td>
        </tr>
        <tr bgcolor="#EBF1F7"> 
          <td width="127">Last Post :</td>
          <td width="377" bgcolor="#EBF1F7"></td>
        </tr>
        <tr> 
          <td width="127">Last Online :</td>
          <td width="377"></td>
        </tr>
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td colspan="3"> <br>
      <br>
      <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="#AFCDFE" {tableouterextra} width="{contenttablewidth}" align="center">
        <tr>
          <td> 
            <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
              <tr id="cat"> 
                <td align="left" colspan="2"><normalfont color="{tableheadtextcolor}"><b>Last 
                  10 Posts by $userinfo[username]</b></normalfont><a href="search.php?s=$session[sessionhash]&action=finduser&userid=$userinfo[userid]"><smallfont color="{tableheadtextcolor}" class="thtcolor">Search 
                  for all posts by $userinfo[username].</smallfont></a></td>
              </tr>
              $latestposts 
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br>
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
  <tr> 
    <td align="center"><smallfont><b> Administrative Options: <a href="moderator.php?s=$session[sessionhash]&action=useroptions&userid=$userinfo[userid]">User 
      Options</a> </b></smallfont></td>
  </tr>



</table>
$footer







</body>
</html>
I am aware that some of these requre further hacking wihcih i will do once i have got this bit to work!

Thanks in advance guys!

Matthew
Attached Images
File Type: gif problem_profile.gif (28.8 KB, 0 views)
Reply With Quote
Reply

Thread Tools
Display Modes

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

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

Forum Jump


All times are GMT. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03103 seconds
  • Memory Usage 2,246KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

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

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