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 style template (https://vborg.vbsupport.ru/showthread.php?t=110131)

ryans 03-11-2006 10:00 PM

myspace style template
 
I couldn't find this template on the site but I had it on my system and so here it is. Someone made this before but I have no idea who.

Here is the working version:
http://www.k20civic.com/forums/member.php?u=1


Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar


<!-- main info - avatar, profilepic etc. -->
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="0">
  <tr>
        <td width="64%" valign="top">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
  <tr bgcolor="#919EBA">
                                <td class="tcat" colspan="4" valign="top"> <b>Profile page
                                  for: <b>$userinfo[musername], $userinfo[usertitle] $userinfo[onlinestatus]
                                  </b></b></td>
                          </tr>
                          <tr> <if condition="$show['avatar']">
                                <td class="panelsurround" width="15%">
                                  <div align="center"><img src="$userinfo[avatarurl]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none"
                          /></div>
                                </td>
                                <else />
                                <td>&nbsp;</td>
                                </if>
                               
                  <td  class="panelsurround" width="42%" valign="top">
                        <p><b>Gender:</b> $userinfo[field7]<br>
                          <b>Age: </b>$userinfo[age]<b></b> <br>
                          <b>Astrology:</b> $userinfo[field74]</p>
                                </td>
                                <td  class="panelsurround" width="42%" valign="top">
                                <b>Member Since:</b> $userinfo[datejoined]<br>
                                <b>Location:</b> $userinfo[field2]<br>
                                  <b>Referrals:</b> $referrals<br>
                                  <b>Reputation:</b> $userinfo[reputationdisplay]<br>
                                  <b>Photo Album:</b> <a href="/gallery/browseimages.php?do=member&imageuser=$userinfo[userid]" title="View My Gallery">View $userinfo[username]'s Photo Album</a>
                                  </td>
                          </tr>
                        </table>
                        <br>
                        <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                          <tr valign="top">
                                <td class="tcat"> Bio:</td>
                          </tr>
                          <tr valign="top">
                                <td class="panelsurround">
                                  <p>$userinfo[field1]</p>
                                </td>
                          </tr>
                        </table>
                        <br>
                       
          <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                <tr valign="top">
                  <td class="tcat" bgcolor="#919EBA">Interests:</td>
                </tr>
                <tr valign="top">
                  <td class="panelsurround">
                        <p>$userinfo[field3]</p>
                        </td>
                </tr>
          </table>
         
          <br>
                    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                          <tr valign="top">
                            <td class="tcat" bgcolor="#919EBA">Likes:</td>
                          </tr>
                          <tr valign="top">
                            <td class="panelsurround">
                                  <p>$userinfo[field66]</p>
                                  </td>
                          </tr>
          </table>
         
          <br>
                              <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                                    <tr valign="top">
                                      <td class="tcat" bgcolor="#919EBA">Favorite Music:</td>
                                    </tr>
                                    <tr valign="top">
                                      <td class="panelsurround">
                                            <p>$userinfo[field73]</p>
                                            </td>
                                    </tr>
          </table>
       
       
       
        <br>
          <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                <tr valign="top">
                  <td class="tcat" bgcolor="#919EBA">Favorite Movies:</td>
                </tr>
                <tr valign="top">
                  <td class="panelsurround">
                        <p>$userinfo[field68]</p>
                        </td>
                </tr>
          </table>
         
          <br>
                    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                          <tr valign="top">
                            <td class="tcat" bgcolor="#919EBA">Favorite Books & Magazines:</td>
                          </tr>
                          <tr valign="top">
                            <td class="panelsurround">
                                  <p>$userinfo[field69]</p>
                                  </td>
                          </tr>
          </table>
         
          <br>
                    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                          <tr valign="top">
                            <td class="tcat" bgcolor="#919EBA">Favorite Cars:</td>
                          </tr>
                          <tr valign="top">
                            <td class="panelsurround">
                                  <p>$userinfo[field70]</p>
                                  </td>
                          </tr>
          </table>
         
          <br>
                    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                          <tr valign="top">
                            <td class="tcat" bgcolor="#919EBA">Dislikes:</td>
                          </tr>
                          <tr valign="top">
                            <td class="panelsurround">
                                  <p>$userinfo[field67]</p>
                                  </td>
                          </tr>
          </table>
       
       
       
        <br>
                  <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
                <tr valign="top">
                  <td class="tcat" bgcolor="#919EBA">Favorite Links:</td>
                </tr>
                <tr valign="top">
                  <td class="panelsurround"> $userinfo[field75]</td>
                </tr>
</table>
        </td>
                  <td valign="top">&nbsp;</td>
                  <td width="34%" valign="top">
                       
          <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
         
         
         
          <if condition="$show['profilepic']">       
          <tr><td align="center" valign="top">
                                  <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]"
                                  border="0" style="border:1px solid $stylevar[tborder_bgcolor]" /> <else /> <img src="$stylevar[imgdir_misc]/no_pic.jpg"  alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" />
                                  </td></tr>
                        </if>
         
         
         
                <tr>
                  <td class="tcat">My Favorite Links:</td>
                </tr>
                <tr>
                  <td class="panelsurround">
                        <p>$userinfo[field11]</p>
                  </td>
                </tr>
                <tr>
                  <td class="tcat">Forum Stats:</td>
                </tr>
                <tr>
                  <td class="panelsurround">$vbphrase[total_posts]: <strong>$userinfo[posts]</strong>
                        (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)<br>
                        <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><br>
                        <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><br>
                        <if condition="$show['lastactivity']">
                        <div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
                        </if> <if condition="$show['currentlocation']">
                        <div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']">
                          - <else /> @ </if> $userinfo[time]&nbsp;</div>
                        </if></td>
                </tr>
                <tr>
                  <td class="tcat">My contact info:</td>
                </tr>
                <tr>
                  <td class="panelsurround"><if condition="$show['addbuddylist']"> <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a><else />
                        <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
                       
                        </if><br><if condition="$show['addignorelist']"> <a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
                        <else /> <a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
                        </if><br>
                        <a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a><br>
                        <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></td>
                </tr>
                <tr>
                  <td class="panelsurround">
                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                          <if condition="$show['textimicons']"> <if condition="$userinfo['showicq']">
                          <tr>
                                <td>$vbphrase[icq]
                                <td>
                                <td>$userinfo[icq]</td>
                          </tr>
                          </if> <if condition="$userinfo['showaim']">
                          <tr>
                                <td>$vbphrase[aim]
                                <td>
                                <td>$userinfo[aim]</td>
                          </tr>
                          </if> <if condition="$userinfo['showmsn']">
                          <tr>
                                <td>$vbphrase[msn]
                                <td>
                                <td>$userinfo[msn]</td>
                          </tr>
                          </if> <if condition="$userinfo['showyahoo']">
                          <tr>
                                <td>$vbphrase[yahoo]
                                <td>
                                <td>$userinfo[yahoo]</td>
                          </tr>
                          </if> <else /> <if condition="$userinfo['showicq']">
                          <tr>
                                <td>$userinfo[icqicon]</td>
                                <td><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>$userinfo[aimicon]</td>
                                <td><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>$userinfo[msnicon]</td>
                                <td><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>$userinfo[yahooicon]</td>
                                <td><a href="#" dir="ltr" onClick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                          </tr>
                          </if> </if>
                        </table>
                  </td>
                </tr>
                <tr>
                  <td class="tcat">My Groups:</td>
                </tr>
                <tr>
                  <td class="panelsurround">
                        <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
                          <tr> <if condition="$show['membergroups']">
                                <td></td>
                                <else />
                                <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
                                </if> </tr>
                          $membergroupbits
                        </table>
                  </td>
                </tr>
          </table>
                  </td>
                </tr>
          </table>
       
<!-- Start Buddies Hack -->
                        <if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">                       
                        <fieldset class="fieldset">
                                <legend>$vbphrase[buddies]</legend>
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
                                                $vbphrase[totalbuddies]: <strong>$buddyinoutcounter</strong>
                                        </td>
                                </tr>
                                <tr>
                                        <td><a href="buddies.php?u=$userinfo[userid]">$vbphrase[viewmemberbuddies]</a></td>
                                </tr>
                                </table>
                        </fieldset>
                        </if>
                        <!-- End Buddies Hack -->       
                        <br>$buddies
$footer
</body>
</html>


FleaBag 03-12-2006 08:42 AM

Any screenshot or demo?

MissKalunji 03-12-2006 12:04 PM

darling share here : https://vborg.vbsupport.ru/showthread.php?t=109094

no need to open a new thread :)

ryans 03-12-2006 03:17 PM

updated.

SMO 03-12-2006 04:06 PM

silly question perahps...where does that go?

Iceburg22 03-13-2006 02:43 AM

Quote:

Originally Posted by SMO
silly question perahps...where does that go?

memberinfo template / replace it with the original

Stangsta 03-13-2006 02:53 AM

Quote:

Originally Posted by MissKalunji
darling share here : https://vborg.vbsupport.ru/showthread.php?t=109094

no need to open a new thread :)

ditto.

SMO 03-13-2006 10:08 PM

hey!
i like that. I suppose i need to add profile parts for all those now eh?

ryans 03-13-2006 10:15 PM

I think there should be a seperate thread for this. This is just one modification that can give the user a quick myspace look, while the other one is a huge hack. I'm waiting for one click to install that other one before I actually install it. Why? i've installed most of those mods about 5 times already and each time I did an update I lose the mod.

Stangsta 03-13-2006 10:20 PM

Quote:

Originally Posted by ryans
I think there should be a seperate thread for this. This is just one modification that can give the user a quick myspace look, while the other one is a huge hack. I'm waiting for one click to install that other one before I actually install it. Why? i've installed most of those mods about 5 times already and each time I did an update I lose the mod.

I can install it for you, PM me if you are interested.

roxics 03-17-2006 12:41 PM

I like this because it doesn't require any hacking and my board doesn't really need all the things myspace offers. Like the annoying ability for people to change the background image of the page to something unreadable. Plus with anything less then a few hundred members on your board people really don't need "friends" as it's already a pretty tight group.

But I have been encountering one problem. When I try to display content from custom profile fields that are multiple check boxes it displays a number rather then the value of the checkbox. The value being a word.

I also noticed that textarea content doesn't display line and paragraph breaks. I know neither of these are an issue with this template mod. But I wonder how to fix them.

CreedFeed 03-19-2006 01:03 PM

Quote:

Originally Posted by ryans
I think there should be a seperate thread for this. This is just one modification that can give the user a quick myspace look, while the other one is a huge hack. I'm waiting for one click to install that other one before I actually install it. Why? i've installed most of those mods about 5 times already and each time I did an update I lose the mod.

This isn't a complete modification. You never mention the profile fields that you must add in order to make this work. The profile also links to a file "browseimages.php" which is not mentioned.

Ruler68jg 03-20-2006 09:36 PM

Hello !

I have cut pasted this code in the memberinfo, now I cant see the members profiles

it shows me following error
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM turkcelinks WHERE userid = '13' AND valid = 1;

MySQL Error : Table 'biz7000_dk.turkcelinks' doesn't exist Error Number : 1146
Date : Tuesday, March 21st 2006 @ 12:34:26 AM
Script : http://www.xxxxxxx.xx/xxxxxxxxx/member.php?u=13
Referrer : http://www.xxxxxxx.xx/xxxxxxxxx/index.php
IP Address : xxxxxxxxxxxx
Username : HAKAN
Classname : vb_database

please assist me to fix this problem

ruler


All times are GMT. The time now is 04:54 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.01247 seconds
  • Memory Usage 1,842KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete