PDA

View Full Version : Profile Enhancements - MiniVeoh In Profile (Right side block)


xxalexkimxx
08-20-2008, 10:00 PM
Hello all, I just created MiniVeoh in Profile.
Don't know if anyone has done this before, but I'm going to post this up anyways.

Demo: http://www.khmerfun.net/bongsongha.html
======================================
Step 1:
Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: Veoh URL
Description: For example if the full = http://www.veoh.com/videos/v9354954D7Nf2Hr2 then use v9354954D7Nf2Hr2

***Please remember your field id number***
======================================
Step 2
======================================
Import product veoh_member_profile_url.xml (the attachment)
======================================
Step 3
======================================
Edit template:
Go to MEMBERINFO
find
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
Below $blocks[friends_mini] add
$blocks[veoh]

Yours should looks like this:

<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[veoh]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->

Now go to memberinfo_block_veoh in Profile info Templates
Find all $userinfo[field13]
and replace 13 with your field id number that you just created.

That's it.