Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: JovanT on March 12, 2009, 12:14:40 PM

Title: Ultimate Profile
Post by: JovanT on March 12, 2009, 12:14:40 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1675)

Features:
 - About Me, Interests & Media box
 - Organizable buddy list
 - Approval of buddies
 - Profile pictures
 - Profile comments
 - Picture comments
 - Customizable look & feel

This modification will allow your users to customize their profiles just like they can on other social networks like MySpace, Facebook, Tagged... It is a great addition for building community around your SMF forum.

Users can choose whether they want to have this customized profile or just plain, ordinary one. They can enter About me & My Interests texts which can be formatted using BB code. Also, they can input HTML & CSS code in special text area and customize look of their profile. They can add background picture, change font, size and color of text as well as other elements.

This modification also allows them to upload their own pictures which are then showed in their profile and can be organized in albums. Other users can post comments on someones profile or pictures.

Administrators can choose whether they want to enable pictures and customization of profiles. Also, they can turn on ultimate profiles for all forum users.

Users can disable comments for their profiles or restrict new comments only to their buddies. Pictures can be shown to all users or only to buddies.


Preview: http://dev.turanjanin.net/forum/index.php?action=profile;u=1
FAQ: http://dev.turanjanin.net/forum/index.php/topic,13.0.html

Old support topic: http://www.simplemachines.org/community/index.php?topic=183574.0



edit- per http://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823
to fix the buddies problem, change line 365 and 403 from:
Code: [Select]
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);to:
Code: [Select]
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));
In English, array_filter removes the bogus entry.
Title: Re: Ultimate Profile
Post by: problemwt2.0 on March 12, 2009, 03:09:12 PM
sir why ur nt releasing a version compatiable with 2.0 :(
Title: Re: Ultimate Profile
Post by: tyty1234 on March 12, 2009, 03:13:29 PM
It's great that this mod is finally on the mod site! :D
And @problemwt2.0, I think he's still working on a 2.0 version of the mod. ;)
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 12, 2009, 05:14:07 PM
Great job on getting this on the MOD Site!

The only thing holding me back from upgrading to RC1 is this MOD...LOL I can't wait till it's compatible. Thank you for all your hard work.

mrtrc266=waiting patiently ;)
Title: Re: Ultimate Profile
Post by: Antechinus on March 12, 2009, 07:16:47 PM
Nice work. Now, about that RC1 version................. ;)
Title: Re: Ultimate Profile
Post by: Mick. on March 12, 2009, 09:53:18 PM
Any changes on this version from 8.5?
Title: Re: Ultimate Profile
Post by: ahikmahin on March 13, 2009, 12:24:05 AM
really waitting for 2.0 version.... whats the latest news??
Title: Re: Ultimate Profile
Post by: haito on March 13, 2009, 02:37:33 AM
preview please...
Title: Re: Ultimate Profile
Post by: ifwmonster on March 13, 2009, 05:03:55 AM
preview please...
A review of this would be awesome.  Could be a big benefit to my site.
Title: Re: Ultimate Profile
Post by: Antechinus on March 13, 2009, 05:07:54 AM
If you really want a preview, install the mod on a test board. :D It's free. What have you got to lose?

In fact I'm going to do that right now.
Title: Re: Ultimate Profile
Post by: Antechinus on March 13, 2009, 05:28:16 AM
Well it works. Installed without errors on a site running 1.1.8 and TPv1.06. Only problem is I can't figure out how to add pics yet.  :P
Title: Re: Ultimate Profile
Post by: Angelotus on March 13, 2009, 06:24:07 AM
Wel Jovant, you should work on a 2.0 version soon, as I read all these comments ;) Nice mod dude!
Title: Re: Ultimate Profile
Post by: matasanos on March 13, 2009, 08:32:26 AM
awesome mod!!!

thanks men!
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 13, 2009, 09:50:58 AM
Here is a preview.

http://monsters-mansion.com/index.php?action=profile;u=1
Title: Re: Ultimate Profile
Post by: Sweetwater on March 13, 2009, 10:05:11 AM
I like the idea of this mod.  8)

I got this error line

Quote
3. Execute Modification ./Sources/ModSettings.php Test failed

Any ideas on how to proceed? Or should I not install it?

Thanks,
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 13, 2009, 10:20:14 AM
I like the idea of this mod.  8)
I got this error line

Quote
3. Execute Modification ./Sources/ModSettings.php Test failed
Any ideas on how to proceed? Or should I not install it?

Thanks,

You can run it through a Package Parser (http://resourcez.biz/PackageParser/index.php) and edit the file maunally. More than likely another one of your MODs moved some of the code around.
Title: Re: Ultimate Profile
Post by: silber112 on March 13, 2009, 10:48:08 AM
Thanks a lot for this great MOD  :D


Images of the mod will help a lot to see how it looks like. I am going to test it on my Test forum.

GREAT WORK  >:(
Title: Re: Ultimate Profile
Post by: chrishicks on March 13, 2009, 01:56:45 PM
Quick question before I attempt an manual uninstall of 0.7 to install this version. Will everyone have to redo things like the custom CSS stuff that they added when I upgrade this?
Title: Re: Ultimate Profile
Post by: zapiy on March 13, 2009, 02:02:06 PM
I would like to change the My Media title to My  Games.. Is it possible?


Thanks
Title: Re: Ultimate Profile
Post by: Yağız... on March 13, 2009, 02:10:23 PM
I would like to change the My Media title to My  Games.. Is it possible?


Thanks
Search for 'My Media' in ../Themes/default/languages/UltimateProfile.english.php and change it to 'My Games'.

Turkish Translation:
Code: [Select]
    <file name="$languagedir/Modifications.turkish.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['ultimate_profile'] = 'Özelleştirilmiş Profil';
$txt['permissionname_edit_ultimate_profile'] = 'Özelleştirilmiş profili düzenleyebilir';
$txt['permissionname_edit_ultimate_profile_own'] = 'Kendi profilini';
$txt['permissionname_edit_ultimate_profile_any'] = 'Herkesin profilini';
$txt['permissionhelp_edit_ultimate_profile'] = 'Üyenin özelleştirilmiş profili düzenlemesini sağlar.';
$txt['cannot_edit_ultimate_profile_own'] = 'Üzgünüm, özelleştirilmiş profilinizi düzenleyemezsiniz..';
$txt['cannot_edit_ultimate_profile_any'] = 'Üzgünüm, başkasının özelleştirilmiş profilini düzenleyemezsiniz.';

]]></add>
        </operation>
    </file>
Title: Re: Ultimate Profile
Post by: chrishicks on March 13, 2009, 02:57:20 PM
hmm... I uninstalled 0.7 and installed this version. Now I can't access my Features and Options section in the Admin Panel. I get the following message:

Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/rejectsr/public_html/forum/Sources/ModSettings.php:426) in /home/rejectsr/public_html/forum/Sources/ModSettings.php on line 527

can someone look at my sources.modsettings.php file for me please?
Title: Re: Ultimate Profile
Post by: heinandar on March 13, 2009, 03:17:14 PM
Hay chrishicks

check my attach.
Title: Re: Ultimate Profile
Post by: chrishicks on March 13, 2009, 03:24:41 PM
That worked!! Thank you!!! Now the only thing I need to fix is that I can't add people as buddies even though I have that feature turned on.

EDIT: it seems the only thing not working is the buddy list part. There is no "add this person" link anymore. I'm guessing I have another bad edit somewhere but have no idea where to look.
Title: Re: Ultimate Profile
Post by: heinandar on March 13, 2009, 03:45:26 PM
That worked!! Thank you!!! Now the only thing I need to fix is that I can't add people as buddies even though I have that feature turned on.

EDIT: it seems the only thing not working is the buddy list part. There is no "add this person" link anymore. I'm guessing I have another bad edit somewhere but have no idea where to look.

Attach ur UltimateProfile.template.php
Title: Re: Ultimate Profile
Post by: chrishicks on March 13, 2009, 03:59:27 PM
Thank you for the help. Here you go...
Title: Re: Ultimate Profile
Post by: heinandar on March 13, 2009, 04:43:46 PM
Thank you for the help. Here you go...

Your ultimate profile is work fine. I don't know why didn't work in your forum. Your signature is ur fourm Right?
Title: Re: Ultimate Profile
Post by: chrishicks on March 13, 2009, 04:50:02 PM
Yep. I see you just joined.
Title: Re: Ultimate Profile
Post by: chrishicks on March 13, 2009, 04:51:43 PM
OK, weird. I see the add to buddy list for your account.

EDIT: I just looked and I see if the person was in my buddies list before it doesn't currently show. Everyone i never added shows. It also says I haven't added anyone even though I had 6 people added.

EDIT 2: I see I have to remove all buddies and start over. Once I delete them from my Buddies Section the Add link reappears.
Title: Re: Ultimate Profile
Post by: heinandar on March 13, 2009, 05:00:37 PM
OK, weird. I see the add to buddy list for your account.

EDIT: I just looked and I see if the person was in my buddies list before it doesn't currently show. Everyone i never added shows. It also says I haven't added anyone even though I had 6 people added.

You need the 6 people's approvement of your buddy request. They need to click Approve .
Title: Re: Ultimate Profile
Post by: JovanT on March 13, 2009, 05:57:25 PM
@chrishicks
Take a look at the FAQ (http://jovant.guruserve.com/test-forum/index.php?topic=13.0). If you are upgrading from UP < 0.8, you will have to run Buddies Migration Tool.



And, for all of you waiting for the RC1 version, one small announcement: I will certainly port UP to SMF 2.0. I just need time to get used to all the changes and new database system.

As I wrote earlier, adding Ultimate Profile to mod site was my priority. Now, when that's finally over, I can move to the next task :). I can't promise you the exact release date but you should expect it during the next month.
Title: Re: Ultimate Profile
Post by: haito on March 13, 2009, 06:48:26 PM
Code: [Select]
1. Execute Modification ./Sources/Profile.php Test successful
2. Execute Modification ./Themes/default/Profile.template.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
5. Execute Modification ./Themes/default/languages/Modifications.serbian-utf8.php Skipping file
6. Execute Modification ./index.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Sources/Subs-Members.php Test successful
9. Extract Tree ./Sources
10. Extract Tree ./Themes
11. Extract Tree ./profile_pictures
12. Execute Code database.php
i got error at modsettings.php
what should i do?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 14, 2009, 02:06:12 AM
Here is a preview.

http://monsters-mansion.com/index.php?action=profile;u=1


How did you get it to show all of your buddies....right now I am only able to view 6?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 14, 2009, 02:07:10 AM
oh yes and is there a way to show an area of 'Latest Activity' for that particular user such as you find on facebook ?

Title: Re: Ultimate Profile
Post by: chrishicks on March 14, 2009, 03:27:32 AM
I just found this at the support board linked above:

Quote
Open Sources/Profile.php. Find:

Code: [Select]
$request = db_query ('SELECT BUDDY_ID FROM ' . $db_prefix . 'buddies
            WHERE ID_MEMBER = ' . $context['member']['id'] . ' AND approved = 1
            ORDER BY position ASC, time_updated DESC
            LIMIT 0, 6', __FILE__, __LINE__);

and replace the number 6 with the any value you want.

Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 14, 2009, 03:36:46 AM
Thank you :)

any idea how to move the most recent visitors over to the right side under 'My Media' area?
Title: Re: Ultimate Profile
Post by: n-joy on March 14, 2009, 04:17:21 AM
Nice^^
I can't wait to have it on RC1 ^^
But...how can you install myspace skins on it? Thanks.
And will be there new fuctions in the upgrade for RC1?
Title: Re: Ultimate Profile
Post by: DareDevil1990 on March 14, 2009, 08:48:09 AM
how do i delete the photos i had uploaded earlier?
Title: Re: Ultimate Profile
Post by: Chriss Cohn on March 14, 2009, 08:58:39 AM
A absolutely Awesome MOD!!!

I have a few Suggestions if you don't mind.

1. "Disable Picture-View" for Guests as a option. We have our Profile open for Guests, but we don#t want that guest can see our private Picture we add.

2. Pictures should be available to see in full size somehow.
So you can make for example 2 options to solve this.
- One is the current "maximum picture width" which is the maximum width displayed in the Profile-Picture View. You could achieve this be resizing the picture with simply html tags.
- Then you add a second like "maximum fullscreen picture width" which is the new option the image will be resized via GD.

Now when you are in the Profile-Picture View you see normal thumbnails, then you click on it and you see the picture in the size you set at "maximum picture width".
Now, the new option when you click on that Picture, it opens it in fullscreen, in size of "maximum fullscreen picture width"

3. Add the possibility to form social Groups like in VbulletinThanks again, its a awesome mod.
Title: Re: Ultimate Profile
Post by: Chriss Cohn on March 14, 2009, 09:01:01 AM
any idea how to move the most recent visitors over to the right side under 'My Media' area?
Wow, where can i find that option?
Title: Re: Ultimate Profile
Post by: JovanT on March 14, 2009, 09:32:38 AM
You should install Profile Visitors (http://custom.simplemachines.org/mods/index.php?mod=1150). Last time I checked, it had built-in support for Ultimate Profile.
Title: Re: Ultimate Profile
Post by: Chriss Cohn on March 14, 2009, 10:27:13 AM
any idea how to move the most recent visitors over to the right side under 'My Media' area?

Pretty simple is 5 mins work, just did it.

I assume you have the latest of both mods installed (4.0 for 1.18) and they are working.

Open your "UltimateProfile.template.php" from your themes/default folder.

Seach for this whole block:
Code: [Select]
// Let's see who viewed my profile.
if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}
and DELETE it.

Scroll down until the END of this block:
Code: [Select]
if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />

<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';

And ADD this:
Code: [Select]
// Let's see who viewed my profile.
if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

Its basically the same code you delete earleir, but i just added a "br" to it...
Works fabulous.
Title: Re: Ultimate Profile
Post by: heinandar on March 14, 2009, 10:42:06 AM
Now , Ultimate Profile is version 0.9
What is the change log 0.85 to 0.9

how can i update 0.85 to 0.9 manually (I don't wanna uninstall 0.85)
Title: Re: Ultimate Profile
Post by: JovanT on March 14, 2009, 12:09:43 PM
There are no new features. Compared to 0.8.5, UP 0.9 brought a few bug fixes (size of avatars), better language support (if you use two or more languages simultaneously) and new and improved HTML filter to prevent XSS attacks.
Title: Re: Ultimate Profile
Post by: Sudhakar Arjunan on March 14, 2009, 12:42:36 PM


And, for all of you waiting for the RC1 version, one small announcement: I will certainly port UP to SMF 2.0. I just need time to get used to all the changes and new database system.

As I wrote earlier, adding Ultimate Profile to mod site was my priority. Now, when that's finally over, I can move to the next task :). I can't promise you the exact release date but you should expect it during the next month.

This is an excellent mod which i have used on my 1.1.5.

As you said, we all will be waiting for 2.0. supported version of Ultimate Profile.

Thank you JovanT.
Title: Re: Ultimate Profile
Post by: Mr_Lon on March 14, 2009, 08:16:44 PM
Hi JovanT
 I see that you have a version 0.9 up in the Mod site. I take it that it is still not ready for RC1? Or can it be manually installed in RC1?

I'm waiting patiently for this Cool Mod for my site.

Lon
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 14, 2009, 09:42:57 PM
any idea how to move the most recent visitors over to the right side under 'My Media' area?

Pretty simple is 5 mins work, just did it.

I assume you have the latest of both mods installed (4.0 for 1.18) and they are working.

Open your "UltimateProfile.template.php" from your themes/default folder.

Seach for this whole block:
Code: [Select]
// Let's see who viewed my profile.
if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}
and DELETE it.

Scroll down until the END of this block:
Code: [Select]
if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />

<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';

And ADD this:
Code: [Select]
// Let's see who viewed my profile.
if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

Its basically the same code you delete earleir, but i just added a "br" to it...
Works fabulous.

Thank you this actually moved it under both colums just above my edit/comments area so its spread across the entire bottom of the page.....is there a way to do it just under the Media
side as well?
Title: Re: Ultimate Profile
Post by: TheMaker on March 15, 2009, 05:36:00 AM
Great Mod!!
but there aren't a version for smf 2.0 RC1?   :(
Title: Re: Ultimate Profile
Post by: Chriss Cohn on March 15, 2009, 07:38:04 AM
Thank you this actually moved it under both colums just above my edit/comments area so its spread across the entire bottom of the page.....is there a way to do it just under the Media side as well?
I have attached my file so you can see how it looks there - line 512 is where it starts.

Title: Re: Ultimate Profile
Post by: chrishicks on March 15, 2009, 03:21:29 PM
Question... Is there a way to get opacity working correctly in the profiles for IE? I tossed up a quick layout code which i found posted here in another topic and it looks fine in Firefox but absolutely horrid in IE. In IE there are large chunks of the page that doesn't even show and that's only part of the problem. I had no idea it was like this until someone pointed it out to me since I never use IE. Here is my profile page:

http://rejectsreststop.com/forum/index.php?action=profile;u=1;sa=summary (Warning.. slightly mature background??)

Can someone give me an idea how to fix the look in IE? If possible take a look at how it displays in Firefox as in comparison. Thanks.
Title: Re: Ultimate Profile
Post by: Antechinus on March 15, 2009, 05:04:08 PM
Thank you this actually moved it under both colums just above my edit/comments area so its spread across the entire bottom of the page.....is there a way to do it just under the Media
side as well?
The dreaded colspans strike again.  :P

Code: [Select]
<table border="0" cellspacing="0" cellpadding="2" width="100%">
                  <tr>
                     <td colspan="2">
                        <table width="100%">';

You want it set to colspan="1". This will restrict it to spanning one column. Rowspans and colspans can drive you nuts if you aren't aware of them.
Title: Re: Ultimate Profile
Post by: Antechinus on March 15, 2009, 05:13:16 PM
Question... Is there a way to get opacity working correctly in the profiles for IE? I tossed up a quick layout code which i found posted here in another topic and it looks fine in Firefox but absolutely horrid in IE. In IE there are large chunks of the page that doesn't even show and that's only part of the problem. I had no idea it was like this until someone pointed it out to me since I never use IE. Here is my profile page:

http://rejectsreststop.com/forum/index.php?action=profile;u=1;sa=summary (Warning.. slightly mature background??)

Can someone give me an idea how to fix the look in IE? If possible take a look at how it displays in Firefox as in comparison. Thanks.
Yes and no. You can apply various fixes to render png opacity in IE6 but they're rather nasty and can have adverse effects elsewhere. Easiest solution is to not use png opacity in your layout. Next best solution is to use customised css to call gifs instead of png's if the browser is IE6.

ETA: Just checked and you want to use css opacity. That isn't supported by IE either. Doncha just love Microsoft?

To get css opacity in IE (6 or 7) you need to apply proprietary Microsoft filters, and you need to apply a different one for IE6 and IE7, and they aren't W3 valid code. Read this. (http://www.robertnyman.com/2008/09/16/you-want-css-opacity-to-go-with-that-well-suit-yourself/) 

Really if you want that particular layout the best option would be to call a separate stylesheet to handle IE, and leave the standard stylesheet to handle the real browsers. You can hide the IE stylesheet by using IE-specific conditional comments in the <head> section of your index.template.php. If you do it this way your code will appear to be valid.
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 16, 2009, 02:27:29 AM
Thank you this actually moved it under both colums just above my edit/comments area so its spread across the entire bottom of the page.....is there a way to do it just under the Media
side as well?
The dreaded colspans strike again.  :P

Code: [Select]
<table border="0" cellspacing="0" cellpadding="2" width="100%">
                  <tr>
                     <td colspan="2">
                        <table width="100%">';

You want it set to colspan="1". This will restrict it to spanning one column. Rowspans and colspans can drive you nuts if you aren't aware of them.


I changed it to 1 and it still shows in the same location?
Title: Re: Ultimate Profile
Post by: Antechinus on March 16, 2009, 02:43:20 AM
Should look at the code before giving advice then, shouldn't I? :P

Got a link to that other mod then? I'll throw it on my local since I'm messing with templates anyway.

ETA: NVM. Got it from the previous page.
Title: Re: Ultimate Profile
Post by: Antechinus on March 16, 2009, 03:06:36 AM
Well ya learn something every day. Ok, do it like this:

Find and delete:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

Find:

Code: [Select]
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';

Add after:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<br/>
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

This is the same as the block you deleted except there is a line break added just after the first echo.
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 16, 2009, 03:53:43 AM
There are no new features. Compared to 0.8.5, UP 0.9 brought a few bug fixes (size of avatars), better language support (if you use two or more languages simultaneously) and new and improved HTML filter to prevent XSS attacks.

So in 0.8.5 there should be the option for members to make their own albums to organize their photos in? If so how do I enable this because all I see is General and no way to create an album?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 16, 2009, 04:13:47 AM
Well ya learn something every day. Ok, do it like this:

Find and delete:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

Find:

Code: [Select]
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';

Add after:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<br/>
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

This is the same as the block you deleted except there is a line break added just after the first echo.

Wonderful worked perfectly :) Thanks you as always ;)
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 16, 2009, 04:35:59 AM
There are no new features. Compared to 0.8.5, UP 0.9 brought a few bug fixes (size of avatars), better language support (if you use two or more languages simultaneously) and new and improved HTML filter to prevent XSS attacks.

So in 0.8.5 there should be the option for members to make their own albums to organize their photos in? If so how do I enable this because all I see is General and no way to create an album?

Ok sorry total brain fart moment, I see the image with the plus sign on it...I would imagine I can replace that image with an image that shows text to 'Add Albums' so my members know they can create their own images?


And also how can I list the member created albums horizontally vs. vertically?
Title: Re: Ultimate Profile
Post by: Antechinus on March 16, 2009, 05:50:51 AM
ProfilePictures.template.php

Find:
Code: [Select]
<table border="0" cellpadding="4" cellspacing="1" width="100%" id="albums">';
foreach ($context['albums'] as $album) {
echo '
<tr>
<td width="5%"><img src="', $settings['images_url'] ,'/board.gif" alt="" /></td>
<td><a href="', $album['url'] ,'">', $album['title'] ,'</a><br /><div class="smalltext">', $txt['profile_albums_pic_count'] ,': ', $album['pictures_count'] ,'</div></td>
</tr>';
}

echo ' </table>


Replace with:
Code: [Select]
<table border="0" cellpadding="4" cellspacing="1" width="100%" id="albums"><tr>';
foreach ($context['albums'] as $album) {
echo '
<td width="5%"><img src="', $settings['images_url'] ,'/board.gif" alt="" /></td>
<td><a href="', $album['url'] ,'">', $album['title'] ,'</a><br /><div class="smalltext">', $txt['profile_albums_pic_count'] ,': ', $album['pictures_count'] ,'</div></td>';
}

echo ' </tr></table>
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 16, 2009, 06:40:41 AM
Still not working....

sending pm w/ log in details so you can see from my end because i dont think guests can view memberlist.
Sorry wrong topic...can you tell I need to sleep? :)



This edit works perfectly to get them  side by side YOUR AWESOME :)  Thanks again.
Title: Re: Ultimate Profile
Post by: Antechinus on March 16, 2009, 08:04:19 AM
I'm getting some cool ideas out of this for hacking templates on my site.
Me gots teh styley planz. :D
Title: Re: Ultimate Profile
Post by: silber112 on March 16, 2009, 12:45:09 PM
I instaled it, and it looks incredible...

But, I have a very noob questión.. I have introduced my dreamweaver codes it the box:
Quote
Customization:
Here you can add some HTML and CSS to customize look & feel of your profile.

But nothing happens...

An example of my code that dont work:
Quote
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
body {
   background-image: url(http://www.simplemachines.org/community/Smileys/simple/cheesy.gif);
}
-->
</style></head>

<body>
</body>
</html>

I know that i am doing something bad but i dont know many about programation, where can i find the codes to put in to the box?
Title: Re: Ultimate Profile
Post by: TheMaker on March 16, 2009, 04:10:45 PM
Great Mod!!
but there aren't a version for smf 2.0 RC1?   :(
Title: Re: Ultimate Profile
Post by: itsallamile on March 16, 2009, 04:16:41 PM
We've installed the mod to our board.  As far as we can tell all the files are in the right spot.  We can see where the new options and features should be, but there's just a blank space and the profiles are still boring.   :-[

Any clue as to what we could be doing wrong?

Thanks!!

http://www.itsallamile.com/board
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 16, 2009, 05:55:08 PM
Anyone know of a way [besides to add the link] to display the titles of the 2-3 most recent blogs from each member in their ultimate profile area when using the Blog Community (for 1.1.x) mod?
Title: Re: Ultimate Profile
Post by: anakmacan on March 16, 2009, 08:51:30 PM
Fatal error: Cannot redeclare template_customized() (previously declared in /home/pustak01/public_html/weight-loss-forum/Sources/Load.php(1731) : eval()'d code:1675) in /home/pustak01/public_html/weight-loss-forum/Sources/Load.php(1731) : eval()'d code on line 1936

http://highwaytothin.com/weight-loss-forum/profile/

I use custom profile mod, could this be the problem ? :-/ ?
Title: Re: Ultimate Profile
Post by: itsallamile on March 16, 2009, 09:02:23 PM
We finally have it set up so the admins can see and edit the ultimate profile but it still doesn't show up in our adminstrative panel so we can't allow other members to use it.
How do we fix it so everyone can use the Ultimate Profile? 

Thanks
Title: Re: Ultimate Profile
Post by: anakmacan on March 16, 2009, 09:53:30 PM
Nevermind, i fixed it up. Turns out that my profiletemplate.php was double coded.
Title: Re: Ultimate Profile
Post by: Dzonny on March 17, 2009, 09:43:24 AM
Great mod, i'm glad it's finally on mod site... :)
cheers. :)
Title: Re: Ultimate Profile
Post by: silber112 on March 17, 2009, 11:47:04 AM
Quote
¡Un error ha ocurrido!
No se pudo cargar la plantilla 'customized'.

I am using smf 1.1.4 with the theme dilber, on my test forum the mod worked...

Can some one help me? The error apears when a user clicks on Ultimate Profile to edit his profile...
Title: Re: Ultimate Profile
Post by: chrishicks on March 17, 2009, 04:15:57 PM
Strange thing with people posting playlist.com playlists in profiles. They work for some but not for others. I have checked this out for them first hand and I can confirm that they will work if I post them in say a topic in the forum wrapped in html tags but as soon as I post them in the profiles they show up blank. Any ideas on this? And no, I don't wrap the playlists in tags when posting them in the profiles in case someone was wondering.
Title: Re: Ultimate Profile
Post by: JovanT on March 17, 2009, 04:26:37 PM
@silber112
Try to add just the code between (and including) <style type="text/css"> and </style>.

Also, it seems that UP wasn't installed properly on your forum since you are experiencing that error. Have you installed it manually?


@itsallamile
As far as I can see, you are using the UTF-8 version of english translation. So, you should rename UltimateProfile.english.php to UltimateProfile.english-utf8.php and copy the contents of Modifications.english.php to Modifications.english-utf8.php.


@chrishicks
It seems there is a conflict with the HTML filter. Can you send me the code you try to use?
Title: Re: Ultimate Profile
Post by: silber112 on March 17, 2009, 04:34:43 PM
@silber112
Try to add just the code between (and including) <style type="text/css"> and </style>.

Also, it seems that UP wasn't installed properly on your forum since you are experiencing that error. Have you installed it manually?


@itsallamile
As far as I can see, you are using the UTF-8 version of english translation. So, you should rename UltimateProfile.english.php to UltimateProfile.english-utf8.php and copy the contents of Modifications.english.php to Modifications.english-utf8.php.


@chrishicks
It seems there is a conflict with the HTML filter. Can you send me the code you try to use?

On my test forum 1.1.4 using dilber it works perfectly, but on my oficial forum(1.1.4 using dilber too) when you click on Ultimate profile to edit the introduce the iteres, enable the ultimate profile, etc it says the error:

Quote
¡Un error ha ocurrido!
No se pudo cargar la plantilla 'customized'.

I instaled it by the admin panel withaut errors, what can i do? My forum haves over 7000 users, this will make it much more funy...

Sorry for my worse english...
Title: Re: Ultimate Profile
Post by: chrishicks on March 17, 2009, 04:51:21 PM

@chrishicks
It seems there is a conflict with the HTML filter. Can you send me the code you try to use?

Thanks for the reply. I got it working by sending one member to get another code which seems almost hidden for some people. However, this is one of the codes I was trying for her in case you still want to look at it:

Code: [Select]
<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"> <object width="435" height="270"> <param name="movie" value="http://www.profileplaylist.net/mc/mp3player_new.swf"></param> <param name="allowscriptaccess" value="never"></param> <param name="wmode" value="transparent"></param> <param name="flashvars" value="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black_shuffle.xml&amp;mywidth=435&amp;myheight=270&amp;playlist_url=http%3A%2F%2Fwww.indimusic.us%2Floadplaylist.php%3Fplaylist%3D45108800%26t%3D1237322199&amp;wid=os"></param> <embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf" flashvars="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black_shuffle.xml&amp;mywidth=435&amp;myheight=270&amp;playlist_url=http://www.indimusic.us/loadplaylist.php?playlist=45108800&t=1237322199&amp;wid=os" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" border="0"/> </object> <br/> <a href="http://www.profileplaylist.net"><img src="http://www.profileplaylist.net/mc/images/create_black.jpg" border="0" alt="Get a playlist!"/></a> <a href="http://www.mysocialgroup.com/standalone/45108800" target="_blank"><img src="http://www.profileplaylist.net/mc/images/launch_black.jpg" border="0" alt="Standalone player"/></a> <a href="http://www.mysocialgroup.com/download/45108800"><img src="http://www.profileplaylist.net/mc/images/get_black.jpg" border="0" alt="Get Ringtones"/></a> </div>

A bit of extra info: I used my own playlist to test this on her account and it wouldn't work either. Then after I posted mine in hers mine stopped working also. I tried the standard codes they give for myspace, facebook and the standard "other network or personal website" and none of them worked. When I went to project playlist in my account and started looking around I noticed an additional link that said "click here to try another code" which I did and that code worked. I will just make a topic about which codes to use on my forum and help those who are having trouble at the moment. I don't mind as that is what a good admin. should do. :)


EDIT: Here is the code that worked in case you want to comapre:

Code: [Select]
<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"> <object width="435" height="270" data="http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black_noautostart.xml&amp;mywidth=435&amp;myheight=270&amp;playlist_url=http%3A%2F%2Fwww.indimusic.us%2Floadplaylist.php%3Fplaylist%3D45108800%26t%3D1237323370&amp;wid=os"> <param name="bgcolor" value="#e8e8e8"/> <param name="movie" value="http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black_noautostart.xml&amp;mywidth=435&amp;myheight=270&amp;playlist_url=http%3A%2F%2Fwww.indimusic.us%2Floadplaylist.php%3Fplaylist%3D45108800%26t%3D1237323370&amp;wid=os"/> </object> <br/> <a href="http://www.profileplaylist.net"><img src="http://www.profileplaylist.net/mc/images/create_black.jpg" border="0" alt="Get a playlist!"/></a> <a href="http://www.mysocialgroup.com/standalone/45108800" target="_blank"><img src="http://www.profileplaylist.net/mc/images/launch_black.jpg" border="0" alt="Standalone player"/></a> <a href="http://www.mysocialgroup.com/download/45108800"><img src="http://www.profileplaylist.net/mc/images/get_black.jpg" border="0" alt="Get Ringtones!"/></a> </div>
Title: Re: Ultimate Profile
Post by: Lotti on March 17, 2009, 08:05:52 PM
Mmm... Why i have the friends enabled and running (i can add a friend and delete from friends settings) the friend list on profile it's always "empty"?
Title: Re: Ultimate Profile
Post by: forummaker on March 18, 2009, 10:35:26 AM
If anyone is using googlemap mod with the ultimate profile mod, and your having problems seeing the google map in the profile. Here's the link to what I did to show the google map in the profile.
http://www.simplemachines.org/community/index.php?topic=210708.msg1967128#msg1967128
Hope this helps.
Title: Re: Ultimate Profile
Post by: itsallamile on March 18, 2009, 11:59:28 AM

@itsallamile
As far as I can see, you are using the UTF-8 version of english translation. So, you should rename UltimateProfile.english.php to UltimateProfile.english-utf8.php and copy the contents of Modifications.english.php to Modifications.english-utf8.php.



Thanks for the help....we tried that but we still have blank spaces where the admin options should be.   ???

Here's the top bar of the features and options screen
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi6.photobucket.com%2Falbums%2Fy242%2Fjusplaincrazz%2Fbasicfeatures.jpg&hash=1104e9017134b2d087586a3fdecfbb46)

The blank space within the feature and options links
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi6.photobucket.com%2Falbums%2Fy242%2Fjusplaincrazz%2Ffeatures.jpg&hash=de3763526d71849fb909c4cde130a2ad)

Member permissions
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi6.photobucket.com%2Falbums%2Fy242%2Fjusplaincrazz%2Fpermissions.jpg&hash=190048d61662e43f4a60922965f3a504)


Title: Re: Ultimate Profile
Post by: Yağız... on March 18, 2009, 01:33:54 PM
Some good news: Ultimate Profile for SMF 2.0 RC1 will be released soon ;)
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 18, 2009, 01:37:02 PM
WOOOHOOOOO! You mean soon as in.......TODAY?!!!  :D
Title: Re: Ultimate Profile
Post by: Yağız... on March 18, 2009, 01:37:32 PM
Nope... Just soon :)
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 18, 2009, 01:44:50 PM
Coool, thank you very much, this is the only mod holding me back from upgrading to RC1. Cant' wait.
Title: Re: Ultimate Profile
Post by: Nibogo on March 18, 2009, 03:14:32 PM
Jovan I can help you with the SMF 2.0 version if you want , I love your work and if you don't have time I can help you with the code.
Title: Re: Ultimate Profile
Post by: Yağız... on March 18, 2009, 03:21:03 PM
Jovan I can help you with the SMF 2.0 version if you want , I love your work and if you don't have time I can help you with the code.
It's already done :)
Title: Re: Ultimate Profile
Post by: Nibogo on March 18, 2009, 04:01:23 PM
Jovan I can help you with the SMF 2.0 version if you want , I love your work and if you don't have time I can help you with the code.
It's already done :)

Glad to hear that :) , I just have to wait the release
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 18, 2009, 04:59:57 PM
Anyone know of a way [besides to add the link] to display the titles of the 2-3 most recent blogs from each member in their ultimate profile area when using the Blog Community (for 1.1.x) mod?

bump....but instead of blog community i am now using zcommunity

Title: Re: Ultimate Profile
Post by: silber112 on March 18, 2009, 05:12:22 PM
problem solved  :D :D :D


But another questión, in custom themes the codes doesent work good what can i do?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 18, 2009, 05:12:50 PM
How can i force all buddy avatars to show the same size?

added edit:
How can I change the image in the box...it shows as the IM reply button but I dont want to change that button to ready 'add album' so which template do i need to edit to show a new image i made for it or to add text to reflect adding an album?
Title: Re: Ultimate Profile
Post by: TheMaker on March 19, 2009, 09:41:10 AM
Jovan I can help you with the SMF 2.0 version if you want , I love your work and if you don't have time I can help you with the code.
It's already done :)

Glad to hear that :) , I just have to wait the release
Great!! *_*
Title: Re: Ultimate Profile
Post by: lovearat on March 19, 2009, 02:46:50 PM
I'm running 1.1.8 default. I just installed this mod. But got this error:
 
Unknown column 'com.time' in 'field list'
File: /home/lovearat/public_html/Sources/Profile.php
Line: 1348

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
 
How do I fix this?
Title: Re: Ultimate Profile
Post by: Yağız... on March 19, 2009, 03:11:18 PM
Read the FAQ please:
http://jovant.guruserve.com/test-forum/index.php?topic=13.msg41#msg41
Title: Re: Ultimate Profile
Post by: lovearat on March 19, 2009, 05:09:18 PM
Thank you That fixed it.  :)
Title: Re: Ultimate Profile
Post by: InternetMafia on March 22, 2009, 12:44:54 PM
Jovan I can help you with the SMF 2.0 version if you want , I love your work and if you don't have time I can help you with the code.
It's already done :)

How long until we can expect the 2.0 release?

I am debating about moving to SMF from PHPBB and am mulling installing 1.1.8 or the RC of 2.0

Thanks
Title: Re: Ultimate Profile
Post by: Afro on March 22, 2009, 01:17:35 PM
Great mod. Now i can throw my plans to create a social network  into dustbin.
Title: Re: Ultimate Profile
Post by: Yağız... on March 22, 2009, 01:19:26 PM
Jovan I can help you with the SMF 2.0 version if you want , I love your work and if you don't have time I can help you with the code.
It's already done :)

How long until we can expect the 2.0 release?

I am debating about moving to SMF from PHPBB and am mulling installing 1.1.8 or the RC of 2.0

Thanks
I sent the package to Jovan. We should wait him until he upload the package to the Mod Site.
Title: Re: Ultimate Profile
Post by: tyty1234 on March 22, 2009, 02:08:35 PM
Terrific! This will be great!
Title: Re: Ultimate Profile
Post by: Chair on March 22, 2009, 03:47:44 PM
I installed this package via my admin center. I am running SMF 1.1.8

The ultimate profile v0.9 package is installed, but it doesn't appear in my Features and Options. I want to enable it but it is not yet enabled. Can someone help me with this?
Title: Re: Ultimate Profile
Post by: Afro on March 22, 2009, 05:58:11 PM
check your default language.


admin cpanel >> server settings >> default profil.


set it english
Title: Re: Ultimate Profile
Post by: Afro on March 22, 2009, 06:22:37 PM
My questions is ,

Does every member have to style his/her own profile by themselves?

Or is there anything teh admin can do to make them just select styles instead of having to do the coding?
Title: Re: Ultimate Profile
Post by: trekkie2444 on March 23, 2009, 06:26:32 AM
hmm... I uninstalled 0.7 and installed this version. Now I can't access my Features and Options section in the Admin Panel. I get the following message:

Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/rejectsr/public_html/forum/Sources/ModSettings.php:426) in /home/rejectsr/public_html/forum/Sources/ModSettings.php on line 527

can someone look at my sources.modsettings.php file for me please?

I'm having this same problem, should I attach my modsettings.php?
Title: Re: Ultimate Profile
Post by: Afro on March 23, 2009, 08:33:12 AM
you can attach the file....
Title: Re: Ultimate Profile
Post by: hellboy78 on March 23, 2009, 03:06:57 PM
My questions is ,

Does every member have to style his/her own profile by themselves?

Or is there anything teh admin can do to make them just select styles instead of having to do the coding?


my members cannot see their "Ultimate Profile"
how to solve that?
I cannot activate them one by one
Title: Re: Ultimate Profile
Post by: Afro on March 23, 2009, 03:36:19 PM
My questions is ,

Does every member have to style his/her own profile by themselves?

Or is there anything teh admin can do to make them just select styles instead of having to do the coding?


my members cannot see their "Ultimate Profile"
how to solve that?
I cannot activate them one by one

try admin cpanel >> permissions >> ultimate profile.....check d box n save
Title: Re: Ultimate Profile
Post by: hellboy78 on March 23, 2009, 06:16:17 PM
could you please show me where is  d box to check and save?

ty
Title: Re: Ultimate Profile
Post by: hellboy78 on March 23, 2009, 07:00:08 PM
I istalled ultimate profile,
admin cpanel>>permissions>>> and this is the permissions list of a membergroup.

what I have to do ??
Title: Re: Ultimate Profile
Post by: hellboy78 on March 23, 2009, 07:13:39 PM
I have same problem of itsallamile

and I made the modification that you the creator as done

@itsallamile
As far as I can see, you are using the UTF-8 version of english translation. So, you should rename UltimateProfile.english.php to UltimateProfile.english-utf8.php and copy the contents of Modifications.english.php to Modifications.english-utf8.php

No results.  stil blank!!!
Title: Re: Ultimate Profile
Post by: trekkie2444 on March 24, 2009, 12:54:09 AM
Here it is.
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 03:33:55 AM
could you please tell me where I should upload this php?

ty
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 11:36:39 AM
it doesn't works
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 11:44:51 AM
there is any way to understand how this mod should works?
from where the admin can set "ultimate profile rules" for all members?
from where can I activate UltimateProfile?

there is any way to skip the problem I'm having? (showed above)
Title: Re: Ultimate Profile
Post by: Yağız... on March 24, 2009, 11:45:41 AM
http://jovant.guruserve.com/test-forum/index.php?topic=13.msg40#msg40
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 11:50:18 AM
nothing my friend

I still have this error described above,  so no Tab "UltimateProfile" to activate
Title: Re: Ultimate Profile
Post by: Yağız... on March 24, 2009, 11:51:27 AM
What's your language?
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 11:52:56 AM
just english
Title: Re: Ultimate Profile
Post by: Yağız... on March 24, 2009, 12:03:49 PM
Try to do changes in Modifications.english.php:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1675;attach=88604;smf_version=1.1.8
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 12:11:15 PM
that change is already done into modificationenglish

I have done just to check it, and no results

Title: Re: Ultimate Profile
Post by: Yağız... on March 24, 2009, 12:12:15 PM
Attach your ../Sources/ModSettings.php file please.
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 12:14:53 PM
here is
Title: Re: Ultimate Profile
Post by: Yağız... on March 24, 2009, 12:15:17 PM
Ok, there is no error... Send me your site adress with an admin user and password.
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 12:15:55 PM
it's an adult website
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 12:17:21 PM
you can just explain.
I shall check the box also if doesn;t show a description?

got 17.000 members, feel strange to give admin pass
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 12:18:21 PM
or tell me which permission do you need and I can set a globalmoderator profile for you
Title: Re: Ultimate Profile
Post by: Yağız... on March 24, 2009, 12:48:17 PM
I need the permission to 'Administrate forum and database'


Edit:

Modify your ../Themes/blacktothefuture/languages/Modifications.english.php file.
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 12:53:44 PM
done

and it works.

but
where I can set Ultimate Profile rules?
I mean, only buddies can see pics etc,  or this can be done only by each user?
Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 01:02:43 PM
as admin I can set these rules for everyone,
or only members can set their rules by themselve?

Title: Re: Ultimate Profile
Post by: hellboy78 on March 24, 2009, 01:03:24 PM
many thanks for your help till now

many thanks
Title: Re: Ultimate Profile
Post by: trekkie2444 on March 24, 2009, 10:05:52 PM
Anyone have an answer for my question?
Title: Re: Ultimate Profile
Post by: Xlife92 on March 25, 2009, 02:04:03 AM
I love this mod.
Title: Re: Ultimate Profile
Post by: mirahalo on March 25, 2009, 12:08:41 PM
Some good news: Ultimate Profile for SMF 2.0 RC1 will be released soon ;)


Cant wait   :o  :o  :o  O:)
Title: Re: Ultimate Profile
Post by: b0dyr0ck2006 on March 25, 2009, 12:55:16 PM
After installing this wonderful mod I seem to be having issues with the images.

I have checked the URL settings and they are all fine, I have also chmod 777 the folder profile_pictures.

All I get is the usual placemark for incorrect image link.

I'm running 1.1.8 with the Dilber theme.
Title: Re: Ultimate Profile
Post by: Celdric on March 26, 2009, 04:16:40 AM
Hi. :) I just installed Ultimate Profile. Looks great so far, just the media box isn't shown. I need to enable mediabox use in my admin center and also ultimate profile editing by members. Right? Or is there something else I need to enable?
Title: Re: Ultimate Profile
Post by: Yağız... on March 26, 2009, 07:23:14 AM
Hi. :) I just installed Ultimate Profile. Looks great so far, just the media box isn't shown. I need to enable mediabox use in my admin center and also ultimate profile editing by members. Right? Or is there something else I need to enable?
Go to ACP > Featured and Options > Ultimate Profile and enable Allow media box option.
Title: Re: Ultimate Profile
Post by: Celdric on March 26, 2009, 10:19:33 AM
Hi. :) Thanks for your response. As I mentioned in my post before the mediabox use is enabled. Nonetheless it's not showing.

Update: I just found the reason why it's not shown. Seems the mediabox isn't displayed as long as there is no content in it.
Title: Re: Ultimate Profile
Post by: Celdric on March 26, 2009, 11:12:14 AM
The mediabox works fine now. I think thats a very usefull mod. :)

Perhaps a suggestion that may help webmasters which are using forums wrapped in portal sites like me.

On the profile page itself you placed the standard profile info boxes below the profile.
While on the edit profile page these boxes are still placed on the right side. I wonder, if you could place them also below the editing area?

Please take a look at the attached screenshot. Actually the page has 3 columns. The Portal column, the profile informations and the ultimate profile editor. That takes too much space and therefore breaks the site template.

I think this problem could be solved, if the profile informations were placed below
the editing area. Well, as I mentioned. Just a suggestion. :)


Title: Re: Ultimate Profile
Post by: Mr_Lon on March 26, 2009, 12:10:18 PM
I'm using SMF 2.0 RC1 and have been waiting patently for the RC1 version.
But I just had to play with it, so I installed SMF 1.1.8 also and installed Ultimate Profile.
I have been playing with "Customization:" so when the RC1 version comes out I'll be ready. I'm having fun with it and now I can't wait! But I will patently because by reading the posts it's close to done.

Thanks in advance for your work.
Lon
Title: Re: Ultimate Profile
Post by: Eir Loe.307 on March 26, 2009, 09:13:34 PM
When I tried to install this mod I got a "Failed" message after modsettings.php. Any help?
Title: Re: Ultimate Profile
Post by: JeepneyDriver on March 28, 2009, 02:10:10 AM
I am running 1.1.8, PV 4.0 and the latest Ultimate Profile. Everything is as it should be with the exception of the Total Visitor count and the Buddy List avatar size.

In the default profile PV shows the total visitor count but when the UP is enabled the count is missing.

Buddy list avatars are displayed at the same size as they are elsewhere in the forums.

Shouldn't they be displayed in the Buddy List at the same size as avatars are displayed in the Profile Visitor box?

Can someone point me in the right direction to correct these anomalies?

TIA...

Nice mod by the way. :)

Edit...

One more thing that I forgot to ask about - In the My Pictures thumbnail view, it only shows 6 thumbs and they change position with each new view. Sometimes the first one shown in the thumbnail view is not the first one in the list when viewed full size. A person could start viewing in the middle of the group and when they hit the end, not realize that they have only seen a portion of the available pictures.

Edit...

The avatars need to be thumbed in the comment box when a person comments on a picture.
Title: Re: Ultimate Profile
Post by: hellboy78 on March 28, 2009, 06:12:27 AM
I see problems adding buddies

hot to solve that?
Title: Re: Ultimate Profile
Post by: tyty1234 on March 28, 2009, 01:59:49 PM
I see problems adding buddies

hot to solve that?
what seems to be the problem?
Title: Re: Ultimate Profile
Post by: Harvester on March 29, 2009, 11:27:04 AM
Well ya learn something every day. Ok, do it like this:

Find and delete:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

Find:

Code: [Select]
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';

Add after:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<br/>
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

This is the same as the block you deleted except there is a line break added just after the first echo.


The first code you say to find and delete... Its not in my UltimateProfile.php   I let dreamweaver search for it... not there...  I manually searched for it.. not there...   I have .9 version... looks like things changed...

Id like  to put the buddies under the right column still though.

Please help
Title: Re: Ultimate Profile
Post by: JovanT on March 29, 2009, 01:11:44 PM
Do you have Profile Visitors mod installed?
Title: Re: Ultimate Profile
Post by: n-joy on March 29, 2009, 01:23:18 PM
Do you have Profile Visitors mod installed?
Hi!
A few posts ago in this topic, I found this:

Quote
I sent the package to Jovan. We should wait him until he upload the package to the Mod Site.

So, ultimate profile for SMF 2 is ready?
Will it be uploaded soon?
Thank You!
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 29, 2009, 08:17:01 PM
Well ya learn something every day. Ok, do it like this:

Find and delete:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

Find:

Code: [Select]
<td class="windowbg">
', un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>';

Add after:

Code: [Select]
// Let's see who viewed my profile.           

if(!empty($modSettings['pv_enabled']) && $context['can_view_visitor']) {
echo '
<br/>
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
', $txt['pv_latest_visitors'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">';
if (!empty($context['visitor_profiles'])) {
$i = 1;
foreach ($context['visitor_profiles'] as $visitor) {
if ($i == 1)
echo ' <tr>';
echo '
<td class="windowbg" align="center" valign="bottom" style="padding:5px; width: 100px;">', $visitor['avatar']['href'] ? '<img src="' . $visitor['avatar']['href'] .'" width="50" />' : '', '<br /><b>', $visitor['link'], '</b><br /><span class="smalltext">', $visitor['time'], $context['can_delete_visitor'] ? '<br /><a href="' . $scripturl . '?action=deletevisitor;profile=' . $context['member']['id'] . ';member=' . $visitor['id'] . ';sesc=' . $context['session_id'] . '">' . $txt[31] . '</a>' : '', '</span></td>';

if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4) $i = 1;
}
} else
echo ' <tr><td>', $txt['pv_no_visitors'] ,'</td></tr>';

echo '
</table>
</td>
</tr>';

echo '
</table>
</td>
</tr>
</table>
<br />';
}

This is the same as the block you deleted except there is a line break added just after the first echo.


The first code you say to find and delete... Its not in my UltimateProfile.php   I let dreamweaver search for it... not there...  I manually searched for it.. not there...   I have .9 version... looks like things changed...

Id like  to put the buddies under the right column still though.

Please help

to have this code you would have to have the profile visitors mod installed.
Title: Re: Ultimate Profile
Post by: Xavi-Nena on March 30, 2009, 02:22:46 AM
oh yes and is there a way to show an area of 'Latest Activity' for that particular user such as you find on facebook ?

anyone know of a way?
Title: Re: Ultimate Profile
Post by: Harvester on March 30, 2009, 10:27:20 AM
ya know what would be cool for this mod?

 At the moment it only shows your top 6 buddies. I have 30 or so buddies on my list and I think it would be great if the top 6 were randomly chosen on ever reload of my profile.

I think this would be a cool addition.

Anyway to pull it off?
Title: Re: Ultimate Profile
Post by: Harvester on March 30, 2009, 10:31:53 AM
I have Custom Profile Field installed... or atleast I did...

what do I paste here??

Code: [Select]
/*
// This section is optional. You can paste code and display fields from Custom Profile fields mod.

echo '
<br />

<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">';


// PASTE YOUR CODE HERE


echo '
</td>
</tr>
</table>';
*/


which file do I get the code from?
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 30, 2009, 10:33:54 AM
@ Harvester

That would be cool but if you want to show more buddies try this.
http://jovant.guruserve.com/test-forum/index.php?topic=72.0

I haven't tried it in version 9 yet cuz I upgraded to SMF RC1 and waiting for this to be ported but it should still work ???
Title: Re: Ultimate Profile
Post by: GinaD on March 30, 2009, 10:35:27 AM
Not sure if anyone will be able to help me but everytime I try to add media to my Ultimate Profile it will either not play or tell me my playlist is empty.  Can anyone tell me how to fix this?
Title: Re: Ultimate Profile
Post by: GQCritic on March 30, 2009, 12:26:56 PM
Not sure if anyone will be able to help me but everytime I try to add media to my Ultimate Profile it will either not play or tell me my playlist is empty.  Can anyone tell me how to fix this?

What sort of media are you attempting to add?
Title: Re: Ultimate Profile
Post by: chrishicks on March 30, 2009, 01:32:52 PM
Not sure if anyone will be able to help me but everytime I try to add media to my Ultimate Profile it will either not play or tell me my playlist is empty.  Can anyone tell me how to fix this?

I'm going to guess it's a playlist from playlist.com correct? We had/have the same problem. One simple "fix" is to use the alternate code they provide. When you are on the page where you copy the code to paste it on your page select "click here to try another code" and use that.

Now for the bad news. It's not a 100% fix for IE users as sometimes the music player just shows as a big red x box.

EDIT: I should point out that in order to get the alternate code you first need to select section E on the selection page.
Title: Re: Ultimate Profile
Post by: romper on March 30, 2009, 01:41:08 PM
I get this:
Execute Modification   ./Sources/Profile.php   Test failed

all the rest are fine...I have Custom Profile Field Mod, is this the problem?
Title: Re: Ultimate Profile
Post by: kingkingston on March 31, 2009, 08:02:31 AM
It downloads and installs fine until i click the profile button and get this

Unknown column 'com.time' in 'field list'
File: /home/wewantsp/public_html/Sources/Profile.php
Line: 1397

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

when i unistall the mod everythings fine again
Title: Re: Ultimate Profile
Post by: n-joy on March 31, 2009, 10:43:15 AM
Do you have Profile Visitors mod installed?
Hi!
A few posts ago in this topic, I found this:

Quote
I sent the package to Jovan. We should wait him until he upload the package to the Mod Site.

So, ultimate profile for SMF 2 is ready?
Will it be uploaded soon?
Thank You!
Kick?
Title: Re: Ultimate Profile
Post by: Bec on March 31, 2009, 10:49:59 AM
Just wondering if it is possible to have the ultimate profile on by default for all members or do they need to manually tick the box themselves?


I also have the mood bobel mod http://custom.simplemachines.org/mods/index.php?mod=1380 installed which was accessible from the old forum profile view, I just noticed that it is no longer accesible... how would i go about incorporating the code and getting it to show again??
Title: Re: Ultimate Profile
Post by: tyty1234 on March 31, 2009, 02:08:30 PM
It downloads and installs fine until i click the profile button and get this

Unknown column 'com.time' in 'field list'
File: /home/wewantsp/public_html/Sources/Profile.php
Line: 1397

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

when i unistall the mod everythings fine again
You should upgrade your database. Download the Large Upgrade file for SMF 1.1.8, and extract the upgrade.php and sql files.
Title: Re: Ultimate Profile
Post by: kingkingston on March 31, 2009, 02:41:37 PM
It downloads and installs fine until i click the profile button and get this

Unknown column 'com.time' in 'field list'
File: /home/wewantsp/public_html/Sources/Profile.php
Line: 1397

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

when i unistall the mod everythings fine again
You should upgrade your database. Download the Large Upgrade file for SMF 1.1.8, and extract the upgrade.php and sql files.

If i knew how to do that i would have done it already,im not the brightest spark in the fire
Title: Re: Ultimate Profile
Post by: tyty1234 on March 31, 2009, 02:59:26 PM
It downloads and installs fine until i click the profile button and get this

Unknown column 'com.time' in 'field list'
File: /home/wewantsp/public_html/Sources/Profile.php
Line: 1397

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

when i unistall the mod everythings fine again
You should upgrade your database. Download the Large Upgrade file for SMF 1.1.8, and extract the upgrade.php and sql files.

If i knew how to do that i would have done it already,im not the brightest spark in the fire
Ok here's what you need to do.

Go here (http://download.simplemachines.org/), Scroll down to Download SMF 1.1.8, under the Large upgrade section, download the zip folder. Save it to your computer, and then open it. Extract only the upgrade.php file and the upgrade_1-1.sql file. Using a FTP client, FTP those two files to your forum directory. Once done, open up the upgrade.php page. (http://yoursite.com/forum/upgrade.php) Follow the onscreen instructions, and in a few minutes, your database will be up to date.
Title: Re: Ultimate Profile
Post by: JovanT on March 31, 2009, 05:54:47 PM
Please, read the FAQ before asking new questions.

@kingkingston
http://jovant.guruserve.com/test-forum/index.php?topic=13.msg41#msg41

@Bec
http://jovant.guruserve.com/test-forum/index.php?topic=13.msg474#msg474
Title: Re: Ultimate Profile
Post by: Bec on March 31, 2009, 10:27:57 PM
Sorry!

FYI i tried inserting that code before asking and it did not work!

Is possible to have the ultimate profile on by default for all members or do they need to manually tick the box themselves?
Title: Re: Ultimate Profile
Post by: tyty1234 on March 31, 2009, 10:39:01 PM
There is a master setting.
Admin -> Features and Settings -> Ultimate Profile
Title: Re: Ultimate Profile
Post by: Bec on March 31, 2009, 10:45:36 PM
I don't have any ultimate profile option in my admin panel
Title: Re: Ultimate Profile
Post by: tyty1234 on March 31, 2009, 11:06:16 PM
http://yoursite.com/forum/index.php?action=featuresettings;sa=ultprofile
Title: Re: Ultimate Profile
Post by: kingkingston on March 31, 2009, 11:08:52 PM
It downloads and installs fine until i click the profile button and get this

Unknown column 'com.time' in 'field list'
File: /home/wewantsp/public_html/Sources/Profile.php
Line: 1397

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

when i unistall the mod everythings fine again
You should upgrade your database. Download the Large Upgrade file for SMF 1.1.8, and extract the upgrade.php and sql files.

If i knew how to do that i would have done it already,im not the brightest spark in the fire
Ok here's what you need to do.

Go here (http://download.simplemachines.org/), Scroll down to Download SMF 1.1.8, under the Large upgrade section, download the zip folder. Save it to your computer, and then open it. Extract only the upgrade.php file and the upgrade_1-1.sql file. Using a FTP client, FTP those two files to your forum directory. Once done, open up the upgrade.php page. (http://yoursite.com/forum/upgrade.php) Follow the onscreen instructions, and in a few minutes, your database will be up to date.

ok cool i will give it a crack
Title: Re: Ultimate Profile
Post by: Bec on March 31, 2009, 11:10:26 PM
nope still not working, just checked error log:-

8: Undefined index: cp_cpfields
File: /home/buctai8/public_html/Sources/ModSettings.php
Line: 149

install went perfectly fine, mod is showing under profile its just the mod settings which are not there.  just had a look at my mod settings file and everything looks ok... maybe i missed something, have attached for your reference.

thanks for your help!


update - also just had to edit my modsettings.english.php file because the edits were not in there, so despite the install going ok obviously it didnt. going to check the other files now.
Title: Re: Ultimate Profile
Post by: kingkingston on April 01, 2009, 06:03:14 AM
It downloads and installs fine until i click the profile button and get this

Unknown column 'com.time' in 'field list'
File: /home/wewantsp/public_html/Sources/Profile.php
Line: 1397

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

when i unistall the mod everythings fine again
You should upgrade your database. Download the Large Upgrade file for SMF 1.1.8, and extract the upgrade.php and sql files.

If i knew how to do that i would have done it already,im not the brightest spark in the fire
Ok here's what you need to do.

Go here (http://download.simplemachines.org/), Scroll down to Download SMF 1.1.8, under the Large upgrade section, download the zip folder. Save it to your computer, and then open it. Extract only the upgrade.php file and the upgrade_1-1.sql file. Using a FTP client, FTP those two files to your forum directory. Once done, open up the upgrade.php page. (http://yoursite.com/forum/upgrade.php) Follow the onscreen instructions, and in a few minutes, your database will be up to date.
tried it and this came up You have not removed upgrade.php!
Title: Re: Ultimate Profile
Post by: Yağız... on April 01, 2009, 06:08:46 AM
Try to remove upgrade.php from your FTP.
Title: Re: Ultimate Profile
Post by: kingkingston on April 01, 2009, 07:25:15 AM
Try to remove upgrade.php from your FTP.

Problem was i didn't know where to place the 2 files i was told to put in the files,so i could update it
Title: Re: Ultimate Profile
Post by: JeepneyDriver on April 01, 2009, 09:50:58 AM
I am running 1.1.8, PV 4.0 and the latest Ultimate Profile. Everything is as it should be with the exception of the Total Visitor count and the Buddy List avatar size.

In the default profile PV shows the total visitor count but when the UP is enabled the count is missing.

Buddy list avatars are displayed at the same size as they are elsewhere in the forums.

Shouldn't they be displayed in the Buddy List at the same size as avatars are displayed in the Profile Visitor box?

Can someone point me in the right direction to correct these anomalies?

TIA...

Nice mod by the way. :)

Edit...

One more thing that I forgot to ask about - In the My Pictures thumbnail view, it only shows 6 thumbs and they change position with each new view. Sometimes the first one shown in the thumbnail view is not the first one in the list when viewed full size. A person could start viewing in the middle of the group and when they hit the end, not realize that they have only seen a portion of the available pictures.

Edit...

The avatars need to be thumbed in the comment box when a person comments on a picture.

Does anybody have an solution? :)
Title: Re: Ultimate Profile
Post by: Bec on April 01, 2009, 01:25:08 PM
Ok I solved my problem of it not showing in my admin panel but now I am wondering how do I change my avatar and edit my signature etc.... Forum Profile Information is missing, is this normal?

have attached screenshot so you can see my options

Title: Re: Ultimate Profile
Post by: tyty1234 on April 01, 2009, 02:44:38 PM
Try to remove upgrade.php from your FTP.

Problem was i didn't know where to place the 2 files i was told to put in the files,so i could update it
Um, I did say forum directory? But if that message came up, then it sounds like you've placed it in the right place. Just simply delete the upgrade.php file and all its sql files.
Ok I solved my problem of it not showing in my admin panel but now I am wondering how do I change my avatar and edit my signature etc.... Forum Profile Information is missing, is this normal?

have attached screenshot so you can see my options


Check your language files, especially the index.english.php, and the modifications.english.php
Title: Re: Ultimate Profile
Post by: Bec on April 01, 2009, 04:11:13 PM
Thanks.

I am guessing you wanted me to check the modifications made by the ultimate profile install? There is no index.english.php edits and all was ok with the modifications.english.php file but forum profile information is still not showing...
Title: Re: Ultimate Profile
Post by: tyty1234 on April 01, 2009, 04:17:09 PM
Actually, I made a mistake.

Try checking your Profile.english.php for the string "Forum Profile Information" as that's where it should be.
Title: Re: Ultimate Profile
Post by: Bec on April 01, 2009, 04:20:07 PM
No worries :)

Yup its there!
Title: Re: Ultimate Profile
Post by: tyty1234 on April 01, 2009, 04:23:58 PM
Can you attach your Profile.php file? (it is found within your Sources directory)
Title: Re: Ultimate Profile
Post by: Bec on April 01, 2009, 04:26:39 PM
attached. thanks  :D
Title: Re: Ultimate Profile
Post by: tyty1234 on April 01, 2009, 04:37:00 PM
Ok, in your Profile.php file.

Code: (Find) [Select]
if (($context['user']['is_owner'] && allowedTo('profile_identity_own')) || allowedTo(array('profile_identity_any', 'manage_membergroups')))
$context['profile_areas']['edit_profile']['areas']['account'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=account">' . $txt['account'] . '</a>';


Code: (Add After) [Select]

if (($context['user']['is_owner'] && allowedTo('profile_extra_own')) || allowedTo('profile_extra_any'))
$context['profile_areas']['edit_profile']['areas']['forumProfile'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=forumProfile">' . $txt['forumProfile'] . '</a>';
Title: Re: Ultimate Profile
Post by: Bec on April 01, 2009, 04:48:38 PM
AWESOME!! Worked a charm! Thank you heaps, I appreciate you helping me :)
Title: Re: Ultimate Profile
Post by: tyty1234 on April 01, 2009, 05:07:44 PM
No problem! :)
Title: Re: Ultimate Profile
Post by: aED on April 02, 2009, 06:52:59 AM
Any updates for 2.0 RC1?
Title: Re: Ultimate Profile
Post by: Paracelsus on April 02, 2009, 04:50:44 PM
I would like to activate / enable the Ultimate Profile just for some membergroups instead of the master setting "to all users". Is this possible trhough the admin panel or manually by changing the code?

Btw, great MOD. ;)
Title: Re: Ultimate Profile
Post by: JeepneyDriver on April 02, 2009, 09:12:20 PM
I would like to activate / enable the Ultimate Profile just for some membergroups instead of the master setting "to all users". Is this possible trhough the admin panel or manually by changing the code?

Btw, great MOD. ;)

Enable it for all is required for it to work but you set the permissions for the membergroups in the usual fashion.
Title: Re: Ultimate Profile
Post by: Astro RTM on April 02, 2009, 11:36:57 PM
Im loving the mod no problems so far man but is there a way that  I can add members twitter and myspace info into the contact box I already have the myspace and twitter profile mods installed
Title: Re: Ultimate Profile
Post by: Paracelsus on April 03, 2009, 07:00:31 AM
I would like to activate / enable the Ultimate Profile just for some membergroups instead of the master setting "to all users". Is this possible trhough the admin panel or manually by changing the code?

Btw, great MOD. ;)

Enable it for all is required for it to work but you set the permissions for the membergroups in the usual fashion.

Nope, but I found it anyway.

The master setting overrides permissions, meaning that if you enable to all it will be enabled to all members as "default" profile (the old one disappears).

However, by not enabling to all but rather using the "edit own ultimate profile" permission in permissions, only those membergroups affected by that specific permission will have the ability to see the link to change to ultimate in their old profile... and thus to activate it as default and customize it. So, actually, the edit ultimate profile permission puts together 2 permissions: to edit ultimate profile and to enable it as default profile.

Well, that's how it works in my forum. ;D
Title: Re: Ultimate Profile
Post by: Paracelsus on April 03, 2009, 07:16:09 AM
Unfortunately, it appears that the Ultimate Profile is always activated once installed but not enabled as default profile (that's what the "master setting does... it enables as default for everybody).

The problem is that, since there is no permission to "activate / deactivate" ultimate profile according to membergroup, once it is enable as default profile it does no longer go back to old profile as default when a user changes to another membergroup that doesn't have the permission to edit ultimate profile.


I'll try to explain with an example:

Group A: Edit own ultimate profile - Allowed
Group B: Edit own ultimate profile - Not allowed

If a user is in Group B it can't see the link in the old profile to change to ultimate profile as default (and to edit this and so on). If it goes to Group A, it can, and imagine that it is activated then and customized. If then this user goes back to Group B then the ultimate profile continues visible as default (but the link to edit its options disappears), i.e., it doesn't roll back automatically to old profile as default.
Title: Re: Ultimate Profile
Post by: Bec on April 03, 2009, 09:43:23 AM
Hi Everyone,

I have just installed the custom profile field mod to add some additional text fields - I have manually added the code to the ultimateprofile.template.php but i would like to display them in a block like everything else is displayed but not sure how to insert the code into the table format (have attached a [piccie so you can see how it currently looks). This is the code :-

Code: [Select]
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();

it is currently showing in the contact us section, can someone please help me to get this section to display properly in its own table.

---

also as far as customizing the background, how would I go about incorporating something like this code?

<style>body {background-image: url('http://www.addglitter.com/graphics/bg07.gif');} </style><div id=Glitter style='left:1; top: 1; position: fixed'><a href='http://www.addglitter.com'><img src='http://www.addglitter.com/ad.gif' alt='Glitter Graphics' border='0'></a></div>

Thanks :)
Title: Re: Ultimate Profile
Post by: JeepneyDriver on April 03, 2009, 10:14:33 AM
Unfortunately, it appears that the Ultimate Profile is always activated once installed but not enabled as default profile (that's what the "master setting does... it enables as default for everybody).

The problem is that, since there is no permission to "activate / deactivate" ultimate profile according to membergroup, once it is enable as default profile it does no longer go back to old profile as default when a user changes to another membergroup that doesn't have the permission to edit ultimate profile.


I'll try to explain with an example:

Group A: Edit own ultimate profile - Allowed
Group B: Edit own ultimate profile - Not allowed

If a user is in Group B it can't see the link in the old profile to change to ultimate profile as default (and to edit this and so on). If it goes to Group A, it can, and imagine that it is activated then and customized. If then this user goes back to Group B then the ultimate profile continues visible as default (but the link to edit its options disappears), i.e., it doesn't roll back automatically to old profile as default.

I still don't see what you are trying to say...

On my board

Enable ultimate profile for all members is checked (enabled)

In permissions...

Guests are severly restricted to reading only certain posts. No profile is possible. In the persmission setting for them there is no 'Edit ultimate profile' box.

Regular members (In my forums, read that to mean Newbies. In Permissions, 'Edit ultimate profile' is set to 'Disallow' and in their Profile under Modify Profile they have no line to 'Ultimate Profile'.  Note, however, the LOOK of the profile has changed when they view it. They CAN NOT use the new features. However, if I as Admin go into their profile then the option to enable their Ultimate Profile is presented to ME and I can enable it on a member by member basis.

For other membergroups that I have enabled it in their Permission settings THEY have the option to use Ultimate Profile features or not. What may be fooling you is the fact that when the ultimate profile is enabled for all members ONLY the appearance has changed, NOT the functionality. You control who can use the extra features and the within the membergroups you allow, the individual members can enable or not, their own personal ultimate profile.

I spent the better part of an afternoon going through all of this when I first installed it logging in with test IDs belonging to the various groups on my board.  Don't be fooled by looking at a members profile as ADMIN.  Look at the profiles as a member of the particular group.

Properly set up, ONLY the look has changed for everybody, and only those membergroups you give persmission to, can actually use the features.

Hope that makes sense. :)

EDIT.

I just re-read your first reply and I think that in different ways, we are saying the same thing. :)
Title: Re: Ultimate Profile
Post by: Paracelsus on April 03, 2009, 10:37:09 AM
However, if you don't use the master permission "Enable to all users" what happens is this:



Now, imagine that you activate this option and you get the new look on your profile. Ok, now imagine that you change membergroup and you lose the permission to "edit ultimate profile". Well, what happens is that you don't lose just that ability, you lose the link to config ultimate profile and therefore you can no longer choose the option "activate / deactivate ultimate profile", which means that you can no longer change between the old and the new look. So, if you were on the old look you stay on the old and if you were on the new look you stay on the new one.

This sounds to me like a different option (the ability to change between the old and the new look) and I would like to have it as a autonomous permission. The new vs old look should change automatically according to membergroups permission, understand what I mean?
Title: Re: Ultimate Profile
Post by: JeepneyDriver on April 03, 2009, 02:14:19 PM
@ Paracelsus

Okay, I know what you mean now. I think my elevator just got to the top floor. ;) Too bad the setup instructions weren't a bit clearer.

With global off and permissions controlling who can use UP set, those who have permission can then actually control the 'look' of their profile.

That is what I prefered and may have had for a moment or two and then lost when I was configuring it.

Thanks for pointing out the differences. :)
Title: Re: Ultimate Profile
Post by: tyty1234 on April 03, 2009, 02:15:00 PM
Hi Everyone,

I have just installed the custom profile field mod to add some additional text fields - I have manually added the code to the ultimateprofile.template.php but i would like to display them in a block like everything else is displayed but not sure how to insert the code into the table format (have attached a [piccie so you can see how it currently looks). This is the code :-

Code: [Select]
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();

it is currently showing in the contact us section, can someone please help me to get this section to display properly in its own table.

---

also as far as customizing the background, how would I go about incorporating something like this code?

<style>body {background-image: url('http://www.addglitter.com/graphics/bg07.gif');} </style><div id=Glitter style='left:1; top: 1; position: fixed'><a href='http://www.addglitter.com'><img src='http://www.addglitter.com/ad.gif' alt='Glitter Graphics' border='0'></a></div>

Thanks :)

Here is what you can add to the UltimateProfile.template.php file.

Code: [Select]

        // Custom Profile Fields
       echo  '<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="contact">
                                <tr>
                                        <td class="titlebg" height="26" align="center">
                                                Custom Profile Fields
                                        </td>
                                 </tr>
                                 <tr>
                                         <td class="windowbg">
                                                 <table border="0" cellspacing="0" cellpadding="2" width="100%">';
                 <tr>
                        <td align="left">
                           Custom Profile Field Name
                        </td>
                        <td align="left">
                           Custom Profile Field Data
                        </td>
                 </tr>
                       </table>
               </td>
          </tr>
   </table>';
I haven't used Custom Profile Fields before, so you'll have to replace the "Custom Profile Field" stuff with what the actual data is.
Title: Re: Ultimate Profile
Post by: Bec on April 03, 2009, 08:17:55 PM
tyty1234, thanks again :)

Will give it a go. Appreciate the help!!
Title: Re: Ultimate Profile
Post by: tyty1234 on April 03, 2009, 09:44:49 PM
No problem. If you run into any errors, just let me know :)
Title: Re: Ultimate Profile
Post by: Bec on April 04, 2009, 12:08:45 PM
Thanks :)

I do have one question... where do i find the code that I need to put into the "Custom Profile Fields" rows. I have looked in my customprofile.php file and I couldn't exactly understand what was what in there, I have attached the file could you please point me in the right direction as to what part I need to use?

Thank you  ;D
Title: Re: Ultimate Profile
Post by: tyty1234 on April 04, 2009, 01:38:23 PM
Thanks :)

I do have one question... where do i find the code that I need to put into the "Custom Profile Fields" rows. I have looked in my customprofile.php file and I couldn't exactly understand what was what in there, I have attached the file could you please point me in the right direction as to what part I need to use?

Thank you  ;D
To be honest, I really don't know. :(
 You might have to ask in the Mod Support thread for the Custom Profile Fields. :)
Title: Re: Ultimate Profile
Post by: Mr_Lon on April 04, 2009, 10:14:29 PM
Any updates for 2.0 RC1?

How is Ultimate Profile comming for RC1?

I keep reading all the posts and can't wait to install it on my site using RC1.

Lon
Title: Re: Ultimate Profile
Post by: Bec on April 05, 2009, 12:22:18 PM
Thanks :)

I do have one question... where do i find the code that I need to put into the "Custom Profile Fields" rows. I have looked in my customprofile.php file and I couldn't exactly understand what was what in there, I have attached the file could you please point me in the right direction as to what part I need to use?

Thank you  ;D
To be honest, I really don't know. :(
 You might have to ask in the Mod Support thread for the Custom Profile Fields. :)

Thanks matey, appreciate all the help you have given me! :)
Title: Re: Ultimate Profile
Post by: tyty1234 on April 05, 2009, 02:22:15 PM
no problem! :)
Title: Re: Ultimate Profile
Post by: JovanT on April 05, 2009, 05:05:37 PM
For all of you who want to add Custom Fields mod to Ultimate Profile: http://jovant.guruserve.com/test-forum/index.php?topic=19.msg63#msg63
Title: Re: Ultimate Profile
Post by: Bec on April 05, 2009, 05:20:50 PM
awesome! thanks for posting that!!
Title: Re: Ultimate Profile
Post by: Mattwagna on April 05, 2009, 10:37:09 PM
Problem:

I installed it, edited my profile, then I decided I didn't like it because it had the whole "Contact me :)" instead of just "Contact Me" on it, so I uninstalled & deleted. Now on just MY profile I get the following error:
Quote
"Unable to load the 'UltimateProfile' template. "
Help please:
Also the Ultimate Profile tab is still available with all the check boxes and boxes for options, but there's no writing.
Title: Re: Ultimate Profile
Post by: tyty1234 on April 05, 2009, 11:11:32 PM
Did you get an error during the uninstall?
Title: Re: Ultimate Profile
Post by: silber112 on April 06, 2009, 11:22:15 AM
Problem:

I installed it, edited my profile, then I decided I didn't like it because it had the whole "Contact me :)" instead of just "Contact Me" on it, so I uninstalled & deleted. Now on just MY profile I get the following error:
Quote
"Unable to load the 'UltimateProfile' template. "
Help please:
Also the Ultimate Profile tab is still available with all the check boxes and boxes for options, but there's no writing.

I had a similar error because i was using a other theme dilber mc that had his own profile.template.php I delited it and the profile worked perfectly
Title: Re: Ultimate Profile
Post by: Mattwagna on April 06, 2009, 06:31:30 PM
Could you be a bit more specific please?
Title: Re: Ultimate Profile
Post by: andyv123 on April 06, 2009, 06:51:45 PM
Hey, I found a bug. I've had this error troubling me for awhile now:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8650755 bytes)

and I found out it was linked to this code:

<> object width="425" height="344">

when it's in the css customization section. if the entire profile's empty and I just put that there, it crashes. Any ideas???
Title: Re: Ultimate Profile
Post by: KameL on April 06, 2009, 09:30:18 PM
Here is the translation for Modifications.spanish.php and Modifications.spanish-latin.php:
Code: [Select]
//ULTIMATE PROFILE
$txt['ultimate_profile'] = 'Perfil avanzado';
$txt['permissionname_edit_ultimate_profile'] = 'Editar \'Perfil avanzado\'';
$txt['permissionname_edit_ultimate_profile_own'] = 'Perfil propio';
$txt['permissionname_edit_ultimate_profile_any'] = 'Cualquier perfil';
$txt['permissionhelp_edit_ultimate_profile'] = 'Este permiso habilita al usuario a editar el \'Perfil avanzado\'.';
$txt['cannot_edit_ultimate_profile_own'] = 'No tienes permitido editar tu propio \'Perfil avanzado\'.';
$txt['cannot_edit_ultimate_profile_any'] = 'No tienes permitido editar ningún \'Perfil avanzado\'.';
//FIN ULTIMATE PROFILE

Here is the translation for Modifications.spanish-utf8.php:
Code: [Select]
//ULTIMATE PROFILE
$txt['ultimate_profile'] = 'Perfil avanzado';
$txt['permissionname_edit_ultimate_profile'] = 'Editar \'Perfil avanzado\'';
$txt['permissionname_edit_ultimate_profile_own'] = 'Perfil propio';
$txt['permissionname_edit_ultimate_profile_any'] = 'Cualquier perfil';
$txt['permissionhelp_edit_ultimate_profile'] = 'Este permiso habilita al usuario a editar el \'Perfil avanzado\'.';
$txt['cannot_edit_ultimate_profile_own'] = 'No tienes permitido editar tu propio \'Perfil avanzado\'.';
$txt['cannot_edit_ultimate_profile_any'] = 'No tienes permitido editar ning&uacute;n \'Perfil avanzado\'.';
//FIN ULTIMATE PROFILE

And I'm attaching UltimateProfile.spanish.php, UltimateProfile.spanish-latin.php and UltimateProfile.spanish-utf8.php. 8)
Title: Re: Ultimate Profile
Post by: naturalwoman on April 08, 2009, 06:38:42 PM
this may sound crazy, it installed, but i still have the same profile look. i'm in the admin section, where do i click from there?

i also made revisions to my profile template to allow for a twitter field. i used the twitter mod, could this be the problem.  there is nothing in permissions for me to select ultimate profile.
Title: Re: Ultimate Profile
Post by: GinaD on April 10, 2009, 04:16:22 PM
Not sure if anyone will be able to help me but everytime I try to add media to my Ultimate Profile it will either not play or tell me my playlist is empty.  Can anyone tell me how to fix this?

I'm going to guess it's a playlist from playlist.com correct? We had/have the same problem. One simple "fix" is to use the alternate code they provide. When you are on the page where you copy the code to paste it on your page select "click here to try another code" and use that.

Now for the bad news. It's not a 100% fix for IE users as sometimes the music player just shows as a big red x box.

EDIT: I should point out that in order to get the alternate code you first need to select section E on the selection page.

Yes I am using Playlist.  Any idea on how to make the codes work for IE?  Or is there another playlist that works on there?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 11, 2009, 01:11:19 PM
Bumping from back on March 18th,
http://www.simplemachines.org/community/index.php?topic=298641.msg1981363#msg1981363
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 11, 2009, 01:26:42 PM
and another thing, how can i make my photos in my pics section adjust with the size of the screen. See attached photo to see how only 3 show and the big space before another pic shows in a new row.
Title: Re: Ultimate Profile
Post by: Özgür on April 11, 2009, 06:31:45 PM
@NegaGB is your first problem =>
Search from Themes/Default/ProfilePictures.template.php
Code: [Select]
<a href="' . $scripturl . '?action=profile;u=' . $context['member']['id'] . ';area=pictures;addalb=' . $context['album']['id'] . '"><img src="' . $settings['images_url'] . '/buttons/im_reply.gif" alt="' . $txt['profile_album_add'] . '" title="' . $txt['profile_album_add'] . '" /></a> 'You must be change "/buttons/im_reply.gif" to your image.
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 12, 2009, 12:30:22 PM
woo woo thank you so much Özgür´ I have been wondering bout that one for a while now. ;) thanks again.
Title: Re: Ultimate Profile
Post by: Özgür on April 12, 2009, 12:31:50 PM
You are welcome. Can you upload your ultimate.profile.php (in default theme) ?
Title: Re: Ultimate Profile
Post by: GinaD on April 12, 2009, 12:56:14 PM
Please disregard my post.  I found a playlist that works for me :)
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 12, 2009, 01:57:11 PM
You are welcome. Can you upload your ultimate.profile.php (in default theme) ?

are you asking me?
Title: Re: Ultimate Profile
Post by: Özgür on April 12, 2009, 02:36:41 PM
You are welcome. Can you upload your ultimate.profile.php (in default theme) ?

are you asking me?
Yes.
and another thing, how can i make my photos in my pics section adjust with the size of the screen. See attached photo to see how only 3 show and the big space before another pic shows in a new row.
For this issue.
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 12, 2009, 03:48:51 PM
oh ok, :) its attached.
Title: Re: Ultimate Profile
Post by: Özgür on April 12, 2009, 03:56:14 PM
Look this line. And modify your opinion
Code: [Select]

if (!empty($context['pictures'])) {
$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';

echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a>
</td>';

if ($i == 3)
echo '
</tr>';

$i++;
if ($i == 4) $i = 1;
}
if ($i == 3)
                        echo '
                        </tr>';
                     
                     $i++;
                     if ($i == 4)

If you change if ($i == 3) to 4 and if ($i == 4) to 5 => 5 pictures seems per line. But if thumbnail image is big, can skip lines. If this happens you must be change this
Code: [Select]
<img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" />to
Code: [Select]
<img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" width="100" height="100" />You select your width and height :P
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 12, 2009, 04:11:45 PM
Thank you this does add more pics to the row however if the screen shrinks the pics do not flow to the next row, which I can deal with if I can only get the rows to show center, right now they show to the left.
Title: Re: Ultimate Profile
Post by: n-joy on April 13, 2009, 12:01:45 PM
Any news for RC1?
Title: Re: Ultimate Profile
Post by: Mattwagna on April 13, 2009, 12:34:09 PM
Okay since no one answered my question, can someone look through these files & see if there's an error/bug please?

Title: Re: Ultimate Profile
Post by: dharma77 on April 15, 2009, 12:56:50 AM
Hi, I install this mod, but some users can't see, the add friend option in the perfil zone, from other user, i check the buddies table, and not user record appear as added, there is a log table when you add some user to set as added record, besides the boddy table ? or you know what is the problem, thanks

great mod.
Title: Re: Ultimate Profile
Post by: GinaD on April 15, 2009, 11:18:58 AM
My members cannot upload profile pics, when they upload them all that shows is a red X?  How can I fix this?  Thanks in advance!

This is also admins.  I recently switched hosting...  Before the switch I was able to upload fine.  I checked the permissions for the profile photos folder and they are fine.  Is there something I need to do in the database to fix this problem or will I have to uninstall and reinstall this mod?
Title: Re: Ultimate Profile
Post by: JovanT on April 17, 2009, 10:55:21 AM
@dharma77
Have you enabled buddy lists under Features and Options? Also, take a look at http://jovant.guruserve.com/test-forum/index.php?topic=13.msg348#msg348


@GinaD
Please check Pictures path and Pictures URL settings in Ultimate Profile settings and make sure they point to correct values for your new host.
Title: Re: Ultimate Profile
Post by: mrtrc266 on April 17, 2009, 11:00:50 AM
@ JovanT You're online cuz you're submitting the release for RC1 to the Mod Site right? :)
 
mrtrc226=waiting patiently ;) 
 
Thanks for all you hard work.
Title: Re: Ultimate Profile
Post by: mrtrc266 on April 17, 2009, 11:10:34 AM
Quick question for you Jovan. I had UP 8.5 and then upgraded to RC1, when the release does come out for RC1 will all my members pages still be there?
 
Thanks in advance.
Title: Re: Ultimate Profile
Post by: Paracelsus on April 18, 2009, 08:42:54 AM
Jovan,

A quick question... Like I explained earlier, is it possible to insert a permission to allow users to be able to activate / deactivate ultimate profile? (right now is just a checkbox that you can access only when the permission to edit profile is ON, meaning that the activation / deactivation is actually controlled by the edit permission. I would like to be able to deactivate automatically ultimate profile look when a user changes to a membergroup that doesn't have ultimate profile active... a permission would solve this issue).
Title: Re: Ultimate Profile
Post by: GinaD on April 18, 2009, 10:08:10 AM
@GinaD
Please check Pictures path and Pictures URL settings in Ultimate Profile settings and make sure they point to correct values for your new host.

I just double checked them and they are fine :(
Title: Re: Ultimate Profile
Post by: Özgür on April 18, 2009, 11:50:34 AM
@GinaD
Please check Pictures path and Pictures URL settings in Ultimate Profile settings and make sure they point to correct values for your new host.



I just double checked them and they are fine :(
Are you using pretty or seo4smf?
Okay since no one answered my question, can someone look through these files & see if there's an error/bug please?



I can't find any bug in this file? Any error showing?

Thank you this does add more pics to the row however if the screen shrinks the pics do not flow to the next row, which I can deal with if I can only get the rows to show center, right now they show to the left.
This is difficult for me. Maybe i try later =)    
How many do you want to be in each line? (this is important)
Title: Re: Ultimate Profile
Post by: GinaD on April 18, 2009, 11:58:03 AM
Nope, I am not using either of those. 
Title: Re: Ultimate Profile
Post by: Xavi-Nena on April 18, 2009, 08:20:39 PM
Thank you this does add more pics to the row however if the screen shrinks the pics do not flow to the next row, which I can deal with if I can only get the rows to show center, right now they show to the left.
This is difficult for me. Maybe i try later =)    
How many do you want to be in each line? (this is important)

As many or as few as the screen size will allow. I do not want a set limit.
Title: Re: Ultimate Profile
Post by: zealouse on April 19, 2009, 12:26:08 PM
I can not get the tab to appear under "Features and Options".

I'm using:

TinyPortal v1.0 beta 3 © Bloc
Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC

These are the Mods I have installed:

Mod Name Version 
1. Ultimate Profile 0.9<<<<not working<<<
2. TinyPortal 1.075   
3. Aeva ~ Auto-Embed Video & Audio 6.2.75   
4. SMF 1.0.16 / 1.1.8 Update 1.0 
5. SMF Media Gallery 1.5.6   

I've tryed to uninstall everything but SMF and TinyPortal.
Title: Re: Ultimate Profile
Post by: Özgür on April 19, 2009, 12:39:05 PM
Nope, I am not using either of those. 
Please give me a demo account. :)

@zealouse
Are you add language strings to themes/default/languages/modification.{yourlanguage}.php ?
Title: Re: Ultimate Profile
Post by: kevjkel on April 20, 2009, 06:03:25 AM
Hey, I found a bug. I've had this error troubling me for awhile now:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8650755 bytes)

and I found out it was linked to this code:

<> object width="425" height="344">

when it's in the css customization section. if the entire profile's empty and I just put that there, it crashes. Any ideas???

Hi I also have this error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 17307699 bytes) in /home/zaparen/public_html/zCommunity/Sources/Subs-db-mysql.php on line 121
This only happens when i click on my blo in the community section.
Any ideas? :-\
Title: Re: Ultimate Profile
Post by: perpetuallove on April 20, 2009, 01:28:29 PM
I would like to use this mod but when i try to install it gives me the error

./Sources/ModSettings.php     Test failed

If I go ahead and install it- I can't use the profile feature at all. Any suggestions? I am using SMF 1.1.8 with the orangeline theme by Crip.  The other mods I currently have installed are

1. Admin Notepad 1.0   
2. TinyPortal 1.075 
3. Profile Comments 1.4 
4. The Rules 1.2   
5. Time Logged-In 3.3 
6. Bakers Dozen Pages 1.1

Thanks :)

Title: Re: Ultimate Profile
Post by: zealouse on April 22, 2009, 11:03:04 AM
Quote
@zealouse
Are you add language strings to themes/default/languages/modification.{yourlanguage}.php ?

No not directly that I know of.....I havent added any PHP code or anything else but the MOD's listed. This is a fresh install of SMF and Tiney portal.

I was going to uninstall and try to install again and I got a "Test faild" while uninstalling:
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed  

So YES some how this is the issue it seems.
Title: Re: Ultimate Profile
Post by: mrtrc266 on April 22, 2009, 11:19:10 AM
@ perpetuallove and zealouse
 
Whenever you get a test failed on install or uninstall it simple means that the code it's trying to edit cannot be found more then likely due to another mod moving it. You can always use a Package Parser (http://resourcez.biz/PackageParser/) to see what it's looking for and just do the edit manually.
 
Just upload the Mod, select your SMF Version check install or uninstall (whatever your case may be) and find the file that gives you the test failed and do the edit yourself with a text editor like Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm) (Windows Notepad is not recommended).
 
Hope that helps.
 
Of course make a backup of the file ;)
Title: Re: Ultimate Profile
Post by: Chit-Chat ChatterBox Boss on April 22, 2009, 01:23:05 PM
After installing (Installed using package upload but had to manually do the modsettings.php) I get this error and I click on Admin>Features and Options:

Code: [Select]
Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/caleb/public_html/Sources/ModSettings.php:356) in /home/caleb/public_html/Sources/ModSettings.php on line 416
Here Is the section that its having the problem with:

Quote
function ModifyUltProfileSettings()
{
   global $txt, $scripturl, $context, $settings, $sc;

   loadLanguage('UltimateProfile');

   $config_vars = array(
         array('check', 'profile_enable_all'),
      '',
         array('check', 'profile_enable_pictures'),
         array('text', 'profile_pictures_path'),
         array('text', 'profile_pictures_url'),
         array('int', 'profile_pictures_number'),
         array('int', 'profile_pictures_width'),
      '',
         array('check', 'profile_allow_customize'),
         array('check', 'profile_allow_mediabox'),
   );

   // Saving?
   if (isset($_GET['save']))
   {
      saveDBSettings($config_vars);
      redirectexit('action=featuresettings;sa=ultprofile');
   }

   $context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=ultprofile';
   $context['settings_title'] = $txt['ultimate_profile'];

   prepareDBSettingContext($config_vars);
}   <-------- Line 416
Title: Re: Ultimate Profile
Post by: jusplay77 on April 23, 2009, 04:24:22 PM
This mod has a lot of potential, but very little support it seems.  I myself have very little php knowledge, but would love to see "Tips and Tricks" to edit and mold the Ultimate Profile into something more.  A lot of the searching on the UP-forum gave little information unfortunately.
Title: Re: Ultimate Profile
Post by: genusis on April 23, 2009, 06:47:49 PM
I would help out the best i can if he asked me to.
Title: Re: Ultimate Profile
Post by: andy40 on April 23, 2009, 08:33:11 PM
hi just installed this mod but when i paste code from you tube in media it wont show justs shows the code i put it there am i doing this wrong?
Title: Re: Ultimate Profile
Post by: kizley on April 24, 2009, 02:43:14 AM
1.1.8 DEFAULT
Got this error :()

./Sources/ModSettings.php     Test failed

Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 01:09:28 PM
I was able to install this and did the edits to modsettings.php myself- and it seems as if it was all working right- except when i go to configure it in the admin ---> features and options page. it now brings me the following error when I click "features and options":

Code: [Select]
Parse error: syntax error, unexpected T_DOUBLE_ARROW in (mysite)/Sources/ModSettings.php on line 125
The code on line 125 is:

Code: [Select]
        'ultprofile' => 'ModifyUltProfileSettings'
I've also attached my modsettings.php just in case whoever helps me with this comes back and asks for it- so its already there lol.

Also- It allows me to upload a picture, but once uploaded the image shows as a red "X"... it doesnt show the actual image. I thought this may be because I haven't been able to mess with the settings since I cant get to the settings page, but figured I would kill 2 birds with one stone and see if theres anything I can do now :)

Thanks :)



Title: Re: Ultimate Profile
Post by: Özgür on April 24, 2009, 01:21:15 PM
I was able to install this and did the edits to modsettings.php myself- and it seems as if it was all working right- except when i go to configure it in the admin ---> features and options page. it now brings me the following error when I click "features and options":

Code: [Select]
Parse error: syntax error, unexpected T_DOUBLE_ARROW in (mysite)/Sources/ModSettings.php on line 125
The code on line 125 is:

Code: [Select]
           'ultprofile' => 'ModifyUltProfileSettings'
I've also attached my modsettings.php just in case whoever helps me with this comes back and asks for it- so its already there lol.

Also- It allows me to upload a picture, but once uploaded the image shows as a red "X"... it doesnt show the actual image. I thought this may be because I haven't been able to mess with the settings since I cant get to the settings page, but figured I would kill 2 birds with one stone and see if theres anything I can do now :)

Thanks :)





Find
Code: [Select]
'ultprofile' => 'ModifyUltProfileSettings'replace
Code: [Select]
'ultprofile' => 'ModifyUltProfileSettings';
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 01:33:07 PM
I thought that may have been the case and had tried that before, but seems it just brings up the same error.

If I try taking out the ">" in it, it brings me:


Code: [Select]
Parse error: syntax error, unexpected '=' in (my site)/Sources/ModSettings.php on line 125
And so on....

Title: Re: Ultimate Profile
Post by: Yağız... on April 24, 2009, 01:34:30 PM
Try this.
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 01:43:45 PM
Seemed to have worked for that section :) but now it gives me this:

Code: [Select]
Parse error: syntax error, unexpected '=' in Sources/ModSettings.php on line 199
Thank you for your help :)
Title: Re: Ultimate Profile
Post by: Yağız... on April 24, 2009, 01:50:52 PM
Oops, retry this. :)
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 02:12:38 PM
Gives me this:

Code: [Select]
Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 193
I was gonna try to edit it myself but for some reason my file manager isn't letting me access files right now. Probably GoDaddy messing with settings or something lol.
Title: Re: Ultimate Profile
Post by: Yağız... on April 24, 2009, 02:14:47 PM
This should work.
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 02:24:28 PM
hmm still doing the same thing


Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 193
Title: Re: Ultimate Profile
Post by: Yağız... on April 24, 2009, 02:29:16 PM
Ok, let's try it again, this should work.
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 02:33:45 PM
lol this just doesn't want to work! Darn file!
Now i get this one:


Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 192
Title: Re: Ultimate Profile
Post by: Yağız... on April 24, 2009, 02:38:30 PM
Find this:
Code: [Select]
ultprofile' = 'ModifyUltProfileSettings',Replace with:
Code: [Select]
ultprofile' => 'ModifyUltProfileSettings',
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 02:44:58 PM
done :)
now getting this:

Parse error: syntax error, unexpected '=', expecting ')' in /Sources/ModSettings.php on line 119


and this is the code its referring to:

Code: [Select]
$subActions = array(
'basic' => 'ModifyBasicSettings',
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',
        'ultprofile' = 'ModifyUltProfileSettings',       <---Line 119
);

but that doesnt make sense to change the "=" to a ")"   ???


OK wait.... got those to go away. But now it says this:

Code: [Select]
Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /Sources/ModSettings.php:328) in /Sources/ModSettings.php on line 388
Title: Re: Ultimate Profile
Post by: Özgür on April 24, 2009, 02:46:52 PM
Actually
 'ultprofile' = 'ModifyUltProfileSettings',  is
must be
 'ultprofile' => 'ModifyUltProfileSettings', 
I can't understand this.
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 02:49:20 PM
Sorry didn't see your response. I changed the ones that just had the "=" to "=>"
but now I get this:

Code: [Select]
Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in/Sources/ModSettings.php:328) in /Sources/ModSettings.php on line 388
Title: Re: Ultimate Profile
Post by: Özgür on April 24, 2009, 02:52:06 PM
You twice install this mod =)

please find and remove one
Code: [Select]
function ModifyUltProfileSettings()
{
global $txt, $scripturl, $context, $settings, $sc;

loadLanguage('UltimateProfile');

$config_vars = array(
array('check', 'profile_enable_all'),
'',
array('check', 'profile_enable_pictures'),
array('text', 'profile_pictures_path'),
array('text', 'profile_pictures_url'),
array('int', 'profile_pictures_number'),
array('int', 'profile_pictures_width'),
'',
array('check', 'profile_allow_customize'),
array('check', 'profile_allow_mediabox'),
);
 
// Saving?
if (isset($_GET['save']))
{
saveDBSettings($config_vars);
redirectexit('action=featuresettings;sa=ultprofile');
}
 
$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=ultprofile';
$context['settings_title'] = $txt['ultimate_profile'];
 
prepareDBSettingContext($config_vars);
}
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 02:58:02 PM
wow ok that worked! thank you both sooo much for your help!


Now with the pictures? It lets me upload, but it still shows them as a red "X". I have tried .gif, .jpeg, and .png versions and still no luck :(  When I look in my file directory- it shows that they have been uploaded though? it even shows the thumbnail. just not on the profile itself
Title: Re: Ultimate Profile
Post by: Özgür on April 24, 2009, 03:16:19 PM
wow ok that worked! thank you both sooo much for your help!


Now with the pictures? It lets me upload, but it still shows them as a red "X". I have tried .gif, .jpeg, and .png versions and still no luck :(  When I look in my file directory- it shows that they have been uploaded though? it even shows the thumbnail. just not on the profile itself


Hım. Please give me a demo account.
Title: Re: Ultimate Profile
Post by: perpetuallove on April 24, 2009, 03:26:36 PM
PMing you info :)
Title: Re: Ultimate Profile
Post by: foempspeedy on April 24, 2009, 06:46:53 PM
This is what i looked for ages ...can you plz update it for 2.0rc1 please?
Title: Re: Ultimate Profile
Post by: Özgür on April 24, 2009, 06:50:35 PM
This is what i looked for ages ...can you plz update it for 2.0rc1 ?
Please, please, please wait..
Title: Re: Ultimate Profile
Post by: chrishicks on April 25, 2009, 04:28:51 AM
I'm starting to get some complaints with the playlists not working in profiles. I can't get everyone to drop IE so some type of fix would be great. Everyones playlists either display as empty or they just display as a giant red x box.
Title: Re: Ultimate Profile
Post by: problemwt2.0 on April 25, 2009, 06:26:17 AM
we need a version compatible with 2.0RC1



Edit: Please do NOT make such long & illogical posts,this would help neither you nor anybodyelse
Title: Re: Ultimate Profile
Post by: CerebralJam on April 26, 2009, 12:18:40 PM
^^^^^  What they say!  Oooo I want this, I want this NOW!!!!  O:)

Fantastic feature - groan...  :P
Title: Re: Ultimate Profile
Post by: foempspeedy on April 26, 2009, 01:05:32 PM
Well yea it is, i find the basic profile page on smf very basic, almost empty.
This mods makes it complete..same look like vbulletin also.

So update rc1 :D for us plz
Title: Re: Ultimate Profile
Post by: kizley on April 27, 2009, 02:51:57 AM

Get this error ,using smf 1.1.8 Default.

./Sources/ModSettings.php  Test failed

pls help
Title: Please can you make this for 2.0 rc1?
Post by: movingmagic on April 27, 2009, 07:33:29 AM
I think this mod is fantastic!
Could you please please please make it for 2.0 rc1?

That would be great!

I will even donate money if you do!

Kind regards,

Pieter
Title: Re: Ultimate Profile
Post by: Yağız... on April 27, 2009, 07:57:39 AM

Get this error ,using smf 1.1.8 Default.

./Sources/ModSettings.php  Test failed

pls help
Try to edit this file manual.
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
Title: Re: Ultimate Profile
Post by: Chair on April 28, 2009, 07:26:56 AM
ultimate profile rocks, but for some reason my members cannot edit their ultimate profiles, as the "ultimate profile" link is not available to them. I have enabled ultimate profile for members yet it doesn't work for them. only admins. Help?
Title: Re: Ultimate Profile
Post by: Özgür on April 28, 2009, 08:27:28 AM
ultimate profile rocks, but for some reason my members cannot edit their ultimate profiles, as the "ultimate profile" link is not available to them. I have enabled ultimate profile for members yet it doesn't work for them. only admins. Help?

You give permission for your members.
Title: Re: Ultimate Profile
Post by: kizley on April 28, 2009, 10:11:22 AM

Get this error ,using smf 1.1.8 Default.

