Ultimate Profile

Started by JovanT, March 12, 2009, 12:14:40 PM

Previous topic - Next topic

KensonPlays

Quote from: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.

http://kcmartz.com/index.php?action=profile;u=1

Owner of Mesozoic Haven

C4G-TK

Quote from: Kcmartz on December 28, 2009, 10:59:23 PM
Quote from: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.

http://kcmartz.com/index.php?action=profile;u=1

Thanks Kcmartz!

-img removed-

Riey

- como colocar os avatares dos amigos mais pequenos?
- how to put the avatars of friends smaller?

- não dá para mostrar uma lista de amigos de cada membro ou estatísticas do perfil?
- you can not show a friends list of each member's profile or statistics?

Bijan641

Is there anyway to make it so that the ultimate profile is automatically turned on as a default, and can't be turned off?

Yağız...

Quote from: Riey on December 29, 2009, 08:32:02 AM
- como colocar os avatares dos amigos mais pequenos?
- how to put the avatars of friends smaller?
Find in ./Sources/Profile.php:
// For avatars: if we're always html resizing, assume it's too large.
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
} else {
$avatar_width = '';
$avatar_height = '';
}

Replace with:
// For avatars: if we're always html resizing, assume it's too large.
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
} else {
$avatar_width = '30px';
$avatar_height = '30px';
}

Replace 30 with the number that you want.
Quote from: Riey on December 29, 2009, 08:32:02 AM
- não dá para mostrar uma lista de amigos de cada membro ou estatísticas do perfil?
- you can not show a friends list of each member's profile or statistics?
Didn't understand, sorry.

Quote from: Bijan641 on December 29, 2009, 04:41:45 PM
Is there anyway to make it so that the ultimate profile is automatically turned on as a default, and can't be turned off?
Find and remove in your ./Themes/default/Profile.template.php:
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_customize_enable'], '</b>
</td>
<td>
<input type="hidden" name="default_options[customized]" value="0" /><input type="checkbox" name="default_options[customized]"', (@$context['member']['options']['customized'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>

Then, enable the option "Enable ultimate profile for all members" in Admin > Features and Option > Ultimate Profile[/quote]

Bijan641

Thank you so much, you fixed the problem Yagiz. The only thing is that for some reason, the layouts don't look uniform. For example, my profile:

http://www.dotswoof.com/forum/index.php?action=profile;u=3

A normal user's profile:

http://www.dotswoof.com/forum/index.php?action=profile;u=9

Anybody have any ideas on how to fix this?

Yağız...

Can I have your UltimateProfile.template.php file?

Bijan641


Yağız...


blokey

not bothered about responding to me then? :-\
SMF Version 2.0 RC2     Server Info Apache version 2.0.63 PHP version 5.2.9 MySQL version 5.0.81-community Architecture x86_64 Operating system Linux

Yağız...

#1350
Oh, sorry, I forgot you :)

Can I have a picture from Admin > Modification Settings > Ultimate Profile?

Bijan641

Thank you! it worked. Is there any way you can tell me which lines you changed so that I can learn from it?

Yağız...

Code (@line 337 to 343) Select
<td class="windowbg" align="center">';
                                            if (!empty($context['member']['options']['pxbgt']))
                                            echo '<b>'.$txt['pxbgt_txt2'].'</b><br>
                                            <img src="http://card.mygamercard.net/'.$context['member']['options']['pxbgt'].'.png" alt="" />
                                            <br />';
echo '
</td>

I added ';
echo '
before last </td>

blokey

SMF Version 2.0 RC2     Server Info Apache version 2.0.63 PHP version 5.2.9 MySQL version 5.0.81-community Architecture x86_64 Operating system Linux

Yağız...

Can you write there what "Pictures Path" and "Pictures URL" have?

hunty

Hello where can i find rc2 verion. Current one giving errors.
I have default theme and english, turkush languages


alblove

I have a problem with the profile coment time and date, in every coment shows 1 Janar 1970 - 01:00:00
any idea how to fix it ? ( i tried with the fix pacage but dont work)
http://www.alblove.com/profile.html;u=1

Yağız...

1st January 1970 00:00:00 is the beginning of the UNIX time. This might be a problem with server. Try to contact with your hosting provider.

alblove

i dont think is a problem of the server becousethe time in  picture coments is OK, before to instal ultimate profile i had Profile Coment mod installed that uses the same table.

Advertisement: