vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Myspace Profile Re-Write PRO! 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=109094)

Synth 03-13-2006 04:16 PM

Code:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ index.php
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1

Tried that code with the same issue:( 404 when going into forums

MissKalunji 03-13-2006 04:32 PM

contact me on aim or msn i'll help you from there

Lissa 03-13-2006 07:59 PM

I'm using photoplog instead of vbgallery for the members' photos. I know I need to add the link in the memberinfo template, but I don't know how to make the link (the one that says "view more pics") link to individual galleries. Anyone have any clue how to do this?

ZacUSNYR 03-13-2006 08:07 PM

Quote:

Originally Posted by Lissa
I'm using photoplog instead of vbgallery for the members' photos. I know I need to add the link in the memberinfo template, but I don't know how to make the link (the one that says "view more pics") link to individual galleries. Anyone have any clue how to do this?

I installed Photoplog as well.

This is what I put in my memberinfo for a direct link to it.

Code:

<!-- View More Pics - link to PhotoPlog -->
    <br />
    <strong><a href="http://www.twowheelfemales.com/gallery/index.php?$session[sessionurl]u=$userinfo[userid]" title="View More Pics in the Photo Gallery" />View More Pics.</a></strong>


Lissa 03-13-2006 08:55 PM

Quote:

Originally Posted by ZacUSNYR
I installed Photoplog as well.

This is what I put in my memberinfo for a direct link to it.

Code:

<!-- View More Pics - link to PhotoPlog -->
    <br />
    <strong><a href="http://www.twowheelfemales.com/gallery/index.php?$session[sessionurl]u=$userinfo[userid]" title="View More Pics in the Photo Gallery" />View More Pics.</a></strong>


Oh thank you, thank you!!!!

Synth 03-13-2006 10:47 PM

Quote:

Originally Posted by Synth
Code:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ index.php
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1

Tried that code with the same issue:( 404 when going into forums

Any love on this issue:)

Lissa 03-14-2006 12:51 AM

I have another small problem:

How do I get rid of the text next to the aim, icq etc. icons? I want to leave the linked icon, but get rid of the text because the text pushes the layout over and it's not aligned.

I don't know which part of the memberinfo template to remove :confused:

MissKalunji 03-14-2006 02:04 AM

Quote:

Originally Posted by Lissa
I have another small problem:

How do I get rid of the text next to the aim, icq etc. icons? I want to leave the linked icon, but get rid of the text because the text pushes the layout over and it's not aligned.

I don't know which part of the memberinfo template to remove :confused:


put it that way : $userinfo[icqicon]

instead of $userinfo[aim]

Synth 03-14-2006 10:17 AM

MissKalunji sorry I may have missed your PM yesterday on AIM if you sent me one about the .htaccess problem.

Also I'm having another problem. When I set something in the "Here for" field nothing shows up exept when I choose friends and it actually displays Dating in my profile.

ZacUSNYR 03-14-2006 01:31 PM

Quote:

Originally Posted by Lissa
I have another small problem:

How do I get rid of the text next to the aim, icq etc. icons? I want to leave the linked icon, but get rid of the text because the text pushes the layout over and it's not aligned.

I don't know which part of the memberinfo template to remove :confused:

You need to find the text that reads
Code:

$userinfo[aimicon] <a href="whatever it says here - has a whole bunch of stuff"> $userinfo[aim]</a>
You need to delete the little bit that says $userinfo[aimicon] before the link and then modify the $userinfo[aim] to $userinfo[aimicon]

That'll make just the icon linkable.

I noticed the same problem you were having with the AIM blocks and rewrote that to be in it's own section. Check it out :)

https://vborg.vbsupport.ru/showpost....&postcount=307

ZacUSNYR 03-14-2006 01:39 PM

Quote:

Originally Posted by Synth
Any love on this issue:)

If you're getting the 404 error - it's most likely one thing - you don't have modules compiled into apache.

Is this your box or someone else hosting it for you?

Go to your admin panel - Maintenance - View PHP Info

Under the section apache2handler there is a Loaded Modules Block.

In there you should see mod_rewrite - without that! It's a no go!

If you have access to the box you can check the conf file and try adding
LoadModule rewrite_module modules/mod_rewrite.so

Just add it underneith the loadmodule line for php. Restart apache and check your php info again - still no go the original compile did not specify modules and you'll need to recompile.

Lissa 03-14-2006 02:08 PM

Quote:

Originally Posted by ZacUSNYR
You need to find the text that reads
Code:

$userinfo[aimicon] <a href="whatever it says here - has a whole bunch of stuff"> $userinfo[aim]</a>
You need to delete the little bit that says $userinfo[aimicon] before the link and then modify the $userinfo[aim] to $userinfo[aimicon]

That'll make just the icon linkable.

I noticed the same problem you were having with the AIM blocks and rewrote that to be in it's own section. Check it out :)

https://vborg.vbsupport.ru/showpost....&postcount=307

I used your template rewrite, it's awesome!!!!! Thanks :)

Synth 03-14-2006 02:13 PM

Quote:

If you're getting the 404 error - it's most likely one thing - you don't have modules compiled into apache.

Is this your box or someone else hosting it for you?

Go to your admin panel - Maintenance - View PHP Info

Under the section apache2handler there is a Loaded Modules Block.

In there you should see mod_rewrite - without that! It's a no go!

If you have access to the box you can check the conf file and try adding
LoadModule rewrite_module modules/mod_rewrite.so

Just add it underneith the loadmodule line for php. Restart apache and check your php info again - still no go the original compile did not specify modules and you'll need to recompile.
This site is hosted by someone else. I was unbale to find the apache2handler section and the Loaded Modules block. Does that mean I'm just screwed:confused:

ZacUSNYR 03-14-2006 02:21 PM

I'd talk to the person who is hosting the site for you and ask them if they can add the apache mod_rewrite module for a project you're working on. It's becoming more and more used today and I don't believe there is a security issue with it - so there is no reason they shouldn't add it :)

Synth 03-14-2006 02:54 PM

Quote:

Originally Posted by ZacUSNYR
I'd talk to the person who is hosting the site for you and ask them if they can add the apache mod_rewrite module for a project you're working on. It's becoming more and more used today and I don't believe there is a security issue with it - so there is no reason they shouldn't add it :)

I spoke with them and they said since it's a linux box that the apache mod_rewrite is already on but it's not displayed in my php info.

ZacUSNYR 03-14-2006 03:04 PM

Not true. You can install it without modules by not telling it when you configure it - unless it's something with RPM packages (fedora/redhat) then they may have to check their conf file

Synth 03-14-2006 03:06 PM

So should I ask them if it's installed with modules?

ocmca 03-14-2006 03:12 PM

Can someone please tell me how to do this with drupal instead of vbJournal since I'm on php5? THANKS!

ZacUSNYR 03-14-2006 03:17 PM

Do a simple test first to verify it definately is not installed.

Make a sub folder on your domain called test

Create an .htaccess (verify it is chmod 755)

Inside the .htaccess put

Code:

RewriteEngine on
RewriteRule ^old\.html$ new.html

Now create old.html and type the name of the file in there. Save it.

Now go to http://www.mydomain.com/test/new.html

If the contents of old.html are displayed then it is working and you have placed/setup your htaccess wrong in your forums. If it does not work - mod_rewrite is not installed.

Synth 03-14-2006 03:40 PM

Quote:

Originally Posted by ZacUSNYR
Do a simple test first to verify it definately is not installed.

Make a sub folder on your domain called test

Create an .htaccess (verify it is chmod 755)

Inside the .htaccess put

Code:

RewriteEngine on
RewriteRule ^old\.html$ new.html

Now create old.html and type the name of the file in there. Save it.

Now go to http://www.mydomain.com/test/new.html

If the contents of old.html are displayed then it is working and you have placed/setup your htaccess wrong in your forums. If it does not work - mod_rewrite is not installed.

Ok i just keep getting a 404 error.

ZacUSNYR 03-14-2006 03:58 PM

Quote:

Originally Posted by Synth
Ok i just keep getting a 404 error.

Ask them to fix it, and suggest they try adding it into the conf file first if it exists in the /modules

It's a server side problem :)

Synth 03-14-2006 04:03 PM

ok thanks for the help I'll give it a shot:)

Lissa 03-14-2006 09:58 PM

Has anyone used this with vbBux?

Stangsta 03-14-2006 10:13 PM

Quote:

Originally Posted by Lissa
Has anyone used this with vbBux?

What are you trying to do?

Lissa 03-14-2006 10:36 PM

I'm trying to make the memberinfo template changes :(

Stangsta 03-14-2006 10:42 PM

Quote:

Originally Posted by Lissa
I'm trying to make the memberinfo template changes :(

It works like a champ. You just have to put them where you want them.

Lissa 03-14-2006 11:10 PM

Quote:

Originally Posted by Stangsta
It works like a champ. You just have to put them where you want them.

I'm slowly figuring it out, thanks ;)

ronoxQ 03-14-2006 11:13 PM

GASP! ANOTHER PROBLEM!

(sorry, guys. >_<)

I finally used the CSS generator, but whatever I do, all it does is blank out the regular CSS, NOT add in the new one.

www.omegaseye.com/forum/oadmin

PLEASE help me out!

ZacUSNYR 03-15-2006 01:33 AM

Quote:

Originally Posted by ronoxQ
GASP! ANOTHER PROBLEM!

(sorry, guys. >_<)

I finally used the CSS generator, but whatever I do, all it does is blank out the regular CSS, NOT add in the new one.

www.omegaseye.com/forum/oadmin

PLEASE help me out!

Search back a few pages. I addressed this issue with a rewrite. You basically need to put the call for the css out of the userfield AFTER the site's call (right now it's calling custom CSS before so it's overwriting all fields).

ZacUSNYR 03-15-2006 01:36 AM

I've had quite a few requests for my code.

I'll probably make some changes but that is what I have so far.

Added back a join date / Skype / user notes / and a signature section.

It's not a myspace rip since it's on a riding site and it's more riding focused so it'll require some changes :)

Example :

http://members.twowheelfemales.com/Corny

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
<!-- Declare style from profile field -->
<if condition="$userinfo[field35]">
<style type="text/css">$userinfo[field35]</style>
</if>
</head>
<body>

<!-- Call header and navbar -->
$header
$navbar

<!-- Check to see if user viewing profile is themselves - show link to usercp -->
<if condition="$userinfo[userid] == $vbulletin->userinfo[userid]">
  <table class="tborder" cellpadding="0" cellspacing="1" border="0" width="30%" align="center">
    <tr>
      <td class="alt1" align="center">
        <div class="smallfont">
        <phrase 1="$userinfo[username]">$vbphrase[x_you_are_viewing_your_profile]</phrase>
        <strong><a href="http://www.twowheelfemales.com/forum/profile.php?do=editprofile">Edit Profile</a></strong></div>
      </td>
    </tr>
  </table>
<br />
</if>
 
<!-- Declare main table -->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" width="0%">

<!-- Left column - first table - includes name, avatar, sex, location, last online time -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="2">
      <div align="left" class="bigusername">
      <strong>$userinfo[username]</strong>
      </div>
    </td>
  </tr>
  <tr>
    <td class="thead" align="center" colspan="2"><a href="http://members.twowheelfemales.com/$userinfo[username]" class="smallfont" /><strong>members.twowheelfemales.com/$userinfo[username]</strong></a>
  </tr>

<!-- Declare the avatar - use IF statement to show default if one is not present -->
  <tr>
    <td class="alt2" align="center">
    <if condition="$show['avatar']">
      <div align="center"><a href="/forum/vbpicgallery.php?do=hall&amp;u=$userinfo[userid]" /><img src="$post[avatarurl]" border="0" alt="" style="border-color:white;" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div>
    <else />
      <div align="center"><img src="http://www.twowheelfemales.com/forum/images/arcade/noavatar.gif" /></div>
    </if>
<!-- View More Pics - link to PhotoPlog -->
    <br />
    <strong><a href="http://www.twowheelfemales.com/gallery/index.php?$session[sessionurl]u=$userinfo[userid]" title="View More Pics in the Photo Gallery" />View More Pics.</a></strong>
<!-- View my garage link - link to vBPicGallery (vbgarage) -->
    <br />
    <div align="center"><strong><a href="/forum/vbpicgallery.php?do=hall&amp;u=$userinfo[userid]" title="View my Garage" />View my Garage.</a></strong></div>
  </td>


<!-- Right Column General info box: Sex, Location, Online Status -->
<td align="left" valign="top" class="alt2">
  <table width="100%" cellspacing="0" cellpadding="1" align="center">
    <!-- Declare the usertitle in an IF statement -->
    <if condition="$userinfo['usertitle']">
    <tr>
      <td colspan="2" align="left"><span class="smallfont">$userinfo[usertitle]</span></td>
    </tr>
    </if>
    <tr>
      <td colspan="2" height="1"></td>
    </tr>
    <tr>
      <td colspan="2" height="5">$userinfo[onlinestatus]</td>
    </tr>
    <tr>
      <td colspan="2" height="1"></td>
    </tr>
    <tr>
      <td width="20%">
      <strong>Sex:&nbsp;&nbsp;&nbsp;</strong>
      </td>
      <td align="left">
      <!-- Call Sex Field -->
      $userinfo[field5]
      </td>
    <tr>
      <td colspan="2" height="2"></td>
    </tr>
  <if condition="$show['age']">
    <tr>
      <td>
      <strong>$vbphrase[age]:&nbsp;&nbsp;&nbsp;</strong>
      </td>
      <td align="left">
      $userinfo[age]
      </td>
    </tr>
    <tr>
      <td colspan="2" height="2"></td>
    </tr>
  </if>
    <tr>
      <td colspan="2"><strong>$vbphrase[join_date]: </strong></td>
    </tr>
    <tr>
      <td colspan="2">$userinfo[datejoined]</td>
    </tr>
    <tr>
      <td colspan="2">
      <strong>Location:</strong>
      </td>
    </tr>
    <tr>
      <td colspan="2" align="left">
      <!-- Declare location Field -->
      $userinfo[field2]
      </td>
    <tr>
      <td colspan="2" height="2"></td>
    </tr>
    <tr>
      <td colspan="2">
      <strong>Last Online:</strong>
      </td>
    </tr>
    <tr>
      <td colspan="2" align="left">$userinfo[lastactivitydate] at $userinfo[lastactivitytime]</td>
    </tr>
  </table>
    </td>
  </tr>
</table>

<!-- Declare the Contact Username Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="2"><strong>Contacting $userinfo[username]</strong></td> 
  </tr>
  <tr>
    <td class="alt2" nowrap="nowrap" width="50%" valign="middle" align="center">
    <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]&quot;&gt;&lt;"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/sendpm.gif" width="79" height="22"></a>
    </td>
    <td class="alt2" nowrap="nowrap" width="50%" valign="middle" align="center">
    <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]&quot; rel=&quot;nofollow"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/sendmailicon2.gif" width="79" height="22"></a>
    </td>
  </tr>
  <tr>
    <td class="alt2" nowrap="nowrap" valign="middle" align="center">
    <if condition="$show['addbuddylist']">
      <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/addbuddy.gif" width="79" height="22"></a>
    <else />
      <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/remove.jpg" width="79" height="22"></a>
    </if>
    </td>
    <td class="alt2" nowrap="nowrap" valign="middle" align="center">
    <if condition="$show['addignorelist']">
      <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/block.jpg" width="79" height="22"></a>
    <else />
      <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/addbudy.jpg" width="79" height="22"></a>
    </if>
    </td>
  </tr>
</table>

<!-- Declare all Instant Message contacts in IF conditions -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="2"><strong>Instant Message $userinfo[username]</strong></td> 
  </tr>
<if condition="$userinfo['showicq']"> 
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[icqicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showaim']">
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[aimicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showmsn']"> 
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[msnicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showyahoo']"> 
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[yahooicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showskype']">
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[skypeicon]</td>
    <td class="alt2" valign="middle" align="left">
<a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 220); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</table>
 
<!-- Declare the User Information Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td><strong>User Information</td></strong>
  </tr>       
  <tr>
    <td class="alt2"><a href="$userinfo[homepage]" target="_blank" dir="ltr" class="smallfont">My Home Page</a></td>
  </tr>
<if condition="$show['profileviews']">
  <tr>
    <td class="alt2">
    <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;" class="smallfont">$vbphrase[profile_views]</a>
    <else />
    <span class="smallfont">$vbphrase[profile_views]</if>: $userinfo[profileviews]</span>
    </td>
  </tr>
</if>
  <tr>
    <td class="alt2"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow" class="smallfont"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
  </tr>
  <tr>
    <td class="alt2"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow" class="smallfont"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
  </tr>
  <tr>
    <td class="alt2"><div class="smallfont">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)</td></div>
  </tr>
<if condition="$vboptions['usereferrer']">
  <tr>
    <td class="alt2"><div class="smallfont"><strong>$vbphrase[referrals]:</strong> $referrals</div></td>
  </tr>
</if>
<if condition="$show['usernotes']">
  <tr>
    <td class="alt2"><div class="smallfont"><strong>$vbphrase[user_notes]:</strong>
    <if condition="$show['usernoteview']">
    <strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
    </if>
    <if condition="$show['usernotepost']">
    [<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
    </if>
    <if condition="$show['usernoteview']">
    <br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
    </div>
    </if>
    </td>
  </tr>
</if>
</table>

<!-- Declare User Interests Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="3" valign="middle"><strong>$userinfo[username]'s Interests</strong></td>
  </tr>
<if condition="$userinfo[field6]">
  <tr valign="top">
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>General:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field6]</td>
  </tr>
</if>
<if condition="$userinfo[field3]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Music:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field3]</td>
  </tr>
</if>
<if condition="$userinfo[field4]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Movies:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field4]</td>
  </tr>
</if>
<if condition="$userinfo[field32]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Television:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field32]</td>
  </tr>
</if>
<if condition="$userinfo[field11]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Racing:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field11]</td>
  </tr>
</if>
<if condition="$userinfo[field27]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Books:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field27]</td>
  </tr>
</if>
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Groups:</strong></span></td>
    <if condition="$show['membergroups']">
    <td class="alt2" valign="top"><span class="normal">$membergroupbits</span></td>
    <else />
    <td class="alt2" valign="top"><span class="normal"><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></span></td>
  </tr>
</if>
</table>

<!-- Declare User Details Table        -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td class="text" align="left" height="10" valign="center" colspan="2"><strong>$userinfo[username]'s Details</strong></td>               
  </tr>
  <tr>
    <td class="alt1" align="left" width="33%"><span class="normal"><strong>Riding Status:</strong></span></td>
    <td class="alt2">$userinfo[field15]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>I Ride:</strong></span></td>
    <td class="alt2" align="left"><if condition="$comma =''"></if>
    <if condition="$post['field393']&1">
    $comma Streets
    <if condition="$comma =','"></if>
    </if>
    <if condition="$post['field393']&2">
    $comma Track
    <if condition="$comma =','"></if>
    </if>
    <if condition="$post['field393']&4">
    $comma Off-Road
    <if condition="$comma =','"></if>
    </if>
    <if condition="$post['field393']&8">
    $comma Water
    <if condition="$comma =','"></if>
    </if>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Riding Style:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field14]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Hometown:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field390]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"> <div align="left"><span class="normal"><strong>Ethnicity:</strong></span></td>
    <td class="alt2" align="left" id="ProfileReligion:">$userinfo[field16]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Zodiac Sign:</strong></span></td>
    <td class="alt2" align="left">
    <if condition="$show['zodiacsign']">
    $zodiacsign
    </if>
    </td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Smoke / Drink:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field17] / $userinfo[field18]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Favorite Gear:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field394]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Brand Loyality:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field23]</td>
  </tr>
</table>
</td>

<!-- Declare Center Separating Column -->
<td width="10">&nbsp;</td>

<!-- Declare Right Side Column -->       
<td valign="top" width="60%">

<!-- Declare the Journal Table in an IF statement -->
<if condition="$show[journalinfo]">
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr class="tcat">
      <td><strong>$userinfo[username]'s Latest Journal Entry</td></strong>
    </tr>
    <tr>
      <td class="alt2">
      <if condition="$show[journalinfo]">
      <if condition="$show[journal_lastentry]">
      <a href="journal.php?$session[sessionurl]do=showentry&e=$journal[lastentry_id]">$journal[lastentry]</a> ($journal[lastentry_date])<br />
      <else />
      $vbphrase[private]
      </if>
      </if>
      </td>
    </tr>
    <tr>
      <td class="alt1">
      <if condition="$show[journalinfo]">
      [<a href="journal.php?$session[sessionurl]do=showjournal&j=$journal[journal_id]"><phrase 1="$userinfo[username]">$vbphrase[visit_xs_journal]</phrase></a>]
      </if>
      </td>
    </tr>
  </table>
</if>

<!-- Declare the About Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td><strong>A Little About $userinfo[username]</strong></td>
  </tr>
<!-- About me -->
  <tr>
    <td class="alt2" valign="top"><strong>About Me and My Bike:</strong><br />$userinfo[field8]</td>
  </tr>
<!-- How I got into Riding -->
  <tr>
    <td class="alt2"><strong>How I Got Into Riding:</strong><br />$userinfo[field25]</td>
  </tr>
<!-- Show Signature -->
<if condition="$show['signature']">
  <tr>
    <td class="alt1"><strong>My Signature:</strong><br />$userinfo[signature]</td>
  </tr>
</if>
</table>

<!-- Declare Friends List -->
    <br />
    $FNB_HTML

<!-- Declare Comments -->
    <br />
    $comment_panel

    </td>
  </tr>
</table>

</td>
</table>

<!-- Declare User Options Table in IF statement for Admins -->
<if condition="can_moderate()">
<br />
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
      <td align="center" class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
    </tr>
  </table>
</if>

$footer
</body>
</html>


Lissa 03-15-2006 01:58 AM

Quote:

Originally Posted by ZacUSNYR
I've had quite a few requests for my code.

I'll probably make some changes but that is what I have so far.

Added back a join date / Skype / user notes / and a signature section.

It's not a myspace rip since it's on a riding site and it's more riding focused so it'll require some changes :)

Example :

http://members.twowheelfemales.com/Corny

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
<!-- Declare style from profile field -->
<if condition="$userinfo[field35]">
<style type="text/css">$userinfo[field35]</style>
</if>
</head>
<body>

<!-- Call header and navbar -->
$header
$navbar

<!-- Check to see if user viewing profile is themselves - show link to usercp -->
<if condition="$userinfo[userid] == $vbulletin->userinfo[userid]">
  <table class="tborder" cellpadding="0" cellspacing="1" border="0" width="30%" align="center">
    <tr>
      <td class="alt1" align="center">
        <div class="smallfont">
        <phrase 1="$userinfo[username]">$vbphrase[x_you_are_viewing_your_profile]</phrase>
        <strong><a href="http://www.twowheelfemales.com/forum/profile.php?do=editprofile">Edit Profile</a></strong></div>
      </td>
    </tr>
  </table>
<br />
</if>
 
<!-- Declare main table -->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" width="0%">

<!-- Left column - first table - includes name, avatar, sex, location, last online time -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="2">
      <div align="left" class="bigusername">
      <strong>$userinfo[username]</strong>
      </div>
    </td>
  </tr>
  <tr>
    <td class="thead" align="center" colspan="2"><a href="http://members.twowheelfemales.com/$userinfo[username]" class="smallfont" /><strong>members.twowheelfemales.com/$userinfo[username]</strong></a>
  </tr>

<!-- Declare the avatar - use IF statement to show default if one is not present -->
  <tr>
    <td class="alt2" align="center">
    <if condition="$show['avatar']">
      <div align="center"><a href="/forum/vbpicgallery.php?do=hall&amp;u=$userinfo[userid]" /><img src="$post[avatarurl]" border="0" alt="" style="border-color:white;" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div>
    <else />
      <div align="center"><img src="http://www.twowheelfemales.com/forum/images/arcade/noavatar.gif" /></div>
    </if>
<!-- View More Pics - link to PhotoPlog -->
    <br />
    <strong><a href="http://www.twowheelfemales.com/gallery/index.php?$session[sessionurl]u=$userinfo[userid]" title="View More Pics in the Photo Gallery" />View More Pics.</a></strong>
<!-- View my garage link - link to vBPicGallery (vbgarage) -->
    <br />
    <div align="center"><strong><a href="/forum/vbpicgallery.php?do=hall&amp;u=$userinfo[userid]" title="View my Garage" />View my Garage.</a></strong></div>
  </td>


<!-- Right Column General info box: Sex, Location, Online Status -->
<td align="left" valign="top" class="alt2">
  <table width="100%" cellspacing="0" cellpadding="1" align="center">
    <!-- Declare the usertitle in an IF statement -->
    <if condition="$userinfo['usertitle']">
    <tr>
      <td colspan="2" align="left"><span class="smallfont">$userinfo[usertitle]</span></td>
    </tr>
    </if>
    <tr>
      <td colspan="2" height="1"></td>
    </tr>
    <tr>
      <td colspan="2" height="5">$userinfo[onlinestatus]</td>
    </tr>
    <tr>
      <td colspan="2" height="1"></td>
    </tr>
    <tr>
      <td width="20%">
      <strong>Sex:&nbsp;&nbsp;&nbsp;</strong>
      </td>
      <td align="left">
      <!-- Call Sex Field -->
      $userinfo[field5]
      </td>
    <tr>
      <td colspan="2" height="2"></td>
    </tr>
  <if condition="$show['age']">
    <tr>
      <td>
      <strong>$vbphrase[age]:&nbsp;&nbsp;&nbsp;</strong>
      </td>
      <td align="left">
      $userinfo[age]
      </td>
    </tr>
    <tr>
      <td colspan="2" height="2"></td>
    </tr>
  </if>
    <tr>
      <td colspan="2"><strong>$vbphrase[join_date]: </strong></td>
    </tr>
    <tr>
      <td colspan="2">$userinfo[datejoined]</td>
    </tr>
    <tr>
      <td colspan="2">
      <strong>Location:</strong>
      </td>
    </tr>
    <tr>
      <td colspan="2" align="left">
      <!-- Declare location Field -->
      $userinfo[field2]
      </td>
    <tr>
      <td colspan="2" height="2"></td>
    </tr>
    <tr>
      <td colspan="2">
      <strong>Last Online:</strong>
      </td>
    </tr>
    <tr>
      <td colspan="2" align="left">$userinfo[lastactivitydate] at $userinfo[lastactivitytime]</td>
    </tr>
  </table>
    </td>
  </tr>
</table>

<!-- Declare the Contact Username Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="2"><strong>Contacting $userinfo[username]</strong></td> 
  </tr>
  <tr>
    <td class="alt2" nowrap="nowrap" width="50%" valign="middle" align="center">
    <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]&quot;&gt;&lt;"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/sendpm.gif" width="79" height="22"></a>
    </td>
    <td class="alt2" nowrap="nowrap" width="50%" valign="middle" align="center">
    <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]&quot; rel=&quot;nofollow"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/sendmailicon2.gif" width="79" height="22"></a>
    </td>
  </tr>
  <tr>
    <td class="alt2" nowrap="nowrap" valign="middle" align="center">
    <if condition="$show['addbuddylist']">
      <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/addbuddy.gif" width="79" height="22"></a>
    <else />
      <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/remove.jpg" width="79" height="22"></a>
    </if>
    </td>
    <td class="alt2" nowrap="nowrap" valign="middle" align="center">
    <if condition="$show['addignorelist']">
      <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/block.jpg" width="79" height="22"></a>
    <else />
      <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><img border="0" src="http://www.twowheelfemales.com/forum/images/profile/addbudy.jpg" width="79" height="22"></a>
    </if>
    </td>
  </tr>
</table>

<!-- Declare all Instant Message contacts in IF conditions -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="2"><strong>Instant Message $userinfo[username]</strong></td> 
  </tr>
<if condition="$userinfo['showicq']"> 
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[icqicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showaim']">
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[aimicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showmsn']"> 
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[msnicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showyahoo']"> 
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[yahooicon]</td>
    <td class="alt2" valign="middle" align="left">
    <a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a>
    </td>
  </tr>
</if>
<if condition="$userinfo['showskype']">
  <tr>
    <td class="alt2" valign="middle" align="center" width="10%">$userinfo[skypeicon]</td>
    <td class="alt2" valign="middle" align="left">
<a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 220); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</table>
 
<!-- Declare the User Information Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td><strong>User Information</td></strong>
  </tr>       
  <tr>
    <td class="alt2"><a href="$userinfo[homepage]" target="_blank" dir="ltr" class="smallfont">My Home Page</a></td>
  </tr>
<if condition="$show['profileviews']">
  <tr>
    <td class="alt2">
    <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;" class="smallfont">$vbphrase[profile_views]</a>
    <else />
    <span class="smallfont">$vbphrase[profile_views]</if>: $userinfo[profileviews]</span>
    </td>
  </tr>
</if>
  <tr>
    <td class="alt2"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow" class="smallfont"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
  </tr>
  <tr>
    <td class="alt2"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow" class="smallfont"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
  </tr>
  <tr>
    <td class="alt2"><div class="smallfont">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)</td></div>
  </tr>
<if condition="$vboptions['usereferrer']">
  <tr>
    <td class="alt2"><div class="smallfont"><strong>$vbphrase[referrals]:</strong> $referrals</div></td>
  </tr>
</if>
<if condition="$show['usernotes']">
  <tr>
    <td class="alt2"><div class="smallfont"><strong>$vbphrase[user_notes]:</strong>
    <if condition="$show['usernoteview']">
    <strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
    </if>
    <if condition="$show['usernotepost']">
    [<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
    </if>
    <if condition="$show['usernoteview']">
    <br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
    </div>
    </if>
    </td>
  </tr>
</if>
</table>

<!-- Declare User Interests Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td colspan="3" valign="middle"><strong>$userinfo[username]'s Interests</strong></td>
  </tr>
<if condition="$userinfo[field6]">
  <tr valign="top">
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>General:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field6]</td>
  </tr>
</if>
<if condition="$userinfo[field3]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Music:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field3]</td>
  </tr>
</if>
<if condition="$userinfo[field4]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Movies:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field4]</td>
  </tr>
</if>
<if condition="$userinfo[field32]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Television:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field32]</td>
  </tr>
</if>
<if condition="$userinfo[field11]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Racing:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field11]</td>
  </tr>
</if>
<if condition="$userinfo[field27]">
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Books:</strong></span></td>
    <td class="alt2" align="left" valign="top">$userinfo[field27]</td>
  </tr>
</if>
  <tr>
    <td class="alt1" align="left" valign="top"><span class="normal"><strong>Groups:</strong></span></td>
    <if condition="$show['membergroups']">
    <td class="alt2" valign="top"><span class="normal">$membergroupbits</span></td>
    <else />
    <td class="alt2" valign="top"><span class="normal"><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></span></td>
  </tr>
</if>
</table>

<!-- Declare User Details Table        -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td class="text" align="left" height="10" valign="center" colspan="2"><strong>$userinfo[username]'s Details</strong></td>               
  </tr>
  <tr>
    <td class="alt1" align="left" width="33%"><span class="normal"><strong>Riding Status:</strong></span></td>
    <td class="alt2">$userinfo[field15]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>I Ride:</strong></span></td>
    <td class="alt2" align="left"><if condition="$comma =''"></if>
    <if condition="$post['field393']&1">
    $comma Streets
    <if condition="$comma =','"></if>
    </if>
    <if condition="$post['field393']&2">
    $comma Track
    <if condition="$comma =','"></if>
    </if>
    <if condition="$post['field393']&4">
    $comma Off-Road
    <if condition="$comma =','"></if>
    </if>
    <if condition="$post['field393']&8">
    $comma Water
    <if condition="$comma =','"></if>
    </if>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Riding Style:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field14]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Hometown:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field390]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"> <div align="left"><span class="normal"><strong>Ethnicity:</strong></span></td>
    <td class="alt2" align="left" id="ProfileReligion:">$userinfo[field16]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Zodiac Sign:</strong></span></td>
    <td class="alt2" align="left">
    <if condition="$show['zodiacsign']">
    $zodiacsign
    </if>
    </td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Smoke / Drink:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field17] / $userinfo[field18]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Favorite Gear:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field394]</td>
  </tr>
  <tr>
    <td class="alt1" align="left"><span class="normal"><strong>Brand Loyality:</strong></span></td>
    <td class="alt2" align="left">$userinfo[field23]</td>
  </tr>
</table>
</td>

<!-- Declare Center Separating Column -->
<td width="10">&nbsp;</td>

<!-- Declare Right Side Column -->       
<td valign="top" width="60%">

