vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Profile Enhancements - About Me Section Above Profile Comments (https://vborg.vbsupport.ru/showthread.php?t=231386)

Warlord 12-27-2009 10:00 PM

About Me Section Above Profile Comments
 
1 Attachment(s)
This is another very simple and quick edit, but it significantly changes the appearance of member profiles to look a bit more "Myspace-ish".

This modification does the following:
  • Displays the About Me section first in the tab order.
  • Removes the Profile Comments/Visitor Messages section from the tabs and inserts it below the About Me section.
  • Moves the Profile Picture inside the About Me section if the member has uploaded a profile picture.


Installation
Three Template Edits
Install Time: 5 Minutes or less.


Template Edits

In template MEMBERINFO find and DELETE:

HTML Code:

                                <if condition="$blocks['profile_picture']">
                                        <td id="profilepic_cell" class="tborder alt2">$blocks[profile_picture]</td>
                                </if>


In template MEMBERINFO find:

HTML Code:

        <div id="profile_tabs">
                $template_hook[profile_left_first]
                $blocks[visitor_messaging]
                $blocks[aboutme]
                $blocks[stats]
                $blocks[friends]
                $blocks[infractions]
                $blocks[contactinfo]
                $template_hook[profile_left_last]
        </div>

REPLACE with:

HTML Code:

<div id="profile_tabs">
                $blocks[aboutme]
                $blocks[stats]
                $blocks[friends]
                $blocks[infractions]
                $blocks[contactinfo]
                $template_hook[profile_left_last]
</div>

        <div class="alt1 block_row">

                $template_hook[profile_left_first]
                $blocks[visitor_messaging]

        </div>


In template memberinfo_block_aboutme find:

HTML Code:

<if condition="$show['edit_link']">
        <div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme">$vbphrase[edit_your_about_me]</a></div>
</if>

ADD below:

HTML Code:


                                <if condition="$prepared[profilepicurl]">
<img align="left" hspace="10" src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" />
                                </if>


Optional Template Edits:

To remove the bullet from the Signature Block, in template memberinfo_block_aboutme find:

HTML Code:

        <if condition="$prepared['signature']">
                <li class="profilefield_category">
                        $vbphrase[signature]
                        <dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
                </li>

Change to:

HTML Code:

        <if condition="$prepared['signature']">
                <div class="profilefield_category">
                        $vbphrase[signature]
                        <dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
                </div>


To remove the bullets from the category titles in the About Me Section, in memberinfo_profilefield_category find:

HTML Code:

                <li class="profilefield_category">$category[title]
                <if condition="$category['description']"><div class="smallfont">$category[description]</div></if>
                <dl class="list_no_decoration profilefield_list">
                        $category[fields]
                </dl>
        </li>

Change to:

HTML Code:

                <div class="profilefield_category">$category[title]
                <if condition="$category['description']"><div class="smallfont">$category[description]</div></if>
                <dl class="list_no_decoration profilefield_list">
                        $category[fields]
                </dl>
        </div>




Additional Notes: The profile fields in the About Me section can be added via the Admin Control Panel under User Profile Fields-->Add New User Profile Field. Any new profile fields you add will appear on the member's public profile when filled out by that member.

The Video section used on the demo profile is the Video-Directory Remixed hack created by Jaxel and can be found here.

The Awards section and Experience Tab displayed on the demo profile is part of the vBExperience Hack by Phalynx and can be found here.

The customization of the background and color scheme of the demo profile is a standard feature in vBulletin itself and is not a result of this modification.

invitezone 01-01-2010 10:42 AM

very nice....thank u

ProFifaLeagues 01-01-2010 11:23 AM

Looks nice great work

Warlord 01-02-2010 10:44 PM

Glad you like it. :)


All times are GMT. The time now is 06:22 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.01517 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
  • (9)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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