./Sources/ModSettings.php  Test failed

pls help
Try to edit this file manual.
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)


Merhara,

hmmmmmm now  the problem is i m not the main admin,i do not have FTP access etc etc  :(
Title: Re: Ultimate Profile
Post by: Chair on April 28, 2009, 05:49:12 PM
ultimate profile rocks, but for some reason my members cannot edit their ultimate profiles, as the "ultimate profile" link is not available to them. I have enabled ultimate profile for members yet it doesn't work for them. only admins. Help?

You give permission for your members.

I have, but it doesn't work...
Title: Re: Ultimate Profile
Post by: kizley on April 29, 2009, 03:02:54 AM
i wish i could install this..........aaaaaaahhh
Title: Re: Ultimate Profile
Post by: Chair on April 29, 2009, 05:35:54 AM
Kizley, get the 1.1.8 full install and then overwrite the sources/modsettings.php file with the one from the full install. Then try installing the mod again. You might loose a lot of your mods by doing this tho, but you can easily set them up again
Title: Re: Ultimate Profile
Post by: jusplay77 on April 30, 2009, 08:42:17 AM
Any assistance with the Awards Mod 1.0.2 would be greatly appreciated:

http://jovant.guruserve.com/test-forum/index.php?topic=181
Title: Re: Ultimate Profile
Post by: blanix on April 30, 2009, 12:46:23 PM
can't edit Avatar or Upload avatar with internet explorer ?!

on firefox is all ok ?!

ideas ?


EDIT: OK, cleared, css mismatch ^^
Title: Re: Ultimate Profile
Post by: mrtrc266 on April 30, 2009, 01:02:31 PM
Any assistance with the Awards Mod 1.0.2 would be greatly appreciated:

http://jovant.guruserve.com/test-forum/index.php?topic=181 (http://jovant.guruserve.com/test-forum/index.php?topic=181)

Throw the Mod in a Package Parser (http://resourcez.biz/PackageParser/) and find the edit for your ./Themes/default/Profile.template.php file
 
Then do the same edit to your ./Themes/default/UltimateProfile.template.php file as well
Title: Re: Ultimate Profile
Post by: Filipina on April 30, 2009, 10:41:47 PM
Fatal error: Call to undefined function AddProfilePictureComment() in /xxxxx/xxxxx/public_html/penpal-community/Sources/ProfilePictures.php on line 153

Hmmmm my members are now reporting the above when trying to comment on profile pictures.... I have had this awesome mod for a month... any ideas?
Title: Re: Ultimate Profile
Post by: JeepneyDriver on May 01, 2009, 09:22:03 PM
I asked the following some time ago and never got an answer...
_______________________

I am running 1.1.8, PV 4.0 and the latest Ultimate Profile. Everything is as it should be with some non fatal exceptions.

In the default profile, PV shows the total visitor count but when the UP is enabled the count is missing.

Avatars are displayed 'thumbed' in the Profile Visitor (Latest Visitor) box but they are not thumbed in the Buddy list.  Avatars are displayed full size. Also, the avatars need to be thumbed in the comment box when someone leaves a comment for a picture. Currently they are full sized too.

TIA...
Title: RC1...
Post by: Geko on May 02, 2009, 09:32:44 AM
Can you please update this for the RC1.. It will be immensely appreciated!!
Title: Re: Ultimate Profile
Post by: Stigmartyr on May 04, 2009, 02:10:44 PM
MODIFICATION HELP REQUEST:  I want to move the [My Pictures] section to the left hand column directly above the [Contact Me] section.  I have tried to do this many ways by editing the UltimateProfile.template.php but I keep breaking the template.. I think there are more actions going on there for a novice like me to understand.

Can anyone assist?  I have attached my php file and a link to the live site profile page.

http://stangnation.com/index.php?action=profile;u=2
Title: Re: Ultimate Profile
Post by: aED on May 04, 2009, 02:29:27 PM
Here try this....
Title: Re: Ultimate Profile
Post by: Stigmartyr on May 04, 2009, 03:47:44 PM
Here try this....

Buddy - you ARE the man! ;)  Works awesome!  Just like I wanted.. mesohappy.
Title: Re: Ultimate Profile
Post by: Stigmartyr on May 04, 2009, 04:02:52 PM
BTW - one more little question: I noticed on the actual pics page it wants to render 10 images in 3 columns?  Seems like it would make more sense to render 12 in 3 colums..

My link: http://stangnation.com/index.php?action=profile;u=2;sa=pictures

Looks to me like there are a few 'if' statements there indicating that if it's 4 pics in a row to put one on a new row?  IDK Im not sure..  What can I edit to just make that page show 12?  If it's possible :)
Title: Re: Ultimate Profile
Post by: Harvester on May 04, 2009, 04:12:04 PM
I need some help please.

I am in  the process of moving my site from a shared server to a dedicated server... totally different host...

anyway, so far it looks like everything on my site, on the new server, is working however with my ultimate profile when you upload an image, the image doesnt show. It will only show a red X. You can see teh title and the description but not the image. This worked perfectly before the move.

Im not sure whats wrong but I am guessing its a pathing problem maybe? I duno tho..

Please help me fix this before I go live with the new server.

thank you
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 04, 2009, 04:29:01 PM
@ Harvester goto Admin/Feature and Options/Ultimate Profile and make sure the paths to your pictures and URLs are correct.
Title: Re: Ultimate Profile
Post by: Harvester on May 04, 2009, 04:41:12 PM
perfect! thank you so much! Got it working now :D

While I am here maybe you can help me with something else too... I had custom profile fields insalled before I put I installed Ultimate Profile.  How do I get the custom profile fields to show in the ultimate profile pages now? I tried but never oculd figure it out.

Thank you
Title: Re: Ultimate Profile
Post by: Yağız... on May 04, 2009, 04:54:53 PM
http://jovant.guruserve.com/test-forum/index.php?topic=19.msg63#msg63
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 09:36:35 AM
Language Brazilian

Code: [Select]
<?php
// Version: 0.9; UltimateProfile

// This file is a part of Perfil Ultimate mod

// Author: Jovan Turanjanin

$txt['ultimate_profile'] = 'Perfil Ultimate';

$txt['pictures'] = 'Perfil Fotos';
$txt['customized'] = 'Perfil Ultimate';
$txt['buddies'] = 'Amigos';

$txt['profile_customized'] = 'Perfil Ultimate';
$txt['profile_customized_info'] = 'Aqui voce pode adicionar mais informacoes sobre voce. Se estao \ confortavel com partilha algumas informacoes, simplesmente ignora-lo - nada aqui Ã© necessaria.';

$txt['profile_customize_enable'] = 'Habilitar Perfil Ultimate?';
$txt['profile_customize_private'] = 'Apenas pode ver meus amigos Perfil Ultimate';
$txt['profile_comentarios_disable'] = 'Desativar comentarios';
$txt['profile_comentarios_budd_only'] = 'Apenas amigos podem postar comentarios';
$txt['profile_comentarios_notif_disable'] = 'Desativar novos comentarios notificacao';
$txt['profile_pictures_budd_only'] = 'Mostrar as minhas fotos só para amigos e administradores';

$txt['profile_about'] = 'Sobre mim';
$txt['profile_about_desc'] = 'Aqui voce pode escrever algumas frases sobre voce.';
$txt['profile_interests'] = 'Interesses';
$txt['profile_interests_desc'] = 'Música, cinema, esportes, hobbies ...';
$txt['profile_media'] = 'Minhas Midia';
$txt['profile_media_desc'] = 'Voce pode colar códigos para seus videos favoritos, música ... aqui. Além disso, HTML e CSS sao suportadas.';
$txt['profile_css'] = 'Personalizacao';
$txt['profile_css_desc'] = 'Aqui voce pode adicionar alguns códigos HTML e CSS para personalizar a aparencia e sensacao de seu perfil.';
$txt['profile_pictures'] = 'Perfil Fotos';

$txt['profile_pictures_over'] = 'Voce excedeu número permitido de perfil fotos.';
$txt['profile_pictures_add_not'] = 'Voce nao tem permissao para adicionar imagens para este perfil.';
$txt['profile_pictures_fields'] = 'Todos os campos sao obrigatórios.';
$txt['profile_pictures_upload_fail'] = 'Foto upload nao teve exito.';
$txt['profile_pictures_pic_not'] = 'O arquivo enviado nao Ã© uma imagem.';

$txt['profile_pictures_edit_not'] = 'Voce nao tem permissao para editar imagens neste perfil.';
$txt['profile_pictures_delete_not'] = 'Voce nao tem permissao para excluir as imagens neste perfil.';
$txt['profile_pictures_not_found'] = 'A foto solicitada nao foi encontrada.';

$txt['profile_comentario_field'] = 'Voce tem que inserir comentario.';


$txt['profile_contact'] = 'Mim Contate:';
$txt['profile_buddies'] = 'Meus Amigos';
$txt['profile_buddies_no'] = 'Eu nao tenho meus amigos adicionados ainda.';

$txt['profile_pictures'] = 'Minhas Imagens';
$txt['profile_pictures_no'] = 'Atualmente, nao ha imagens.';

$txt['profile_about_me'] = 'Sobre Mim';
$txt['profile_interests'] = 'Meus Interesses';

$txt['profile_about_no'] = 'Vou escrever esta depois. :';


$txt['comentario'] = 'Adicionar Comentario';
$txt['profile_comentario'] = 'Comentario';
$txt['profile_comentarios'] = 'Comentarios';
$txt['profile_comentario_add'] = 'Adicionar comentario';

$txt['profile_comentario_reply'] = 'Responder';
$txt['profile_comentario_delete'] = 'Deletar comentario';
$txt['profile_comentario_no'] = 'Nao existem comentarios. Voce gostaria de ser o primeiro a adicionar?';
$txt['profile_comentarios_buddies_only'] = 'Apenas amigos podem postar comentarios.';

$txt['profile_picture_caption'] = 'Perfil Fotos';
$txt['profile_picture_title'] = 'Titulo';
$txt['profile_picture_description'] = 'Descricao';
$txt['profile_picture_path'] = 'Caminho da Foto';
$txt['profile_picture_not_allowed'] = 'Voce nao tem permissao para ver as imagens.';

$txt['profile_picture_add'] = 'Adicionar imagem';
$txt['profile_picture_edit'] = 'Editar imagem';
$txt['profile_picture_delete'] = 'Deletar imagem';



$txt['profile_picture_previous'] = '&laquo; anterior';

$txt['profile_picture_next'] = 'próximo &raquo;';



// %s will be replaced with member's name

$txt['profile_picture_members'] = '%s\'s imagem';



$txt['profile_album_title'] = 'Titulo';

$txt['profile_album_basic'] = 'Album Basico';

$txt['profile_album_parent'] = 'Album em :';

$txt['profile_albums_pic_count'] = 'Imagens';



$txt['profile_album_add'] = 'Adicionar album';
$txt['profile_album_edit'] = 'Editar album';
$txt['profile_album_delete'] = 'Deletar album';

$txt['profile_album_delete_confirm'] = 'Tem certeza de que deseja excluir este album? Também ira apagar todas as imagens dentro dela!';



$txt['profile_albums_add_not'] = 'Voce nao tem permissao para adicionar albuns para este perfil.';

$txt['profile_albums_edit_not'] = 'Voce nao tem tem permissao para editar albuns neste perfil.';

$txt['profile_albums_delete_not'] = 'Voce nao tem tem permissao para apagar albuns neste perfil.';

$txt['profile_albums_fields'] = 'Todos os campos sao obrigatórios.';

$txt['profile_albums_parent_not'] = 'O album seleccionado mae nao existe.';

$txt['profile_album_not_found'] = 'O album solicitado nao foi encontrado';


$txt['profile_enable_all'] = 'Permitir perfil Ultimate para todos os membros';
$txt['profile_enable_pictures'] = 'Permitir upload de imagens';
$txt['profile_pictures_path'] = 'Caminho das Imagens';
$txt['profile_pictures_url'] = 'PURL da imagem';
$txt['profile_pictures_number'] = 'Número de fotos permitido <div class="smalltext">(0 ilimitado para)</div>';

$txt['profile_pictures_width'] = 'Largura do upload imagens (in px)';
$txt['profile_allow_customize'] = 'Permitir perfil personalizado';
$txt['profile_allow_mediabox'] = 'Permitir caixa midia';


$txt['profile_notif_com_subject'] = 'Novo comentario por %s';
$txt['profile_notif_com_body'] = '[b]%s[/b] acaba de dirigir um novo comentario sobre a [url=%s]seu perfil[/url].';
$txt['profile_notif_com_user'] = 'Notificador';



$txt['profile_notif_piccom_subject'] = 'Novo comentario por imagem %s';

$txt['profile_notif_piccom_body'] = '[b]%s[/b] acaba de dirigir um novo comentario sobre a sua imagem. [url=%s]Clique aqui[/url] para ve-la.';



$txt['report'] = 'Relatório perfil';

$txt['profile_report_this'] = 'Relatar para admin';

$txt['profile_report_text1'] = 'Relatório perfil de administrador';

$txt['profile_report_text2'] = 'Utilize esta funcao para informar os gestores de um abusivo ou malicioso perfil.';

$txt['profile_report_text3'] = 'Seu comentario';

$txt['profile_report_submit'] = 'Enviar';

$txt['profile_report_own'] = 'Por que voce deseja relatar seu próprio perfil?';


$txt['profile_report_subject'] = 'Denunciar perfil';
$txt['profile_report_email1'] = 'O seguinte perfil, "%s"';
$txt['profile_report_email2'] = ' tem sido relatada por';
$txt['profile_report_email3'] = 'em um fórum que moderada';
$txt['profile_report_comentario'] = 'O repórter fez a seguinte observacao';



$txt['buddy_center'] = 'Central de amigos';

$txt['buddy_explanation'] = 'Este membro sera o seu amigo se ele / ela aceita o seu pedido.';

$txt['buddy_order_up'] = 'Mover amigo acima';

$txt['buddy_order_down'] = 'Mover amigo baixo';

$txt['buddy_approve'] = 'Aprovar amigo';

$txt['buddy_remove'] = 'Remover amigo';

$txt['buddy_empty'] = 'Sua lista de amigos estar vazio.';

$txt['buddy_unapproved'] = 'Amigos aprovados';

$txt['buddy_pending'] = 'Amigos pendentes';

$txt['buddy_already_added'] = 'Este membro ja Ã© seu amigo.';



$txt['buddy_notif_new_subject'] = '%s quer ser seu amigo';

$txt['buddy_notif_new_body'] = '[b]%s[/b] quer ser seu amigo. [url=%s]Clique aqui[/url] para aprovar ou negar o seu pedido.';


?>
Title: Re: Ultimate Profile
Post by: gourav on May 05, 2009, 10:44:55 AM
Great mod sir, Please make compatible with RC1 :)
Title: Re: Ultimate Profile
Post by: Yağız... on May 05, 2009, 11:00:47 AM
@tonnybarros, try to upload your translated file in your ../Themes/default/languages folder.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 11:02:50 AM
   
I've done this, you can see that there is nothing missing.

Go and see, User = teste Password = 654321
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 12:21:19 PM
Just enter in my profile already creates this error:

8: Undefined index: profile_comment_no
Arquivo: /home/xxxxx/public_html/forum/Themes/default/languages/Who.portuguese_brazilian.php (summary2 sub template - eval?)
Linha: 664
   
Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL http://www.tectonny.com/forum/index.php?action=profile
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: profile_comments
Arquivo: /home/xxxxxxx/public_html/forum/Themes/default/languages/Who.portuguese_brazilian.php (summary2 sub template - eval?)
Linha: 618
   
Mostrar apenas as mensagens de erro desta sessão 4e219afdab29bcfb13b9dd337f3b83a5
Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL http://www.tectonny.com/forum/index.php?action=profile
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: profile_comment
Arquivo: /home/xxxxxxxx/public_html/forum/Themes/default/languages/Who.portuguese_brazilian.php (summary2 sub template - eval?)
Linha: 602
   
Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL http://www.tectonny.com/forum/index.php?action=profile
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: profile_comment_add
Arquivo: /home/xxxxxx/public_html/forum/Themes/default/languages/Who.portuguese_brazilian.php (summary2 sub template - eval?)
Linha: 597
And it is all right I do not see problem in languages.
What is the relationship with the MOD that who.language.template?

   
When images have come into this error appears:

8: Undefined index: profile_comment_no
Arquivo: /home/xxxxxxx/public_html/forum/Themes/default/ProfilePictures.template.php (pictures_view sub template - eval?)
Linha: 311
   
Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL http://www.tectonny.com/forum/index.php?action=profile;u=1;sa=pictures;view=1
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: profile_comments
Arquivo: /home/xxxxxxxx/public_html/forum/Themes/default/ProfilePictures.template.php (pictures_view sub template - eval?)
Linha: 268
   
Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL http://www.tectonny.com/forum/index.php?action=profile;u=1;sa=pictures;view=1
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: profile_comment
Arquivo: /home/xxxxxxx/public_html/forum/Themes/default/ProfilePictures.template.php (pictures_view sub template - eval?)
Linha: 254
   

Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL http://www.tectonny.com/forum/index.php?action=profile;u=1;sa=pictures;view=1
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: profile_comment_add
Arquivo: /home/xxxxxxxx/public_html/forum/Themes/default/ProfilePictures.template.php (pictures_view sub template - eval?)
Linha: 249
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 12:24:27 PM
Test report to the administrator

Undefined index: profile_report_comment
Arquivo: /home/xxxxxxx/public_html/forum/Sources/Profile.php
Linha: 2758
Title: Re: Ultimate Profile
Post by: Yağız... on May 05, 2009, 12:39:55 PM
I think you are using an older version of language file. Re-download the mod and re-translate it.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 12:40:51 PM
   
After you resolve this error that appears in the log, I wonder as I add more folders to upload images.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 12:42:13 PM
   
Tell me the correct link please, here is 0.9
Title: Re: Ultimate Profile
Post by: Yağız... on May 05, 2009, 12:43:56 PM
http://custom.simplemachines.org/mods/index.php?action=download;mod=1675;id=88604
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 12:46:24 PM
   
I use the Custom Profile Field Mod has a problem with this MOD, MOD out the Ultimate Profile
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 12:51:21 PM
installed again and still showing that the errors noted above.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 02:04:54 PM
   
installed again and still showing that the errors noted above.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 05, 2009, 02:52:53 PM
Problem solved, it was my mistake in translation, and decided to correct the translation that I put up there.

One question, how do I that the time to upload images, show a folder options?
Title: Re: Ultimate Profile
Post by: Stigmartyr on May 05, 2009, 06:04:25 PM
BTW - one more little question: I noticed on the actual pics page it wants to render 10 images in 3 columns?  Seems like it would make more sense to render 12 in 3 colums..

My link: http://stangnation.com/index.php?action=profile;u=2;sa=pictures

Looks to me like there are a few 'if' statements there indicating that if it's 4 pics in a row to put one on a new row?  IDK Im not sure..  What can I edit to just make that page show 12?  If it's possible :)

Anyone have any insight as to this question :) :) ^

I attached the ProfilePictures.template.php for reference if that helps
Title: Re: Ultimate Profile
Post by: Yağız... on May 05, 2009, 06:12:20 PM
Try this.
Title: Re: Ultimate Profile
Post by: Stigmartyr on May 05, 2009, 10:24:45 PM
Try this.

Thanks for helping out :)  So what it did was render the thumbs in 4 columns rather than 3.  I was looking for 4 rows and 3 columns.
Title: Re: Ultimate Profile
Post by: aED on May 05, 2009, 11:41:03 PM
Here! hope i got it right!  ;)
Title: Re: Ultimate Profile
Post by: Özgür on May 06, 2009, 12:05:11 AM
Find
Code: [Select]
if (!empty($context['pictures'])) {
echo '
<tr>
<td class="windowbg2" style="padding-bottom: 2ex;">
<table border="0" cellpadding="4" cellspacing="1" width="100%" id="pictures">';


$i = 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>';

echo '
<td align="center" valign="top" class="windowbg2" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" /></a>
<br />
<b>', $picture['title'], '</b>
</td>';

if ($i == 3)
echo '
</tr>';

$i++;
if ($i == 4) $i = 1;
}
echo '
</table>
</td>
</tr>';
}

Change
if ($i == 3) to if ($i == 2)
if ($i == 4)  to if ($i == 3)
Title: Re: Ultimate Profile
Post by: tonnybarros on May 06, 2009, 08:02:01 AM
Erro BBcode

Code: [Select]
[b]brecha(Nilceu)[/b] quer ser seu amigo. [url=http://www.tectonny.com/forum/index.php?action=buddies]Clique aqui[/url] para aprovar ou negar o seu pedido.
Title: Re: Ultimate Profile
Post by: Chipfryer on May 06, 2009, 09:04:38 AM
Hi.
Firstly many thanks for such a wicked modification. This works fabulously on my forum.
I have a question please.

I'm trying to load an SWF within the media section. It loads but does not play from that location and gives denied calls.
Is there anything I can do to make this work please?
Many thanks.

<object classid="denied:denied:denied:clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="245">
  <param name="movie" value="http://mysite/file.swf" />
  <param name="quality" value="high" />
  <embed src="http://mysite/file.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="245" />
</object>
Title: Re: Ultimate Profile
Post by: mattchewone on May 07, 2009, 10:28:55 AM
Is this going to be upgraded to work with RC1?
Title: Re: Ultimate Profile
Post by: Chipfryer on May 07, 2009, 10:38:25 AM
I just wanted to add that I know its dangerous to allow members to add flash files. I was rather hoping to use this as an application where files could be loaded by admins only.

Looking at it however this might not work at all.
Many thanks anyway.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 09, 2009, 09:36:47 PM
I believe I found a bug, installed this MOD in my wonderful forum, where every message created with the form does not account for the State message.

Eg a new member with 0 message, put the form to send the form it continues with 0 message. Loading message from normal mode it does not. But if I go into the profile of the member and still showing 0, but if I ask to show the messages of the State, the message appears.

http://www.tectonny.com/forum/index.php/board,21.0.html

http://www.tectonny.com/forum/index.php?action=form;id=1
Title: Re: Ultimate Profile
Post by: Adi. on May 11, 2009, 03:58:28 AM
Hi,

I used the previous version of this mod (.8.5).

After upgrading to this version (.9), all profile pictures dont show. The folder (profile_pictures) and all of the pictures are still there, but they don't show on the profile.

Could you help me with this?

Thank you.
Title: Re: Ultimate Profile
Post by: Yağız... on May 11, 2009, 05:32:57 AM
I believe I found a bug, installed this MOD in my wonderful forum, where every message created with the form does not account for the State message.

Eg a new member with 0 message, put the form to send the form it continues with 0 message. Loading message from normal mode it does not. But if I go into the profile of the member and still showing 0, but if I ask to show the messages of the State, the message appears.

http://www.tectonny.com/forum/index.php/board,21.0.html

http://www.tectonny.com/forum/index.php?action=form;id=1
This is not an issue about this mod.

Hi,

I used the previous version of this mod (.8.5).

After upgrading to this version (.9), all profile pictures dont show. The folder (profile_pictures) and all of the pictures are still there, but they don't show on the profile.

Could you help me with this?

Thank you.
http://jovant.guruserve.com/test-forum/index.php?topic=13.msg42#msg42
Title: Re: Ultimate Profile
Post by: Adi. on May 11, 2009, 05:46:46 AM
I believe I found a bug, installed this MOD in my wonderful forum, where every message created with the form does not account for the State message.

Eg a new member with 0 message, put the form to send the form it continues with 0 message. Loading message from normal mode it does not. But if I go into the profile of the member and still showing 0, but if I ask to show the messages of the State, the message appears.

http://www.tectonny.com/forum/index.php/board,21.0.html

http://www.tectonny.com/forum/index.php?action=form;id=1
This is not an issue about this mod.

Hi,

I used the previous version of this mod (.8.5).

After upgrading to this version (.9), all profile pictures dont show. The folder (profile_pictures) and all of the pictures are still there, but they don't show on the profile.

Could you help me with this?

Thank you.
http://jovant.guruserve.com/test-forum/index.php?topic=13.msg42#msg42

Thank you.
That solved my problem.
Title: Re: Ultimate Profile
Post by: tonnybarros on May 11, 2009, 10:39:07 AM
why not? If this only happens with the message created with this MOD, normal messages is not the problem.
Title: Re: Ultimate Profile
Post by: Joe N on May 11, 2009, 10:43:14 AM
smf 2x?
Title: Re: Ultimate Profile
Post by: tonnybarros on May 11, 2009, 10:45:34 AM
No, 1.1.8
Title: Re: Ultimate Profile
Post by: ~ Phåråoh ~ on May 11, 2009, 12:51:49 PM
Gotta say, I love this mod!  So much nicer than the bland cracker original profile in so many ways.  You really can do a lot with it, and, if you know a little bit of coding, you can modify your custom themes right in the program.  Great job!

In fact, I like it so much, is there a way to set Ultimate Profile as the default profile shown for all users?
Title: Re: Ultimate Profile
Post by: Yağız... on May 11, 2009, 01:27:48 PM
Gotta say, I love this mod!  So much nicer than the bland cracker original profile in so many ways.  You really can do a lot with it, and, if you know a little bit of coding, you can modify your custom themes right in the program.  Great job!

In fact, I like it so much, is there a way to set Ultimate Profile as the default profile shown for all users?

Look at ACP > Features and Settings > Ultimate Profile. There is an option for this.

why not? If this only happens with the message created with this MOD, normal messages is not the problem.
Which mods are you using?
Title: Re: Ultimate Profile
Post by: soax on May 11, 2009, 11:13:39 PM
Great mod, ty for ir :P

Version: SMF 1.1.7
Theme: I have a lot, but take the default
URL: thewastedyouths.com
Language: spanish_latin-utf8

I have one problem, i've installed it, and all my users now can use it without any inconvenence, the inconvenence is for me, (co-administrator) i cant see the panel for configuration into the "path" mencionated into the FAQ, im a second administrator with any restriction, only show an space, i've tried changing language to english, british, spanish (my language), latin, and no one, someone can help me to fix it?

another question, i want to use the css, but nothing that i insert into the text box works, only show it like text on top into the profile, whats wrong?

the last one instaling profile visitors i got this error, someone have any idea?

Quote
Ejecutar Modificación     ./Sources/Load.php     Prueba fallida
Ejecutar Modificación     ./Themes/default/UltimateProfile.template.php     Prueba fallida

(test failed)

ty for time
Title: Re: Ultimate Profile
Post by: ~ Phåråoh ~ on May 12, 2009, 12:16:41 AM
Gotta say, I love this mod!  So much nicer than the bland cracker original profile in so many ways.  You really can do a lot with it, and, if you know a little bit of coding, you can modify your custom themes right in the program.  Great job!

In fact, I like it so much, is there a way to set Ultimate Profile as the default profile shown for all users?


Look at ACP > Features and Settings > Ultimate Profile. There is an option for this.

Tried that at first.  I'd click on Ultimate Profile and it just stays on SMF's "basic features".
Title: Re: Ultimate Profile
Post by: Filipina on May 12, 2009, 08:36:47 AM
Sudden problem with editing Ultimate profiles. Not sure what has happened but all the sudden I am getting a flood of IM's about the edit feature. It appears that the right portion of it is missing and members cannot scroll over to the right and find the "change profile" button anymore. I have gone into several profiles and confirmed it is true. Any ideas would be appreciated this is a huge problem :)
Title: Re: Ultimate Profile
Post by: Bec on May 12, 2009, 01:14:38 PM
Hello,

Would appreciate some help with the following, just noticed that my referral codes were not showing on the summary screen and when i try to install the code into the ultimateprofile.template.php it throws everything out of whack, can someone please tell me how I can get it to fit under the other boxes...  i have attached a piccie so you can see what I mean and this is the code i am using...

Code: [Select]
// Adds the referral/referred user information to the profile summary
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr>
<td><b>', $txt['referrals_referrals'], '</b></td>
<td>', $context['member']['referrals_no'];

// Show in dropdown of those referred
if (!empty($context['member']['referred_members'])){
echo '  <select onchange="location=options[selectedIndex].value;">
<option>', $txt['referrals_membersreferred'], '</option>';

foreach($context['member']['referred_members'] as $referred)
echo '
', $referred;

echo '
</select>';
}

echo '
</td>
</tr>
<tr>
<td><b>', $txt['referrals_referrals_hits'], '</b></td>
<td>', $context['member']['referrals_hits'], '</td>
</tr>';

if (!empty($context['member']['referred_by']))
echo'
<tr>
<td><b>', $txt['referrals_referred_by'], '</b></td>
<td>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', date("jS M Y",$context['member']['referred_on']), '</td>
</tr>';

echo '
<tr>
<td colspan="2"><b>', $txt['referrals_link'], '</b></td>
</tr>
<tr>
<td colspan="2" style="text-align: center;">
<input type="text" id="referral_link" value="', $scripturl, '?referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
</td>
</tr>';
Title: Re: Ultimate Profile
Post by: Yağız... on May 12, 2009, 01:29:36 PM
@Filipina;
Can I have the code you've added there please?

@Bec;
Find in ../Themes/default/UltimateProfile.template.php:
Code: [Select]
// Messenger type information.Add before:
Code: [Select]
// Adds the referral/referred user information to the profile summary
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="info1 >
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td><b>', $txt['referrals_referrals'], '</b></td>
<td>', $context['member']['referrals_no'];

// Show in dropdown of those referred
if (!empty($context['member']['referred_members'])){
echo '
<select onchange="location=options[selectedIndex].value;">
<option>', $txt['referrals_membersreferred'], '</option>';

foreach($context['member']['referred_members'] as $referred)
echo '
', $referred;
echo '
</select>';
}
echo '
</td>
</tr>
<tr>
<td><b>', $txt['referrals_referrals_hits'], '</b></td>
<td>', $context['member']['referrals_hits'], '</td>
</tr>';

if (!empty($context['member']['referred_by']))
echo'
<tr>
<td><b>', $txt['referrals_referred_by'], '</b></td>
<td>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', date("jS M Y",$context['member']['referred_on']), '</td>
</tr>';

echo '
<tr>
<td colspan="2"><b>', $txt['referrals_link'], '</b></td>
</tr>
<tr>
<td colspan="2" style="text-align: center;">
<input type="text" id="referral_link" value="', $scripturl, '?referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
</td>
</tr>
</table>
</td>
</tr>
</table>

<br />';
Title: Re: Ultimate Profile
Post by: Filipina on May 12, 2009, 01:59:38 PM
Thanks you :) I noticed it is flash inside the media box but never noticed it to cause a problem before... just started recently with many members. I have not checked all the ones with problems to see if they have flash in them but maybe I should. I have gotten dozens of IM's.

Code: [Select]
<style>body{cursor:url(http://www.tweakyourpage.com/Cursors/Arrows/cursors/25.ani);}</style><br /><div style="text-align: center;"><a style="padding:3px;background:#000;color:#00ADEF;font-family:tahoma;font-size:11px;font-weight:bold;text-decoration:none;border:1px solid #00ADEF"></a></div>

 <style>

BODY {background-image: url(http://i122.photobucket.com/albums/o278/MICHAEL57B/Myra1stanniversary1-1.png);
background-repeat: attribute; background-attachment: fixed}</style><object classid="denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:denied:clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="768" width="1024" style="LEFT: 90px; POSITION: absolute; top: 300px">
  <param name="allowScriptAccess" value="never" />
  <param name="allowNetworking" value="internal" />
  <param name="movie" value="http://www.htmate.com/flash3d/rainbowsnake.swf" />
  <param name="wmode" value="transparent" />
  <param name="quality" value="high" />
<embed type="application/x-shockwave-flash" src="http://www.htmate.com/flash3d/rainbowsnake.swf" height="768" width="1024" style="LEFT: 90px; POSITION: absolute; top: 300px" wmode="transparent" />
</object>..<br /><div style="position:absolute;left:0px;top:45px;width:120px;height:46px;"><br /><br /></div>

P.S. The problem does not appear in firefox.

I am sorry or did you mean the code to the Ultimate profile template? Here it is just in case.  Thanks

Title: Re: Ultimate Profile
Post by: mrtrc266 on May 12, 2009, 02:30:44 PM
@ Filipina

When I had the UP installed on 1.1.8 a few members used those myspace layout tools and also some myspace gadgets and it completely locked up their profile, even I couldn't get to their edit section. Had to remove the code from phpMyadmin.

Eventually had to ask members not to use that stuff or send me the link to what they wanted to check it out first.
Title: Re: Ultimate Profile
Post by: JoeB on May 12, 2009, 04:20:43 PM
not working on 1.1.8
with very heavy modes

got these errors
Very difficult to parse manually
please advice me

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Profile.php Test failed  
2. Execute Modification ./Themes/default/Profile.template.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test failed  
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed  
5. Execute Modification ./Themes/default/languages/Modifications.serbian-utf8.php Skipping file
6. Execute Modification ./index.php Test failed  
7. Execute Modification ./Sources/ManagePermissions.php Test failed  
8. Execute Modification ./Sources/Subs-Members.php Test successful
9. Delete File ./Sources/Buddies.php 
10. Delete File ./Sources/HtmLawed.php 
11. Delete File ./Sources/ProfilePictures.php 
12. Delete File ./Themes/default/Buddies.template.php 
13. Delete File ./Themes/default/ProfilePictures.template.php 
14. Delete File ./Themes/default/UltimateProfile.template.php 
15. Delete File ./Themes/default/languages/UltimateProfile.english.php 
16. Delete File ./Themes/default/languages/UltimateProfile.serbian-utf8.php
Title: Re: Ultimate Profile
Post by: soax on May 12, 2009, 04:33:29 PM
someone can help me? please ::)

Great mod, ty for ir :P

Version: SMF 1.1.7
Theme: I have a lot, but take the default
URL: thewastedyouths.com
Language: spanish_latin-utf8

I have one problem, i've installed it, and all my users now can use it without any inconvenence, the inconvenence is for me, (co-administrator) i cant see the panel for configuration into the "path" mencionated into the FAQ, im a second administrator with any restriction, only show an space, i've tried changing language to english, british, spanish (my language), latin, and no one, someone can help me to fix it?

another question, i want to use the css, but nothing that i insert into the text box works, only show it like text on top into the profile, whats wrong?

the last one instaling profile visitors i got this error, someone have any idea?

Quote
Ejecutar Modificación     ./Sources/Load.php     Prueba fallida
Ejecutar Modificación     ./Themes/default/UltimateProfile.template.php     Prueba fallida

(test failed)

ty for time
Title: Re: Ultimate Profile
Post by: Filipina on May 12, 2009, 07:08:37 PM
@ Filipina

When I had the UP installed on 1.1.8 a few members used those myspace layout tools and also some myspace gadgets and it completely locked up their profile, even I couldn't get to their edit section. Had to remove the code from phpMyadmin.

Eventually had to ask members not to use that stuff or send me the link to what they wanted to check it out first.

Thanks mrtrc266... it puzzles me because lots of people have been using this stuff for a while and only now is it presenting a problem. Is there a way to stop the stretching of the edit fields?

I was able to remove the code by highlighting and cutting it, clicking the tab button to get to the invisible "change profile" button, and then clicking enter on my keyboard. Once the code was removed the edit field was normal again... the problem is I have hundreds of ladies with these and I don't know if there is a way to stop the stretch without having to be the profile police :)
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 12, 2009, 07:54:49 PM
I'm not sure how to stop it from widening, I do know that HTML can screw up a whole page in a bad way though. I had to the the Profile Police as well :P .
 
It didn't happen to me at first either, but what happened was one person found a neat Myspace Layout site and put it on their page, another member asks "Hey how'd you do that" and then it spreads like a virus from there LOL. Those places are terrible, it's extremely bad coding, some even malicious and alot throw ads all over the page too.
 
Just have to tell members to be careful where they go and what they get.
Title: Re: Ultimate Profile
Post by: Filipina on May 13, 2009, 10:46:14 AM
I don't know it seems like all sorts of media is also causing this problem now. Not just the myspace layouts, but imbeded videos, photobucket stuff, and lots of others are stretching the edit feature. There must be a way to keep the Ultimate Profile "change profile" button from sliding off the page? I now have hundreds of profiles that are not able to edit their profile unless i do it for them. 
Title: Re: Ultimate Profile
Post by: alex_sercan on May 14, 2009, 04:26:29 PM
I got an error.

Firstly when i installed it to my site by manual , it was working good except for buddy list. When you clicked for "add your buddy list" it respond with nothing , made you return main page.
so , I decided to install it again , again with manual but this time from this site's mod page.

Now i get an error like this ;

"
Parse error: syntax error, unexpected T_ELSE in C:\Inetpub\vhosts\siptoma.com\httpdocs\forum\Sources\Profile.php on line 1233 "

What should i do? Please help me :(
Title: Re: Ultimate Profile
Post by: Nas187 on May 14, 2009, 07:27:21 PM
I just auto installed it but when I tried to check out the profile, I got this database error

Unknown column 'com.time' in 'field list'
File: /home/cogaming/domains/cogaming.serverffs.com/public_html/forum/Sources/Profile.php
Line: 1334

Profiles do work when uninstalled, I attached the profile.php
Title: Re: Ultimate Profile
Post by: Nas187 on May 15, 2009, 01:16:47 PM
Sorry for the bump, but I really need this MOD and currently no profiles work on my forum (http://cogaming.serverffs.com/forum)

update: Ugh it gets more annoying, I uninstalled it and tried to do it manually.. it seems that it didn't remove what it had to because In my profile.php the mod modifications are still there :(
Title: Re: Ultimate Profile
Post by: alex_sercan on May 15, 2009, 01:49:57 PM
Isnt there anybody to help us ? :(
Title: Re: Ultimate Profile
Post by: Filipina on May 15, 2009, 05:18:51 PM
Isnt there anybody to help us ? :(

I hope so because i have serious problems with the above mentioned on my site. I first was blaming it on myspace and flash but it seems like lots of media is stretching everything out of wack.
Title: Re: Ultimate Profile
Post by: nomnomfish on May 17, 2009, 09:28:41 PM
I have Referrals Mod v2.2.6 and was wondering if there is any way to add the

Referrals:     0
Referral Link Hits:    0
Referrals Link:

to the ultimate profile because it doesn't seem to show up.  ???
How would i add this to ultimate profile?
Thanks
Title: Re: Ultimate Profile
Post by: JoeB on May 18, 2009, 07:39:50 AM
bump

anybody there to help please?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on May 18, 2009, 07:47:23 AM
bump

anybody there to help please?


the only answer is to parse it manually for those failed tests. i proceed with the package install [of course back up yoru files] and then go into the 5 files that failed the test and manually apply the changes to those only.
Title: Re: Ultimate Profile
Post by: Joe N on May 18, 2009, 11:48:26 AM
bump

anybody there to help please?


the only answer is to parse it manually for those failed tests. i proceed with the package install [of course back up yoru files] and then go into the 5 files that failed the test and manually apply the changes to those only.
Yep.
Title: Re: Ultimate Profile
Post by: JoeB on May 18, 2009, 12:56:14 PM
bump

anybody there to help please?


the only answer is to parse it manually for those failed tests. i proceed with the package install [of course back up yoru files] and then go into the 5 files that failed the test and manually apply the changes to those only.
Yep.
Thank you Joe N & NenaGb
I tried that & insert all code manually but no joy
Title: Re: Ultimate Profile
Post by: dru1487 on May 22, 2009, 02:32:36 PM
I am trying to change the text "My Interest" to "My Setup." I change the text in the ultimateprofile.english.php file and save it. But it won't save. It just's keep changing back to the original text "My Interests."

Any ideas?
Title: Re: Ultimate Profile
Post by: SolidSnake2003 on May 23, 2009, 12:43:47 AM
I would like to convert the original Ultimate Profile to look like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg36.imageshack.us%2Fimg36%2F2998%2Fprofiley.th.jpg&hash=bc55dcce3e9bb4461b52baaeb48834dd) (http://img36.imageshack.us/my.php?image=profiley.jpg)

Here is the code to the template:

Code: [Select]
<?php
// Version: 0.8.5; UltimateProfile
// This file is a part of Ultimate Profile mod
// Author: Jovan Turanjanin

function template_summary2()
{
global $context$settings$options$scripturl$modSettings$txt$db_prefix,$ID_MEMBER;

// Output user's customization code.
if ($modSettings['profile_allow_customize'] == 1)
echo '
<!-- start of user\'s customization code -->
'
,
un_htmlspecialchars (@$context['member']['options']['css'])
'
<!-- end of user\'s customization code -->

'
;

// Do the containing table and table header.
echo '
<table border="0" cellpadding="4" cellspacing="1" align="center" id="profile_info" width="850px">
<tbody>'
;
// Do the left hand column - where all the important user info is displayed.
echo '
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#3568b5" width="850px">
<tbody>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#3568b5" width="850px">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="850px" id="summary">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="2" width="850px">
<tr>
<td width="425" align="left">
<table border="0" cellspacing="0" cellpadding="2" width="425">
<tr>
<td width="30%" align="center" valign="middle">
<div class="avatar">'
$context['member']['avatar']['image'], '</div></td>
<td valign="top"><span class="largetext">'
$context['member']['name'], '</span> '$settings['use_image_buttons'] ? '<img src="' $context['member']['online']['image_href'] . '" title="' $context['member']['online']['text'] . '" alt="' $context['member']['online']['text'] . '" align="middle" />' $context['member']['online']['text'], $settings['use_image_buttons'] ? '' '''<br />';
if (!empty($modSettings['titlesEnable']) && $context['member']['title'] != '')
{
echo ' <span class="smalltext"><b><i>'$context['member']['title'], '</i></b></span><br />';

}
echo '<b><i>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</i></b></td></tr></table></td>
<td align="right" valign="top" width="425">
<table border="0" cellspacing="0" cellpadding="2" width="425">
<tr>
<td><b>'
;
// Is karma display enabled?
if ($modSettings['karmaMode'] != '0'){
echo '';

foreach($context['member']['karma']['bars'] as $karma_bar)
echo '<img src="'$settings['images_url'], '/karma'$karma_bar['type'], '.gif" title="'$context['member']['name'], ' '$karma_bar['desc'], '" alt="'$context['member']['name'], ' '$karma_bar['desc'], '" />';
}
echo ' </b></td></tr>
<tr>
<td>'
$context['member']['group_stars'], '</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></td></tr></tbody></table></td></tr>
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#3568b5" width="850px">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="460px" id="info1">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="0" width="460px">
<tr>
<td class="titlebg" height="26" align="center"><b>Basic Info</b></td></tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="460px">
<tr>
<td><b>'
$txt[231], ': </b></td>
<td>'
$context['member']['gender']['image'] ,' '$context['member']['gender']['name'], '</td>
</tr>
<tr>
<td><b>'
$txt[420], ':</b></td>
<td>'
$context['member']['age'] . ($context['member']['today_is_birthday'] ? ' &nbsp; <img src="' $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' ''), '</td>
</tr>
<tr>
<td><b>'
$txt[227], ':</b></td>
<td>'
$context['member']['location'], '</td>
</tr>
<tr>
<td><b>'
$txt[233], ': </b></td>
<td>'
$context['member']['registered'], '</td>
</tr>
<tr>
<td><b>'
$txt['lastLoggedIn'], ': </b></td>
<td>'
$context['member']['last_login'], '</td>
</tr>
</table>
</td>
</tr>
</table></td></tr></table>

<br />
'
;

// Messenger type information.
echo ' <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="460px" id="contact">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_contact'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="460px">'
;

// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'] )
echo '
<tr>
<td colspan="2"><img src="'
$settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="'$scripturl'?action=buddies;sa=add;u='$context['member']['id'], ';sesc='$context['session_id'], '" onclick="javascript:return confirm(\''$txt['buddy_explanation']  ,'\')">['$txt['buddy_add'], ']</a></td>
</tr>'
;

if (!$context['user']['is_owner'] && $context['can_send_pm'])
echo '
<tr>
<td colspan="2"><img src="'
$settings['images_url'] ,'/icons/pm_read.gif" alt="" /> <a href="'$scripturl'?action=pm;sa=send;u='$context['member']['id'], '">'$txt[688], '.</a></td>
</td>'
;

if ((!empty($context['can_have_buddy']) && !$context['user']['is_owner']) || (!$context['user']['is_owner'] && $context['can_send_pm']))
echo '
<tr>
<td colspan="2">&nbsp;</td>
</tr>'
;

if ($context['member']['icq']['link_text'] != '')
echo ' <tr>
<td><img src="'
$settings['images_url'] ,'/icq.gif" alt="'$txt[513], '" /></td>
<td valign="middle">'
$context['member']['icq']['link_text'], '</td>
</tr>'
;

if ($context['member']['aim']['link_text'] != '')
echo ' <tr>
<td><img src="'
$settings['images_url'] ,'/aim.gif" alt="'$txt[603], '" /></td>
<td valign="middle">'
$context['member']['aim']['link_text'], '</td>
</tr>'
;

if ($context['member']['msn']['link_text'] != '')
echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/msntalk.gif" alt="'$txt['MSN'], '" /></td>
<td valign="middle">'
$context['member']['msn']['link_text'], '</td>
</tr>'
;
if ($context['member']['yim']['link_text'] != '')
echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/yim.gif" alt="'$txt[604], '" /></td>
<td valign="middle">'
$context['member']['yim']['link_text'], '</td>
</tr>'
;

echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/email_sm.gif" alt="'$txt[69], '" /></td>
<td valign="middle">'
;

// Only show the email address if it's not hidden.
if ($context['member']['email_public'])
echo '
<a href="mailto:'
$context['member']['email'], '">'$context['member']['email'], '</a>';
// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif (!$context['member']['hide_email'])
echo '
<i><a href="mailto:'
$context['member']['email'], '">'$context['member']['email'], '</a></i>';
else
echo '
<i>'
$txt[722], '</i>';

// Some more information.
echo '
</td>
</tr>'
;
if ($context['member']['website']['url'] !== '')
echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/www.gif" alt="'$txt[96], '" /></td>
<td><a href="'
$context['member']['website']['url'], '" target="_blank">'$context['member']['website']['title'], '</a></td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>

<br />
'
;

echo '
<table border="0" cellpadding="4" cellspacing="1" width="460px" id="info2">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="460" class="bordercolor">
<tr>
<td colspan="2" height="25">
<table width="460px" cellpadding="0" cellspacing="0" border="0" style="table-layout: fixed;">
<tr>
<td style="padding-bottom: 0.5ex;"><b>'
$txt[85], ':</b></td>
</tr>
<tr>
<td colspan="2" width="100%" class="smalltext"><div class="signature">'
$context['member']['signature'], '</div></td>
</tr>
</table>
</td>
</tr></table></td></tr>
<tr>
<td height="8"></td></tr>
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="460">
<tr>'
;

// Is this member requiring activation and/or banned?
if (!empty($context['activate_message']) || !empty($context['member']['bans']))
{
echo '
<tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>'
;

// If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves.
if (!empty($context['activate_message']))
echo '
<tr>
<td colspan="2">
<span style="color: red;">'
$context['activate_message'], '</span>&nbsp;(<a href="' $scripturl '?action=profile2;sa=activateAccount;userID=' $context['member']['id'] . ';sesc=' $context['session_id'] . '" ', ($context['activate_type'] == 'onclick="return confirm(\'' $txt['profileConfirm'] . '\');"' ''), '>'$context['activate_link_text'], '</a>)
</td>
</tr>'
;

// If the current member is banned, show a message and possibly a link to the ban.
if (!empty($context['member']['bans']))
{
echo '
<tr>
<td colspan="2">
<span style="color: red;">'
$txt['user_is_banned'], '</span>&nbsp;[<a href="#" onclick="document.getElementById(\'ban_info\').style.display = document.getElementById(\'ban_info\').style.display == \'none\' ? \'\' : \'none\';return false;">' $txt['view_ban'] . '</a>]
</td>
</tr>
<tr id="ban_info" style="display: none;">
<td colspan="2">
<b>'
$txt['user_banned_by_following'], ':</b>';

foreach ($context['member']['bans'] as $ban)
echo '
<br /><span class="smalltext">'
$ban['explanation'], '</span>';

echo '
</td>
</tr>'
;
}
}

// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
echo '
<tr>
<td>
<b>'
$modSettings['karmaLabel'], ' </b>
</td><td>
'
, ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>'
;
elseif ($modSettings['karmaMode'] == '2')
echo '
<tr>
<td>
<b>'
$modSettings['karmaLabel'], ' </b>
</td><td>
+'
$context['member']['karma']['good'], '/-'$context['member']['karma']['bad'], '
</td>
</tr>'
;

// If the person looking is allowed, they can check the members IP address and hostname.
if ($context['can_see_ip'])
{
echo '
<tr>
<td width="40%">
<b>'
$txt[512], ': </b>
</td><td>
<a href="'
$scripturl'?action=trackip;searchip='$context['member']['ip'], '" target="_blank">'$context['member']['ip'], '</a>
</td>
</tr>
<tr>
<td width="40%">
<b>'
$txt['hostname'], ': </b>
</td><td width="55%">
<div title="'
$context['member']['hostname'], '" style="width: 100%; overflow: hidden; font-style: italic;">'$context['member']['hostname'], '</div>
</td>
</tr>'
;
}

if (!empty($modSettings['userLanguage']))
echo '
<tr>
<td><b>'
$txt['smf225'], ':</b></td>
<td>'
$context['member']['language'], '</td>
</tr>'
;
echo '
<tr>
<td><b>'
$txt['local_time'], ':</b></td>
<td>'
$context['member']['local_time'], '</td>
</tr>
<tr>
<td colspan="2">
<br />
<a href="'
$scripturl ,'?action=profile;u='$context['member']['id'], ';sa=report">'$txt['profile_report_this'] ,'</a><br />
<br />
<a href="'
$scripturl'?action=profile;u='$context['member']['id'], ';sa=showPosts">'$txt[460], ' '$txt[461], '.</a><br />
<a href="'
$scripturl'?action=profile;u='$context['member']['id'], ';sa=statPanel">'$txt['statPanel_show'], '.</a><br />
</td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>'
;

echo '
</td>'
;


// Now print the second column.
echo '
<td valign="top" width="390" id="profile_right">'
;

if (isset ($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
<a href="'
$scripturl ,'?action=profile;u='$context['member']['id'], ';sa=buddies">'$txt['profile_buddies'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr>
<td colspan="2">
<table width="100%">'
;
if (isset ($context['member']['buddies_data'])) {
$i 1;
foreach ($context['member']['buddies_data'] as $buddy_id => $data) {
if ($i == 1)
echo ' <tr>';
echo '
<td align="center">
'
$data['avatar_image'],'<br />
<a href="'
$scripturl '?action=profile;u='$data['ID_MEMBER'] , '">' $data['realName'] , '</a><br />
<i>'
$settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' 'useroff') . '.gif' '" alt="' $txt[$data['is_online'] ? 'online2' 'online3'] . '" align="middle" />' $txt[$data['is_online'] ? 'online2' 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' $txt[$data['is_online'] ? 'online2' 'online3'] . '</span>' '''</i>
</td>'
;
if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4$i 1;
}
} else
echo ' <tr><td>'$txt['profile_buddies_no'] ,'</td></tr>';

echo '
</table>
</td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>'
;
}

if ($modSettings['profile_enable_pictures'] == && $context['can_view_pics']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="pictures">
<tr>
<td class="titlebg" height="26" align="center">
<a href="'
$scripturl ,'?action=profile;u='$context['member']['id'] ,';sa=pictures">'$txt['profile_pictures'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table>'
;

if (!empty($context['pictures'])) {
$i 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>'
;

echo '
<td align="center" valign="top" style="clear: both;">
<a href="'
$picture['url'] ,'"><img src="'$picture['thumb'] ,'" alt="" title="'$picture['title'], '" border="0" /></a>
</td>'
;

if ($i == 3)
echo '
</tr>'
;

$i++;
if ($i == 4$i 1;
}
} else 
echo '
<tr>
<td>'
$txt['profile_pictures_no'] ,'</td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>

<br />
'
;
}

/*
// This Section is optional. You can paste code for displaying recent blog posts from felblog or some other blog mod for SMF
// Remeber to uncomment this section first!

echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="blog">
<tr>
<td class="titlebg" height="26" align="center">Blog</td>
</tr>
<tr>
<td class="windowbg">';

// PASTE YOUR BLOG CODE HERE

echo '
</td>
</tr>
</table>
<br />';
*/

echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="aboutme">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_about_me'] ,'
</td>
</tr>
<tr>
<td class="windowbg">'
;

if (!empty($context['member']['options']['about']))
echo 
'
parse_bbc ($context['member']['options']['about']);
else
echo 
'
$txt['profile_about_no'];
echo '
</td>
</tr>
</table>'
;

if (!empty($context['member']['options']['interests']))
echo '
<br />

<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="interests">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_interests'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
'
parse_bbc ($context['member']['options']['interests']) ,'
</td>
</tr>
</table>'
;

if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />

<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
'
un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>'
;

/*
// This section is optional. You can paste code and display fields from Custom Profile fields mod.

echo '
<br />

<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">';


// PASTE YOUR CODE HERE


echo '
</td>
</tr>
</table>';
*/

echo '
</td>
</tr>
</table></td></tr>
<tr>
<td valign="top">'
;

if (!empty(
$context['profile_areas']))
{
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="profile_areas">
<tr>
<td class="windowbg2">
<table>
<tr>'
;

// Loop through every area, displaying its name as a header.
foreach ($context['profile_areas'] as $section)
{
echo ' <td valign="top">
<table border="0" cellpadding="4" cellspacing="1">
<tr>
<td class="catbg">'
$section['title'], '</td>
</tr>
<tr>
<td class="windowbg2 smalltext">'
;

// For every section of the area display it, and bold it if it's the current area.
foreach ($section['areas'] as $i => $area)
if ($i == $context['menu_item_selected'])
echo '
<b>'
$area'</b><br />';
else
echo '
'
$area'<br />';
echo '
<br />
</td>
</tr>
</table>
</td>'
;
}

echo ' </tr>
</table>
</td>
</tr>
</table>'
;

}

echo 
'

<div class="div1"></div>

<br />'
;

if (@
$context['member']['options']['comments_disable'] != 1) {
echo '

<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>

<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="65%" id="post_comments">
<tr>
<td class="titlebg"><a href="javascript:void(0);" onclick="comment()">'
$txt['profile_comment_add'] ,'</a></td>
</tr>
<tr id="comment" class="windowbg" style="display: none;">
<td>
<form action="'
$scripturl ,'?action=profile;u='$context['member']['id'] ,';sa=comment;add" method="post">
'
$txt['profile_comment'] ,':<br />
<textarea  cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="'
$txt[10] ,'" />
<input type="hidden" name="sc" value="'
$context['session_id'], '" />
</form>
</td>
</tr>
</table>

<div class="div2"></div>

<br />

<table border="0" cellpadding="4" cellspacing="1" align="center" class="bordercolor" width="100%" id="comments">
<tr>
<td class="titlebg" colspan="2" align="center">'
$txt['profile_comments'] ,'</td>
</tr>'
;

// Only show comments if they have made some!
if (!empty($context['comments'])) {
foreach ($context['comments'] as $comment) {
echo '

<tr>
<td class="windowbg" align="center" valign="top">
<b><a href="'
$scripturl ,'?action=profile;u='$comment['author']['ID_MEMBER'] ,'">'$comment['author']['realName'] ,'</a></b>
<div class="smalltext">
'
$comment['author']['avatar'] ,'<br /><br />
<i>'
$settings['use_image_buttons'] ? '<img src="' $comment['author']['online']['image_href'] . '" alt="' $comment['author']['online']['text'] . '" align="middle" />' $comment['author']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' $comment['author']['online']['text'] . '</span>' '''</i>
</div>
</td>
<td class="windowbg2" valign="top">
<table width="100%">
<tr>
<td><span class="smalltext">'
$comment['time'] ,'</span><hr /></td>
</tr>
<tr>
<td>'
$comment['body'] ,'</td>
</tr>
<tr>
<td align="right" valign="bottom" class="smalltext">'
;
if ($context['user']['is_owner'])
echo '
<a href="'
$comment['reply'], '">'$txt['profile_comment_reply'] ,'</a>&nbsp;&nbsp;&nbsp; ';
if ($context['can_delete'])
echo '
<a href="'
$comment['delete'], '">'$txt['profile_comment_delete'] ,'</a>';

echo '
</td>
</tr>
</table>
</td>
</tr>'
;

}

}
else
echo '
<tr class="windowbg2">
<td colspan="2">'
$txt['profile_comment_no'] ,'</td>
</tr>'
;

echo 
'
</table>'
;

// Show more page numbers.
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor" align="center">
<tr>
<td colspan="3" class="catbg3">
'
$txt[139], ': '$context['page_index'], '
</td>
</tr>
</table></td></tr></tbody></table></td></tr></tbody></table>'
;
}

echo 
'
<div class="div3"></div>'
;

}

?>
Title: Re: Ultimate Profile
Post by: aED on May 23, 2009, 10:08:49 AM
SMF is SMF you dont need to make it look like something its not, well that's my opinion but maybe someone will help you out but I doubt it...
Title: Re: Ultimate Profile
Post by: ~ Phåråoh ~ on May 23, 2009, 02:37:05 PM
SMF is SMF you dont need to make it look like something its not, well that's my opinion but maybe someone will help you out but I doubt it...

SMF is not just SMF.  It's customizable, and that's what makes it so versatile and valuable.  Otherwise, everyone's forum would look and work the same.

In fact, a high percentage of the questions asked on this forum relate to creating customizations so that each web-site/web group is just that; and individual site or community with it's own theme and flavors.

Our requests are totally valid and and warrant no less consideration than any other layout questions and they can be resolved.  Obvioulsy, we try to accomplish it on our own first,  but, like so many people on this forum, our knowledge of coding is limited.  That's why we ask these questions, isn't it?

And that's my opinion.

With all due respect, if you haven't anything positive or helpful to contribute, please refrain from posting "dark cloud" replies to this topic.  It serves no purpose except to add clutter.
Title: Re: Ultimate Profile
Post by: SolidSnake2003 on May 24, 2009, 12:30:00 AM
SMF is SMF you don't need to make it look like something its not, well that's my opinion but maybe someone will help you out but I doubt it...

I'm sorry if I offended you with my question.  I like the look of bulletin for alot of features, but don't want to switch to it cause I find SMF easy to customize.

SMF is SMF you don't need to make it look like something its not, well that's my opinion but maybe someone will help you out but I doubt it...

SMF is not just SMF.  It's customizable, and that's what makes it so versatile and valuable.  Otherwise, everyone forum would look and work the same.

In fact, a high percentage of the questions asked on this forum relate to creating customizations so that each website/web group is just that; and individual site or community with it's own theme and flavors.

Our requests are totally valid and and warrant no less consideration than any other layout questions and they can be resolved.  Obviously, we try to accomplish it on our own first,  but, like so many people on this forum, our knowledge of coding is limited.  That's why we ask these questions, isn't it?

And that's my opinion.

With all due respect, if you haven't anything positive or helpful to contribute, please refrain from posting "dark cloud" replies to this topic.  It serves no purpose except to add clutter.


I totally agree that SMF is customizable.

I have been trying to do it myself, but I can't get it to look right

Ive attached a cap of the right side of the layout that's stretched, Ive tried adding extra table end, but it doesn't work at all.  I'm also listing the new/updated code that I worked on today.

Code: [Select]
<?php
// Version: 0.8.5; UltimateProfile
// This file is a part of Ultimate Profile mod
// Author: Jovan Turanjanin

function template_summary2()
{
global $context$settings$options$scripturl$modSettings$txt$db_prefix,$ID_MEMBER;

// Do the containing table and table header.
echo '
<table border="0" cellpadding="0" cellspacing="0" align="center" id="profile_info" width="850px">
<tbody>
<tr>
<td valign="top">'
;
// Do the left hand column - where all the important user info is displayed.
echo '
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="2" border="0" bgcolor="#3568b5" width="850px" id="summary">
<tbody>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#3568b5" width="850px">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="850px">
<tbody>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="850px">
<tr>
<td width="425" align="left">
<table border="0" cellspacing="0" cellpadding="0" width="425px">
<tr>
<td width="120" align="center" valign="middle">
<div class="avatar">'
$context['member']['avatar']['image'], '</div></td>
<td valign="top" width="305"><span class="largetext">'
$context['member']['name'], '</span> '$settings['use_image_buttons'] ? '<img src="' $context['member']['online']['image_href'] . '" title="' $context['member']['online']['text'] . '" alt="' $context['member']['online']['text'] . '" align="middle" />' $context['member']['online']['text'], $settings['use_image_buttons'] ? '' '''<br />';
if (!empty($modSettings['titlesEnable']) && $context['member']['title'] != '')
{
echo ' <span class="smalltext"><b><i>'$context['member']['title'], '</i></b></span><br />';

}
echo '<b><i>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</i></b></td></tr></table></td>
<td align="right" valign="top" width="425">
<table border="0" cellspacing="0" cellpadding="0" width="425" align="right">
<tr>
<td align="right"><b>'
;
// Is karma display enabled?
if ($modSettings['karmaMode'] != '0'){
echo '';

foreach($context['member']['karma']['bars'] as $karma_bar)
echo '<img src="'$settings['images_url'], '/karma'$karma_bar['type'], '.gif" title="'$context['member']['name'], ' '$karma_bar['desc'], '" alt="'$context['member']['name'], ' '$karma_bar['desc'], '" />';
}
echo ' </b></td></tr>
<tr>
<td align="right">'
$context['member']['group_stars'], '</td>
</tr>
</table>
</td>
</tr>
</table></td></tr></tbody></table></td></tr>
<tr>
<td valign="top">
<table cellpadding="0" cellspacing="2" border="0" bgcolor="#3568b5" width="850px">
<tbody>
<tr>
<td width="600">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#3568b5" width="600px">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" class="windowbg" width="600px" id="info1">
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="0" width="600px">
<tr>
<td class="titlebg" height="26" align="center"><b>Basic Info</b></td></tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="600px">
<tr>
<td><b>'
$txt[231], ': </b></td>
<td>'
$context['member']['gender']['image'] ,' '$context['member']['gender']['name'], '</td>
</tr>
<tr>
<td><b>'
$txt[420], ':</b></td>
<td>'
$context['member']['age'] . ($context['member']['today_is_birthday'] ? ' &nbsp; <img src="' $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' ''), '</td>
</tr>
<tr>
<td><b>'
$txt[227], ':</b></td>
<td>'
$context['member']['location'], '</td>
</tr>
<tr>
<td><b>'
$txt[233], ': </b></td>
<td>'
$context['member']['registered'], '</td>
</tr>
<tr>
<td><b>'
$txt['lastLoggedIn'], ': </b></td>
<td>'
$context['member']['last_login'], '</td>
</tr>
</table>
</td>
</tr>
</table></td></tr></table>

<br />
'
;

// Messenger type information.
echo ' <table border="0" cellpadding="0" cellspacing="0" class="windowbg2" width="600px" id="contact">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_contact'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="0" width="600px">'
;

// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'] )
echo '
<tr>
<td colspan="0"><img src="'
$settings['images_url'] ,'/icons/online.gif" alt="" /> <a href="'$scripturl'?action=buddies;sa=add;u='$context['member']['id'], ';sesc='$context['session_id'], '" onclick="javascript:return confirm(\''$txt['buddy_explanation']  ,'\')">['$txt['buddy_add'], ']</a></td>
</tr>'
;

if (!$context['user']['is_owner'] && $context['can_send_pm'])
echo '
<tr>
<td colspan="0"><img src="'
$settings['images_url'] ,'/icons/pm_read.gif" alt="" /> <a href="'$scripturl'?action=pm;sa=send;u='$context['member']['id'], '">'$txt[688], '.</a></td>
</td>'
;

if ((!empty($context['can_have_buddy']) && !$context['user']['is_owner']) || (!$context['user']['is_owner'] && $context['can_send_pm']))
echo '
<tr>
<td colspan="0">&nbsp;</td>
</tr>'
;

if ($context['member']['icq']['link_text'] != '')
echo ' <tr>
<td><img src="'
$settings['images_url'] ,'/icq.gif" alt="'$txt[513], '" /></td>
<td valign="middle">'
$context['member']['icq']['link_text'], '</td>
</tr>'
;

if ($context['member']['aim']['link_text'] != '')
echo ' <tr>
<td><img src="'
$settings['images_url'] ,'/aim.gif" alt="'$txt[603], '" /></td>
<td valign="middle">'
$context['member']['aim']['link_text'], '</td>
</tr>'
;

if ($context['member']['msn']['link_text'] != '')
echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/msntalk.gif" alt="'$txt['MSN'], '" /></td>
<td valign="middle">'
$context['member']['msn']['link_text'], '</td>
</tr>'
;
if ($context['member']['yim']['link_text'] != '')
echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/yim.gif" alt="'$txt[604], '" /></td>
<td valign="middle">'
$context['member']['yim']['link_text'], '</td>
</tr>'
;

echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/email_sm.gif" alt="'$txt[69], '" /></td>
<td valign="middle">'
;

// Only show the email address if it's not hidden.
if ($context['member']['email_public'])
echo '
<a href="mailto:'
$context['member']['email'], '">'$context['member']['email'], '</a>';
// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif (!$context['member']['hide_email'])
echo '
<i><a href="mailto:'
$context['member']['email'], '">'$context['member']['email'], '</a></i>';
else
echo '
<i>'
$txt[722], '</i>';

// Some more information.
echo '
</td>
</tr>'
;
if ($context['member']['website']['url'] !== '')
echo '
<tr>
<td><img src="'
$settings['images_url'] ,'/www.gif" alt="'$txt[96], '" /></td>
<td><a href="'
$context['member']['website']['url'], '" target="_blank">'$context['member']['website']['title'], '</a></td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>

<br />
'
;

echo '
<table border="0" cellspacing="0" cellpadding="2" width="600" class="windowbg">
<tr>
<td class="titlebg" height="26" align="center"><b>User\'s Signature</b></td>
</tr>
<tr>
<td colspan="0" class="smalltext"><div class="signature">'
$context['member']['signature'], '</div></td>
</tr></table><br />
<table border="0" cellspacing="0" cellpadding="0" width="600px" class="windowbg2" id="info2">
<tr>
<td class="titlebg" height="26" align="center"><b>User\'s Stats</b></td></tr>
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="600px">
<tr>
<td>'
;

// Is this member requiring activation and/or banned?
if (!empty($context['activate_message']) || !empty($context['member']['bans']))
{
echo '
<tr>
<td><hr size="1" width="600" class="hrcolor" /></td>
</tr>'
;

// If the person looking at the summary has permission, and the account isn't activated, give the viewer the ability to do it themselves.
if (!empty($context['activate_message']))
echo '
<tr>
<td>
<span style="color: red;">'
$context['activate_message'], '</span>&nbsp;(<a href="' $scripturl '?action=profile2;sa=activateAccount;userID=' $context['member']['id'] . ';sesc=' $context['session_id'] . '" ', ($context['activate_type'] == 'onclick="return confirm(\'' $txt['profileConfirm'] . '\');"' ''), '>'$context['activate_link_text'], '</a>)
</td>
</tr>'
;

// If the current member is banned, show a message and possibly a link to the ban.
if (!empty($context['member']['bans']))
{
echo '
<tr>
<td>
<span style="color: red;">'
$txt['user_is_banned'], '</span>&nbsp;[<a href="#" onclick="document.getElementById(\'ban_info\').style.display = document.getElementById(\'ban_info\').style.display == \'none\' ? \'\' : \'none\';return false;">' $txt['view_ban'] . '</a>]
</td>
</tr>
<tr id="ban_info" style="display: none;">
<td>
<b>'
$txt['user_banned_by_following'], ':</b>';

foreach ($context['member']['bans'] as $ban)
echo '
<br /><span class="smalltext">'
$ban['explanation'], '</span>';

echo '
</td>
</tr>'
;
}
}

// If karma enabled show the members karma.
if ($modSettings['karmaMode'] == '1')
echo '
<tr>
<td>
<b>'
$modSettings['karmaLabel'], ' </b>
</td><td>
'
, ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '
</td>
</tr>'
;
elseif ($modSettings['karmaMode'] == '2')
echo '
<tr>
<td>
<b>'
$modSettings['karmaLabel'], ' </b>
</td><td>
+'
$context['member']['karma']['good'], '/-'$context['member']['karma']['bad'], '
</td>
</tr>'
;

// If the person looking is allowed, they can check the members IP address and hostname.
if ($context['can_see_ip'])
{
echo '
<tr>
<td>
<b>'
$txt[512], ': </b>
</td><td>
<a href="'
$scripturl'?action=trackip;searchip='$context['member']['ip'], '" target="_blank">'$context['member']['ip'], '</a>
</td>
</tr>
<tr>
<td>
<b>'
$txt['hostname'], ': </b>
</td><td width="55%">
<div title="'
$context['member']['hostname'], '" style="width: 100%; overflow: hidden; font-style: italic;">'$context['member']['hostname'], '</div>
</td>
</tr>'
;
}

if (!empty($modSettings['userLanguage']))
echo '
<tr>
<td><b>'
$txt['smf225'], ':</b></td>
<td>'
$context['member']['language'], '</td>
</tr>'
;
echo '
<tr>
<td><b>'
$txt['local_time'], ':</b></td>
<td>'
$context['member']['local_time'], '</td>
</tr>
<tr>
<td>
<br />
<a href="'
$scripturl ,'?action=profile;u='$context['member']['id'], ';sa=report">'$txt['profile_report_this'] ,'</a><br />
<br />
<a href="'
$scripturl'?action=profile;u='$context['member']['id'], ';sa=showPosts">'$txt[460], ' '$txt[461], '.</a><br />
<a href="'
$scripturl'?action=profile;u='$context['member']['id'], ';sa=statPanel">'$txt['statPanel_show'], '.</a><br />
</td>
</tr></table></td></tr></table>'
;

echo '
</td></tr></tbody></table></td>'
;


// Now print the second column.
echo '
<td valign="top" width="250" id="profile_right">
<table cellspacing="0" cellpadding="0" width="250px" bgcolor="#3568b5" border="0">
<tbody>
<tr>
<td valign="top" align="left">'
;

if (isset ($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
echo '
<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="buddies">
<tr>
<td class="titlebg" height="26" align="center">
<a href="'
$scripturl ,'?action=profile;u='$context['member']['id'], ';sa=buddies">'$txt['profile_buddies'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table border="0" cellspacing="0" cellpadding="0" width="250px">
<tr>
<td colspan="0">
<table width="250px">'
;
if (isset ($context['member']['buddies_data'])) {
$i 1;
foreach ($context['member']['buddies_data'] as $buddy_id => $data) {
if ($i == 1)
echo ' <tr>';
echo '
<td align="center">
'
$data['avatar_image'],'<br />
<a href="'
$scripturl '?action=profile;u='$data['ID_MEMBER'] , '">' $data['realName'] , '</a><br />
<i>'
$settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' 'useroff') . '.gif' '" alt="' $txt[$data['is_online'] ? 'online2' 'online3'] . '" align="middle" />' $txt[$data['is_online'] ? 'online2' 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' $txt[$data['is_online'] ? 'online2' 'online3'] . '</span>' '''</i>
</td>'
;
if ($i == 3)
echo '</tr>';

$i++;
if ($i == 4$i 1;
}
} else
echo ' <tr><td>'$txt['profile_buddies_no'] ,'</td></tr>';

echo '
</table>
</td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>'
;
}

if ($modSettings['profile_enable_pictures'] == && $context['can_view_pics']) {
echo '
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="250px" id="pictures">
<tr>
<td class="titlebg" height="26" align="center">
<a href="'
$scripturl ,'?action=profile;u='$context['member']['id'] ,';sa=pictures">'$txt['profile_pictures'] ,'</a>
</td>
</tr>
<tr>
<td class="windowbg">
<table>'
;

if (!empty($context['pictures'])) {
$i 1;
foreach ($context['pictures'] as $picture) {
if ($i == 1)
echo '
<tr>'
;

echo '
<td align="center" valign="top" style="clear: both;">
<a href="'
$picture['url'] ,'"><img src="'$picture['thumb'] ,'" alt="" title="'$picture['title'], '" border="0" /></a>
</td>'
;

if ($i == 3)
echo '
</tr>'
;

$i++;
if ($i == 4$i 1;
}
} else 
echo '
<tr>
<td>'
$txt['profile_pictures_no'] ,'</td>
</tr>'
;

echo '
</table>
</td>
</tr>
</table>

<br />
'
;
}

/*
// This Section is optional. You can paste code for displaying recent blog posts from felblog or some other blog mod for SMF
// Remeber to uncomment this section first!

echo '
<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="blog">
<tr>
<td class="titlebg" height="26" align="center">Blog</td>
</tr>
<tr>
<td class="windowbg">';

// PASTE YOUR BLOG CODE HERE

echo '
</td>
</tr>
</table>
<br />';
*/

echo '
<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="aboutme">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_about_me'] ,'
</td>
</tr>
<tr>
<td class="windowbg">'
;

if (!empty($context['member']['options']['about']))
echo 
'
parse_bbc ($context['member']['options']['about']);
else
echo 
'
$txt['profile_about_no'];
echo '
</td>
</tr>
</table>'
;

if (!empty($context['member']['options']['interests']))
echo '
<br />

<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="interests">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_interests'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
'
parse_bbc ($context['member']['options']['interests']) ,'
</td>
</tr>
</table>'
;

if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))
echo '
<br />

<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="media">
<tr>
<td class="titlebg" height="26" align="center">
'
$txt['profile_media'] ,'
</td>
</tr>
<tr>
<td class="windowbg">
'
un_htmlspecialchars ($context['member']['options']['media']) ,'
</td>
</tr>
</table>'
;

/*
// This section is optional. You can paste code and display fields from Custom Profile fields mod.

echo '
<br />

<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="more_fields">
<tr>
<td class="windowbg">';


// PASTE YOUR CODE HERE


echo '
</td>
</tr>
</table>';
*/

echo '
</td>
</tr>
</table>'
;

if (!empty(
$context['profile_areas']))
{
echo '
<table border="0" cellpadding="0" cellspacing="0" class="bordercolor" width="250px" id="profile_areas">
<tr>
<td>
<table width="250px">'
;

// Loop through every area, displaying its name as a header.
foreach ($context['profile_areas'] as $section)
{
echo '
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="250px">
<tr>
<td class="titlebg" height="26" valign="middle">'
$section['title'], '</td>
</tr>
<tr>
<td class="windowbg2">'
;

// For every section of the area display it, and bold it if it's the current area.
foreach ($section['areas'] as $i => $area)
if ($i == $context['menu_item_selected'])
echo '
<b>'
$area'</b><br />';
else
echo '
'
$area'<br />';
echo '
<br />
</td>
</tr>
</table>
</td>'
;
}

echo ' </tr>
</table>
</td>
</tr>
</table></td></tr></tbody></table></td></tr>
<tr>
<td>'
;

}


}

?>
Title: Re: Ultimate Profile
Post by: SolidSnake2003 on May 24, 2009, 03:38:17 PM
bringing this back to the front page, please forgive the double post
Title: Re: Ultimate Profile
Post by: Mr_Lon on May 25, 2009, 10:27:38 PM
Ultimate Profile for SMF 2.0 RC1.
Is this ever coming out?

I have been patently waiting for quite some time now and starting to wonder if we'll ever see it.......
 ::)

PS - I love my SMF and have had a great time customising it and good feedback from my members about our forums.
Title: Re: Ultimate Profile
Post by: romper on May 26, 2009, 04:57:04 PM
Can I get help with my modsettings.php...it shows error on install, when I manualy rewrite it it pasess, mod works, but I can't acces my Features and options command in admin panel. My modsettings.php isn't exactly as parse shows so please help.
THX!
Title: Re: Ultimate Profile
Post by: excon on May 28, 2009, 09:10:14 AM
i have problems in picture profile.. when i upload a pic.. it doesn't show on profile..


Title: Re: Ultimate Profile
Post by: perplexed on May 28, 2009, 09:14:24 AM
excon have you checked your error log?  Sometimes a pic might not be accepted because it's too big or the name might have characters that cause probs.  check your error log and see if anything was reported at the time
Title: Re: Ultimate Profile
Post by: Asgards on May 31, 2009, 03:25:24 PM
hi. i have installed the Ultimate profile but it seems that the ultimate tab on features and options are not showing up
Title: Re: Ultimate Profile
Post by: Özgür on May 31, 2009, 03:28:42 PM
hi. i have installed the Ultimate profile but it seems that the ultimate tab on features and options are not showing up
What are you using language?
Title: Re: Ultimate Profile
Post by: Asgards on May 31, 2009, 03:54:19 PM
English sir
Title: Re: Ultimate Profile
Post by: Özgür on May 31, 2009, 04:00:31 PM
Have you any error log like "undefined index" ? in admin error log.
Title: Re: Ultimate Profile
Post by: Asgards on June 01, 2009, 12:03:27 AM
Have you any error log like "undefined index" ? in admin error log.

no there were no errors. the only problem is that the options for the ultimate profile are not showing up. but between the layouts and karma the is a space but no ultimate profile tab.
Title: Re: Ultimate Profile
Post by: perplexed on June 01, 2009, 11:24:05 AM
regular english or english-UTF?
Title: Re: Ultimate Profile
Post by: Asgards on June 02, 2009, 06:25:28 AM
english-UTF.
Title: Re: Ultimate Profile
Post by: perplexed on June 02, 2009, 06:54:16 AM
that is probably your problem.  english and english-utf are not the same.  Do you need english-utf?  ie do you have other languages used other than english?  If not you might want to try switching it to regular english
Title: Re: Ultimate Profile
Post by: Asgards on June 02, 2009, 09:30:11 AM
still no good i cannot see the ultimate profile setting in features and options.
Title: Re: Ultimate Profile
Post by: Özgür on June 02, 2009, 09:32:05 AM
=> Go to features and options
=> And go to error log
Any error?
Title: Re: Ultimate Profile
Post by: Asgards on June 02, 2009, 09:41:30 AM
thanks guys its okay now. :)
Title: Re: Ultimate Profile
Post by: perplexed on June 02, 2009, 09:45:43 AM
good to hear.  Enjoy ultimate profile, it's a good mod :)
Title: Re: Ultimate Profile
Post by: Asgards on June 02, 2009, 10:13:59 AM
thank you! by the way how can i edit the css? are there any pre-made css?
Title: Re: Ultimate Profile
Post by: perplexed on June 02, 2009, 10:21:10 AM
you mean so they can do this

Quote
Also, they can input HTML & CSS code in special text area and customize look of their profile.

You can switch the option on in admin > ultimate profile and then members can create their own css.  There are no pre-made css templates specifically for ultimate profile but if you look in the old [Beta] Ultimate Profile discussion thread (http://www.simplemachines.org/community/index.php?topic=183574.0) you will see examples of what other people have done. 

Some of the myspace code generators may work.  I don't use it on my site.  At some point last year someone was talking about creating an editor to make it easier for members to use but you could just post up a how-to thread for your members giving them some basic examples of how to change colours, add backgrounds etc

Title: Re: Ultimate Profile
Post by: Asgards on June 02, 2009, 10:24:48 AM
okay, thanks for all the help i appreciate it
Title: Re: Ultimate Profile
Post by: perplexed on June 02, 2009, 10:29:14 AM
and it doesn't have to be css, it can be basic html if that is easier for your members :)
Title: Re: Ultimate Profile
Post by: Asgards on June 02, 2009, 10:37:45 AM
heheh i hope i can make one.
Title: Re: Ultimate Profile
Post by: alex_sercan on June 07, 2009, 12:46:58 PM
Hey firstly,

I have a problem about the profile. The problem is , when the users try to edit their ultimate profiles , they cant do. Because they cant see "Edit My Ultimate Profile" options. I opened all options from the Admin Panel , but they still cant see their edit options. Just Admins can edit their profiles. How can i make it public ? Please help me. Thanks.
Title: Re: Ultimate Profile
Post by: FUBAR on June 07, 2009, 06:37:03 PM
You need to edit the member group permission so they have access.

Image attached below.

Admin > Members > Permissions >
Title: Re: Ultimate Profile
Post by: alex_sercan on June 08, 2009, 12:33:13 PM
You need to edit the member group permission so they have access.

Image attached below.

Admin > Members > Permissions >

Oh god! Finally , thanks you mate. Thank you so much. I asked it everyone , but i havent got any answer up to this time. But finally... Thanks again. :)
Title: Re: Ultimate Profile
Post by: SolidSnake2003 on June 10, 2009, 07:43:20 AM
are you testing with your own profile, if you are then I don't think the link will show up, it will show up on someone else's profile
Title: Re: Ultimate Profile
Post by: ~ Phåråoh ~ on June 10, 2009, 12:07:34 PM
I wish it were a case of my being that much of a "dee-dee-dee" but, no, it was brought to my attention by other members. 

However, I believe it may have been a cache issue as it has magically corrected itself.  Tested and retested with several members and it's fine now.

I removed the posts about it to clean the clutter from this topic.
Title: Re: Ultimate Profile
Post by: chrishicks on June 10, 2009, 12:35:28 PM
Anyone have an idea as to why when someone adds a playlist it will show in every browser except IE?
Title: Re: Ultimate Profile
Post by: aED on June 10, 2009, 08:47:46 PM
Maybe your IE is not updated or the plugin that is need by the playlist is not installed in IE.
Title: Re: Ultimate Profile
Post by: chrishicks on June 11, 2009, 12:41:08 AM
If it was just one or two users I would think that as well but this is site wide.
Title: Re: Ultimate Profile
Post by: JaneyDoll on June 11, 2009, 07:24:37 PM
Will you keep making updates so it will continue to work as we update to newer versions of our boards?  Will it be compatible with 1.1.9 soon?
I would like it ASAP for 1.1.9. 
Title: Re: Ultimate Profile
Post by: Magicjax on June 12, 2009, 06:15:09 PM
I just installed this (1.1.9 - My theme is Anecdota).

I went to Admin/Features and Options

On that page the TAB is not there. Nothing says Ultimate Profile. However there is a small "blank" TAB. I broguht my cursor to it and the URL it takes me to does contain "ultprofile" so I'm assuming it's the link that's suppose to take me to where you set the settings for the Ultimate Profile.

But all it show is a bunch of blank spaces.

Here's a screen shot of what I'm seeing. It also shows the "Blank Tab" above (See small blue square in tab menu).
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.magicjax.com%2Fuprofileshot.jpg&hash=22cdecb04027563e73c64621fbab15a3)

Any idea what I need to do to fix this? I just installed so I have no idea what I'm suppose to do next. I'm hoping that if I could read what's suppose to show up I could figure it all out.

Ron
Title: Re: Ultimate Profile
Post by: Özgür on June 12, 2009, 06:19:32 PM
Will you keep making updates so it will continue to work as we update to newer versions of our boards?  Will it be compatible with 1.1.9 soon?
I would like it ASAP for 1.1.9. 

This mod already compatible with 1.1.9. You can try to open package_info.xml file and find all 1.1.8 to 1.1.9.

@Magicjax, You must be add to language strings to your language.
Title: Re: Ultimate Profile
Post by: Magicjax on June 12, 2009, 06:28:11 PM
Thank you very much for the reply daydreamer. But can you elaborate? I'm not sure how to do this.

I also just found another blank space that wasn't there before. I'm guessing something from the Ultimate Profile as well. It's found in the menu in a profile. Here's a screen shot of that blank space:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmagicjax.com%2Fprofileblank.jpg&hash=d4d78721493d154edb85554b8821df52)

Thanks again.

Ron
Title: Re: Ultimate Profile
Post by: Özgür on June 12, 2009, 06:34:59 PM
Yeah this is same problem for your first problem.

Open your ../Themes/default/languages/modification.yourlanguage.php
find
Code: [Select]
?>add before
Code: [Select]
$txt['ultimate_profile'] = 'Ultimate Profile';
$txt['permissionname_edit_ultimate_profile'] = 'Edit ultimate profile';
$txt['permissionname_edit_ultimate_profile_own'] = 'Own profile';
$txt['permissionname_edit_ultimate_profile_any'] = 'Any profile';
$txt['permissionhelp_edit_ultimate_profile'] = 'This permission allows user to edit ultimate profile.';
$txt['cannot_edit_ultimate_profile_own'] = 'You aren\'t allowed to edit your own ultimate profile.';
$txt['cannot_edit_ultimate_profile_any'] = 'You aren\'t allowed to edit just any ultimate profile.';

And change in same directory UltimateProfile.english.php file name to UltimateProfile.yourlanguage.php

Speacial BTW : If you not want language problem like this problem, you must install http://custom.simplemachines.org/mods/index.php?mod=615 this mod.
Title: Re: Ultimate Profile
Post by: Magicjax on June 12, 2009, 06:54:59 PM
Thanks you very much.

I did everything you said and progress was made. But it's still not fixed.

I did what you said to the modification.english.php file and changed the name of the file and nothing happened.

But when I installed the mod you suggested progress was made. Here's a screen shot.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.magicjax.com%2Fuprofileshot1.jpg&hash=a9d3ae509630d5217736d8d6c8cf6d7a)

As you can see. The Tab for the Ultimate profile now shows up. But nothing else has changed. The empty space in the profile (See my last post) is also still blank.

Thanks for the help. Progress was made but still not working.

Anything else I should do?

Ron
Title: Re: Ultimate Profile
Post by: Özgür on June 12, 2009, 07:01:20 PM
Can you give a ftp account (account should have access from your /themes/languages/) from pm ?
If you don't, please upload Modification.yourlanguage.php & UltimateProfile.yourlang.php ?

+ Plus you use the english language or english utf8?
Title: Re: Ultimate Profile
Post by: Magicjax on June 13, 2009, 03:33:50 PM
I got it working now (Thanks Daydreamer) and I was able to edit my profile.

But my members can't. They reported to me that where they're suppose to see this menu:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.magicjax.com%2Fprofilemod.jpg&hash=f31dea28b8c27738a8ab4a23c9f66803)

All they are seeing is this:

Account Related Settings
Forum Profile Information
Look and Layout Preferences
Notifications and Email
Personal Message Options
Edit Buddies


Any advice?

Thanks again for all the help.

Ron
Title: Re: Ultimate Profile
Post by: ps3ia on June 13, 2009, 03:40:05 PM
You need to give them permission to, so edit regular user's permissions to have it
Title: Re: Ultimate Profile
Post by: Magicjax on June 13, 2009, 04:57:51 PM
Thank you. I just looked but I can't find where to set this permission. Can you elaborate on where and how?

I have the check box in the Ultimate Profile checked for Enable ultimate profile for all members already.

Thanks again.
Title: Re: Ultimate Profile
Post by: Özgür on June 13, 2009, 06:17:57 PM
Thank you. I just looked but I can't find where to set this permission. Can you elaborate on where and how?

I have the check box in the Ultimate Profile checked for Enable ultimate profile for all members already.

Thanks again.

You go to Admin > Permission > Click to user groups > and tick to ultimate profile permission > Submit
Title: Re: Ultimate Profile
Post by: Magicjax on June 13, 2009, 08:00:01 PM
Thanks a lot. That works great now.

Hate to say it but I found another problem. The "add Buddy" feature doesn't seem to be working right.

I have my normal (Admin) account on my forum and another "Test" account. I signed in as Admin and sent a buddy request to my other user name. Then I signed out then back in with my test name.

I got the private message that says that "Someone wants to be your buddy. Click here to accept or deny"

So all seemed right up until this point.

But then when I click the "Approve or Deny" link. The next page had the invite automatically listed under "Unapproved" and there's no link to approve it.

So, I signed out and back in as Admin and checked my Profile. It still says, "You have not added any Buddy's yet". But I tried to invite my other account and it says, "This username is already your buddy". But it still doesn't list it on my profile.

I hope that's not too confusing. The overview is:

- No way to approve or deny a buddy invite.
- It still says I haven't added any Buddies yet when I try to add it back it said it was already my buddy. Just won't list it on my profile.

Thanks for the help so far.

Ron
Title: Re: Ultimate Profile
Post by: romper on June 14, 2009, 06:36:03 PM
Great mod, but I still have problem with: Features and Options because after I modify modsettings.php it simply disapears >:(
Anyone?
Title: Re: Ultimate Profile
Post by: tyty1234 on June 15, 2009, 01:55:13 AM
Any updates for a version of this mod for SMF 2.0?
Title: Re: Ultimate Profile
Post by: jmil on June 16, 2009, 01:44:00 PM
I am receiving the Following Error on the Install - Any ideas if I should proceed regardless?

    Execute Modification     ./Sources/ModSettings.php     Test failed

Version 1.1.9
Mod Version 0.9

Custom Theme

Do I Parse the Theme after I install? I am OK with Coding!
Title: Re: Ultimate Profile
Post by: Chas Large on June 16, 2009, 04:19:48 PM
Hi Daydreamer,

Have installed UP in 1.1.8/1.1.9 and it works very well. Everyone loves it and that's the problem. We have had several members setting up their own little porn areas which they make visible only to buddies.

Is there a way to globally prevent members from a) hiding their Ultimate Profile and or b) hide their Photos from everyone but Buddies. Effectively turning off these options for members so they cannot set them and if they have set them, to disable that setting.

I appreciate this may be a major change to your great mod but I think this could also be useful to others.

Cheers
Chas
Title: Re: Ultimate Profile
Post by: Danpotter on June 16, 2009, 10:55:14 PM
i want referral place in ultimate profile...wat i have to fo????

i instaled referral mod...,but not cumng in ultimate profile..pls helpme....
Title: Re: Ultimate Profile
Post by: Özgür on June 17, 2009, 12:36:53 AM
@Magicjax, please send me one admin and one user account. I will try to solve. Plus i don't have this issue.

I am receiving the Following Error on the Install - Any ideas if I should proceed regardless?

    Execute Modification     ./Sources/ModSettings.php     Test failed

Version 1.1.9
Mod Version 0.9

Custom Theme

Do I Parse the Theme after I install? I am OK with Coding!

Yep.

Hi Daydreamer,

Have installed UP in 1.1.8/1.1.9 and it works very well. Everyone loves it and that's the problem. We have had several members setting up their own little porn areas which they make visible only to buddies.

Is there a way to globally prevent members from a) hiding their Ultimate Profile and or b) hide their Photos from everyone but Buddies. Effectively turning off these options for members so they cannot set them and if they have set them, to disable that setting.

I appreciate this may be a major change to your great mod but I think this could also be useful to others.

Cheers
Chas

"Show my pictures only to buddies and admins" options in "Customized profile" section in profile.

Great mod, but I still have problem with: Features and Options because after I modify modsettings.php it simply disapears >:(
Anyone?
Can you upload your ModSettings.php ?


i want referral place in ultimate profile...wat i have to fo????

i instaled referral mod...,but not cumng in ultimate profile..pls helpme....

http://www.simplemachines.org/community/index.php?topic=183574.msg1673492#msg1673492
Title: Re: Ultimate Profile
Post by: Chas Large on June 17, 2009, 01:50:51 AM

Hi Daydreamer,

Have installed UP in 1.1.8/1.1.9 and it works very well. Everyone loves it and that's the problem. We have had several members setting up their own little porn areas which they make visible only to buddies.

Is there a way to globally prevent members from a) hiding their Ultimate Profile and or b) hide their Photos from everyone but Buddies. Effectively turning off these options for members so they cannot set them and if they have set them, to disable that setting.

I appreciate this may be a major change to your great mod but I think this could also be useful to others.

Cheers
Chas

"Show my pictures only to buddies and admins" options in "Customized profile" section in profile.

http://www.simplemachines.org/community/index.php?topic=183574.msg1673492#msg1673492

I think you missed my point Daydreamer. I want to change these settings from the Admin Panel

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi880.photobucket.com%2Falbums%2Fac2%2FHal9000_bucket%2Fpublic_HAL%2FUP-admin-1.png&hash=e8419b3c87ed4fdd5ed0d2cda02cbe31)

OR
Remove the options from the USER'S Customised profile so they CANNOT set the Profile and / or Photos as private.
Hope that explains better :)
Chas
Title: Re: Ultimate Profile
Post by: Özgür on June 17, 2009, 03:22:47 AM
I understand now , forgive i don't understand (:
I'm not sure but you can try this.

(please make backup before..)

Find and Remove in Profile.Template.php

Code: [Select]
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_customize_private'], '</b>
</td>
<td>
<input type="hidden" name="default_options[customized_private]" value="0" /><input type="checkbox" name="default_options[customized_private]"', (@$context['member']['options']['customized_private'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
                     
Code: [Select]
if ($modSettings['profile_enable_pictures'] == 1)
echo '
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_pictures_budd_only'], '</b>
</td>
<td>
<input type="hidden" name="default_options[pictures_budd_only]" value="0" /><input type="checkbox" name="default_options[pictures_budd_only]"', (@$context['member']['options']['pictures_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>';
                     
If you want also remove buddy only comment feature, find and remove
Code: [Select]
<tr>
<td width="40%" valign="top">
<b>', $txt['profile_comments_budd_only'], '</b>
</td>
<td>
<input type="hidden" name="default_options[comments_budd_only]" value="0" /><input type="checkbox" name="default_options[comments_budd_only]"', (@$context['member']['options']['comments_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" class="check" />
</td>
</tr>
UltimateProfile.template.php find
Code: [Select]
if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics'])Replace
Code: [Select]
if ($modSettings['profile_enable_pictures'] == 1)

In Sources/ProfilePictures.php
Find
Code: [Select]
if ((@$context['member']['options']['pictures_budd_only'] == 1 || @$context['member']['options']['customized_private'] == 1) && @$modSettings['enable_buddylist'] == 1) {

if (is_buddy($memID, $context['user']['id']) || allowedTo('edit_ultimate_profile_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
}
else
Replace
Code: [Select]

if (is_buddy($memID, $context['user']['id']) || allowedTo('edit_ultimate_profile_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
else


Code: [Select]
if ($modSettings['profile_enable_pictures'] != 1 || !$context['can_view_pics'])Replace
Code: [Select]
if ($modSettings['profile_enable_pictures'] != 1)
In Sources/Profile.php Find
Code: [Select]
// Which template should we use?
if (@$context['member']['options']['customized_private'] == 1 && @$modSettings['enable_buddylist'] == 1) {
if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
$view_customized = true;
else
$view_customized = false;
} else {
$view_customized = true;
}
   
Replace
Code: [Select]
// Which template should we use?

if ($context['member']['is_reverse_buddy'] || allowedTo ('profile_extra_any') || $context['user']['is_owner'])
$view_customized = true;
else
$view_customized = false;

Find
Code: [Select]
if (@$context['member']['options']['pictures_budd_only'] == 1 && @$modSettings['enable_buddylist'] == 1) {
if ($context['member']['is_reverse_buddy'] || allowedTo('profile_extra_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;
} else
$context['can_view_pics'] = true;
Replace
Code: [Select]

if ($context['member']['is_reverse_buddy'] || allowedTo('profile_extra_any') || $context['user']['is_owner'])
$context['can_view_pics'] = true;
else
$context['can_view_pics'] = false;

            
Title: Re: Ultimate Profile
Post by: romper on June 17, 2009, 11:39:53 AM
Advice needed...so I finaly managed manualy to change modsettings.php...I installed mod first even with failed on modsettings, and than I rewrite modsettings.php...everything works, no more problems, no problems in error log as well...just to see I tried to uninstall package and I still have failed test on modsettings.php, so should I live everything as i it is? If I ever uninstall package obviusly I'll have to do it manually.
Title: Re: Ultimate Profile
Post by: Chas Large on June 18, 2009, 02:11:56 PM
I understand now , forgive i don't understand (:
I'm not sure but you can try this.

(please make backup before..)


Hi Daydreamer, thanks for the mods. Two questions, do I have to apply all the changes or just the first two under Profile.Template as your code shows. I found doing so just made all the profile boxes very small because the formatting had changed. However If I just change

Code: [Select]
<input type="hidden" name="default_options[pictures_budd_only]" value="0"
to

Code: [Select]
<input type="hidden" name="default_options[pictures_budd_only]" value="1"

this prevents the box from being checked in the first place. However, if the user has already checked it he cannot now uncheck it so it remains fixed at the checked state in the database.

So my second question is do you have a database QUERY I can run to reset the options for all members back to UNCHECKED status so everyone can see the pictures.

Chas
Title: Re: Ultimate Profile
Post by: Özgür on June 18, 2009, 02:58:54 PM
Advice needed...so I finaly managed manualy to change modsettings.php...I installed mod first even with failed on modsettings, and than I rewrite modsettings.php...everything works, no more problems, no problems in error log as well...just to see I tried to uninstall package and I still have failed test on modsettings.php, so should I live everything as i it is? If I ever uninstall package obviusly I'll have to do it manually.
If you want to uninstall this package ; uninstall in admin section before. After manual uninstall (find-replace) in this file.

@Chas, Thanks but this is not my mod =) Mod developer is Jovant.
Settings not in the database. I this setting need theme options reset.
Admin > Themes and Layout > Member Options > Configure guest and new user options for this theme

But if you make this, all customizes and ultimate profiles resetted. I don't know "are we have a other way"
Title: Re: Ultimate Profile
Post by: n-joy on June 25, 2009, 07:10:48 AM
Any updates for a version of this mod for SMF 2.0?
Yeah...any news?
Title: Re: Ultimate Profile
Post by: 311LA on June 26, 2009, 05:02:49 PM
Quote from: n-joy
Yeah...any news?
[/quote
Title: Re: Ultimate Profile
Post by: silber112 on June 26, 2009, 06:46:26 PM
Any updates for a version of this mod for SMF 2.0?
Yeah...any news?

We all are waiting for it..
Title: Re: Ultimate Profile
Post by: mrtrc266 on June 26, 2009, 09:19:30 PM
Any updates for a version of this mod for SMF 2.0?
Yeah...any news?

We all are waiting for it..

Should be anytime now ;)
http://www.simplemachines.org/community/index.php?topic=298641.msg1986415#msg1986415 (http://www.simplemachines.org/community/index.php?topic=298641.msg1986415#msg1986415)
Title: Re: Ultimate Profile
Post by: tyty1234 on June 26, 2009, 10:13:27 PM
Any updates for a version of this mod for SMF 2.0?
Yeah...any news?

We all are waiting for it..

Should be anytime now ;)
http://www.simplemachines.org/community/index.php?topic=298641.msg1986415#msg1986415 (http://www.simplemachines.org/community/index.php?topic=298641.msg1986415#msg1986415)
That was all the way back in March....
Title: Re: Ultimate Profile
Post by: mrtrc266 on June 26, 2009, 10:20:29 PM
Any updates for a version of this mod for SMF 2.0?
Yeah...any news?

We all are waiting for it..

Should be anytime now ;)
http://www.simplemachines.org/community/index.php?topic=298641.msg1986415#msg1986415 (http://www.simplemachines.org/community/index.php?topic=298641.msg1986415#msg1986415)
That was all the way back in March....
That was my point  :D
 
We have all been anxiously waiting....just imagine how we're going to feel when it's finally released LOL!!
 
I almost didn't upgrade my forum until this was ready for SMF 2...Glad I got impatient and upgraded to SMF 2, I woulda been waiting for ever.
Title: Re: Ultimate Profile
Post by: tyty1234 on June 27, 2009, 12:01:32 AM
I did the same. I upgraded a few days after RC1-1 came out.
Title: Re: Ultimate Profile
Post by: Scratching my Head on June 28, 2009, 05:16:47 AM
Quick question:

I manually installed because I have a custom theme.

The comments in the profile all show up twice. How do I fix this?

Title: Re: Ultimate Profile
Post by: kingkingston on June 28, 2009, 06:15:30 AM
Ok so i have everything ticked and enabled for members to use the ultimate profile but the ultimate profile link isn't showing up to members for them to be able to edit their profiles under the Modify Profile list,anyone else have this trouble ?
Title: Re: Ultimate Profile
Post by: n-joy on June 28, 2009, 06:21:12 AM
I did the same. I upgraded a few days after RC1-1 came out.