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)

imported_infitech 04-06-2006 04:48 PM

Forgive my stupidity. I had to reinstall the gallery after the upgrade. I was unaware that you had to do that after every upgrade. Sorry to have wasted your time. I hope this thread can help others who might run into my problem in the future.

MissKalunji 04-06-2006 05:12 PM

Quote:

Originally Posted by imported_infitech
Forgive my stupidity. I had to reinstall the gallery after the upgrade. I was unaware that you had to do that after every upgrade. Sorry to have wasted your time. I hope this thread can help others who might run into my problem in the future.

No problem :p

Alfa1 04-06-2006 08:41 PM

In the hack there is a profile field named 'video'. Is that where members can place code to a video?

For example, if a member wants to have this video http://www.videocodezone.com/videos/...desperado.html in his profile, then should the member take the code that you see under the tab 'forum' and place it in the profile field named 'video'?

Do you know where I can find a button for 'add buddy' and 'ignore'? (standard style)

imported_infitech 04-06-2006 11:25 PM

I'm having problems with my .htaccess file. this is what i have so far.
Code:

RewriteEngine On
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteEngine On
RewriteRule ^$ index.php
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1


imported_infitech 04-07-2006 07:25 AM

Has anyone taken a look at the .htacces i posted yet?

GamerJunk.net 04-11-2006 08:59 PM

Quote:

Originally Posted by CodeRed
Hey guys I've gotten a few PMs from people asking about my profile page that i had listed in the older thread so I thought i would post up the info here as well in case others are interested as well...

http://www.texasphotoforum.com/temp/profilesm.jpg
Click to see full size Profile Page ~450k

Link points to JPG screen capture since Guests can not view our forum's profile pages...

Installed hacks (that i can remember anyways!):

Who Viewed My Profile:
https://vborg.vbsupport.ru/showthread.php?t=91772

Userprofile Changed Date in Member Profile & recent changed on forumhome:
https://vborg.vbsupport.ru/showthread.php?t=101462

Parse BBCode in Custom Profile Fields:
(i believe this is the one that allowed paragraphs breaks in custom fields - you have include the fields you want parsed in the edit plugin section)
https://vborg.vbsupport.ru/showthread.php?t=103460

PhotoPost Recent Images on Profile Page:
(need PhotoPost forum access to get thread)
http://www.photopost.com/forum/showthread.php?t=121321

Link To Users Gallery In Profile [Updated]:
(need PhotoPost forum access to get thread - also think i used the previous version of this hack)
http://www.photopost.com/forum/showthread.php?t=118831

iTrader Hack v2.0.1:
https://vborg.vbsupport.ru/showthread.php?t=102965

Here is my MEMBERINFO code:
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



<table width="100%" align="center" class="tborder" cellspacing="1" cellpadding="6">
        <tr>
                <td class="tcat"><b>$userinfo[musername]'s Profile Page</b>
                </td>
        </tr>
</table>
<table width="100%" class="tborder" cellspacing="1" cellpadding="6">
        <tr>
                                <td class="alt1" valign="top" width="75%" rowspan="2">
                                        <!-- START USER AVATAR -->
                                        <if condition="$show['avatar']">
                                        <div style="float:left;"><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1=" $userinfo[username]">$vbphrase[xs_avatar]</phrase>"
                                        border="0" style="border:1px solid $stylevar[tborder_bgcolor];
                                        border-top:none" /></div> </if>
                                        <!-- END USER AVATAR -->
                                        <!-- USER INFORMATION -->
                                        <div style="font-size:18pt">$userinfo[musername] $userinfo[onlinestatus]</div>
                                        <div class="smallfont">
                                        <b>$userinfo[usertitle]</b><br />
                                        <b>$vbphrase[join_date]:</b> $userinfo[datejoined]<br />
                                        <b>Location:</b> $userinfo[field2]<br />
                                        <if condition="$show['lastactivity']">
                                        <div><b>Last Online At:</b> $userinfo[lastactivitydate] - <span class="time">$userinfo[lastactivitytime]</span></div>
                                        </if>
                                        <!-- Hack: Userprofile Changed Date(MarcoH64) -->
                                        <if condition="$mh_upcd_last_changed">
                                        <b>$vbphrase[mh_upcd_last_change_date]:</b> $mh_upcd_last_changed
                                        </if>
                                        <!-- / Hack: Userprofile Changed Date(MarcoH64) -->
                            </div>
                                                <table width="100%" class="tborder" cellspacing="1" cellpadding="6">
                                                                <tr>
                                                                        <td class="thead"><b>$userinfo[username]'s Information:</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1">
                                                                                <div class="smallfont">
                                                                                <b>$vbphrase[age] :</b>  $userinfo[age]<br />
                                                                                <b>Sex :</b> $userinfo[field5]<br />
                                                                                <b>Occupation :</b> $userinfo[field4]<br />
                                                                                <b>Interests :</b> $userinfo[field3]<br />
                                                                                </div>
                                                                        </td>
                                                                </tr>
                                                                <if condition="$userinfo[field6]">
                                                                <tr>
                                                                        <td class="thead"><b>About Me:</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1"><div class="smallfont">$userinfo[field6]</div></td>
                                                                </tr>
                                                                </if>
                                                                <if condition="$userinfo[field12]">
                                                                <tr>
                                                                        <td class="thead"><b>Favorite Aspect of Photography:</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1"><div class="smallfont">$userinfo[field12]</div></td>
                                                                </tr>
                                                                </if>                                                               
                                                                <if condition="$userinfo[field7]">
                                                                <tr>
                                                                        <td class="thead"><b>Photo Gear:</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1"><div class="smallfont"><div style="white-space:pre;">$userinfo[field7]</div></div></td>
                                                                </tr>
                                                                <if condition="$show['signature']">
                                                                <tr>
                                                                        <td class="thead"><b>$vbphrase[signature]</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1">$userinfo[signature]</td>
                                                                </tr>
                                                                </if>
                                                </table>
                                </td>
                <td align="left" valign="top" class="alt1" width="25%" rowspan="2">
                        <if condition="$show['profilepic']">
                        <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor]" /> <else /> <img src="http://www.texasphotoforum.com/forum/images/noimage.jpg" alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" />
                        </if>
<br />
                                <table width="100%" class="tborder" cellspacing="1" cellpadding="6">
                                        <tr>
                                                <td class="thead"><b>General Information:</b></td>
                                        </tr>
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">Send An E-Mail To $userinfo[username]</phrase></a></div></td>
                                        </tr>
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">Send Private Message To $userinfo[username]</phrase></a></div></td>
                                        </tr>
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><if condition="$show['profileviews']"><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></td>
                                        </tr>
                                        <if condition="$userinfo[homepage]">
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><b>$userinfo[username]'s Personal Homepage:</b><br /><a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a></div></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo[field8]">
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><b>MySpace Profile Page:</b><br /><a href="$userinfo[field8]" target="_blank" dir="ltr">$userinfo[field8]</a></div></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo[field9]">
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><b>Model Mayhem Profile Page:</b><br /><a href="$userinfo[field9]" target="_blank" dir="ltr">$userinfo[field9]</a></div></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo[field10]">
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><b>One Model Place Profile Page:</b><br /><a href="$userinfo[field10]" target="_blank" dir="ltr">$userinfo[field10]</a></div></td>
                                        </tr>
                                        </if>
                                        <if condition="$userinfo[field11]">
                                        <tr>
                                                <td class="alt1"><div class="smallfont"><b>Sports Shooter Profile Page:</b><br /><a href="$userinfo[field11]" target="_blank" dir="ltr">$userinfo[field11]</a></div></td>
                                        </tr>
                                        </if>
                                               
                                </table>
                                <br />
                                <table width="100%" class="tborder" cellspacing="1" cellpadding="6">
                                                <tr>
                                                        <td class="thead">Forum Information</td>
                                                </tr>
                                                <tr>
                                                        <td class="alt1"><div class="smallfont">$vbphrase[total_posts]: $userinfo[posts]  (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)</div></td>
                                                </tr>                                                       
                                                <tr>
                                                        <td class="alt1"><div class="smallfont">Total User Images: $userimages[count]</div></td>
                                                </tr>
                                                <tr>
                                                        <td class="alt1"><div class="smallfont"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">Find All Posts By $userinfo[username]</phrase></a></div></td>
                                                </tr>
                                                <tr>
                                                        <td class="alt1"><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]">Find All Threads Started By $userinfo[username]</phrase></a></div></td>
                                                </tr>
                                                <tr>
                                                        <td class="alt1"><div class="smallfont"><a href="/gallery/showgallery.php?cat=500&ppuser=$userinfo[userid]" title="View Gallery">View $userinfo[username]'s Gallery</a></div></td>
                                                </tr>
                                                <if condition="$vboptions['usereferrer']">
                                                <tr>
                                                        <td class="alt1"><div class="smallfont"><b>$vbphrase[referrals]:</b> $referrals</div></td>
                                                </tr>
                                                </if>
                                        </table>
                                        <br />
                                                      <if condition="$show['hasimicons']">
                                                        <table width="100%" class="tborder" cellspacing="1" cellpadding="6">
                                                          <tr>
                                                            <td class="thead">Instant Messaging</td>
                                                          </tr>
                                                          <tr>
                                                            <td class="alt1"><div align="center">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></td>
                                                          </tr>
                                                        </table>
                                                        <br />
                                                      </if> 
                                                                               
        </td>
        </tr>
</table>
<if condition="$profileimagebits">
<table align="center" width="100%" border="0" cellpadding="6" cellspacing="1" class="tborder">
<tr>
    <td class="tcat" colspan="6"><a href="http://www.texasphotoforum.com/gallery/index.php?$session[sessionurl]">Recent Gallery Additions</a>
    </td>
</tr>
<tr>
$profileimagebits
</tr>
</table>
<br />
</if>

        <if condition="can_moderate()">
               
<div align="center" class="smallfont"><b>Moderator Control:</b> <a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></div>
        </if>
$footer
<br />
</body>
</html>

The one thing that still doesnt work in the profile page is the Total User Images: portion. It's suppose to display the total number of images the user has in the PhotoPost Gallery. I have not been able to figure that one out yet so if anyone can find the fix I'd greatly appreciate it! :)

It may not be perfect but it seems to work ok on my end for what its worth (3.5.1)... use at your own risk.

Hope this helps some...


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

PennylessZ28 04-12-2006 12:49 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

You have an opened conditional somewhere in your code, thats what usually produces that.

You need to go through the HTML and make sure all the <if> </else> statesments have ending tags and are closed.

imported_infitech 04-14-2006 07:21 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

Yor missing an </if> after photogear


Code:

<if condition="$userinfo[field7]">
                                                                <tr>
                                                                        <td class="thead"><b>Photo Gear:</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1"><div class="smallfont"><div style="white-space:pre;">$userinfo[field7]</div></div></td>
                                                                </tr>
                                                                <if condition="$show['signature']">


should be
Code:

<if condition="$userinfo[field7]">
                                                                <tr>
                                                                        <td class="thead"><b>Photo Gear:</b></td>
                                                                </tr>
                                                                <tr>
                                                                        <td class="alt1"><div class="smallfont"><div style="white-space:pre;">$userinfo[field7]</div></div></td>
                                                                </tr>
                                                                </if><if condition="$show['signature']">

[/code]

CodeRed 04-14-2006 11:15 AM

Quote:

Originally Posted by imported_infitech
Yor missing an </if> after photogear

ahh thanks... i go edit my post now to include that!

CodeRed 04-14-2006 12:08 PM

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

&quot;
&amp;


All times are GMT. The time now is 05:07 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.01767 seconds
  • Memory Usage 1,861KB
  • 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
  • (4)bbcode_code_printable
  • (5)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