vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   [Monkey's Works] - User Profile Web Page (https://vborg.vbsupport.ru/showthread.php?t=143207)

Triky 03-25-2007 10:00 PM

[Monkey's Works] - User Profile Web Page
 
[Monkey's Works] - User Profile Web Page
By Triky - Web City



Hi there, monkeys! This template mod extend the standard vB users page field. This also require a new users field.
Ok, let's start with the modification!

Preview:

User Web Site in Profile [Preview]

Modification:

Quote:

Create a new field!
(AdminCp -> User Profile Fields -> Add New!)

Quote:

Multiple Line Text Box

Title: Your Web Site Description

Description: Your web site description:

Display Page: Edit Profile
Save it.
(Remember the field number)


Note -> (1) and (2): Why? Oh, check this post!

1)------------------------------------------


Quote:

Now replace the MEMBERINFO entire template code with this:


Download It!
(Select all the code, and then copy it into your MEMBERINFO template)

Into the code, search for:

Code:

<strong>Description</strong>:<br />
$post[fieldX]

And replace the X with your filed number.


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

2)------------------------------------------

Quote:

In your MEMBERINFO template find:

Code:

<if condition="$show['homepage']">
                <tr>
                    <td>
                        $vbphrase[home_page]:<br />
                        <a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
                    </td>
                </tr>
                </if>

Delete it.

Now search for:

Code:

<td>$userinfo[skypeicon]</td>
                        <td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
                    </tr>
                    </if>
                </if>
                </table>
            </fieldset>

Below, add:

Code:

<!-- User Home Page Table -->   
<if condition="$show['homepage']">

<fieldset class="fieldset">
                <legend>$userinfo[username]'s Web Site Info</legend>



<div class="fieldset">
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

                <tr>
                    <td>
<strong>$vbphrase[home_page]</strong>:<br />
                        <a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
                    </td>


                </tr>
<tr>
<td>

<strong>Description</strong>:<br />
$post[field6]

</td>
</tr>
<tr>
<td>
<strong>Site Preview</strong>:<br /><br />
<a href="$userinfo[homepage]" target="_blank" alt="$userinfo[homepage]" dir="ltr"><img src="http://open.thumbshots.org/image.pxf?url=$userinfo[homepage]" /></a>
<br />
<p style="font-size:85%">(<a href="http://www.thumbshots.com" target="_blank" title="About Thumbshots Thumbnails!">Thumbnail provided by Thumbshots</a>)<br />
(If nothing shows up, then the requested URL is not listed)</p>
</td>
</tr>

</table>
</div>
                </if>


</fieldset>

<!-- / User Home Page Table -->


Into the code above, search for:

Code:

<strong>Description</strong>:<br />
$post[fieldX]

And replace the X with your filed number.

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





Done! :)
I hope you like it.



<!-- ------------------------------[Monkey's Works] - vBulletin.org Archive Releases---------------------------- -->


<!-- / ----------------------------[Monkey's Works] - vBulletin.org Archive Releases---------------------------- -->


All the Best,
Triky
Monkey's Work - Web City Forum Online
http://www.web-city.it/

oldfan 03-26-2007 02:55 PM

Very useful, thanks

I've got other mods in my MEMBERINFO template, I really don't wanna replace the whole thing.

bashy 03-26-2007 03:06 PM

Yes, i would assume many have a modified memberinfo already, please could you supply the edits?

Triky 03-26-2007 03:27 PM

Ok, guys. Give me a second.. I will update the first post.

Triky 03-26-2007 03:48 PM

Done. :)
Check the first post.

Triky 03-28-2007 09:09 AM

Nobody else? ^___^

Gizmo5h1t3 03-28-2007 11:21 AM

installed, but if thumbshots doesnt list your site, then the thumbnail image dont show up

Triky 03-28-2007 11:29 AM

Yes, this is the only problem.

Gizmo5h1t3 03-28-2007 11:41 AM

....and u gotta wonder how many vb sites are listed on that site....

in which case, havin it as an added graphical tweak in your profile is a bit of a waste of time...lol
unless that is, your fav site is one other than a vb site.

good idea tho...


All times are GMT. The time now is 03:29 AM.

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.01071 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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