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)

Stangsta 04-14-2006 03:25 PM

Quote:

Originally Posted by CodeRed
I have another question... Is there a way to allow users to use items such as quotation marks etc in their profile pages?

for example:

"
&

are coming out like this in the profile pages

"
&

I havent had time to work on that...I have the same problem. If you don't parse the bbcode, it will show up just fine. If I come up with a fix, i'll let you know.

nestoras 04-15-2006 02:22 AM

i can't make CSS to work!what can it be wrong?
can someone put his own CSS code to test it ?

imported_infitech 04-15-2006 03:11 AM

Here's my version
http://www.infitechdesign.com/forums/adobe_fan

Amavisca 04-15-2006 04:29 AM

I was going to post ur profile adobe. Can some 1 help me to have a template like that?

imported_infitech 04-15-2006 06:41 AM

Quote:

Originally Posted by RasMasta
Using 3.5.4 I get this error when saving the template

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/*********/public_html/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 80

I just wanted you to know how ur looking on firefox Abel. I used your versions and tweaked it alitte to fit my site and i had to fix that.

jarcher 04-15-2006 06:15 PM

Quote:

Originally Posted by nestoras
i can't make CSS to work!what can it be wrong?
can someone put his own CSS code to test it ?

this is all yellow
PHP Code:

body {background#FFF000}
page {background#FFF000}
a:link {background#FFF000}
a:hovera:active {background#FFF000}
a:visited {background#FFF000}
.tcat {background#FFF000}
.theader {background#FFF000}
.tborder {background#FFF000} 

my bg img
PHP Code:

Body{background-image:url(http://www.longislandphil.com/archer/SerialKillerJournal.jpg)} 

they both worked for me



where do I put the profile pic?
and how
I cant seem to get it
PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
<if 
condition="$userinfo[field11]">
<
style type="text/css">$userinfo[field11]</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.longislandphil.com/images/misc/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"
<!-- 
vbPlaza start -->
                <if 
condition="$userinfo['usertitle']"><div class="smallfont" <if condition="$userinfo['titlestyle']">style="$userinfo[titlestyle]"</if>>$userinfo[usertitle]</div></if>
<!-- 
vbPlaza end --> <br />
 
<
strong>Sex:</strong$userinfo[field6] <br /> <if condition="$show['age']"><strong>$vbphrase[age]:</strong
             
$userinfo[age]</if> <br /> <strong>Location:</strong$userinfo[field2]<br /> 
<!-- 
vbPlaza start -->
                <
div class="bigusername" <if condition="$userinfo['namestyle']">style="$userinfo[namestyle]"</if>>$userinfo[musername$userinfo[onlinestatus]</div>
<!-- 
vbPlaza end --> 
             <
br /> 
<
div><strong>Last Online:</strong$userinfo[lastactivitydateat $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]rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></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]rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></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
<!-- [
START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID] -->
                <if 
condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']">
                <
tr>
                    <
td>
                        
$vbphrase[pager_vbpager]:<br />
                        <
a href="#" onclick="window.open('pager.php?do=buddylist&amp;puserid=$userinfo[userid]','pagerbuddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><phrase 1="$userinfo[username]">$vbphrase[pager_send_pager_message_to_x]</phrase></a>
                    </
td>
                </
tr>
                </if>
<!-- [
END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID] -->
        </
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.longislandphil.com/images/misc/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.longislandphil.com/images/misc/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.longislandphil.com/images/misc/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.longislandphil.com/images/misc/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">
<!-- 
vbPlaza start -->
            <if 
condition="$vboptions['vbbux_enabled']">$show[vbbuxuserinfo]</if>
            <if 
condition="$show['gifts']">$show[gifts]</if>
            <if 
condition="$show['ribbons']">$show[ribbons]</if>
<!-- 
vbPlaza end -->
<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>Biography:</strong></span></td
         <
td align="left" valign="top">$userinfo[field1]</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[field12]</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>
<!-- 
HackUsername 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>
<!-- / 
HackUsername 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

what did I miss. . .?
thanks. . .

Stangsta 04-15-2006 07:58 PM

Quote:

Originally Posted by jarcher
what did I miss. . .?
thanks. . .

Nothing. It uses the persons avatar for the profile pic. You can change it if you want to, but its more consistant that way.

jarcher 04-15-2006 08:53 PM

Quote:

Originally Posted by Stangsta
Nothing. It uses the persons avatar for the profile pic. You can change it if you want to, but its more consistant that way.

ok, so there is no way to have the avatar and the profile pic in the profile this way?

Stangsta 04-15-2006 09:34 PM

Quote:

Originally Posted by jarcher
ok, so there is no way to have the avatar and the profile pic in the profile this way?

Of course there is, you just edit the memberinfo and add the code for profile pics and remove the code for avatars.

Keep in mind that the comments system uses avatars. You dont want to confuse your users.

jarcher 04-15-2006 10:37 PM

Quote:

Originally Posted by Stangsta
Of course there is, you just edit the memberinfo and add the code for profile pics and remove the code for avatars.

Keep in mind that the comments system uses avatars. You dont want to confuse your users.

everytime I try, and no matter where I put it
I get this
Quote:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in adminfunctions_template.php(3537) : eval()'d code on line 123

found it, nevermind
sorry

thanks


All times are GMT. The time now is 03:56 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.02362 seconds
  • Memory Usage 2,069KB
  • 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
  • (3)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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