Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Myspace Profile Re-Write PRO! 1.0.0 Details »»
Myspace Profile Re-Write PRO! 1.0.0
Version: 1.0.0, by Stangsta Stangsta is offline
Developer Last Online: Feb 2017 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-27-2006 Last Update: 02-28-2006 Installs: 248
Uses Plugins Template Edits
Additional Files  
No support by the author.

Myspace Profile Re-Write PRO! 1.0.0


*** Screenshot removed, contains unwanted images ***

------------------------------------------------
Installation type: Template modification
Time to install using everything provided: 2 hours
Time to install minimally: 30 minutes
Level of difficulty: Hard (Tedious)
------------------------------------------------

What it does: This is a MEMBERINFO template re-write to put a little bling-bling in your profile! There is some work on your part to make this work correctly, and will be explained below. The goal of this template re-write is to make your user profiles look similar to "Myspace". You can customize this to look however you wish, and myself and MissKalunji have come together to bring this to you. There will be 2 examples, the first one will be mine, and the 2nd will be MissKalunji's.

Credits: This template would not be possile without HR3RDGEN and all those that posted and shared thier mods in his thread. It was a good resource, and was unfortunate it was taken down. Please do not bring ANY drama to this thread concerning what happened to the original template thread. Lets move forward. I would also like to thank MissKulanji for her infinate wisdom and talent. She has put alot of work into this as well and brings alot to the table.

What you will need: Below you will find the links to the hacks you will need to download and install. I STRONGLY RECCOMEND that you make ALL modifications to a "test style" first. If you do not have one, create one. This way, when you mess up, your users will not be affected. Please download and install the hacks listed below, and also...please remember to CLICK INSTALL on those threads! The below templates INCLUDE CSS modification ability!!!

------------------------------------------------

Installation: Please install the following hacks!

vBJournal
Who Viewed My Profile
Friends and/or Buddies in Profile
Zodiac Sign in the Postbit and Elsewhere
Last Seen Online in postbit
Hide User Contact Info From Guests
Default Avatar
Pig's Subscription Gift (only if you use paid subscriptions)
Auto PM after add Buddy! (Optional)
Number of VBA Gallery Images in Profile

------------------------------------------------

Download the .htaccess file I have attached and place it in your forum's root folder. This will give you those wonderful links for the usernames. ex. www.yourdomain.com/forums/stangsta

*NOTE: Please bear in mind, you may have to modify the above hacks after you install them. PLEASE refer to the hack specific thread for support, although we will still try to help you. ALSO, on any of those hacks, it may ask you to add or remove code from the MEMBERINFO template, SKIP THAT PART! It is already done for you in these templates.

To make this work for you, you have to create profile fields in the adminCP. Each profile field that you create will have its own unique number. ex. "feild24" Once created, each profile field will be editable by the user in thier userCP under edit profile. Start by creating all the fields to match the screenshots. Then, write down the name and field number on a piece of paper for quick reference (it will be much easier that way). Once you have done this, using the code below, change the profile fields to match YOURS.

Next, start by copying one of the template codes listed below in its entirety and paste it in your MEMBERINFO template OVERWRITING the existing contents (yes, erase the current contents). Please be sure to use a "test" style. Now save & reload. Remember that piece of paper you wrote everything down on? Change the profile fields in the template to match YOUR field numbers. When you are done, hit save.

Now, it can get annoying when someone types a couple paragraphs and it all ends up into one big paragraph. Thats because the BBCODE is not getting parsed! Well, go ahead and create a plugin. You should add the new plugin to the MEMBER_COMPLETE hook location. What you do is take the profile field number that you want people to be able to use BBCODE (the smileys, img tags, etc) in and replace the field number within the plugin. Heres an example:
Code:
{ 
if (!is_object($bbcode_parser)) 
{ 
    require_once(DIR . '/includes/class_bbcode.php'); 
    $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); 
} 
$userinfo['field1'] = $bbcode_parser->parse($userinfo['field1'],0, true); 
}
Change ['field1'] to the field you wish to parse. Now, what if you want to parse multiple fields? Then just keep adding it like this:
Code:
{ 
if (!is_object($bbcode_parser)) 
{ 
    require_once(DIR . '/includes/class_bbcode.php'); 
    $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); 
} 
$userinfo['field1'] = $bbcode_parser->parse($userinfo['field1'],0, true); 
}
{ 
if (!is_object($bbcode_parser)) 
{ 
require_once(DIR . '/includes/class_bbcode.php'); 
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); 
} 
$userinfo['field2'] = $bbcode_parser->parse($userinfo['field2'],0, true); 
}
{ 
if (!is_object($bbcode_parser)) 
{ 
require_once(DIR . '/includes/class_bbcode.php'); 
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); 
} 
$userinfo['field3'] = $bbcode_parser->parse($userinfo['field3'],0, true); 
}
This is an example of my MEMBERINFO (screenshots below), I consider it a 90% myspace clone. PLEASE NOTE: I use avatars in this example AS a profile picture. So if you use a profile picture, you need to change it to show a profile picture instead of an avatar. Or if you like it, disable profile pics on your board via vBulletin Options. I find users are more confused with having a profile pic AND an avatar, so I did this to simplify the process for them. I use a max avatar size of 170x170, I think it looks good and consistant throughout the forum.

Here is some quick reference on the profile fields I used.

About Me Multiple-Line Text Box field8
Location Single-Line Text Box field2
Music Multiple-Line Text Box field3
Movies Multiple-Line Text Box field4
Who I'd like to meet Multiple-Line Text Box field25
Books Multiple-Line Text Box field27
Heroes Multiple-Line Text Box field31
TV Multiple-Line Text Box field32
Sex Single-Selection Radio Buttons field5
Interests Multiple-Line Text Box field6
Myspace URL Single-Line Text Box field9
Video Multiple-Line Text Box field10
Orientation Single-Selection Menu field14
Ethnicity Single-Selection Menu field16
Smoker Single-Selection Radio Buttons field17
Marital Status Single-Selection Menu field15
Drinker Single-Selection Radio Buttons field18
Education Single-Selection Menu field23
I am here for: Multiple-Selection Checkbox field24
Children Single-Selection Menu field22
CSS Multiple-Line Text Box field35



Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="$userinfo[field35]">
<style type="text/css">$userinfo[field35]</style>
<else />
$headinclude
</if>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar
<if condition="$userinfo[userid] == $vbulletin->userinfo[userid]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="panel" align="center">
<div class="smallfont"><font color="#0000000"><phrase 1="$userinfo[username]">$vbphrase[x_you_are_viewing_your_profile]</phrase></font> <a href="usercp.php$session[sessionurl]">$vbphrase[user_cp]</a></div>
</td>
</tr>
</table>
</if>
 
<table width="100%" border="0" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"> 
 
<tr> 
    <td valign="top" width="0%"><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]</div></font></strong>
<div class="smallfont"><a href="$vboptions[bburl]/$userinfo[username]">$vboptions[bburl]/$userinfo[username]</a></td></div></tr>
<if condition="$userinfo['usertitle']"> 
<tbody> 
         <tr class="tcat"> 
            <td class="text" colspan="2" style="" align="left" valign="bottom"></td> 
         </tr> 
 
                            </if> 
 
         <tr class="alt2"> 
             <td><div align="right"><center><if condition="$show['avatar']">
    <div class="smallfont">
     &nbsp;<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" border="4" alt="" style="border-color:white;" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></center>
    </div>
<else /> <center><img src="http://www.sevencityforums.com/forum...e/nopropic.jpg">
                 </if></div><br /></center>
<strong><div align="center"><a href="/gallery/browseimages.php?do=member&amp;imageuser=$userinfo[userid]" title="View More Pics">View More Pics ($userimages[count])</td> </div></strong>
            <td align="left" valign="top" class="text"> 
<div class="smallfont" align="left">$userinfo[usertitle]</div> <br />
 
<strong>Sex:</strong> $userinfo[field5] <br /> <if condition="$show['age']"><strong>$vbphrase[age]:</strong> 
             $userinfo[age]</if> <br /> <strong>Location:</strong> $userinfo[field2]<br /> 
             <div>$userinfo[onlinestatus]</div> 
             <br /> 
<div><strong>Last Online:</strong> $userinfo[lastactivitydate] at $userinfo[lastactivitytime]</div> </td> 
         </tr> 
        </tbody> 
     </table> 
     <p> 
     <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]</td></font></strong>
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" width="50%"> <div align="left"> 
             <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]&quot;&gt;&lt;">
<img border="0" src="http://www.sevencityforums.com/forum...mns/sendpm.gif" align="left" width="79" height="22"></a>
</td> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showicq']"> $userinfo[icqicon] 
             <a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a> 
             </if> </div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><div class="smallfont">
     <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]&quot; rel=&quot;nofollow">
<img border="0" src="http://www.sevencityforums.com/forum...dmailicon2.gif" align="left" width="79" height="22"></a></p> 
            </div></td> 
         <td height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showaim']"> $userinfo[aimicon] 
             <a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a> 
             </if></div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
         <div align="left"><div class="smallfont"><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.sevencityforums.com/forum...s/addbuddy.gif" width="79" height="22"></a> 
             <else /><div class="smallfont"><a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]">
<img border="0" src="http://www.sevencityforums.com/forum...mns/remove.jpg" align="left" width="79" height="22"></a>
             </if> </div></td> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><if condition="$userinfo['showmsn']"> $userinfo[msnicon] 
             <a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a> 
             </if></div></td> 
        </tr> 
        <tr class="alt2"> 
         <td height="5" nowrap="nowrap" valign="top" width="50%"> 
            <div align="left"><div class="smallfont"><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.sevencityforums.com/forum..._mns/block.jpg" width="79" height="22" align="left"></a></p> 
             <else /><div class="smallfont"><a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]">
<img border="0" src="http://www.sevencityforums.com/forum...ns/addbudy.jpg" width="79" align="left" height="22"></a></p>
             </if> </div></td> 
         <td height="2" nowrap="nowrap" valign="middle" width="50%"> 
            <div align="left"><if condition="$userinfo['showyahoo']"> $userinfo[yahooicon] 
             <a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a> 
             </if></div></td> 
        </tr> 
     </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> </font></strong>
        </tr> 
        <tr class="alt2"> 
         <td valign="top"></td> 
        </tr> 
 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="$userinfo[homepage]" target="_blank" 
dir="ltr">My Home Page</a></div></td>
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><strong>MySpace URL:</strong><br /><a href="$userinfo[field9]">$userinfo[field9]</a></div></td>
        </tr> 
<tr> 
         <if condition="$show['profileviews']">
<td class="alt2">
<div class="smallfont">
    <if condition="$show['profileviewsother']"><a href="#" onClick="openWindow('misc.php?$session[sessionurl]do=profileviews&u=$userinfo[userid]', 300, 400); return false;">$vbphrase[profile_views]</a><else />$vbphrase[profile_views]</if>: $userinfo[profileviews]
    </div>
</div>
</if>
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td> 
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]" rel="nofollow"><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> 
<tr> 
         <td class="alt2">
<if condition="$vboptions['usereferrer']">
<div class="smallfont">
<strong>$vbphrase[referrals]:</strong> $referrals
    </div>
</div>
</if> 
        </tr> 
<tr> 
         <td class="alt2"><div class="smallfont"><a href="payments.php?$session[sessionurl]gift=true&userid=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[buy_x_a_sub]</phrase></a>
        </td>
     </td></div>
        </tr> 
     </table> 
<br />
 
 
 
 
 
 
 
 
 
 
 
 
 
<if condition="$userinfo[field10]"> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td class="text" wrap="" style="" align="left" height="10" valign="center" colspan="2"> 
            <span class=""><strong>$userinfo[username]'s Media </span> </td> </font></strong>
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="center"><EMBED SRC="$userinfo[field10]"></div></td> 
        </tr> 
     </table> 
</if> 
     <p> 
     <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</td></font></strong>
        </tr> 
        <tr valign="top" class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>General:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field6]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Music:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field3]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Movies:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field4]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Television:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field32]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Heroes:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field31]</td> 
        </tr> 
<tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Books:</strong></span></td> 
         <td align="left" valign="top">$userinfo[field27]</td> 
        </tr>
        <tr class="alt2"> 
         <td align="left" valign="top"><span class=""><strong>Groups:</strong></span></td> 
         <if condition="$show['membergroups']"> 
         <td>$membergroupbits</td>
         <else /> 
         <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td> 
         </if> 
     </table> 
     <p> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td class="text" wrap="" style="" align="left" height="10" valign="center" colspan="2"> 
            <span class=""><strong>$userinfo[username]'s Details </span> </td> </font></strong>
        </tr> 
        <tr valign="top" class="alt2"> 
         <td align="left" valign="top" width="33%"> <div align="left"><span class=""><strong>Status:</strong></span></div></td> 
         <td style="">$userinfo[field15]</td> 
        </tr> 
<tr valign="top" class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Here For:</strong></span></div></td> 
<td style=""><if condition="$comma =''"></if>
<if condition="$post['field24']&1">
$comma Dating
<if condition="$comma =','"></if>
</if> 
<if condition="$post['field24']&2">
$comma Serious Relationships
<if condition="$comma =','"></if>
</if>
<if condition="$post['field24']&4">
$comma Friends
<if condition="$comma =','"></if>
</if>
<if condition="$post['field24']&8">
$comma Networking
<if condition="$comma =','"></if>
</if>
 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Orientation:</strong></span></div></td> 
         <td style="">$userinfo[field14]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Hometown:</strong></span></div></td> 
         <td style="">$userinfo[field2]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Ethnicity:</strong></span></div></td> 
         <td id="ProfileReligion:" style="">$userinfo[field16]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Zodiac 
             Sign:</strong></span></div></td> 
         <td style=""><if condition="$show['zodiacsign']"> 
            <div>$zodiacsign</div> 
            </if></td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Smoke 
             / Drink:</strong></span></div></td> 
         <td style="">$userinfo[field17] / $userinfo[field18]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Children:</strong></span></div></td> 
         <td style="">$userinfo[field22]</td> 
        </tr> 
        <tr class="alt2"> 
         <td align="left" valign="top"> <div align="left"><span class=""><strong>Education</strong></span></div></td> 
         <td style="">$userinfo[field23]</td> 
        </tr> 
     </table></td> 
    <td valign="top" width="60%"> <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 Blog Entry</td></font></strong> 
        </tr> 
        <tr class="alt2"> 
         <td><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 class="alt2"> 
         <td><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> 
     <p></if> 
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
        <tr class="tcat"> 
         <td><strong>$userinfo[username]'s Blurbs</td></font></strong> 
        </tr> 
        <tr class="alt2"> 
         <td valign="top"><strong>About Me:</strong><br />$userinfo[field8]</td> 
        </tr> 
        <tr> 
         <td class="alt2"><strong>Who I'd Like to Meet:</strong><br /> 
            $userinfo[field25]</td> 
        </tr> 
     </table> 
<br />$FNB_HTML<br />
     <p>$comment_panel</p></td> 
</tr></table></td> 
</table> 
<br />
<center>
<if condition="can_moderate()">Moderator Tools<br />
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td><br />
</if>
<!-- Hack: Username Management (MarcoH64) -->
<if condition="$mh_unm_can_change_other_name">
<td class="vbmenu_control"><a href="$mh_unm_modcp_link">$vbphrase[mh_unm_change_username]</a></td>
</if>
<!-- / Hack: Username Management (MarcoH64) -->
<if condition="$mh_upcd_last_changed">
     <div style="padding:$stylevar[formspacer]px">
     <strong>Profile last updated: $mh_upcd_last_changed</strong>
     </div>
    </if>
</center>
$footer 
<br />
</body>
</html>
CSS: CSS usage is optional. Its what gives the ability for users to customize the look of thier profiles. Since I have already added the code, all you have to do is create a profile field where the user can enter lots of text. once you do that change the CSS profile field number at the top of the template to match YOURS. Then when they enter the CSS in the profile field, it will change the profile.

Here is an example of how it would look like:

Code:
body {background: #FFF000}
page {background: #FFF000}
a:link {background: #FFF000}
a:hover, a:active {background: #FFF000}
a:visited {background: #FFF000}
.tcat {background: #FFF000}
.theader {background: #FFF000}
.tborder {background: #FFF000}
*NOTE: You dont have to modify all the sections, you can change as much or as little as you wish. Its up to you! You can change the HEX color codes to suit your needs. I will get more into additional codes to make it really fun after I finish the rest of the documentation.

If you want to use an image for the background instead of a color code then use this code instead:
Code:
Body{background-image:url(type the image url here)}
BE SURE TO CLICK INSTALL!!!!

Supporters / CoAuthors

Show Your Support

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

Comments
  #382  
Old 03-17-2006, 01:04 AM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ronoxQ
Put the CSS after the headinclude. Now, though, NO CSS shows up. Help!
It goes BEFORE the headinclude.
Reply With Quote
  #383  
Old 03-17-2006, 01:15 AM
nestoras's Avatar
nestoras nestoras is offline
 
Join Date: Aug 2005
Location: Greece
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks!what about the gallery?
Reply With Quote
  #384  
Old 03-17-2006, 01:57 AM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nestoras
ok thanks!what about the gallery?
It is set up for VBA gallery, however you may modify it to suit your needs if you use something else.
Reply With Quote
  #385  
Old 03-17-2006, 02:29 AM
QtrCafe QtrCafe is offline
 
Join Date: Apr 2005
Location: Nebraska, USA
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ronoxQ
You need to move your css line below the headinclude. Heh, I just had this problem, too. ^^
That didn't work .. still having the same problem .. any other suggestions??
Reply With Quote
  #386  
Old 03-17-2006, 03:30 AM
SludgeMeister SludgeMeister is offline
 
Join Date: Mar 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
For some reason when I paste your layout code (copied exactly as you wrote there) into my MEMBERINFO I get the following:

Forbidden
You don't have permission to access /admincp/template.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


However, when I originally pasted Stangsta's example into MEMBERINFO it accepted fine and saved fine? I am using his example right now.

I can modify Stangsta's example fine (saves fine), just when I copy and paste your code in its entirety, and save, I get that error?

Any ideas what that problem is?

Tom
Reply With Quote
  #387  
Old 03-17-2006, 09:34 AM
Synth Synth is offline
 
Join Date: Oct 2005
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add an additional Instant Messaging field? I need one for Google Talk
Reply With Quote
  #388  
Old 03-17-2006, 01:03 PM
nestoras's Avatar
nestoras nestoras is offline
 
Join Date: Aug 2005
Location: Greece
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a problem with the gallery!
in your memberinfo tou have it like that
Quote:
<a href="/gallery/browseimages.php?do=member&amp;imageuser=$userinfo[userid]" title="View More Pics">View More Pics ($userimages[count])</td> </div></strong>
but mine is forum/gallery/browseimages.php..........

when i put forum in front then its like that
forum/forum/gallery/browseimages.php.......

why the second forum comes up?
Reply With Quote
  #389  
Old 03-17-2006, 01:14 PM
nestoras's Avatar
nestoras nestoras is offline
 
Join Date: Aug 2005
Location: Greece
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry!i miss that part
root/gallery/ - Upload this folder and all of it's contents into your root directory
Reply With Quote
  #390  
Old 03-17-2006, 07:52 PM
himerus himerus is offline
 
Join Date: Nov 2003
Location: Denver, CO
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Without searching through every page of this thread, which I already did, I'm trying to figure out how to allow HTML in certain fields on the users profile...

For example, I have those fields set now to allow bbcodes by using a new plugin that looks like this::

PHP Code:
if (!is_object($bbcode_parser)) 

    require_once(
DIR '/includes/class_bbcode.php'); 
    
$bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 


// myspace link

if (!empty($userinfo['field14'])){
$userinfo['field14'] = str_replace("http://"""$userinfo['field14']);
$userinfo['field14'] = str_replace("www."""$userinfo['field14']);
$userinfo['field14'] = "[url=http://www." $userinfo['field14'] . "]"$userinfo['field14']. "[/url]";
$userinfo['field14'] = $bbcode_parser->parse($userinfo['field14'],0true);
$userinfo['field14linked'] = "TRUE";
}
else {
$userinfo['field14linked'] = FALSE;
}
// about me
$userinfo['field23'] = $bbcode_parser->parse($userinfo['field23'],0true);
$userinfo['field23linked'] = "TRUE";

// who I'm meeting
$userinfo['field8'] = $bbcode_parser->parse($userinfo['field8'],0true);
$userinfo['field8linked'] = "TRUE";

// custom advertisements for  user
$userinfo['field24'] = $bbcode_parser->parse($userinfo['field24'],0true);
$userinfo['field24linked'] = "TRUE"
I need to be able to quickly convert the certian sections to HTML, and not have them blocked by the system...

I'm sure it's easy, I just can't find the code to accomplish it at the moment...

Great hack.... thanks!!!

INSTALL
Reply With Quote
  #391  
Old 03-18-2006, 01:23 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lissa
ZacUSNYR, I like your template so much better than the one I was using.

I don't know if you can help me out or not, but when I use your template, and add the vbux info in the template, the whole template goes out of whack:

Is there a quick way to fix it?
Where are you adding it? As long as you put it between the tables in the left or right column you'll be fine.
Reply With Quote
Reply

Thread Tools

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 03:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06863 seconds
  • Memory Usage 2,450KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

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

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