<!-- Declare the Journal Table in an IF statement -->
<if condition="$show[journalinfo]">
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr class="tcat">
      <td><strong>$userinfo[username]'s Latest Journal Entry</td></strong>
    </tr>
    <tr>
      <td class="alt2">
      <if condition="$show[journalinfo]">
      <if condition="$show[journal_lastentry]">
      <a href="journal.php?$session[sessionurl]do=showentry&e=$journal[lastentry_id]">$journal[lastentry]</a> ($journal[lastentry_date])<br />
      <else />
      $vbphrase[private]
      </if>
      </if>
      </td>
    </tr>
    <tr>
      <td class="alt1">
      <if condition="$show[journalinfo]">
      [<a href="journal.php?$session[sessionurl]do=showjournal&j=$journal[journal_id]"><phrase 1="$userinfo[username]">$vbphrase[visit_xs_journal]</phrase></a>]
      </if>
      </td>
    </tr>
  </table>
</if>

<!-- Declare the About Table -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr class="tcat">
    <td><strong>A Little About $userinfo[username]</strong></td>
  </tr>
<!-- About me -->
  <tr>
    <td class="alt2" valign="top"><strong>About Me and My Bike:</strong><br />$userinfo[field8]</td>
  </tr>
<!-- How I got into Riding -->
  <tr>
    <td class="alt2"><strong>How I Got Into Riding:</strong><br />$userinfo[field25]</td>
  </tr>
<!-- Show Signature -->
<if condition="$show['signature']">
  <tr>
    <td class="alt1"><strong>My Signature:</strong><br />$userinfo[signature]</td>
  </tr>
</if>
</table>

<!-- Declare Friends List -->
    <br />
    $FNB_HTML

<!-- Declare Comments -->
    <br />
    $comment_panel

    </td>
  </tr>
</table>

</td>
</table>

<!-- Declare User Options Table in IF statement for Admins -->
<if condition="can_moderate()">
<br />
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
      <td align="center" class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
    </tr>
  </table>
</if>

$footer
</body>
</html>



I love it!

One thing you have, that I cannot for the life of me change, is that on your buddy list the names aren't underlined under the avatars. I added the style tag like the author said, but it didn't change the underlines. Is there any other way to remove those lines besides a style tag in the plugin?

ZacUSNYR 03-15-2006 02:34 AM

I believe it's using the default a.link - so you'd have to declare the style in the link (which wouldn't be that hard) and add a new css for it with no decoration.

Brandon Sheley 03-15-2006 04:12 AM

thx ZacUSNYR

a list of what your field id's might be nice, :)

I'll get by without, but it might be nice for some.

thx agian.

Lissa 03-15-2006 11:37 AM

Quote:

Originally Posted by ZacUSNYR
I believe it's using the default a.link - so you'd have to declare the style in the link (which wouldn't be that hard) and add a new css for it with no decoration.

Thanks :)

ZacUSNYR 03-15-2006 12:29 PM

Quote:

Originally Posted by Loco.M
thx ZacUSNYR

a list of what your field id's might be nice, :)

I'll get by without, but it might be nice for some.

thx agian.

About me and my bike - field8
How I got into riding - field25
location - field2
Hometown - field390
Favorite Racing - Field11
Interests - Field6
Music - Field3
Movies - Field4
TV - field32
Books - field27
Riding status - field15
brand loyality - field23
Favorite Gear - field394
Riding style - field14
ethnicity - field16
smoker - field17
drinker - field18
I ride - Field393
sex - field5
Css - field35

There is also a lot of noting in the member info so it shouldn't be too hard to find parts in it. It's different from the original as it includes all the original vbulletin stuff (join date, user notes, skype, signature). Uses 3 columns on the main table instead of 2 columns with cellpadding (this lets the inside tables line up with the outside of the page table.)

I wish I knew php a lot better then I did because I have a good idea for the profiles using this template and would love to do it :) Any buddy good at vb/php coding wanna help out with a project? :)

Lissa 03-15-2006 01:26 PM

Quote:

Originally Posted by ZacUSNYR
(this lets the inside tables line up with the outside of the page table.)

Now I have to rewrite my memberinfo template again ;)

gavinzac 03-15-2006 01:37 PM

what makes this PRO and the other one, not so PRO? :)

not knocking it, its just that i already spent a day creating the member info template from the older thread, and the only difference seems to be the .htaccess file. if i use the .htaccess file from this in conjunction with the other myspace-style member info template, will it still work? :)

DougCooper 03-15-2006 01:41 PM

Great hack, question :

Is there a way to have the url on each members page
www.domain.com/username

and not www.domain/forum/username

???

ZacUSNYR 03-15-2006 02:17 PM

Quote:

Originally Posted by DougCooper
Great hack, question :

Is there a way to have the url on each members page
www.domain.com/username

and not www.domain/forum/username

???

You can do it anyway you want lol

I have members.domain.com/username

ronoxQ 03-15-2006 02:22 PM

Zac- Where was the change at? I can't seem to find it.


All times are GMT. The time now is 10:09 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.02576 seconds
  • Memory Usage 2,075KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete