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:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$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
Quote from: haito on March 13, 2009, 02:37:33 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

Quote3. 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
Quote from: Sweetwater on March 13, 2009, 10:05:11 AM
I like the idea of this mod.  8)
I got this error line

Quote3. 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
Quote from: 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
Search for 'My Media' in ../Themes/default/languages/UltimateProfile.english.php and change it to 'My Games'.

Turkish Translation:
    <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
Quote from: 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.

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
Quote from: chrishicks on March 13, 2009, 03:59:27 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
Quote from: 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.

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
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
Quote from: mrtrc266 on March 13, 2009, 09:50:58 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:

QuoteOpen Sources/Profile.php. Find:

$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
Quote from: NenaGb on March 14, 2009, 03:36:46 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
Quote from: NenaGb on March 14, 2009, 03:36:46 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:
// 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:
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:
// 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
Quote from: JovanT on March 13, 2009, 05:57:25 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
Quote from: Chriss Cohn on March 14, 2009, 10:27:13 AM
Quote from: NenaGb on March 14, 2009, 03:36:46 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:
// 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:
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:
// 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
Quote from: NenaGb on March 14, 2009, 09:42:57 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?
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
Quote from: NenaGb on March 14, 2009, 09:42:57 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

<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
Quote from: 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.
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
Quote from: Antechinus on March 15, 2009, 05:04:08 PM
Quote from: NenaGb on March 14, 2009, 09:42:57 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

<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:

// 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:

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


Add after:

// 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
Quote from: 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.

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
Quote from: Antechinus on March 16, 2009, 03:06:36 AM
Well ya learn something every day. Ok, do it like this:

Find and delete:

// 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:

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


Add after:

// 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
Quote from: NenaGb on March 16, 2009, 03:53:43 AM
Quote from: 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.

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: <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: <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:
QuoteCustomization:
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
Quote from: 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: 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
Quote from: 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?

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
Quote from: JovanT on March 17, 2009, 04:26:37 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:

<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:

<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
Quote from: JovanT on March 17, 2009, 04:26:37 PM

@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
(http://i6.photobucket.com/albums/y242/jusplaincrazz/basicfeatures.jpg)

The blank space within the feature and options links
(http://i6.photobucket.com/albums/y242/jusplaincrazz/features.jpg)

Member permissions
(http://i6.photobucket.com/albums/y242/jusplaincrazz/permissions.jpg)


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
Quote from: 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.
It's already done :)
Title: Re: Ultimate Profile
Post by: Nibogo on March 18, 2009, 04:01:23 PM
Quote from: Yağız... on March 18, 2009, 03:21:03 PM
Quote from: 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.
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
Quote from: NenaGb 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?

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
Quote from: NIBOGO on March 18, 2009, 04:01:23 PM
Quote from: Yağız... on March 18, 2009, 03:21:03 PM
Quote from: 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.
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
Quote from: Yağız... on March 18, 2009, 03:21:03 PM
Quote from: 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.
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
Quote from: InternetMafia on March 22, 2009, 12:44:54 PM
Quote from: Yağız... on March 18, 2009, 03:21:03 PM
Quote from: 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.
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
Quote from: 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?

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
Quote from: sam_milla 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?


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
Quote from: hellboy78 on March 23, 2009, 03:06:57 PM
Quote from: sam_milla 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?


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
Quote from: Yağız... on March 18, 2009, 01:33:54 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
Quote from: 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?
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
Quote from: hellboy78 on March 28, 2009, 06:12:27 AM
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
Quote from: Antechinus on March 16, 2009, 03:06:36 AM
Well ya learn something every day. Ok, do it like this:

Find and delete:

// 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:

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


Add after:

// 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
Quote from: JovanT on March 29, 2009, 01:11:44 PM
Do you have Profile Visitors mod installed?
Hi!
A few posts ago in this topic, I found this:

QuoteI 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
Quote from: Harvester on March 29, 2009, 11:27:04 AM
Quote from: Antechinus on March 16, 2009, 03:06:36 AM
Well ya learn something every day. Ok, do it like this:

Find and delete:

// 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:

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


Add after:

// 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
Quote from: NenaGb 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 ?

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??

/*
// 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
Quote from: 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?

What sort of media are you attempting to add?
Title: Re: Ultimate Profile
Post by: chrishicks on March 30, 2009, 01:32:52 PM
Quote from: 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?

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
Quote from: n-joy on March 29, 2009, 01:23:18 PM
Quote from: JovanT on March 29, 2009, 01:11:44 PM
Do you have Profile Visitors mod installed?
Hi!
A few posts ago in this topic, I found this:

QuoteI 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
Quote from: 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
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
Quote from: tyty1234 on March 31, 2009, 02:08:30 PM
Quote from: 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
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
Quote from: kingkingston on March 31, 2009, 02:41:37 PM
Quote from: tyty1234 on March 31, 2009, 02:08:30 PM
Quote from: 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
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
Quote from: tyty1234 on March 31, 2009, 02:59:26 PM
Quote from: kingkingston on March 31, 2009, 02:41:37 PM
Quote from: tyty1234 on March 31, 2009, 02:08:30 PM
Quote from: 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
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
Quote from: tyty1234 on March 31, 2009, 02:59:26 PM
Quote from: kingkingston on March 31, 2009, 02:41:37 PM
Quote from: tyty1234 on March 31, 2009, 02:08:30 PM
Quote from: 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
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
Quote from: Yağız... on April 01, 2009, 06:08:46 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
Quote from: 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.

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
Quote from: kingkingston on April 01, 2009, 07:25:15 AM
Quote from: Yağız... on April 01, 2009, 06:08:46 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
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.
Quote from: 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


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
Quote from: 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. ;)

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
Quote from: JeepneyDriver on April 02, 2009, 09:12:20 PM
Quote from: 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. ;)

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 :-

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
Quote from: 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.

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:

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
Quote from: 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 :-

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.



        // 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
Quote from: 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
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
Quote from: aED on April 02, 2009, 06:52:59 AM
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
Quote from: tyty1234 on April 04, 2009, 01:38:23 PM
Quote from: 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
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
Quote from: 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.

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:
//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:
//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
Quote from: chrishicks on March 30, 2009, 01:32:52 PM
Quote from: 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?

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

<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
Quote from: Özgür´ on April 12, 2009, 12:31:50 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
Quote from: NenaGb on April 12, 2009, 01:57:11 PM
Quote from: Özgür´ on April 12, 2009, 12:31:50 PM
You are welcome. Can you upload your ultimate.profile.php (in default theme) ?

are you asking me?
Yes.
Quote from: NenaGb 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.
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

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
<img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" />
to
<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
Quote from: JovanT on April 17, 2009, 10:55:21 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
Quote from: GinaD on April 18, 2009, 10:08:10 AM
Quote from: JovanT on April 17, 2009, 10:55:21 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?
Quote from: 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?



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

Quote from: NenaGb 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.
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
Quote from: Özgür´ on April 18, 2009, 11:50:34 AM
Quote from: NenaGb 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.
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
Quote from: GinaD on April 18, 2009, 11:58:03 AM
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
Quote from: 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???

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:

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":


Parse error: syntax error, unexpected T_DOUBLE_ARROW in (mysite)/Sources/ModSettings.php on line 125


The code on line 125 is:

        '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
Quote from: 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":


Parse error: syntax error, unexpected T_DOUBLE_ARROW in (mysite)/Sources/ModSettings.php on line 125


The code on line 125 is:

           '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
'ultprofile' => 'ModifyUltProfileSettings'
replace
'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:


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:

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:

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:
ultprofile' = 'ModifyUltProfileSettings',
Replace with:
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:

$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:

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:

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

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
Quote from: 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


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
Quote from: 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, 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
Quote from: 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
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
Quote from: impennetrate 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?

You give permission for your members.
Title: Re: Ultimate Profile
Post by: kizley on April 28, 2009, 10:11:22 AM
Quote from: Yağız... on April 27, 2009, 07:57:39 AM
Quote from: 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
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
Quote from: Özgür´ on April 28, 2009, 08:27:28 AM
Quote from: impennetrate 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?

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
Quote from: 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 (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
Quote from: aED on May 04, 2009, 02:29:27 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

<?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
Quote from: 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 :)

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
Quote from: Yağız... on May 05, 2009, 06:12:20 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

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

[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
Quote from: 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
This is not an issue about this mod.

Quote from: 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.
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
Quote from: Yağız... on May 11, 2009, 05:32:57 AM
Quote from: 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
This is not an issue about this mod.

Quote from: 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.
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: Mark S 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
Quote from: ThePharaoh 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?

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

Quote from: 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.
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?

QuoteEjecutar 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: Mark S on May 12, 2009, 12:16:41 AM
Quote from: Yağız... on May 11, 2009, 01:27:48 PM
Quote from: ThePharaoh 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?


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...


// 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:
// Messenger type information.
Add before:
// 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.

<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 ::)

Quote from: 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?

QuoteEjecutar 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
Quote from: 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.

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
Quote from: alex_sercan on May 15, 2009, 01:49:57 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
Quote from: JoeB on May 18, 2009, 07:39:50 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
Quote from: NenaGb on May 18, 2009, 07:47:23 AM
Quote from: JoeB on May 18, 2009, 07:39:50 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
Quote from: Joe N on May 18, 2009, 11:48:26 AM
Quote from: NenaGb on May 18, 2009, 07:47:23 AM
Quote from: JoeB on May 18, 2009, 07:39:50 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.
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:
(http://img36.imageshack.us/img36/2998/profiley.th.jpg) (http://img36.imageshack.us/my.php?image=profiley.jpg)

Here is the code to the template:

<?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: Mark S on May 23, 2009, 02:37:05 PM
Quote from: 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...

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
Quote from: aED on May 23, 2009, 10:08:49 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.

Quote from: ThePharaoh on May 23, 2009, 02:37:05 PM
Quote from: aED on May 23, 2009, 10:08:49 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...

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.

<?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
Quote from: 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
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
Quote from: Özgür´ on May 31, 2009, 04:00:31 PM
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

QuoteAlso, 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
Quote from: 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 >

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: Mark S 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).
(http://www.magicjax.com/uprofileshot.jpg)

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
Quote from: 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. 

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:

(http://magicjax.com/profileblank.jpg)

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 ?>
add before
$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.

(http://www.magicjax.com/uprofileshot1.jpg)

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:

(http://www.magicjax.com/profilemod.jpg)

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
Quote from: 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.

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.

Quote from: 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!

Yep.

Quote from: 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

"Show my pictures only to buddies and admins" options in "Customized profile" section in profile.

Quote from: 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?
Can you upload your ModSettings.php ?


Quote from: 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....

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
Quote from: [Daydreamer] on June 17, 2009, 12:36:53 AM

Quote from: 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

"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

(http://i880.photobucket.com/albums/ac2/Hal9000_bucket/public_HAL/UP-admin-1.png)

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

<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>

                      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
<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

if ($modSettings['profile_enable_pictures'] == 1 && $context['can_view_pics'])

Replace
if ($modSettings['profile_enable_pictures'] == 1)


In Sources/ProfilePictures.php
Find

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


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




if ($modSettings['profile_enable_pictures'] != 1 || !$context['can_view_pics'])

Replace
if ($modSettings['profile_enable_pictures'] != 1)

In Sources/Profile.php Find
// 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
// 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
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

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
Quote from: [Daydreamer] 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..)


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

<input type="hidden" name="default_options[pictures_budd_only]" value="0"

to

<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
Quote from: 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.
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
Quote from: tyty1234 on June 15, 2009, 01:55:13 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
Quote from: n-joy on June 25, 2009, 07:10:48 AM
Quote from: tyty1234 on June 15, 2009, 01:55:13 AM
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
Quote from: silber112 on June 26, 2009, 06:46:26 PM
Quote from: n-joy on June 25, 2009, 07:10:48 AM
Quote from: tyty1234 on June 15, 2009, 01:55:13 AM
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
Quote from: mrtrc266 on June 26, 2009, 09:19:30 PM
Quote from: silber112 on June 26, 2009, 06:46:26 PM
Quote from: n-joy on June 25, 2009, 07:10:48 AM
Quote from: tyty1234 on June 15, 2009, 01:55:13 AM
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
Quote from: tyty1234 on June 26, 2009, 10:13:27 PM
Quote from: mrtrc266 on June 26, 2009, 09:19:30 PM
Quote from: silber112 on June 26, 2009, 06:46:26 PM
Quote from: n-joy on June 25, 2009, 07:10:48 AM
Quote from: tyty1234 on June 15, 2009, 01:55:13 AM
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
Quote from: tyty1234 on June 27, 2009, 12:01:32 AM
I did the same. I upgraded a few days after RC1-1 came out.
Tghehe; this is the only mod I wait for before I release my site. :o
Title: Re: Ultimate Profile
Post by: ShadoWind on July 01, 2009, 05:02:35 PM
I'm trying to replace the following piece of code in the profile.php file for the default theme below with another piece of code but I can't find it anywhere [The MOD concerned is Ultimate Profile 0.9:
Code: [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>';

The code I want to replace the first piece of code is:
Code: [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>';
         
      if (($context['user']['is_owner'] && allowedTo('edit_ultimate_profile_own')) || allowedTo('edit_ultimate_profile_any'))
      {
         $context['profile_areas']['edit_profile']['areas']['customized'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=customized">' . $txt['profile_customized'] . '</a>';
         if ($modSettings['profile_enable_pictures'] == 1)
            $context['profile_areas']['edit_profile']['areas']['pictures'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=pictures">' . $txt['profile_pictures'] . '</a>';
      }
      
      if (($context['user']['is_owner'] && allowedTo('profile_extra_own')) || allowedTo('profile_extra_any'))
      {

I've managed to get most of the extra code correct but I don't know if I've gone wrong or it's not in there at all.

The version I'm using is 1.1.9 if that is of help to anybody and I've also enclosed a copy of the profile.php file if anyone needs it.
Title: Re: Ultimate Profile
Post by: luigi44 on July 02, 2009, 07:11:47 PM
I'm using SMF 1.1.9

I tried installing the mod 9.0 and get the following error:

Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
Ultimate Profile 0.9 by Jovan Turanjanin

If you are upgrading from older version, please uninstall it before installing this package.



Install Actions
Installations actions for "Ultimate Profile":
Installing this package will perform the following actions:  Type Action Description
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

And so I didn't install. Hoping someone can be of assistance?
Title: Re: Ultimate Profile
Post by: luigi44 on July 02, 2009, 08:13:14 PM
Help!

After reading the posts, I installed the mod, and manually edited the ./Sources/ModSettings.php

Now I get a blank page with the following error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/frugalca/public_html/forum/Sources/ModSettings.php on line 122

Here find attached the ModSettings.php

Please help!
Title: Re: Ultimate Profile
Post by: luigi44 on July 03, 2009, 08:45:04 AM
I've removed everything and started fresh by doing it all manually.

I'm trying to change UltimateProfile.english.php to UltimateProfile.english-utf8.php, but cannot locate the UltimateProfile.english.php -Where can it be found?
Title: Re: Ultimate Profile
Post by: luigi44 on July 03, 2009, 08:59:12 AM
After reading through this thread, it should be found here ./Themes/default/UltimateProfile.template.php

but it isn't. I have no UltimateProfile.template.php

Now what can the problem be?
Title: Re: Ultimate Profile
Post by: JovanT on July 06, 2009, 12:22:53 PM
Hi everyone!

I'm really sorry for the delay. I had some important (school) exams last month so I didn't have time to work on Ultimate Profile.

As you all know, Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) converted Ultimate Profile to 2.0 for his own purposes and sent his version to me. He did a great job but I found some issues that needs to be fixed. Also, I didn't have experience with SMF 2.0 until now so I need some time to learn all the new functions and organization. I will start working on new version this week so you should expect it really soon. Thanks for your patients ;)
Title: Re: Ultimate Profile
Post by: kingkingston on July 06, 2009, 12:41:39 PM
Quote from: JovanT on July 06, 2009, 12:22:53 PM
Hi everyone!

I'm really sorry for the delay. I had some important (school) exams last month so I didn't have time to work on Ultimate Profile.

As you all know, Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) converted Ultimate Profile to 2.0 for his own purposes and sent his version to me. He did a great job but I found some issues that needs to be fixed. Also, I didn't have experience with SMF 2.0 until now so I need some time to learn all the new functions and organization. I will start working on new version this week so you should expect it really soon. Thanks for your patients ;)

hey mate how do i enable the mod so members can create and update their profiles like the admin can ?
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 06, 2009, 12:55:59 PM
Quote from: JovanT on July 06, 2009, 12:22:53 PM
Hi everyone!

I'm really sorry for the delay. I had some important (school) exams last month so I didn't have time to work on Ultimate Profile.

As you all know, Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) converted Ultimate Profile to 2.0 for his own purposes and sent his version to me. He did a great job but I found some issues that needs to be fixed. Also, I didn't have experience with SMF 2.0 until now so I need some time to learn all the new functions and organization. I will start working on new version this week so you should expect it really soon. Thanks for your patients ;)

WOOOOOHOOOOOO!!!! Thank you very much for the update, I'm soooo excited!
Title: Re: Ultimate Profile
Post by: septa/njt rider on July 06, 2009, 01:07:12 PM
Quote from: kingkingston on July 06, 2009, 12:41:39 PMhey mate how do i enable the mod so members can create and update their profiles like the admin can ?
you have to go into the permissions via the admin CP and allow "regular members" to use edit their ultimate profile
Title: Re: Ultimate Profile
Post by: chaky! on July 06, 2009, 02:18:22 PM
Quote from: JovanT on July 06, 2009, 12:22:53 PM
Hi everyone!

I'm really sorry for the delay. I had some important (school) exams last month so I didn't have time to work on Ultimate Profile.

As you all know, Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) converted Ultimate Profile to 2.0 for his own purposes and sent his version to me. He did a great job but I found some issues that needs to be fixed. Also, I didn't have experience with SMF 2.0 until now so I need some time to learn all the new functions and organization. I will start working on new version this week so you should expect it really soon. Thanks for your patients ;)

Thaanks  ;D
Title: Re: Ultimate Profile
Post by: kingkingston on July 06, 2009, 02:53:37 PM
Quote from: septa/njt rider on July 06, 2009, 01:07:12 PM
Quote from: kingkingston on July 06, 2009, 12:41:39 PMhey mate how do i enable the mod so members can create and update their profiles like the admin can ?
you have to go into the permissions via the admin CP and allow "regular members" to use edit their ultimate profile

thanks
Title: Re: Ultimate Profile
Post by: silber112 on July 06, 2009, 03:08:24 PM
Quote from: JovanT on July 06, 2009, 12:22:53 PM
Hi everyone!

I'm really sorry for the delay. I had some important (school) exams last month so I didn't have time to work on Ultimate Profile.

As you all know, Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) converted Ultimate Profile to 2.0 for his own purposes and sent his version to me. He did a great job but I found some issues that needs to be fixed. Also, I didn't have experience with SMF 2.0 until now so I need some time to learn all the new functions and organization. I will start working on new version this week so you should expect it really soon. Thanks for your patients ;)

Yesss!

We all are waiting for the new VS, Can you estimate how low it will take?¿

THanks, see you soon :D
Title: Re: Ultimate Profile
Post by: GQCritic on July 06, 2009, 10:03:39 PM
Quote from: JovanT on July 06, 2009, 12:22:53 PM
Hi everyone!

I'm really sorry for the delay. I had some important (school) exams last month so I didn't have time to work on Ultimate Profile.

As you all know, Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) converted Ultimate Profile to 2.0 for his own purposes and sent his version to me. He did a great job but I found some issues that needs to be fixed. Also, I didn't have experience with SMF 2.0 until now so I need some time to learn all the new functions and organization. I will start working on new version this week so you should expect it really soon. Thanks for your patients ;)

Excellent JovanT!


I'm looking forward to its release.

Keep up the good work!

:)
Title: Re: Ultimate Profile
Post by: JovanT on July 07, 2009, 12:08:20 PM
Ultimate Profile for SMF 2.0 is almost ready for release. But, since I don't have any live installation of 2.0, I will need a few beta testers who are willing to help me.

If you are running SMF 2.0RC1 and want to test Ultimate Profile, please send me PM with your email. I will send you a copy of modification if you agree to report any errors you may encounter during its use.
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 01:14:23 PM
Hi all, I am trying to install the Ultimate profile on my site. I posted before and got some help with it but not sure of what the person meant in his reply. 

Reply:
OK checked,

i enabled it
http://newbiescentral.com/index.php?action=featuresettings;sa=ultprofile
the language files are not in the theme,

go to themes/default/lang/modifications.english.php

copy it to your theme /lang/....  or just the strings from u profile

Can someone help me finish this mod installation?
Title: Re: Ultimate Profile
Post by: JovanT on July 07, 2009, 02:25:04 PM
@ScottDB
So, you installed Ultimate Profile package. What issues do you have?
Title: Re: Ultimate Profile
Post by: h4nbury on July 07, 2009, 03:01:50 PM
hey i really think this is an awesome mod! :D but PLEASE PLEASE could you make it 1.1.9?
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 03:06:46 PM
after instalation it isnt showing up anywher. It is suposed to have an option screen in my features and options before the karma tag. There is nothing there.
Title: Re: Ultimate Profile
Post by: JovanT on July 07, 2009, 03:22:13 PM
@h4nbury
It is already compatible with 1.1.9. See: http://custom.simplemachines.org/mods/index.php?mod=1675


@ScottDB
Let me guess: you are using english-utf8 or, maybe, British English?
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 03:26:39 PM
yes, is this a problem?
Title: Re: Ultimate Profile
Post by: JovanT on July 07, 2009, 03:32:48 PM
You should rename Themes/default/languages/UltimateProfile.english.php to Themes/default/languages/UltimateProfile.english-utf8.php and add this to your Themes/default/languages/Modifications.english-utf8.php:

$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.';
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 03:38:26 PM
thanks for the info. I will try this. It might take me a little while. Trying to get a 4 year old to eat lunch and then down for a nap. Will get back if any problems. I think that this might solve a couple of other problems as well.
Title: Re: Ultimate Profile
Post by: h4nbury on July 07, 2009, 04:10:46 PM
thanks soo much JovanT!! :D
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 04:23:05 PM
I have renamed the file and for the file that I was supposed to add to it now shows
<?php// Version: 1.1; Modifications?>$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.';


After doing this it is still not showing up in my admin area under features and options
Title: Re: Ultimate Profile
Post by: JovanT on July 07, 2009, 04:54:26 PM
You should add that text beetwen <?php and ?>. Your file should look like:

<?php
// Version: 1.1; Modifications

$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.';
?>
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 05:12:40 PM
That worked and now I have it showing in my features and options but when I log on as a user it doesnt show any of the options for it. Just the standard profile options are showing.
Title: Re: Ultimate Profile
Post by: tyty1234 on July 07, 2009, 05:42:50 PM
Jovan,

I emailed you my report of my first beta testing. Check it out to see the problems I encountered. :)
Title: Re: Ultimate Profile
Post by: JovanT on July 07, 2009, 06:00:28 PM
Quote from: ScottDB on July 07, 2009, 05:12:40 PM
That worked and now I have it showing in my features and options but when I log on as a user it doesnt show any of the options for it. Just the standard profile options are showing.
You have to set appropriate permissions for your users so they can edit their ultimate profiles.
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 06:09:03 PM
I have everything checked in the features and options - ultimate profile giving permissions is there somewhere else I need to set permissions?
Also I never got the email.
Title: Re: Ultimate Profile
Post by: tyty1234 on July 07, 2009, 06:37:08 PM
Quote from: ScottDB on July 07, 2009, 06:09:03 PM
I have everything checked in the features and options - ultimate profile giving permissions is there somewhere else I need to set permissions?
Also I never got the email.
I was referring to Jovan about the email. :)
Title: Re: Ultimate Profile
Post by: Mystery? on July 07, 2009, 07:37:08 PM
Can't wait for a SMF 2 RC1-1 release.  :D
Title: Re: Ultimate Profile
Post by: haito on July 07, 2009, 08:07:45 PM
i have a error at modsetting
Type  Action  Description
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

any sollution?
Title: Re: Ultimate Profile
Post by: ScottDB on July 07, 2009, 08:14:06 PM
I have set permissions and looked at everything and tried to use different themes but still no my intrests or my media boxes in user profiles or profile editing options
Title: Re: Ultimate Profile
Post by: chaky! on July 07, 2009, 08:50:14 PM
Quote from: haito on July 07, 2009, 08:07:45 PM
i have a error at modsetting
Type  Action  Description
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

any sollution?


try to do it manual...

On a Clean version installs fine.

note: I dont now why, but i tried to install this mod twice and both times i have to create DB tables manually... but i cant do that beacuse at the beginnig of file database.php the scripts add columns in some table that i cant find... can you tell me wich table is it?

Or give me SQL Query to do it all?



Thnaks
Title: Re: Ultimate Profile
Post by: tyty1234 on July 07, 2009, 10:28:21 PM
Quote from: Mystery? on July 07, 2009, 07:37:08 PM
Can't wait for a SMF 2 RC1-1 release.  :D
You are able to emulate your package manager so that you can install it and use it for SMF 2.0 RC1-1. It still would work.
(Confirmed and tested by me. :D)
Title: Re: Ultimate Profile
Post by: Paracelsus on July 08, 2009, 02:57:46 AM
JovanT,

Since you seem to be on top of this again, would it be possible to add or edit a permission that could allow to switch on / off Ultimate Profile according to membergroups?

Right now if you have the permission to edit Ultimate Profile you can switch it on / off and edit it. But if that permission is removed you lose the ability to edit Ultimate Profile BUT if you still have it switched on it will stay that way and you have no chance to deactivate it.
Title: Re: Ultimate Profile
Post by: glennk on July 09, 2009, 02:35:58 PM
Quote from: tyty1234 on July 07, 2009, 10:28:21 PM
Quote from: Mystery? on July 07, 2009, 07:37:08 PM
Can't wait for a SMF 2 RC1-1 release.  :D
You are able to emulate your package manager so that you can install it and use it for SMF 2.0 RC1-1. It still would work.
(Confirmed and tested by me. :D)

What is emulate ? how do you do this please
Title: Re: Ultimate Profile
Post by: Chaos Dragon on July 09, 2009, 03:10:12 PM
I just uploaded ultimate profile to my 1.1.9 and I get this error.....
Unknown column 'com.time' in 'field list'
File: /home/*******/public_html/*******/community/Sources/Profile.php
Line: 1400

What can I do to fix this......

And also I have 2.0RC1-1 and tried to install ultimate profile there and when i went to upload it in 2.0RC1-1 pretty much all the tests failed...reverted to RC1 and still got the same tests failed there....It is on a fresh 2.0RC1-1 install.....
Any Ideas on this?
Title: Re: Ultimate Profile
Post by: JovanT on July 10, 2009, 04:23:38 PM
@ScottDB
Do you, as administrator, have the ability to edit your ultimate profile? There is "Edit ultimate profile" permission you must configure under "Permissions" option in your admin center.


@chaky!
Can you describe your problem a little closer?


Quote from: Paracelsus on July 08, 2009, 02:57:46 AM
Since you seem to be on top of this again, would it be possible to add or edit a permission that could allow to switch on / off Ultimate Profile according to membergroups?
That's something to consider for one of the next versions.


Quote from: Chaos Dragon on July 09, 2009, 03:10:12 PM
I just uploaded ultimate profile to my 1.1.9 and I get this error.....
Unknown column 'com.time' in 'field list'
File: /home/*******/public_html/*******/community/Sources/Profile.php
Line: 1400

What can I do to fix this......
This question was asked way to many times before. Take a look at the FAQ (http://jovant.guruserve.com/test-forum/index.php?topic=13.0).


Quote from: Chaos Dragon on July 09, 2009, 03:10:12 PM
And also I have 2.0RC1-1 and tried to install ultimate profile there and when i went to upload it in 2.0RC1-1 pretty much all the tests failed...reverted to RC1 and still got the same tests failed there....It is on a fresh 2.0RC1-1 install.....
Any Ideas on this?
Ultimate Profile for SMF 2.0 isn't released yet. It should be available next week.
Title: Re: Ultimate Profile
Post by: Chaos Dragon on July 10, 2009, 05:31:07 PM
Quoteultimate Profile for SMF 2.0 isn't released yet. It should be available next week.

Oh...Ok Sorry about that I misread then.....Ok will be waiting for the 2.0 release then......Thank You
And sorry about asking the same question....I did search, but was a bit tired when i did the search so I didn look hard enough.....
Title: Re: Ultimate Profile
Post by: chaky! on July 10, 2009, 08:12:50 PM
Quote from: JovanT on July 10, 2009, 04:23:38 PM
@chaky!
Can you describe your problem a little closer?

Well... after install this beta realease (i realized that on my DB are not new tables or columns) Obviously the mod doesnt work..

for example, this are some errors

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-View.php
Line: 163 "

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-Pictures.php
Line: 785 " 

I try to do a manual installation but i dont undestand database.php file..


If you can tell me wich are the new tables and columns i will apriciated..


Regards

ps: sorry for my english
Title: Re: Ultimate Profile
Post by: Ederson Lima on July 12, 2009, 09:51:15 AM
How can I disable the albums that is only used for the standard album?

Sorry if posted in the wrong place, I am Brazilian...

Thanks!
Title: Re: Ultimate Profile
Post by: Darkness_Black on July 12, 2009, 12:11:22 PM
Translated Portuguese_brazilian; brazilian end portuguese_pt By Darkness

./Themes/default/languages/Modifications.brazilian.php

Find:
?>


Add Before:

$txt['ultimate_profile'] = 'Ultimate Profile';
$txt['permissionname_edit_ultimate_profile'] = 'Editar ultimate profile';
$txt['permissionname_edit_ultimate_profile_own'] = 'Próprio perfil';
$txt['permissionname_edit_ultimate_profile_any'] = 'Qualquer perfil';
$txt['permissionhelp_edit_ultimate_profile'] = 'Isso permite o usuário editar ultimate profile.';
$txt['cannot_edit_ultimate_profile_own'] = 'Você não tem permissão para editar seu  ultimate profile.';
$txt['cannot_edit_ultimate_profile_any'] = 'Você não tem permissão para editar qualquer ultimate profile.';


Translation of the folder ultimate_profile_0-9> Themes> Defaut> Languages> UltimateProfile.brazilian.php

Title: Re: Ultimate Profile
Post by: the epic winner on July 12, 2009, 01:51:06 PM
buddies dont show up in buddies box. help?

another thing, i want to add my twitter link to the contact me section. I have the twitter profile mod installed.
Title: Re: Ultimate Profile
Post by: saggsab on July 12, 2009, 03:55:43 PM
Is the comments section only text or is there some way that it can accept comments like MySpace or Yearbook?

If it can take these types of comments could you let me know what to look for to change?  Thanks!  :)
Title: Re: Ultimate Profile
Post by: Kellerassel on July 13, 2009, 07:00:46 AM
i have this skype mod  http://custom.simplemachines.org/mods/index.php?mod=1333   and in the ultimate profile only skype will be shown. what should i edit in the modification pack?
Title: Re: Ultimate Profile
Post by: DJ AFRIKA on July 14, 2009, 06:05:57 PM
Hi all...
first of all I want 2 say that this ultimate profile is great, great stuff!! But everyone already knows that  :)

My problem;
I have SMF 1.1.9 and I installed ultimate profile 0.9. Everything was great, i made few adjustments which i will post later on...
(quite good idea...)
Than, the problem...
I read that there is a visitors mod 4 ultimate profile mod. I manually installed this mod because mod is 4 SMF 1.18 & 2.0...
After that, when I go 2 Admin/features & options ...  >>> Blank screen...
Title: Re: Ultimate Profile
Post by: DJ AFRIKA on July 15, 2009, 11:18:02 AM
I found out that visitors mod did not inserted 3 rows into database... So I entered it manually.
INSERT INTO `smf_settings` (`variable`, `value`) VALUES
('pv_enabled', '1'),
('pv_show_count', '20'),
('pv_style', '1');

But the features & options is still blank... help please... :'(

btw,
I translated ultimate profile to Croatian if someone needs it... ;D
Title: Re: Ultimate Profile
Post by: gbsothere on July 15, 2009, 11:21:02 AM


First, I want you to know that I have tried to read the FAQ, but I can't.  I can log in, but no matter what I click on, I get redirected to the fact that the site is in Maintenance Mode (and it has been, for some time). But I have tried.

Having said that, I've gleaned this thread, every page, and NenaGb raised a couple of questions that, as far as I can see, were never answered.

1.)  "How can I make all my buddy pictures the same size?"

2.)  "Is it possible to show the member's blog submissions?"  (She uses Z Community, as do I.)

If I missed the answers to these questions, I apologize, but I've looked carefully.

NenaGb, if you're out there (or anyone else who may know) were these questions answered and, if so, would you share the solution here?


Thanks.


Title: Re: Ultimate Profile
Post by: JovanT on July 15, 2009, 02:16:42 PM
Big news everyone! Ultimate Profile 0.9 for SMF 2.0RC1.2 is finally here! Take a look at mod's page (http://custom.simplemachines.org/mods/index.php?mod=1675).

First of all, I would like to say thanks to Yağız... (http://www.simplemachines.org/community/index.php?action=profile;u=102749) who originally converted UP to 2.0 and, of course, [Daydreamer] (http://www.simplemachines.org/community/index.php?action=profile;u=124605), tyty1234 (http://www.simplemachines.org/community/index.php?action=profile;u=159909), mrtrc266 (http://www.simplemachines.org/community/index.php?action=profile;u=178448) and others who beta-tested this release and provided valuable feedback.

Although I've tried to test every part of this modification, I couldn't predict every possible setup. So,  some bugs are maybe still out there. Especially if you are using PostgreSQL or SQLite.


Also, if you had installation of UP for 1.1 and then upgraded to 2.0, you will experience few errors since some column names have changed. I will release a script that will convert affected tables in a few tables.

That's all for now. Enjoy!
Title: Re: Ultimate Profile
Post by: TomW on July 15, 2009, 02:54:58 PM
Great news !  I have been waiting for this mod and a couple of others to be available for 2.0 !  Will be migrating my forum soon.
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 15, 2009, 03:03:21 PM
I am getting this error when I click on a persons username now

Unknown column 'com.time' in 'field list'
File: /home/westatla/public_html/forum/Sources/Profile.php
Line: 1372

How do I fix this?


--i did try to go to FAQ but no luck opening it.
Title: Re: Ultimate Profile
Post by: JovanT on July 15, 2009, 05:55:02 PM
@DonnaMarie
You should install this table fix (http://jovant.guruserve.com/projekti/smf/ultimate_profile/table_fix.zip) as a package. It will modify your database so that Ultimate Profile and Profile Comments mod can work properly.
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 15, 2009, 06:16:37 PM
Jovan thank you sooo much!
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 15, 2009, 06:42:12 PM
One thing that Is still not working. The buddies list is now gone. I also do not see a way to add people to your buddy list. How do I correct that?
Title: Re: Ultimate Profile
Post by: JovanT on July 15, 2009, 06:44:53 PM
Run this migration tool (http://jovant.guruserve.com/projekti/smf/ultimate_profile/migrate_buddies.zip). Just unpack this archive, upload migrate_buddies.php and open it with your web browser.
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 15, 2009, 06:52:44 PM
I will sound silly here but just upload it as I did the other package?
Title: Re: Ultimate Profile
Post by: JovanT on July 15, 2009, 07:08:55 PM
No :). You should unpack the archive and upload migrate_buddies.php to your forum root (e.g. the folder with SSI.php). Then run the script (open www.yoursite.com/forum_path/migrate_buddies.php)
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 15, 2009, 07:15:23 PM
LOL good thing I asked :)
I am completely dumb when it comes to this stuff. I am not quite sure I will figure it out. I will attempt it :)
Title: Re: Ultimate Profile
Post by: septa/njt rider on July 15, 2009, 07:19:25 PM
Quote from: JovanT on July 15, 2009, 02:16:42 PM
Big news everyone! Ultimate Profile 0.9 for SMF 2.0RC1.2 is finally here! Take a look at mod's page (http://custom.simplemachines.org/mods/index.php?mod=1675).
YUSH!!!!! I'm downloading now, thanks man, thanks a bundle!!
Title: Re: Ultimate Profile
Post by: gbsothere on July 15, 2009, 07:25:02 PM
Jovan, if you hit the thread again this evening, could you give an answer to these two questions?  (SMF 1.1.9, Default)


1.)  "How can I make all my buddy pictures the same size?"

2.)  "Is it possible to show the member's blog submissions?"

Are there any modifications I can do to 1.) reduce the buddy photo size and 2.) allow users' blogs to be mentioned in their profiles?


Thanks!

Title: Re: Ultimate Profile
Post by: JovanT on July 15, 2009, 08:06:55 PM
Quote from: gbsothere on July 15, 2009, 07:25:02 PM
1.)  "How can I make all my buddy pictures the same size?"
Are you referring to profile pictures or avatars?

Quote from: gbsothere on July 15, 2009, 07:25:02 PM
2.)  "Is it possible to show the member's blog submissions?"
Can you give me the link to the blog mod you are using?
Title: Re: Ultimate Profile
Post by: gbsothere on July 15, 2009, 08:20:46 PM
Thanks, JovanT!

For the Buddies, I mean the avatars that show up when they're added to your profile (accepting their request).  I've just installed the mod and even with just the three that I've accepted, I can see that it won't be long before they'll dominate that area.  If I could restrict them, somehow, to about half their size, that would be a tremendous help.

This is the link to the blog mod.  I'm using the 0_8_1 beta.

http://custom.simplemachines.org/mods/index.php?mod=1209 (http://custom.simplemachines.org/mods/index.php?mod=1209)

Thanks so much!

Title: Re: Ultimate Profile
Post by: Mr_Lon on July 15, 2009, 09:03:13 PM
Thanks Here Too!

I have it up and running just fine on my site with SMF2 RC1.

I do have one thing that I don't care for.....
There is a "Contact Me :) " that shows your email address. I don't like that simply because of spammers or anybody getting your email.

Is there a Mod to change this?

Lon
Title: Re: Ultimate Profile
Post by: Mr_Lon on July 15, 2009, 09:39:28 PM
Better idea

What can I do to take the "Contact Me :)" option and email link out of my Ultimate Profile?

Lon

Title: Re: Ultimate Profile
Post by: gbsothere on July 15, 2009, 09:40:27 PM
Mr_Lon, I don't have SMF2 RC1; I have 1.1.9, but one of my posters PMd me complaining about this, stating that she'd chosen in her profile to hide her email address.  I knew that I'd be able to see it because I'm the Admin and she could see it because it was her profile, but I wasn't sure about the others, so I created a test account (newbie) and logged in and checked her profile.  It shows as "hidden" when I view it as a regular poster.

Have you tried that?

ETA:   For everyone on my forum who has chosen in their profile to keep their email address hidden, only I and that particular poster can actually see the address.   :)
Title: Re: Ultimate Profile
Post by: Mr_Lon on July 15, 2009, 10:16:35 PM
Mr_Lon, I don't have SMF2 RC1; I have 1.1.9, but one of my posters PMd me complaining about this, stating that she'd chosen in her profile to hide her email address.  I knew that I'd be able to see it because I'm the Admin and she could see it because it was her profile, but I wasn't sure about the others, so I created a test account (newbie) and logged in and checked her profile.  It shows as "hidden" when I view it as a regular poster.


That sounds good but I can't find it?

Lon
Title: Re: Ultimate Profile
Post by: gbsothere on July 15, 2009, 10:19:49 PM
Quote from: Mr_Lon on July 15, 2009, 10:16:35 PM
That sounds good but I don't see an option to hide the email address in the profile anywhere?

Lon


In 1.1.9, the user goes into his or her profile, then to Modify Profile, then to Account Related Settings and there is a box to check next to "Hide Email Address From Public".  I'm not sure where it would be in your version, Lon, but, if you don't see it, someone on the support thread for your version can point you in the right direction.   :)
Title: Re: Ultimate Profile
Post by: Mr_Lon on July 15, 2009, 10:33:32 PM
That sounds good and I have done it and it now shows "hidden".
The other problem with this is it is now not shown in the "MEMBERS" list. Some members want there email button in the members list......

I think that I would like to completely take that option out of my Ultimate Profile pages. Or just show an email icon like in the members list in RC1.

Lon
Title: Re: Ultimate Profile
Post by: gbsothere on July 15, 2009, 10:38:33 PM
I guess Jovan will let you know if it can be taken out of the Ultimate Profile display, Lon, but on my forum, in Admin----> Permissions  I have it set for regular members to not be able to see the Members List.  (But I'm lazy.)    :)
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 15, 2009, 11:49:16 PM
Quote from: JovanT on July 15, 2009, 07:08:55 PM
No :). You should unpack the archive and upload migrate_buddies.php to your forum root (e.g. the folder with SSI.php). Then run the script (open www.yoursite.com/forum_path/migrate_buddies.php)
I tried and my host tech tried and no luck. Can anyone help me?
Title: Re: Ultimate Profile
Post by: Dzonny on July 16, 2009, 04:09:17 AM
Hello there.

I have this mod installed, and when someone view my profile, my pictures looks like this:
(http://www.dodaj.rs/f/a/GV/25471BZx/ultimate.png)

Why there is a blank space right of pictures, and some pictures aren't shown before you go to album. Can this been fixed somehow? I want my pictures to show, and no blankspace...

Regards,
Title: Re: Ultimate Profile
Post by: JovanT on July 16, 2009, 07:45:21 AM
@gbsothere
To limit the size of avatars in your buddy's section, make these modifications. Open Sources/Profile.php:

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

Code (Replace with) Select

$avatar_width = ' width="100" ';
$avatar_height = ' height="100" ';

Of course, you can change "100" to suit your needs.

Code (Find) Select
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['ID_ATTACH'] > 0 ? '<img src="' . (empty($user_data['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $user_data['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '" alt="" class="avatar" border="0" />');
Code (Replace with) Select
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['ID_ATTACH'] > 0 ? '<img src="' . (empty($user_data['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $user_data['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '"' . $avatar_width . $avatar_height . '  alt="" class="avatar" border="0" />');


And for the blog thing, does it already show recent blog posts in ordinary profiles?
Title: Re: Ultimate Profile
Post by: JovanT on July 16, 2009, 08:05:25 AM
@Mr_Lon
I've just tested this on my local forum. If you have enabled "Allow users to email you?" under "Account Settings", other users will be able to contact you via "Members" section but they will not be able to see your email on your profile. It will show "hidden".

Hoewever, if you want to remove this section completely, open your Themes/defaultUltimateProfile.template.php and delete (line #193):

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

// Only show the email address fully if it's not hidden - and we reveal the email.
if ($context['member']['show_email'] == 'yes')
echo '
<a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '">', $context['member']['email'], '</a>';

// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif ($context['member']['show_email'] == 'yes_permission_override')
echo '
<i><a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '">', $context['member']['email'], '</a></i>';
else
echo '
<i>', $txt['hidden'], '</i>';

// Some more information.
echo '
</td>
</tr>';
Title: Re: Ultimate Profile
Post by: JovanT on July 16, 2009, 08:13:34 AM
@Dzonny
You can increase number of displayed pictures. Open Sources/Profile.php.
Code (Find) Select

$request = db_query('SELECT ID_PICTURE, time, title, filename
FROM ' . $db_prefix . 'profile_pictures
WHERE ID_MEMBER = ' . $memID . '
ORDER BY RAND()
LIMIT 6', __FILE__, __LINE__);

and replace "6" with "10".

Then, open Themes/default/UltimateProfile.template.php.
Code (Find) Select

if ($i == 3)

Code (Replace with) Select

if ($i == 5)


Code (Find) Select

if ($i == 4) $i = 1;

Code (Replace with) Select

if ($i == 6) $i = 1;
Title: Re: Ultimate Profile
Post by: gbsothere on July 16, 2009, 08:16:02 AM
JovanT, it worked beautifully and thank you so much!   I needed a width of only "65" and I had to leave the "height" empty:  $avatar_height = ' height="" '; in order to keep the aspect ratio fixed, since some avatars aren't perfectly square, but that did it and I really appreciate it!

As to the blog, I should have realized that.  No, they didn't show in the profiles, before.  That makes sense that we wouldn't have them showing, now.   :)
Title: Re: Ultimate Profile
Post by: Dzonny on July 16, 2009, 08:22:52 AM
JovanT, thanks for your quick answer...
Anyway i still have the same problem. Please see attached image. I still have space right of displayed pics.
I've also attached my profile.php too see if i've done smth wrong...

Title: Re: Ultimate Profile
Post by: JovanT on July 16, 2009, 09:17:21 AM
@Dzonny
It seems that you didn't change your UltimateProfile.template.php. When you do, it will show 2 rows with 5 pictures each.


Quote from: gbsothere on July 16, 2009, 08:16:02 AM
As to the blog, I should have realized that.  No, they didn't show in the profiles, before.  That makes sense that we wouldn't have them showing, now.   :)
It could be shown easily if the mod author gives you the code that will fetch N last entries from your blog.
Title: Re: Ultimate Profile
Post by: gbsothere on July 16, 2009, 09:20:21 AM
Quote from: JovanT on July 16, 2009, 09:17:21 AM

It could be shown easily if the mod author gives you the code that will fetch N last entries from your blog.


Thanks, JovanT!  He's in the middle of moving servers, but I'll glean the support thread here for his mod and see if this question has been raised before. 
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 16, 2009, 09:20:59 AM
Will this work with the new 1.1.10 version?
Title: Re: Ultimate Profile
Post by: JovanT on July 16, 2009, 09:29:13 AM
It will work with 1.1.10.
Title: Re: Ultimate Profile
Post by: gbsothere on July 16, 2009, 09:36:03 AM
I just wanted to mention (and I'm sorry that it sounds more like complaining) that I just did the same edits you suggested to Dzonny to remove the blank space to the right of the displayed pictures and I also still have the same blank space.

(http://whereitestmystuff.com/blankspace.jpg)

(I'm attaching the files, just in case, but I think the correct edits are there?)
Title: Re: Ultimate Profile
Post by: JovanT on July 16, 2009, 09:57:24 AM
Profile.php is correct but I don't see proper edits in UltimateProfile.template.php. As I can see, you changed the part which displayes buddies and not the part related to pictures. You should pay attentions to the tabs / blank spaces as well when searching the code. I'm attaching the correct version of UltimateProfile.template.php.
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 16, 2009, 09:57:44 AM
Quote from: JovanT on July 16, 2009, 09:29:13 AM
It will work with 1.1.10.

Thanks, now if I can get the buddy thing worked out, I am good to go. I love how it looks :)
Title: Re: Ultimate Profile
Post by: gbsothere on July 16, 2009, 10:14:32 AM
Quote from: JovanT on July 16, 2009, 09:57:24 AM
Profile.php is correct but I don't see proper edits in UltimateProfile.template.php. As I can see, you changed the part which displayes buddies and not the part related to pictures. You should pay attentions to the tabs / blank spaces as well when searching the code. I'm attaching the correct version of UltimateProfile.template.php.


You're right, I completely bungled it.  It's a wonder I haven't blown my forum up.   :)

That's amazing, JovanT!  Thanks so much; you're very kind.  It looks great.
Title: Re: Ultimate Profile
Post by: zanyuki on July 16, 2009, 10:26:32 AM
Any support for RC1.2?
Title: Re: Ultimate Profile
Post by: DonnaMarie on July 16, 2009, 12:08:01 PM
Quote from: zanyuki on July 16, 2009, 10:26:32 AM
Any support for RC1.2?
I was going to ask that as I think I will upgrade today :)
Title: Re: Ultimate Profile
Post by: Dzonny on July 16, 2009, 01:25:44 PM
JovanT, thanks for help, i fixed this.
In ultimateprofile.template.php there is two  if ($i == 3) and if ($i == 4) $i = 1; codes, so i've edited them and have pictures as i wanted.

Hvala! :)
Title: Re: Ultimate Profile
Post by: chrishicks on July 16, 2009, 01:39:48 PM
I'm still having the issue where playlist.com playlists don't show for anyone using IE. It worked when I was using 0.7 but stopped after upgrading to 0.9. Any idea of what could be causing this? I'm on 1.1.10 by the way.
Title: Re: Ultimate Profile
Post by: Mr_Lon on July 16, 2009, 05:57:49 PM
Quote@Mr_Lon
I've just tested this on my local forum. If you have enabled "Allow users to email you?" under "Account Settings", other users will be able to contact you via "Members" section but they will not be able to see your email on your profile. It will show "hidden".

Hoewever, if you want to remove this section completely, open your Themes/defaultUltimateProfile.template.php and delete (line #193):

Thank You JovanT

I did take out the lines that you gave me and everything looks good. I just didn't like the full email address showing it isn't shown in the Members List.
We all know about Spammers and other undesirables collecting email addresses.

Lon
Title: Re: Ultimate Profile
Post by: Mr_Lon on July 16, 2009, 06:02:42 PM
One more Quick question please.

In my Ultimate Profile in the "Contact Me" area I have this Contact Me :)
Is there suppose to be a "Smile" there showing like this - Contact Me :) ? Mine don't show like this?.....

Lon
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 17, 2009, 02:02:13 AM
WOOOOHOOOOO!!! WTG on the release for SMF 2!

Thank you very much Jovan and anyone else who contributed to the dedication and hard work on getting this ported to SMF 2.

Installed clean and works great!
Title: Re: Ultimate Profile
Post by: Chas Large on July 17, 2009, 02:15:04 AM
Hi, Can you tell me what the latest update does? I have this mod already running in 1.1.9 and just upgraded to 1.1.10 and it's still working OK. Do I need to reapply the recent updated version of this mod for any reason? Sorry but I could not find any mod history list here on at the mod link.

Chas.
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 17, 2009, 02:24:40 AM
@ Chas_Large  I believe it the only thing that was done was add the support for SMF 2.
Title: Re: Ultimate Profile
Post by: Chas Large on July 17, 2009, 02:27:36 AM
Quote from: mrtrc266 on July 17, 2009, 02:24:40 AM
@ Chas_Large  I believe it the only thing that was done was add the support for SMF 2.
Thanks.
Chas
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 17, 2009, 11:03:33 AM
Im not sure if this is related to this but I went to delete a test members from the admin panel and I received this error

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}profile_pictures
WHERE id_member IN (44)' at line 2
File: /home/content/f/e/l/xxxxxx/html/worldteampoker/Sources/Subs-Members.php
Line: 386

The member was deleted, but still got that error
Title: Re: Ultimate Profile
Post by: tyty1234 on July 17, 2009, 09:10:30 PM
Quote from: mrtrc266 on July 17, 2009, 11:03:33 AM
Im not sure if this is related to this but I went to delete a test members from the admin panel and I received this error

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}profile_pictures
WHERE id_member IN (44)' at line 2
File: /home/content/f/e/l/xxxxxx/html/worldteampoker/Sources/Subs-Members.php
Line: 386

The member was deleted, but still got that error
I get that same error as well. However, someone deleted their account on my site. :(
Title: Re: Ultimate Profile
Post by: Sudhakar Arjunan on July 18, 2009, 05:31:32 AM
Good work.

Will try updating my forum soon.
Title: Re: Ultimate Profile
Post by: InsaneneSs on July 18, 2009, 08:34:28 PM
When I installed this mod, the Referals mod and the next post level doesn't show on the on the Ultimate Profile.

Can some one help me?
Title: Re: Ultimate Profile
Post by: tyty1234 on July 18, 2009, 09:19:35 PM
Quote from: InsaneneSs on July 18, 2009, 08:34:28 PM
When I installed this mod, the Referals mod and the next post level doesn't show on the on the Ultimate Profile.

Can some one help me?
You would have to make those changes manually in the UltimateProfile.template.php file.
Title: Re: Ultimate Profile
Post by: InsaneneSs on July 18, 2009, 11:50:11 PM
Quote from: tyty1234 on July 18, 2009, 09:19:35 PM
Quote from: InsaneneSs on July 18, 2009, 08:34:28 PM
When I installed this mod, the Referals mod and the next post level doesn't show on the on the Ultimate Profile.

Can some one help me?
You would have to make those changes manually in the UltimateProfile.template.php file.

How?
Title: Re: Ultimate Profile
Post by: [RedDevil] on July 19, 2009, 01:22:21 AM
Either have the author edit the code for you or get permission to have someone do it for you.
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 19, 2009, 02:50:57 AM
Quote from: InsaneneSs on July 18, 2009, 11:50:11 PM
Quote from: tyty1234 on July 18, 2009, 09:19:35 PM
Quote from: InsaneneSs on July 18, 2009, 08:34:28 PM
When I installed this mod, the Referals mod and the next post level doesn't show on the on the Ultimate Profile.

Can some one help me?
You would have to make those changes manually in the UltimateProfile.template.php file.

How?

Try throwing the Mods in a Package Parser  (http://resourcez.biz/PackageParser/)and look for the edits to the profile.template.php and then make those edits to the UltimateProfile.template.php instead.

You might not find the exact code in the UltimateProfile.template.php but if you compare the 2 files you should be able to figure it out.
Title: Re: Ultimate Profile
Post by: Yağız... on July 19, 2009, 06:14:04 AM
People having error like this:
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}profile_pictures
WHERE id_member IN (44)' at line 2
File: /home/content/f/e/l/xxxxxx/html/worldteampoker/Sources/Subs-Members.php
Line: 386
Can you try this change please?

Find in ./Sources/Subs-Members.php:
FROM {$db_prefix}profile_pictures
Replace with:
FROM {db_prefix}profile_pictures
Title: Re: Ultimate Profile
Post by: sepulchre on July 19, 2009, 06:42:18 AM
Quote from: Yağız... on July 19, 2009, 06:14:04 AM
People having error like this:
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}profile_pictures
WHERE id_member IN (44)' at line 2
File: /home/content/f/e/l/xxxxxx/html/worldteampoker/Sources/Subs-Members.php
Line: 386
Can you try this change please?

I'm having the same problem but I don't see any difference in the code you suggest above?

Aditionally when deleting a member the last member info in the forum does not update, maybe it's unrelated to the above bug?
Find in ./Sources/Subg-Members.php:
FROM {$db_prefix}profile_pictures
Replace with:
FROM {$db_prefix}profile_pictures
Title: Re: Ultimate Profile
Post by: pcfreak30 on July 19, 2009, 08:02:12 AM
I have gotten the error to. its a php coding typo. a '$' is missing if you compare it to other parts of the file. all that needs to be done is add that in as bug fix. BTW you beat me to the bug report, lol. :-D


[edit: glad you know. I actually got mixed up myself. Further looking shows that it needs the '$' removed]
Title: Re: Ultimate Profile
Post by: Yağız... on July 19, 2009, 08:05:10 AM
Sorry, I forgot to delete the '$' :)
Title: Re: Ultimate Profile
Post by: 1stAngel on July 19, 2009, 08:52:59 AM
Hi, LOVE Ultimate profile.  Trying to find out how to do the CSS in the pimp my profile bit and went to read the FAQ http://jovant.guruserve.com/test-forum/ but its closed ..anyone know how long this has been closed and can anyone help me?  I have made my background a different colour, whats the code for the tables please anyone?  I did do the font but that's not working, probably as it is in tables?

http://1stangel.co.uk/forum/index.php?action=profile;u=1

Thanks, as I say I did try and go read the FAQ first :)
Title: Re: Ultimate Profile
Post by: InsaneneSs on July 19, 2009, 02:06:51 PM
Quote from: mrtrc266 on July 19, 2009, 02:50:57 AM
Quote from: InsaneneSs on July 18, 2009, 11:50:11 PM
Quote from: tyty1234 on July 18, 2009, 09:19:35 PM
Quote from: InsaneneSs on July 18, 2009, 08:34:28 PM
When I installed this mod, the Referals mod and the next post level doesn't show on the on the Ultimate Profile.

Can some one help me?
You would have to make those changes manually in the UltimateProfile.template.php file.

How?

Try throwing the Mods in a Package Parser  (http://resourcez.biz/PackageParser/)and look for the edits to the profile.template.php and then make those edits to the UltimateProfile.template.php instead.

You might not find the exact code in the UltimateProfile.template.php but if you compare the 2 files you should be able to figure it out.

Yh i will do that. Thank you a lot.
Title: Re: Ultimate Profile
Post by: tyty1234 on July 19, 2009, 05:36:08 PM
Quote from: Yağız... on July 19, 2009, 06:14:04 AM
People having error like this:
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}profile_pictures
WHERE id_member IN (44)' at line 2
File: /home/content/f/e/l/xxxxxx/html/worldteampoker/Sources/Subs-Members.php
Line: 386
Can you try this change please?

Find in ./Sources/Subs-Members.php:
FROM {$db_prefix}profile_pictures
Replace with:
FROM {db_prefix}profile_pictures
Thanks for this Yagiz. :)
Title: Re: Ultimate Profile
Post by: kingkingston on July 20, 2009, 03:07:45 AM
Quote from: 1stAngel on July 19, 2009, 08:52:59 AM
Hi, LOVE Ultimate profile.  Trying to find out how to do the CSS in the pimp my profile bit and went to read the FAQ http://jovant.guruserve.com/test-forum/ but its closed ..anyone know how long this has been closed and can anyone help me?  I have made my background a different colour, whats the code for the tables please anyone?  I did do the font but that's not working, probably as it is in tables?

http://1stangel.co.uk/forum/index.php?action=profile;u=1

Thanks, as I say I did try and go read the FAQ first :)

What kind of code do you want,you can use some myspace backgrounds,they work pretty good
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 20, 2009, 02:44:21 PM
Quote from: kingkingston on July 20, 2009, 03:07:45 AM
Quote from: 1stAngel on July 19, 2009, 08:52:59 AM
Hi, LOVE Ultimate profile.  Trying to find out how to do the CSS in the pimp my profile bit and went to read the FAQ http://jovant.guruserve.com/test-forum/ (http://jovant.guruserve.com/test-forum/) but its closed ..anyone know how long this has been closed and can anyone help me?  I have made my background a different colour, whats the code for the tables please anyone?  I did do the font but that's not working, probably as it is in tables?

http://1stangel.co.uk/forum/index.php?action=profile;u=1 (http://1stangel.co.uk/forum/index.php?action=profile;u=1)

Thanks, as I say I did try and go read the FAQ first :)

What kind of code do you want,you can use some myspace backgrounds,they work pretty good

Yes some of them work pretty good but I had some serious problems with members putting some some myspace payout junk which completely locked up their profile and I had to remove the code via the database.

To keep it clean and simple here is a great tutorial to add some css to your profile
http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help (http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help)
Title: Re: Ultimate Profile
Post by: InsaneneSs on July 21, 2009, 12:32:32 PM
I already try. Doesn't work. Doesn't show anything on the ultimate profile =/
Title: Re: Ultimate Profile
Post by: Matthew K. on July 21, 2009, 04:26:18 PM
Installed on SMF Version 1.1.10.

I got the message saying my Database was running at 1.1.9 not 10. So I updated my database and now I get this error:

Unknown column 'com.time' in 'field list'
File: /home/myuser/public_html/forum/Sources/Profile.php
Line: 1392

How do I resolve this to get my profiles working? Thanks
Title: Re: Ultimate Profile
Post by: Yağız... on July 21, 2009, 04:30:05 PM
Install the table fix (http://jovant.guruserve.com/projekti/smf/ultimate_profile/table_fix.zip) package.
Title: Re: Ultimate Profile
Post by: Matthew K. on July 21, 2009, 05:39:46 PM
Quote from: Yağız... on July 21, 2009, 04:30:05 PM
Install the table fix (http://jovant.guruserve.com/projekti/smf/ultimate_profile/table_fix.zip) package.

Thanks for the quick support!

Love the mod.
Title: Re: Ultimate Profile
Post by: Ehemm on July 22, 2009, 07:20:50 AM
Quote from: chaky! on July 10, 2009, 08:12:50 PM
Quote from: JovanT on July 10, 2009, 04:23:38 PM
@chaky!
Can you describe your problem a little closer?

Well... after install this beta realease (i realized that on my DB are not new tables or columns) Obviously the mod doesnt work..

for example, this are some errors

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-View.php
Line: 163 "

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-Pictures.php
Line: 785 " 

I try to do a manual installation but i dont undestand database.php file..


If you can tell me wich are the new tables and columns i will apriciated..


Regards

ps: sorry for my english

same problem here with SMF 2.0 RC1-2
still waiting for the real deal ...
thanks
Title: Re: Ultimate Profile
Post by: digit on July 22, 2009, 12:13:21 PM
One of my users is reporting the following error when trying to customize her profile... 

Fatal error: Call to undefined function ctype_digit() in /users/Sources/HtmLawed.php on line 563

Doing a little research, I found this solution.... (from 2004???)

http://www.pmichaud.com/pipermail/pmwiki-users/2004-June/005335.html

Would it be safe to add that as a local function...  to the htmLawed.php file,  or is there another problem and/or fix?

Thanks!
Title: Re: Ultimate Profile
Post by: tyty1234 on July 22, 2009, 01:28:04 PM
Quote from: Ehemm on July 22, 2009, 07:20:50 AM
Quote from: chaky! on July 10, 2009, 08:12:50 PM
Quote from: JovanT on July 10, 2009, 04:23:38 PM
@chaky!
Can you describe your problem a little closer?

Well... after install this beta realease (i realized that on my DB are not new tables or columns) Obviously the mod doesnt work..

for example, this are some errors

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-View.php
Line: 163 "

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-Pictures.php
Line: 785 " 

I try to do a manual installation but i dont undestand database.php file..


If you can tell me wich are the new tables and columns i will apriciated..


Regards

ps: sorry for my english

same problem here with SMF 2.0 RC1-2
still waiting for the real deal ...
thanks
The database.php file is a standalone script and should be executed during installation. You can extract this file from the zip file, and upload it to your SMF root folder and point your browser to it. (e.g. http://yoursmfsite.com/database.php) Try this and tell us your reports.

Quote from: digit on July 22, 2009, 12:13:21 PM
One of my users is reporting the following error when trying to customize her profile... 

Fatal error: Call to undefined function ctype_digit() in /users/Sources/HtmLawed.php on line 563

Doing a little research, I found this solution.... (from 2004???)

http://www.pmichaud.com/pipermail/pmwiki-users/2004-June/005335.html

Would it be safe to add that as a local function...  to the htmLawed.php file,  or is there another problem and/or fix?

Thanks!
What version of php are you running on your server? Also, I am unfamiliar of that file. Can you tell me where htmLawed.php came from?
Title: Re: Ultimate Profile
Post by: JovanT on July 22, 2009, 01:42:12 PM
HtmLawed.php (http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php) comes with Ultimate Profile. It is HTML filter used to prevent XSS attacks because it strips all malicious codes.

@digit
It is safe to add that piece of code to your HtmLawed.php. It does exactly what it should: checks if all of the characters in the provided string are numerical.
Title: Re: Ultimate Profile
Post by: jolu on July 22, 2009, 05:31:56 PM
Hi there, JovanT  :)  First of all, thanks for your Ultimate Profile mod, I've long been wishing I can do that, but am no programmer to do so.

I have a little problem upon installing the mod, only me(admin) can customize profile. My guess is that I need to chmod some files, but which files?

This is what can be seen below my profile
(http://img517.imageshack.us/img517/5359/adminprofile.jpg)

while this can be seen in the member profile
(http://img12.imageshack.us/img12/829/memberprofile.jpg)

Also, there is no MEDIA BOX in the MEMBER PROFILE.
Any help is highly appreciated.
My little playground (SMF 1.1.10): http://www.romanticjerk.info/ (http://www.romanticjerk.info/)
Title: Re: Ultimate Profile
Post by: gbsothere on July 22, 2009, 05:40:55 PM
jolu, I'm not JovanT, but I do have Ultimate Profile on my 1.1.10 SMF forum.   :)

First, you need to go to Admin------>  Features and Options --------> Ultimate Profile

There, you can enable Ultimate Profile for all members, and also allow the media box (and other options, including customization). 

You will also need to go to Permissions to allow each member group to edit Ultimate Profile.

I hope this helps. 

Title: Re: Ultimate Profile
Post by: jolu on July 22, 2009, 05:45:56 PM
Wow! thanks for the fast reply. I have enabled Ultimate Profile in my Admin panel but not with the Permissions. That, I will do right now. Thanks again  :)
Title: Re: Ultimate Profile
Post by: gbsothere on July 22, 2009, 05:51:21 PM
Quote from: jolu on July 22, 2009, 05:45:56 PM
Wow! thanks for the fast reply. I have enabled Ultimate Profile in my Admin panel but not with the Permissions. That, I will do right now. Thanks again  :)

You're welcome!   I'm not sure why your media box isn't showing up, so you may just want to make sure that box is checked in your Ultimate Profile control panel.  If not, I hope that fixes it.   :)
Title: Re: Ultimate Profile
Post by: jolu on July 22, 2009, 06:11:25 PM
Weeeeeeeeeeeeeeeeeeeeeeeeeee! it's working fine now! haha the noob me, of course media box wont show because there's none posted yet, wahahaha!

Really, thanks a lot gbsothere! I am very very happy!(dances)
Title: Re: Ultimate Profile
Post by: digit on July 22, 2009, 06:12:26 PM
Quote from: JovanT on July 22, 2009, 01:42:12 PM
HtmLawed.php (http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php) comes with Ultimate Profile. It is HTML filter used to prevent XSS attacks because it strips all malicious codes.

@digit
It is safe to add that piece of code to your HtmLawed.php. It does exactly what it should: checks if all of the characters in the provided string are numerical.

Thanks dude!
Title: Re: Ultimate Profile
Post by: gbsothere on July 22, 2009, 06:21:52 PM
Quote from: jolu on July 22, 2009, 06:11:25 PM
Weeeeeeeeeeeeeeeeeeeeeeeeeee! it's working fine now! haha the noob me, of course media box wont show because there's none posted yet, wahahaha!

Really, thanks a lot gbsothere! I am very very happy!(dances)


You're very welcome. 

I'm a big fan of "Happy".     (http://whereikeepmystuff.com/smf/Smileys/classic/blissy.gif)
Title: Re: Ultimate Profile
Post by: gbsothere on July 22, 2009, 10:35:16 PM
My turn, now.....   and I don't know if this is an Ultimate Profile issue or an SMF issue, but I'll start here:

SMF 1.1.10, Default

Here's the situation:  today, one of my posters PMd me and said, "I invited another poster to be my buddy and got a message that when she accepts me, I'll be added to her buddy list.  I clicked OK and got this message:  An Error Has Occurred! This member is already your buddy. "  She went on to assure me that she is not and, when I went into the database and checked the members table, she is correct, neither of them have the other''s member ID in her buddy list.  I even tried to manually add the member IDs to each's buddy list via the database, but they still didn't show up in each other's profile.  I removed that edit and asked that they try again, this time, with the recipient issuing the invitation to the first poster.  She also reports the same error: An Error Has Occurred! This member is already your buddy.   This is simply not the case. 

I followed the instructions here on page 2 (or page 26, depending on how you view threads) before I enabled Ultimate Profile to find in Sources/Profile.php
$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 a greater number, to allow for more buddies. Neither of these posters are anywhere near that number.

Can someone advance a theory as to why this is happening?  Other posters have a far greater number of buddies than these two and neither had the other as a buddy before Ultimate Profile was installed.

I'd appreciate your insight.

Thanks!


ETA:  I just logged in with a newbie test account, then sent an invitation to it, accepted, etc.  Whatever is going on, it seems to be, unless I hear from other members, uniquely between these two posters.  Very odd. 


One more edit before I shuffle off to bed:  I finally found this but, I'm sorry; I'm old and dull tonight and I'm just not getting it.  Would someone be kind to an old man and explain what this means?

http://www.simplemachines.org/community/index.php?topic=183574.msg1521817#msg1521817 (http://www.simplemachines.org/community/index.php?topic=183574.msg1521817#msg1521817)
Title: Re: Ultimate Profile
Post by: tyty1234 on July 23, 2009, 12:58:38 AM
gbsothere, would you do me a favor?

Look in your members table in your database, go to that members id, and tell me what you have in the buddies column for that member.

As for that link you provided, it could be referring to an old version of Ultimate Profile, but I'm pretty sure it doesn't conflict or has anything to do with your situation.
Title: Re: Ultimate Profile
Post by: Ehemm on July 23, 2009, 01:14:16 AM

Quote from: JovanT on July 10, 2009, 04:23:38 PM

The database.php file is a standalone script and should be executed during installation. You can extract this file from the zip file, and upload it to your SMF root folder and point your browser to it. (e.g. http://yoursmfsite.com/database.php) Try this and tell us your reports.

i've got this error :
Fatal error: Call to undefined function db_query() in F:\xampp\htdocs\forum\database.php on line 11

Title: Re: Ultimate Profile
Post by: gbsothere on July 23, 2009, 07:48:26 AM
Quote from: tyty1234 on July 23, 2009, 12:58:38 AM
gbsothere, would you do me a favor?

Look in your members table in your database, go to that members id, and tell me what you have in the buddies column for that member.

As for that link you provided, it could be referring to an old version of Ultimate Profile, but I'm pretty sure it doesn't conflict or has anything to do with your situation.


Thanks!


The members in question are ID #3 and ID #15. 

The first screenshot is the buddies column for #3:

(http://whereitestmystuff.com/images/buddy1.jpg)

And this one is the buddies column for #15:

(http://whereitestmystuff.com/images/buddy2.jpg)

Neither of them have the other in common.  But they do have #6 in common.... 



As for that link I mentioned...  I guess I was thinking that the poster was saying that the first link was from the old profile's buddy function and that installing Ultimate Profile had changed that link, but I see what you mean. 

It felt good for a moment, to wake up thinking I'd hit on something, but I'm back to total ignorance.   :)



ETA:  I know it's far-fetched, but I wonder if they both remove #6 from their lists, if they would be able to add each other?   Yes.... far-fetched.   *grin*  I think I'll get my hat and pipe and go walk through the park and mull it over. 
 
Title: Re: Ultimate Profile
Post by: swan on July 23, 2009, 10:46:38 AM
Hi, we tried installing this mod and it had success all down the list and applied mod straight away no problems, said it was all working etc etc yet when we went to profiles we got this error..

Unknown column 'com.time' in 'field list'
File: /home/totzrusc/public_html/forum/Sources/Profile.php
Line: 1533

Any ideas what we can do to have it on?

We are on 1.1.10 and database all updated too, and when we did it we had NO other mods installed as we were just redoing them all.

It gives the same error WITH the other mods we have also.

Any help would be great thanks.
Title: Re: Ultimate Profile
Post by: gbsothere on July 23, 2009, 10:52:41 AM
Here's a link, Swan, that may help. 


http://www.simplemachines.org/community/index.php?topic=319482.msg2123351#msg2123351 (http://www.simplemachines.org/community/index.php?topic=319482.msg2123351#msg2123351)
Title: Re: Ultimate Profile
Post by: swan on July 23, 2009, 10:55:40 AM
Thanks will check it out now.

appreciate the reply x
Title: Re: Ultimate Profile
Post by: gbsothere on July 23, 2009, 12:21:23 PM

Please note, in addition to my post (4 post counts away from this one):

Both members are showing up as pending in each other's Edit Buddies list, but they can't modify this, because they've each been told that the other is already a buddy and, as I said before, they are not. 


Thanks!


Title: Re: Ultimate Profile
Post by: Yağız... on July 23, 2009, 12:44:32 PM
@gbsothere;
Try to run buddy migration tool (http://jovant.guruserve.com/projekti/smf/ultimate_profile/migrate_buddies.zip)
Title: Re: Ultimate Profile
Post by: gbsothere on July 23, 2009, 01:02:33 PM
Hi, and thanks, Yağız!

I did just run it, but it didn't seem to change things.  You see, neither of these members were on each other's buddy list before installing Ultimate Profile and I've never had any previous versions of the mod.  I just asked them to check their Edit Buddy section and, although each appears there as pending (but not on the Buddy List, despite each being told that the other is already a Buddy) there is no option on the Edit Buddy list except to delete each other.  There is no option to approve. 

I'm just stumped....    :(
Title: Re: Ultimate Profile
Post by: tyty1234 on July 23, 2009, 01:52:28 PM
Quote from: gbsothere on July 23, 2009, 07:48:26 AM
Quote from: tyty1234 on July 23, 2009, 12:58:38 AM
gbsothere, would you do me a favor?

Look in your members table in your database, go to that members id, and tell me what you have in the buddies column for that member.

As for that link you provided, it could be referring to an old version of Ultimate Profile, but I'm pretty sure it doesn't conflict or has anything to do with your situation.


Thanks!


The members in question are ID #3 and ID #15. 

The first screenshot is the buddies column for #3:

(http://whereitestmystuff.com/images/buddy1.jpg)

And this one is the buddies column for #15:

(http://whereitestmystuff.com/images/buddy2.jpg)

Neither of them have the other in common.  But they do have #6 in common.... 



As for that link I mentioned...  I guess I was thinking that the poster was saying that the first link was from the old profile's buddy function and that installing Ultimate Profile had changed that link, but I see what you mean. 

It felt good for a moment, to wake up thinking I'd hit on something, but I'm back to total ignorance.   :)



ETA:  I know it's far-fetched, but I wonder if they both remove #6 from their lists, if they would be able to add each other?   Yes.... far-fetched.   *grin*  I think I'll get my hat and pipe and go walk through the park and mull it over. 


You can try delete the 6 from both members (3 and 15), and see if that works. What you could also try is delete all the buddies from 3, and then try adding 15 to 3, and 3 to 15.

Quote from: Ehemm on July 23, 2009, 01:14:16 AM

Quote from: JovanT on July 10, 2009, 04:23:38 PM

The database.php file is a standalone script and should be executed during installation. You can extract this file from the zip file, and upload it to your SMF root folder and point your browser to it. (e.g. http://yoursmfsite.com/database.php) Try this and tell us your reports.

i've got this error :
Fatal error: Call to undefined function db_query() in F:\xampp\htdocs\forum\database.php on line 11

Well...the only other option I can think of is uninstalling Ultimate Profile, then delete the tables that are used by Ultimate Profile in phpMyAdmin. (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0))

After that, then reinstall Ultimate Profile and see if that works...
Title: Re: Ultimate Profile
Post by: gbsothere on July 23, 2009, 02:25:47 PM
Thanks, tyty1234!

I've been mulling deleting #6 all day (a very chatty little girl named Meg who will freak....*grin*....)  just to see if, somehow, this is the issue. If that doesn't work, I'll see if your second suggestion works.

Thanks, again.   :)
Title: Re: Ultimate Profile
Post by: gbsothere on July 23, 2009, 03:06:30 PM


Follow-Up:


I went into the database and to the smf_members table and removed the sweet but troublesome #6 from both #3 and #15's buddy lists.  I also removed them from hers and, while I was at it, I opened the smf_buddies table and removed all pending and accepted requests involving those three posters. 

I am now told by #3 that her fresh invitation to #15 has gone off without a hitch.  I've told #6 to sit tight and let them invite her when they have secured each other as buddies. 

All is quiet on the farm.    *grin*

My issue is symbolically marked "solved".....  unless #6 makes trouble again.    :)
Title: Re: Ultimate Profile
Post by: tyty1234 on July 23, 2009, 03:59:17 PM
I'm glad to here that gbsothere! :)
If anything comes up, just let us know! ;)
Title: Re: Ultimate Profile
Post by: chaky! on July 24, 2009, 12:22:16 AM
Quote from: Ehemm on July 23, 2009, 01:14:16 AM

Quote from: JovanT on July 10, 2009, 04:23:38 PM

The database.php file is a standalone script and should be executed during installation. You can extract this file from the zip file, and upload it to your SMF root folder and point your browser to it. (e.g. http://yoursmfsite.com/database.php) Try this and tell us your reports.

i've got this error :
Fatal error: Call to undefined function db_query() in F:\xampp\htdocs\forum\database.php on line 11


me too...

database.php file is in the main folder.. also i try to put it in

forum/Packages/Temp (this folder is where package manager unzip the mod)

in both cases i receive the same error..

any ideas?

@Ehemm: you try it only on localhost?
Title: Re: Ultimate Profile
Post by: 1stAngel on July 25, 2009, 02:40:56 PM
@kingkingston and @mrtrc266

Awesome, thank you both very much!  I will let the members know :)
Title: Re: Ultimate Profile
Post by: JovanT on July 25, 2009, 07:20:08 PM
@Ehemm
Which version of SMF are you using? Which UP package are you trying to install?
The error you are experiencing is really odd. It looks like you are trying to install UP for SMF 1.1 on SMF 2.0.
Title: Re: Ultimate Profile
Post by: Ehemm on July 26, 2009, 06:33:05 AM
Quote from: Ehemm on July 22, 2009, 07:20:50 AM
Quote from: chaky! on July 10, 2009, 08:12:50 PM
Quote from: JovanT on July 10, 2009, 04:23:38 PM
@chaky!
Can you describe your problem a little closer?

Well... after install this beta realease (i realized that on my DB are not new tables or columns) Obviously the mod doesnt work..

for example, this are some errors

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-View.php
Line: 163 "

"Table 'xxx_smf.smf_profile_pictures' doesn't exist
File: /home/xxxx/public_html/Sources/Profile-Pictures.php
Line: 785 " 

I try to do a manual installation but i dont undestand database.php file..


If you can tell me wich are the new tables and columns i will apriciated..


Regards

ps: sorry for my english

same problem here with SMF 2.0 RC1-2
still waiting for the real deal ...
thanks

Quote from: JovanT on July 25, 2009, 07:20:08 PM
@Ehemm
Which version of SMF are you using? Which UP package are you trying to install?
The error you are experiencing is really odd. It looks like you are trying to install UP for SMF 1.1 on SMF 2.0.
i've posted before ... :(
Title: Re: Ultimate Profile
Post by: chaky! on July 26, 2009, 01:53:11 PM
well... after reinstalling the modification i went to look for the missing tables on mysql,

really doesnt exist... i want to create this manually but i dont now wich i have to made...


Can you export your DB on .sql and post here? (only structure not "insert into")

thanks for your help ;)


pd: im talking about  2.0 RC1-2 version
Title: Re: Ultimate Profile
Post by: tyty1234 on July 26, 2009, 03:40:33 PM
I attached a couple of files, only one of two you will need. The "ult-profile_profile_pictures.php" file will create the missing table automatically without having to go into phpMyAdmin. This file needs to be copied to the root folder of your SMF installation. Once copied, you need to locate your browser to "http://www.yoursmfsite.com/ult-profile_profile_pictures.php" and it will add the table automatically. If you see a blank page, this is normal. It still should add the missing table. Should this method fail, use the sql file to install the missing table.

If you would like to do it manually, then you would want the "ult-profile_profile_pictures.sql" file. You will need to import this into phpMyAdmin using the import tab. Locate the file on your computer and then click on "Go".

Hopefully this helps everyone who is missing the "profile_pictures" table in their database. :)

The attachments are in this post (#post_attachments).
Title: Re: Ultimate Profile
Post by: chaky! on July 26, 2009, 04:25:27 PM
Thank you tity!

Obviously the problem is that, missings tables, but no just need that one..


now its asking me for smf_profile_comments..

I really apreciated your effort...

this are the missings tables.. can you give me sql sintax for this tables?
profile_comments
picture_comments
profile_albums
buddies


Thanks!

ps: sorry for my english
Title: Re: Ultimate Profile
Post by: tyty1234 on July 26, 2009, 06:48:48 PM
Thanks for that info chaky! :)

I re-attached the sql file, and instead I grabbed the "database.php" file from the mod package since that has all the tables that are associated with Ultimate Profile.

The file "database.php" needs to be copied to the root folder of your SMF installation. Once copied, you need to locate your browser to "http://www.yoursmfsite.com/database.php" and it should add the table automatically. If you see a blank page, this is normal. It still should add the missing table. Should this method fail, use the sql file to install the missing table.

You will need to import the "ult-profile_tablefix.sql" file into phpMyAdmin using the import tab. Locate the file on your computer and then click on "Go". This sql file assumes your $db_prefix is "smf_". If your $db_prefix is not "smf_" please let me know.

Again, you only need one of the two files. :)
Title: Re: Ultimate Profile
Post by: chaky! on July 26, 2009, 07:13:07 PM
tyty1234 works perfect!


thank you very much ;)
Title: Re: Ultimate Profile
Post by: tyty1234 on July 26, 2009, 07:17:00 PM
No problem!

I did forget to mention one thing though. For your profile_pictures table, can you check to make sure AUTO_INCREMENT is 0 (zero)? If not, go to the Operations tab, and there should be a field to set the AUTO_INCREMENT field. Once you see it, change it 0, and then save the structure. :)
Title: Re: Ultimate Profile
Post by: chaky! on July 26, 2009, 07:33:44 PM
auto_increment is enable after upload a testimage its on 2, i change it to 0, then click con save and not change, stills in 2..

Im going to drop the table and create this again..


Thanks!


ps: for now is working but.. wich is the problem with autoincrement?
Title: Re: Ultimate Profile
Post by: tyty1234 on July 26, 2009, 07:43:47 PM
Just the profile_pictures one because when I exported my profile_pictures table, I forgot to un-check the autoincrement option, and in the first sql file I attached, I left it there by accident and if you were to add a picture, it would've added the id somewhere in the 800s when it should be 1. lol.

It would be fine to delete the table and re-import it, because the current sql file I attached does not have the autoincrement data in there. It still would autoincrement, but it should start at 0.
Title: Re: Ultimate Profile
Post by: chaky! on July 26, 2009, 08:04:18 PM
Thanks again Tity!

i use the second attachement to import

;)

JovanT excellent mod

Title: Re: Ultimate Profile
Post by: Matthew K. on July 27, 2009, 11:27:28 AM
Hello,

I was wondering how I would add in the normal post options like Smileys, BBC tags, and bold, italic all of those things as well to the Profile Comments included.

Thanks!
Title: Re: Ultimate Profile
Post by: tyty1234 on July 27, 2009, 01:31:28 PM
Quote from: Labradoodle-360 on July 27, 2009, 11:27:28 AM
Hello,

I was wondering how I would add in the normal post options like Smileys, BBC tags, and bold, italic all of those things as well to the Profile Comments included.

Thanks!
You should be able to do this as you would when posting a regular post.
Title: Re: Ultimate Profile
Post by: DeathProxy on July 27, 2009, 01:45:53 PM
I have a problem. When I try to install, this error comes in:

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 successful
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

Idk wats going on, and these are the current mods i hav installed:

1.     Profile Music      1.0       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Shop Item: Change Display Name CSS    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Activity_Bar    1.0.1.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Karma Buttons    1.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Locked Topic Color    1.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    Colorized Membergroups    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    SimplePortal    2.2.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Sticky First Post (extends sticky topic)    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    Posting_Announcement    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
11.    Auto Merge Double Post    1.2    [ Uninstall ] [ List Files ] [ Delete ]
12.    SMF Shop Lottery    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    Googlebot & Spiders Mod    2.0.4    [ Uninstall ] [ List Files ] [ Delete ]
14.    Floating Bar Mod    1.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    Spam Me Not Mod    1.02    [ Uninstall ] [ List Files ] [ Delete ]
16.    Advanced Login Form    1.2    [ Uninstall ] [ List Files ] [ Delete ]
17.    Search Time Limitation    1.0    [ Uninstall ] [ List Files ] [ Delete ]
18.    Quick Upload    2.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    SMFShop    3.1.1    [ Uninstall ] [ List Files ] [ Delete ]
20.    clickableImagebbcode    1.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    New_pm    2009    [ Uninstall ] [ List Files ] [ Delete ]
22.    URL Popup Tr    1.0    [ Uninstall ] [ List Files ] [ Delete ]
23.    MCLegendII.2    3.0    [ Uninstall ] [ List Files ] [ Delete ]

Can someone help?
Title: Re: Ultimate Profile
Post by: Xavi-Nena on July 27, 2009, 03:10:09 PM
Quote from: DeathProxy on July 27, 2009, 01:45:53 PM
I have a problem. When I try to install, this error comes in:

1.     Execute Modification     ./Sources/Profile.php     Test failed

Can someone help?

You will/might need to manually edit that file after you install the mod.
Title: Re: Ultimate Profile
Post by: agfpc15 on July 29, 2009, 10:12:24 PM
Hey. I have SMS version 1.1.10 and the ultimate profile mod is only available in the modify profile section for admins but we have Enable Ultimate Profile for all members ticked. Does anyone know how to fix this?
Title: Re: Ultimate Profile
Post by: gbsothere on July 30, 2009, 08:12:32 AM
Quote from: agfpc15 on July 29, 2009, 10:12:24 PM
Hey. I have SMS version 1.1.10 and the ultimate profile mod is only available in the modify profile section for admins but we have Enable Ultimate Profile for all members ticked. Does anyone know how to fix this?



Have you gone into Permissions and, for each group, checked "Edit Ultimate Profile"?
Title: Re: Ultimate Profile
Post by: ScottDB on July 31, 2009, 03:13:17 PM
Would like to know if there is a way to add RSS Feed into Ultimate profile either by adding it to the mod, theme, or just have members add it themselves. I have an add RSS Feed program that is supposed to be able to add RSS Feed to any profile. Never used it though. Also there is an RSS Feed mod that I have not checked out yet. Can someone tell me more about this?
Title: Re: Ultimate Profile
Post by: nay27uk on July 31, 2009, 06:35:13 PM
Quote from: mrtrc266 on March 13, 2009, 09:50:58 AM
Here is a preview.

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

Maybe you should let guests see profiles in the permissions befor posting a preview
Title: Re: Ultimate Profile
Post by: nay27uk on July 31, 2009, 06:37:38 PM
Installed this but what the hell is the media box for when it wont allow <embed> </embed> there is no point to it
Title: Re: Ultimate Profile
Post by: tyty1234 on July 31, 2009, 09:17:06 PM
Quote from: nay27uk on July 31, 2009, 06:37:38 PM
Installed this but what the hell is the media box for when it wont allow <embed> </embed> there is no point to it

<embed> works for me and my members.
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 01, 2009, 10:55:16 PM
I get this error after installing this mod.

Unable to load the 'customized' template.

How to fix :(?
Title: Re: Ultimate Profile
Post by: Ehemm on August 02, 2009, 03:57:18 AM
Quote from: tyty1234 on July 26, 2009, 06:48:48 PM
Thanks for that info chaky! :)

I re-attached the sql file, and instead I grabbed the "database.php" file from the mod package since that has all the tables that are associated with Ultimate Profile.

The file "database.php" needs to be copied to the root folder of your SMF installation. Once copied, you need to locate your browser to "http://www.yoursmfsite.com/database.php" and it should add the table automatically. If you see a blank page, this is normal. It still should add the missing table. Should this method fail, use the sql file to install the missing table.

You will need to import the "ult-profile_tablefix.sql" file into phpMyAdmin using the import tab. Locate the file on your computer and then click on "Go". This sql file assumes your $db_prefix is "smf_". If your $db_prefix is not "smf_" please let me know.

Again, you only need one of the two files. :)


i try this but found this error when view member profile :

Unknown column 'com.time' in 'field list'
File: F:\xampp\htdocs\forum\Sources\Profile-View.php
Line: 228

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 RC1.2, while your database is at version 2.0 RC1. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Ultimate Profile
Post by: Ehemm on August 02, 2009, 04:40:21 AM
works fine ! ... i go to this thread :

http://www.simplemachines.org/community/index.php?topic=319482.0

thanks all ! :D
Title: Re: Ultimate Profile
Post by: nay27uk on August 02, 2009, 04:50:42 AM
Quote from: tyty1234 on July 31, 2009, 09:17:06 PM
Quote from: nay27uk on July 31, 2009, 06:37:38 PM
Installed this but what the hell is the media box for when it wont allow <embed> </embed> there is no point to it

<embed> works for me and my members.

Thats strange if I use <embed width="128" height="128" src="http://www.mysite.com/some.mp3 (http://www.mysite.com/some.mp3)"> nothing works especialy if i try embeding a .MMS file basicaly im trying to embed a di.fm radio streem
Title: Re: Ultimate Profile
Post by: tyty1234 on August 02, 2009, 06:06:08 AM
Quote from: Ehemm on August 02, 2009, 03:57:18 AM
i try this but found this error when view member profile :

Unknown column 'com.time' in 'field list'
File: F:\xampp\htdocs\forum\Sources\Profile-View.php
Line: 228

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


You need to run the upgrade.php file from the Small Upgrade Package (http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-rc1-2_update.zip). Or was it the Large Upgrade Package (http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-rc1-2_upgrade.zip)?
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 02, 2009, 02:18:06 PM
Can someone help me with my problem(look up for info).
Title: Re: Ultimate Profile
Post by: tyty1234 on August 02, 2009, 02:23:18 PM
Quote from: NBK*Twitch on August 01, 2009, 10:55:16 PM
I get this error after installing this mod.

Unable to load the 'customized' template.

How to fix :(?
Did you check to make sure that the file UltimateProfile.template.php file was copied to the default folder in the Themes directory? And what version of the mod are you using?
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 02, 2009, 02:24:59 PM
Quote from: tyty1234 on August 02, 2009, 02:23:18 PM
Quote from: NBK*Twitch on August 01, 2009, 10:55:16 PM
I get this error after installing this mod.

Unable to load the 'customized' template.

How to fix :(?
Did you check to make sure that the file UltimateProfile.template.php file was copied to the default folder in the Themes directory? And what version of the mod are you using?

No I did not do that.

I am using the latest version for 1.1.10.
Title: Re: Ultimate Profile
Post by: gbsothere on August 02, 2009, 03:06:19 PM
Quote from: NBK*Twitch on August 02, 2009, 02:24:59 PM

No I did not do that.

I am using the latest version for 1.1.10.




If you open the Ultimate Profile zip file you downloaded, you will find its folder.  Inside the folder there are two other folders:  Sources and Themes.  The files inside the Sources folder need to be placed into your forum's Sources folder.  The files inside Ultimate Profile's Themes/default folder need to be placed in your theme's folder and the files in Ultimate Profile's Themes/default/languages folder need to be placed into your theme's language folder.


:)
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 03, 2009, 12:19:56 AM
Quote from: tyty1234 on August 02, 2009, 02:23:18 PM
Quote from: NBK*Twitch on August 01, 2009, 10:55:16 PM
I get this error after installing this mod.

Unable to load the 'customized' template.

How to fix :(?
Did you check to make sure that the file UltimateProfile.template.php file was copied to the default folder in the Themes directory? And what version of the mod are you using?

Okay I did that and it is there.

It would be nice to have a fix lol..
Title: Re: Ultimate Profile
Post by: tyty1234 on August 03, 2009, 01:54:23 AM
try re-installing Ultimate Profile.
Title: Re: Ultimate Profile
Post by: Yağız... on August 03, 2009, 11:08:45 AM
If your theme contains a file named Profile.template.php, try to do changes that Ultimate Profile does in this file.
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 05:31:48 PM
I'm totally new to SMF and installing Ultimate Profile for 1.1.9.
I'm getting this error:

  Table 'rea0919011290927.smf_profile_comments' doesn't exist
  File: /home/content/b/u/c/bucket67/html/rewforum/Sources/Profile.php
  Line: 1351

Does the fix below work for my version (and my problem), or is it for 2.0?
Thanks

Quote from: tyty1234 on July 26, 2009, 06:48:48 PM
Thanks for that info chaky! :)

I re-attached the sql file, and instead I grabbed the "database.php" file from the mod package since that has all the tables that are associated with Ultimate Profile.

The file "database.php" needs to be copied to the root folder of your SMF installation. Once copied, you need to locate your browser to "http://www.yoursmfsite.com/database.php" and it should add the table automatically. If you see a blank page, this is normal. It still should add the missing table. Should this method fail, use the sql file to install the missing table.

You will need to import the "ult-profile_tablefix.sql" file into phpMyAdmin using the import tab. Locate the file on your computer and then click on "Go". This sql file assumes your $db_prefix is "smf_". If your $db_prefix is not "smf_" please let me know.

Again, you only need one of the two files. :)

Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 05:37:48 PM
resteve, I ran the database.php on my SMF 1.1.9 forum and it worked just fine.  It should be okay.   :)  I didn't have to run the table fix but it should also be fine, if the database.php doesn't work.
Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 05:49:10 PM

Okay, maybe I'm not doing this correctly. I copied database.php to the forum's root folder, then set my browser to it to run the code.

This is what I saw:


Notice: Undefined variable: smcFunc in /home/content/b/u/c/bucket67 /html/rewforum/database.php on line 12

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/content/b/u/c/bucket67/html/rewforum/database.php on line 12

Fatal error: Call to undefined function db_extend() in /home/content/b/u/c/bucket67/html/rewforum/database.php on line 13



Any ideas?
Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 05:55:40 PM
Actually, resteve, I used the one on attached on this post which, if memory serves, worked for me when the one on what you quoted didn't.

http://www.simplemachines.org/community/index.php?topic=319482.msg2123351#msg2123351 (http://www.simplemachines.org/community/index.php?topic=319482.msg2123351#msg2123351)


I also installed mine manually.  Did you use the package manager?
Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 06:24:58 PM
Thanks gbsothere,
I did the install manually. Your post is the first I've heard of a package manager.

Here's what I get with using the file in your link:


<!--
Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/content/b/u/c/bucket67/html/rewforum/SSI.php:192) in /home/content/b/u/c/bucket67/html/rewforum/SSI.php on line 194



I hope my install isn't totally hosed at this point.


Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 06:26:28 PM
Just curious, resteve, did you also upgrade to 1.1.9 manually and, if so, did you run the upgrade.php file?
Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 06:29:56 PM
1.1.9 was my original install version - ala GoDaddy. They facilitate the install.
Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 06:32:18 PM
Have you ever run repair_settings?  I've attached the file.  You need to place it in your forum's root directory and then point your browser to it.  (And remove it when you're done.)

Perhaps this might correct some settings. 
Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 06:42:23 PM
resteve, I just wanted to add:  I'm not qualified to look at it but, if the repair_settings.php doesn't help, then you might want to attach a copy of your SSI.php file and someone can take a look at it.   

ETA:   Also your index.template.php.

Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 07:06:43 PM
gbsothere,
Running repair_settings.php didn't fix it. I get the same error when I try to go to profile.

I did notice that MySQLServer is not set to 'localhost' as recommended, but I don't know if that's an issue.

Other items, possibly of note:
Queryless URLs: was value not found. I changed to OFF
Database driven solultions: I changed to ON


The first index.template.php is from my custom theme (which is basically default so far).
The second index.template.php (3rd attachment) is from the default theme.

Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 07:16:26 PM
resteve, you're using a custom theme?   You wouldn't want to have both index.template.php files edited, then, just the one for the theme you're using.


I'm just looking at your files for duplicate edits.



Edit:   wait....   I can't remember if it even parses those files.  *checking*




Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 07:24:52 PM
No, it doesn't.   *sigh* 




resteve, someone will be along soon to help and I'm sorry that I don't know where to proceed from here. 
Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 07:38:20 PM
gbsothere, Thanks for your help. You've taught me a few things. I'm sure it will get figured out.

What about the tablefix file? Might that do something?
Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 07:58:22 PM
The table fix is to add tables that weren't added to the database which was closer to your original error.  This thing you're getting now sounds as if the database is being asked to declare the same thing twice, unless I'm misreading it.  When you did the manual installation, did you open the Source and Themes folders inside the Ultimate Profile's folder and move all those files to the right directory, including the current theme folder you're using? 

It may be that you have to uninstall and reinstall again, resteve.  If you don't have a lot of other mods, you might try removing all of Ultimate Profile's included files (in the zip) from your server and then upload fresh SMF files, then go to Admin---> Packages-----> Download Packages and then browse to your zip, and try to install it from there.

But before I did that, I would remove all of the files included in the zip and return fresh SMF files (the same ones mentioned in the parsing instructions) to their directories.



ETA:  Just a thought that, even if you do have other mods, you can still try installing Ultimate Profile this way and then, if your other mods use any of those files that Ultimate Profile showed to be parsed for 1.1.9, you can use those mods' parsing instructions to later return their coding to those files. I had to do that with Ultimate Profile, myself.

If you go through the package manager, it should place the tables in your database automatically.  It's worth a try.
Title: Re: Ultimate Profile
Post by: resteve on August 03, 2009, 08:44:17 PM
The original error is still coming up when I try to go to the profile tab.

The other errors I've posted are what came up when running database.php. So, maybe the table fix is worth a try.

QuoteWhen you did the manual installation, did you open the Source and Themes folders inside the Ultimate Profile's folder and move all those files to the right directory, including the current theme folder you're using?
Yes, I think I followed the instructions correctly. One snafu I had was that at first I was reading instructions for a 2.0 install. It was pretty early in the install when I realized I was on the wrong version. So, I undid my changes to the files and started over with the 1.1.9 instructions. I'm wondering if I didn't get it cleaned up as well as I thought.

I'll try a table fix before I do the reinstall. I don't have any other mods yet - just a custom theme folder. I may have copies of the original files, but I'm not sure that I have everything from the original install. 

How/where do I get the fresh SMF files to upload?

Where do I find the Package Manager? (I guess I could do a search)

Title: Re: Ultimate Profile
Post by: gbsothere on August 03, 2009, 08:51:28 PM
resteve, you can download 1.1.9 here.  In the zip are all the files included.   :)

http://download.simplemachines.org/?archive;version=46 (http://download.simplemachines.org/?archive;version=46)

If you have no other mods, and the table fix doesn't solve your problem, I'd put back all the clean files and then go to your admin panel.  From there click on Packages (on the left side).  Then click on Download Packages and you can browse (near the bottom of the page) to your Ultimate Profile zip.  Then after it's uploaded, click Install.  After it installs, click Apply Mod. 

Just make sure, if you install it this way, that you've put the clean files back on your server. 

If you get an error, when you try to apply, copy that error and paste it on this thread.

Good luck!   :)



Stopping by to edit this, in case you stop by before using the package manager, resteve.  If you do decide to reinstall that way, don't do any manual parsing of the files.  The package manager will place the edits for you.

A helpful link:  http://docs.simplemachines.org/index.php?board=49.0;sort=subject (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)




Title: Re: Ultimate Profile
Post by: resteve on August 04, 2009, 12:47:31 AM
I reinstalled Ultimate Profile and got it working.  On to other mods!

Thanks gbsothere for all your help.
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 07:57:57 AM
Great, resteve!   (http://whereitestmystuff.com/images/thumb.gif)



As you add more and more mods to your site, you may wish to return to manual installation, simply because some mods will want to use the same files that Ultimate Profile does and the package installer may overwrite Ultimate Profile's code, but not all mods place as many tables on your database (and some, not any).  I haven't used the package manager in a long time, because of the number of mods I have, but manual installation gets easier and easier, as you get used to it.  Don't forget to not only enable Ultimate Profile by going to Admin-----> Features And Options-----> Ultimate Profile (control panel) but also go to Permissions to allow each individual member group to edit their profiles.  Also, if you want to allow things like the media box or the uploading of pictures, you'll need to check those boxes in the Ultimate Profile control panel.

:)
Title: Re: Ultimate Profile
Post by: resteve on August 04, 2009, 09:59:41 AM
Thanks again. I have been looking at it a bit. I assume I can set it so that different member types get different access to U.P.
for example:
basic member = standard profile
premium member = ultimate profile

I want to add a "subscription" mod so I can offer a paid premium membership (free basic membership). I saw one that I think will allow me to do that.
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 10:19:30 AM
That's right, resteve, using your group permissions, you can restrict or grant access as you see fit.  You can manually assign individual members to specific membergroups by going into their profile and to Account Related Settings and using the pulldown to set their membergroup.  (There may be an easier way but that's how I do it.)  To create a new membergroup, just go to Admin----->  Membergroups and click on Add Membergroup.  For instance, you might create a "Premium" membergroup. 


While we're talking about Ultimate Profiles, I just wanted to mention that your users can use .css to tweak their profile.  http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help (http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help) offers a basic  css stylesheet that can be played with to achieve different results.  I'll PM you a screenshot of what mine looks like.    :)
Title: Re: Ultimate Profile
Post by: backend on August 04, 2009, 02:26:02 PM
What an amazing Mod, wow! Installed and working flawlessly so far :)

Thanks a lot.  I have been trying so hard to add things and match the features offered by Facebook, and this has put me really close to that.

Just a question: is there any way we can add a link under the username to point to his latest added pictures in ultimate profile?

thanks a lot




Title: Re: Ultimate Profile
Post by: ElectricSquid on August 04, 2009, 02:32:10 PM
Quote from: gbsothere on August 04, 2009, 10:19:30 AM
While we're talking about Ultimate Profiles, I just wanted to mention that your users can use .css to tweak their profile.  http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help (http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help) offers a basic  css stylesheet that can be played with to achieve different results.  I'll PM you a screenshot of what mine looks like.    :)

I'm glad to see people have found use for this write-up.
I know the page looks a little "off" right now, especially the left column, but that's due to other custom changes that I have made, and I haven't had time yet to update the CSS Help page yet.

Just so all of you know, you can copy the code from the CSS help page (through View Source) and post that  page on your own site. I don't mind at all.
If you do update it, please post a link so I can see how you've improved it. Thanks.

ElectricSquid
BSA Skunkworks
RedneckFabrication.com
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 02:45:38 PM
Quote from: backend on August 04, 2009, 02:26:02 PM
What an amazing Mod, wow! Installed and working flawlessly so far :)

Thanks a lot.  I have been trying so hard to add things and match the features offered by Facebook, and this has put me really close to that.

Just a question: is there any way we can add a link under the username to point to his latest added pictures in ultimate profile?

thanks a lot



That's a great idea!  I think, though, that you may have to post a new topic in SMF Coding, since it's going to be a customization of your template files.  (Watch somebody come along and prove me wrong, though.)   :D  Hopefully, it will be JovanT.
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 02:49:26 PM
@ ∑£ℓ¢†®¡¢ §ợų¡đ


I first read about it much further back on this thread and I was so relieved!  The last thing I wanted was for my posters to bring MySpace coding to their profiles.   *grin*  I'll PM you a screen shot of my profile on my test forum and some of a couple of my main forum's posters' proflles.  Your script is really nice! 

(http://whereitestmystuff.com/images/thumb.gif)



ETA:   I sent you the links.  The backgrounds are all "fixed" so that only the top images follow the scroll.   :)
Title: Re: Ultimate Profile
Post by: backend on August 04, 2009, 03:18:27 PM
Quote from: NenaGb 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 ?



I didn't quiet see it, did this get answered?
Title: Re: Ultimate Profile
Post by: backend on August 04, 2009, 03:31:30 PM
how can I embed a youtube vide in my media box? so when people view my profile, they will see the video.

thanks a lot
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 03:44:13 PM
@ backend

I can't see that NenaGb's question was ever answered.  I think she even requested a mod for that, but no one's replied.


As for the videos, we're able to do that on our forum, because we have the Aeva mod installed.  LINK (http://custom.simplemachines.org/mods/index.php?mod=977)  With that mod, you only post the direct link to the video, not special embedding tags.  But I could have sworn I also saw a thread in Tips and Tricks for being able to embed You Tube videos.  I'm not coming up with it in the search, but I don't think I dreamed it.  Perhaps someone else has seen it and will post it. 


Title: Re: Ultimate Profile
Post by: backend on August 04, 2009, 04:18:35 PM
Quote from: gbsothere on August 04, 2009, 03:44:13 PM
@ backend

I can't see that NenaGb's question was ever answered.  I think she even requested a mod for that, but no one's replied.


As for the videos, we're able to do that on our forum, because we have the Aeva mod installed.  LINK (http://custom.simplemachines.org/mods/index.php?mod=977)  With that mod, you only post the direct link to the video, not special embedding tags.  But I could have sworn I also saw a thread in Tips and Tricks for being able to embed You Tube videos.  I'm not coming up with it in the search, but I don't think I dreamed it.  Perhaps someone else has seen it and will post it. 





Thanks a a lot, and it is actually working for me too now ( had to include the <embed> tags)



Like I mentioned before, Facebook is a big challenge and even threat to online communities, especially forums, and things like this mod are very much in need, if we need to stay in competetion.


People make the mistake of thinking "the two are unrelated: forums and facebook, so the latter is not a thread to the former" which I disagree with. Sure they are a little different, until we realize that when people do more of something online, they will do less of the other. So if your community's members are spending a ton of time on Facebook, that means they are spending less time on your website. I know it is a trend and soon everyone will get sick of it, but we don't know how long it will last and we as webmasters can't afford to sit and watch our communities bleed members to Facebook.

As much as I love SimpleMachines, I am disappointed in their slow response to social networking. Sure we have a lot of mods out there, but with the internet's strong adoption and love of 'social networking', SMF is not getting on with time.  At the very least, we need better profile pages (like this mod), a twitter like client, where client can update their status on the fly, ability to add photos albums and so much more.

At its core, SMF will remain a forum, and I wouldn't want that to change.  But there is nothing wrong with adding these extras (part of the source code and not as a mod)

Thanks guys.
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 04:27:05 PM
Well, you taught me something, backend.   Because of having the Aeva mod, I never realized that simply putting the portion of You Tube's embedding script between (and including) the < embed> tags would place the video in Ultimate Profile's media box.  Nice. 

(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: IlliniCrusader on August 04, 2009, 09:12:58 PM
New to SMF (1.1.10) and I am trying to install 'Ultimate Profile'.  I have the following errors:

QuoteInstalling this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Profile.php    Test failed
2.    Execute Modification    ./Sources/Profile-Actions.php    File not found
3.    Execute Modification    ./Sources/Profile-Modify.php    File not found
4.    Execute Modification    ./Sources/Profile-View.php    File not found
5.    Execute Modification    ./Themes/default/Profile.template.php    Test failed
6.    Execute Modification    ./Sources/ManageSettings.php    File not found
7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php    Skipping file
9.    Execute Modification    ./index.php    Test successful
10.    Execute Modification    ./Sources/Admin.php    Test failed
11.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
12.    Execute Modification    ./Sources/Subs-Members.php    Test failed
13.    Extract Tree    ./Sources    
14.    Extract Tree    ./Themes    
15.    Extract Tree    ./profile_pictures    
16.    Execute Code    database.php    
There are a lot of 'fails' and 'not founds'.  Am I missing something or is the .zip file missing something?  I read the manual install - will that help?
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 09:24:40 PM
Hi,

Did you download ultimate_profile-0-9_20rc1.zip , instead of ultimate_profile_0-9.zip?  If so, try ultimate_profile_0-9.zip.

:)

Were you trying to install with the package manager?
Title: Re: Ultimate Profile
Post by: IlliniCrusader on August 04, 2009, 09:50:29 PM
Quote from: gbsothere on August 04, 2009, 09:24:40 PM
Hi,

Did you download ultimate_profile-0-9_20rc1.zip , instead of ultimate_profile_0-9.zip?  If so, try ultimate_profile_0-9.zip.

:)

Were you trying to install with the package manager?

Yes, I used the package manager and I also tried ultimate_profile_0-9.zip too.  Here's the results of that:
QuoteInstalling 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 successful
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
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 09:53:45 PM
@ IlliniCrusader

What other mods do you have on your site? 
Title: Re: Ultimate Profile
Post by: IlliniCrusader on August 04, 2009, 09:56:38 PM
Quote from: gbsothere on August 04, 2009, 09:53:45 PM
@ IlliniCrusader

What other mods do you have on your site?
Just Activity_Bar and TinyPortal.  Should I just try the manual install?
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 09:57:43 PM
Would you mind attaching your Profile.php file here?
Title: Re: Ultimate Profile
Post by: IlliniCrusader on August 04, 2009, 10:01:40 PM
Quote from: gbsothere on August 04, 2009, 09:57:43 PM
Would you mind attaching your Profile.php file here?
This is  /public_html/mysite.com/forum/Sources/Profile.php
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 10:01:50 PM
Quote from: IlliniCrusader on August 04, 2009, 09:56:38 PM
Just Activity_Bar and TinyPortal.  Should I just try the manual install?



Since you only had the one file to fail, I wouldn't go to the trouble of a manual install, but, instead, install it with a fresh Profile.php (there's one attached to this post) and then, after this mod is installed, upload Profile.php again with the edits included for Activity Bar and TinyPortal.  I can help you with those edits if you like. 
Title: Re: Ultimate Profile
Post by: gbsothere on August 04, 2009, 10:13:06 PM
@IlliniCrusader,

If you install Ultimate Profile successfully with that clean Profile.php I attached earlier for you, then, afterwards, upload this Profile.php to your Sources directory.  It contains your edits for Activity Bar, Tiny Portal and Ultimate Profile. 
:)
Title: Re: Ultimate Profile
Post by: andris11 on August 05, 2009, 09:51:32 AM
i have installed this mod manually. Mod works great BUT i have to set it to every member to click to forum profil and fill enable ultimate profil. Can i do it automatically for all?
Title: Re: Ultimate Profile
Post by: gbsothere on August 05, 2009, 09:57:57 AM
If you go to Admin----> Features And Options-------> Ultimate Profile (control panel) then you can check there to enable it for all.  You can also allow or disallow things like photos or the media box.  Also, in Permissions, you need to set group permissions (but you did that, didn't you?).  I thought, because the little box in each member's profile wasn't checked that it wasn't enabled for them, but it turned out not to be the case.  Checking the "Enable" box in the Ultimate Profile control panel did give them access.  I simply had to post an announcement in the forum to make them aware of it, but they were able to set up their profiles in spite of the box not being checked in their profiles. 
Title: Re: Ultimate Profile
Post by: char39 on August 05, 2009, 10:14:38 AM
I used to have the answer to this question bookmarked, but don't seem to have it now.

Can you please tell me where to go to increase the number of buddies listed on profiles.  I believe the standard is 6 and I have already increased once.

Thank you
Title: Re: Ultimate Profile
Post by: gbsothere on August 05, 2009, 10:20:23 AM
Quote from: chrishicks on March 14, 2009, 03:27:32 AM
I just found this at the support board linked above:

QuoteOpen Sources/Profile.php. Find:

$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.






Is this what you're looking for, katers?   Somewhere around page 30 (down in the basement).   *grin*


Title: Re: Ultimate Profile
Post by: andris11 on August 05, 2009, 10:46:01 AM
Quote from: gbsothere on August 05, 2009, 09:57:57 AM
If you go to Admin----> Features And Options-------> Ultimate Profile (control panel) then you can check there to enable it for all.  You can also allow or disallow things like photos or the media box.  Also, in Permissions, you need to set group permissions (but you did that, didn't you?).  I thought, because the little box in each member's profile wasn't checked that it wasn't enabled for them, but it turned out not to be the case.  Checking the "Enable" box in the Ultimate Profile control panel did give them access.  I simply had to post an announcement in the forum to make them aware of it, but they were able to set up their profiles in spite of the box not being checked in their profiles.


It so easy...:D I uploaded it manually and i dont have Ultimate Profile control panel in Features And Options. What should i do?
Title: Re: Ultimate Profile
Post by: gbsothere on August 05, 2009, 11:00:20 AM
andris11, what version of Ultimate Profile did you download?  (And what version of SMF are you using?) 
Title: Re: Ultimate Profile
Post by: gbsothere on August 05, 2009, 11:22:32 AM
andris11


I have to take off for an appointment but, if no one else comes by to help, do this:

Go to the mod thread here: 

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

Check the right Ultimate Profile for your version (if you're using SMF 1.1.X, it's the top one) and then use the pulldown menu to find the parsing instructions for your version of SMF.  Make sure all of your files have these edits, particularly the ModSettings.php, since your issue seems to be not finding the Ultimate Profile admin tab. 

After checking for all the right edits, reupload those files again to the proper directories on your server and refresh your page.  I hope this works for you.

:)
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 05, 2009, 11:49:41 AM
update on my problem,it seems ultimate profile now works on the default themes.

Yet it does not work on the custom.

How to fix? :)
Title: Re: Ultimate Profile
Post by: gbsothere on August 05, 2009, 12:58:00 PM
Quote from: NBK*Twitch on August 05, 2009, 11:49:41 AM
update on my problem,it seems ultimate profile now works on the default themes.

Yet it does not work on the custom.

How to fix? :)



What theme and version of SMF are you using?   :)
Title: Re: Ultimate Profile
Post by: gbsothere on August 05, 2009, 01:09:12 PM
NBK*Twitch, I found you back a couple of pages and see that you're 1.1.10.   :)

Your custom theme's Profile.template.php (if it has one) needs to be edited according to the instructions here:

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

just as you parsed the Profile.template.php for default (if you did a manual installation).  This may the same for your theme's language file, shown on those parsing instructions, but I'm guessing, not knowing your theme.  Also, the theme files included in your zip:

Buddies.template.php
ProfilePictures.template.php
UltimateProfile.template.php

need to be uploaded to your theme's directory. 



EDITING TO ADD:   All that with the understanding that I only use the Default theme and don't know much about, if anything, about custom themes.   :)
Title: Re: Ultimate Profile
Post by: backend on August 05, 2009, 01:56:54 PM
Can we upload multiple pictures (or a full album) at once? that would absolutely make people go crazy about this mod.

Thank you
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 05, 2009, 03:51:18 PM
Quote from: gbsothere on August 05, 2009, 01:09:12 PM
NBK*Twitch, I found you back a couple of pages and see that you're 1.1.10.   :)

Your custom theme's Profile.template.php (if it has one) needs to be edited according to the instructions here:

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

just as you parsed the Profile.template.php for default (if you did a manual installation).  This may the same for your theme's language file, shown on those parsing instructions, but I'm guessing, not knowing your theme.  Also, the theme files included in your zip:

Buddies.template.php
ProfilePictures.template.php
UltimateProfile.template.php

need to be uploaded to your theme's directory. 



EDITING TO ADD:   All that with the understanding that I only use the Default theme and don't know much about, if anything, about custom themes.   :)

Okay I will try this :).
Title: Re: Ultimate Profile
Post by: ScottDB on August 05, 2009, 07:19:53 PM
Just bumpin in case someone know anything about this
QuoteWould like to know if there is a way to add RSS Feed into Ultimate profile either by adding it to the mod, theme, or just have members add it themselves. I have an add RSS Feed program that is supposed to be able to add RSS Feed to any profile. Never used it though. Also there is an RSS Feed mod that I have not checked out yet. Can someone tell me more about this?
Title: Re: Ultimate Profile
Post by: jokesa157 on August 05, 2009, 09:41:58 PM
Is there a tut for this mod so i can customize the profile and show my guess and teach them. one more thing, is it possible to make my one html template like in myspace where you can make it look like a website and not myspace?
Title: Re: Ultimate Profile
Post by: Encore127 on August 06, 2009, 12:39:57 AM
Quote from: gbsothere on August 05, 2009, 11:00:20 AM
andris11, what version of Ultimate Profile did you download?  (And what version of SMF are you using?)
I have the same problem... Running on 1.1.10 with version 0.9 of the mod. Also in profiles the link to the controls are missing also. Not sure what I did wrong. Help would be appreciated!
Title: Re: Ultimate Profile
Post by: andris11 on August 06, 2009, 08:01:25 AM
Quote from: gbsothere on August 05, 2009, 11:22:32 AM
andris11


I have to take off for an appointment but, if no one else comes by to help, do this:

Go to the mod thread here: 

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

Check the right Ultimate Profile for your version (if you're using SMF 1.1.X, it's the top one) and then use the pulldown menu to find the parsing instructions for your version of SMF.  Make sure all of your files have these edits, particularly the ModSettings.php, since your issue seems to be not finding the Ultimate Profile admin tab. 

After checking for all the right edits, reupload those files again to the proper directories on your server and refresh your page.  I hope this works for you.

:)



So i checked it manually and everything is all right. When i click to Ultimate Profil in Admin i get an error message. This. how to fix it?
Title: Re: Ultimate Profile
Post by: andris11 on August 07, 2009, 02:19:40 AM
So?
Title: Re: Ultimate Profile
Post by: LC on August 08, 2009, 06:38:50 PM
Just wanted to say everyone in my forum loves this mod. They think of it as a mini-myspace. :)

Great work!
Title: Re: Ultimate Profile
Post by: andris11 on August 09, 2009, 06:49:50 AM
Quote from: gbsothere on August 05, 2009, 11:22:32 AM
andris11


I have to take off for an appointment but, if no one else comes by to help, do this:

Go to the mod thread here: 

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

Check the right Ultimate Profile for your version (if you're using SMF 1.1.X, it's the top one) and then use the pulldown menu to find the parsing instructions for your version of SMF.  Make sure all of your files have these edits, particularly the ModSettings.php, since your issue seems to be not finding the Ultimate Profile admin tab. 

After checking for all the right edits, reupload those files again to the proper directories on your server and refresh your page.  I hope this works for you.

:)




I did this one but i cant find some part so i can install it correctly:S
Title: Re: Ultimate Profile
Post by: dbsincere on August 09, 2009, 07:49:56 AM
I cant seem to find the add buddy or buddies feature once ultimate profile is installed... I'm using 2.0 rc1.2
Title: Re: Ultimate Profile
Post by: tyty1234 on August 09, 2009, 03:15:54 PM
Quote from: dbsincere on August 09, 2009, 07:49:56 AM
I cant seem to find the add buddy or buddies feature once ultimate profile is installed... I'm using 2.0 rc1.2
Did you enable Ultimate Profile?

Admin -> Configuration -> Modifications -> Ultimate Profile
Title: Re: Ultimate Profile
Post by: Encore127 on August 09, 2009, 10:14:12 PM
Could you help me with my problem? Whenever I install it it looks fine but...

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 successful
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

When I install it, the buttons for the control panel of the mod don't seem to appear, as well as the profile configuration.

(http://i27.tinypic.com/33nxjl0.gif)
and...
(http://i29.tinypic.com/j11vlv.jpg)

Help is appreciated! ^^ Oh and I got this working a long time ago on my other site, not sure why it isn't working on this.

P.S. I already tried Parsing. :l
Title: Re: Ultimate Profile
Post by: tyty1234 on August 09, 2009, 10:32:54 PM
are you installing the most recent version of Ultimate Profile?
Title: Re: Ultimate Profile
Post by: Harvester on August 09, 2009, 11:56:50 PM
how do I make Custom Profile Field Mod to work with this? someone had posted a link to an external site that showed how to do it buit that link is now dead.

Please help? :D
Title: Re: Ultimate Profile
Post by: Encore127 on August 10, 2009, 03:05:57 AM
Quote from: tyty1234 on August 09, 2009, 10:32:54 PM
are you installing the most recent version of Ultimate Profile?
If the latest version is 0.9, then yes I do have it installed.
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 02:11:04 PM
I have been trying to install Ultimate Profile 0.9.  I have SMF  1.1.10

I get the following Error:

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Profile.php Test successful
2. Execute Modification ./Themes/default/Profile.template.php Test failed  
3. Execute Modification ./Sources/ModSettings.php Test successful
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 

How do I overcome this?
Title: Re: Ultimate Profile
Post by: Harvester on August 11, 2009, 02:36:29 PM
it is giving you that error because that file has already been modified.

You can ignore that error and just install it and then go to the Parser and do the edits in your Profile.template.php manually.

Actually I would edit Profile.template.php and place it in my custom theme folder where it belongs first... then I would do the install

here is the parser (aka Manual Install) : http://custom.simplemachines.org/mods/index.php?mod=1675


Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 02:43:54 PM
Quote from: Harvester on August 11, 2009, 02:36:29 PM
it is giving you that error because that file has already been modified.

You can ignore that error and just install it and then go to the Parser and do the edits in your Profile.template.php manually.

Actually I would edit Profile.template.php and place it in my custom theme folder where it belongs first... then I would do the install

here is the parser (aka Manual Install) : http://custom.simplemachines.org/mods/index.php?mod=1675

Oh.. I do not know how to do those manual edits.  I am rather new to this.  I wouldnt know what edits to make, or how to make them.
Title: Re: Ultimate Profile
Post by: TurtleKicker on August 11, 2009, 05:26:04 PM
I've been watching this mod and am considering trying to install it. I use SMF 1.1.10 with the default theme.

However, a lot of my existing mods have already "enhanced" the profile view in little ways I don't want to lose with this mod. Some that come to mind are:

Referrals Mod
Google Member Map
Google Talk Field
SMF Trader System
Topics Started by a user
XMPP/Jabber Mod

So, I assume and know I have to manually edit some files. My issues are:

1) I've seen no preview that shows me what this mod actually looks like in its final form. The "official" preview link has been down for a long time. I need this to not only visualize whether it's practical to incorporate these others mods into Ultimate Profile, but also to get a visual idea as to whether I really want this mod.

2) Any idea how hard it is to make the necessary code changes for the above?

3) Does this mod play well with zCommunity? http://custom.simplemachines.org/mods/index.php?mod=1209

Thanks
Title: Re: Ultimate Profile
Post by: Sakurachan on August 11, 2009, 05:45:34 PM
Is there a way to make it so it's automaccially someones profile over the default forum profile? :)

Also, it doesn't seem to let me activate Ultimate profile as my second test user.
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 06:23:38 PM
I got the test to pass.. redid the files..  it all went through great.. so i thought..  Until I clicked on the profile tab of the forum, and got this error:


Database Error
Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1368 



so.. what do I need to do now?
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 06:29:49 PM
Quote from: gothiccruise on August 11, 2009, 06:23:38 PM
I got the test to pass.. redid the files..  it all went through great.. so i thought..  Until I clicked on the profile tab of the forum, and got this error:


Database Error
Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1368 



so.. what do I need to do now?



You have 1.1.10?   Try running this attached upgrade.php file.  Just upload it to your forum's root directory and point your browser to it.  Example:  mywebsite.com/smf/upgrade.php (or whatever your forum directory is called.) 

I hope this works for you.   :)
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 06:37:23 PM
Quote from: gbsothere on August 11, 2009, 06:29:49 PM
Quote from: gothiccruise on August 11, 2009, 06:23:38 PM
I got the test to pass.. redid the files..  it all went through great.. so i thought..  Until I clicked on the profile tab of the forum, and got this error:


Database Error
Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1368 



so.. what do I need to do now?



You have 1.1.10?   Try running this attached upgrade.php file.  Just upload it to your forum's root directory and point your browser to it.  Example:  mywebsite.com/smf/upgrade.php (or whatever your forum directory is called.) 

I hope this works for you.   :)

I had already run the upgrade.   I still need to fix this final error.
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 06:45:13 PM
This thread may help:

http://www.simplemachines.org/community/index.php?topic=319482.0 (http://www.simplemachines.org/community/index.php?topic=319482.0)

Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 06:57:10 PM
The thread was rather confusing to follow.  Also, I cant tell if that file would be okay for me to use since the thread dont state the users versions of smf.

I am running smf 1.1.10
My server is LInux   ( I have found this makes a huge difference)
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 06:58:49 PM
I know you ran the upgrade.php file, gothiccruise, but was that before or after you installed Ultimate Profile?
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 07:06:49 PM
Quote from: gbsothere on August 11, 2009, 06:58:49 PM
I know you ran the upgrade.php file, gothiccruise, but was that before or after you installed Ultimate Profile?

Before.  running the upgrade.php caused about 16 hours worth of problems.  It installed all the files as lower cased files... I had to manualy rename every single one of them to the right upper case file names, and delete the others, just to get the forum back up and right again.

so, im a little worried about running it a 2nd time.
ON a side note - when you click the profile tab on the forum.. you get that error.. but it does still show all the modify profile options, including Ultimate profile.
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 07:23:36 PM
Can you attach your Profile.php file?
Title: Re: Ultimate Profile
Post by: videoh1 on August 11, 2009, 07:41:37 PM
I am getting an error when I go to edit the mod in the admin settings. I am using the recent version for SMF 2.0 RC1.2.

function ModifyUltProfileSettings($return_config = false) { 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'), ); if ($return_config) return $config_vars; // Saving? if (isset($_GET['save'])) { checkSession(); saveDBSettings($config_vars); writeLog(); redirectexit('action=admin;area=modsettings;sa=ultprofile'); } $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=ultprofile'; $context['settings_title'] = $txt['ultimate_profile']; prepareDBSettingContext($config_vars); }
Fatal error: Call to undefined function ModifyUltProfileSettings() in /homepages/**/********/htdocs/infectionstudios/forums/Sources/ManageSettings.php on line 225
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 07:47:11 PM
@ videoh1

Did you use the package manager to install the mod or did you install it manually?  What version of SMF are you running and what theme?
Title: Re: Ultimate Profile
Post by: videoh1 on August 11, 2009, 08:07:12 PM
Quote from: gbsothere on August 11, 2009, 07:47:11 PM
@ videoh1

Did you use the package manager to install the mod or did you install it manually?  What version of SMF are you running and what theme?

I used package manager, and I am running SMF 2.0 RC1.2 along with the SMF Default Theme - Core.
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 08:15:25 PM
Quote from: videoh1 on August 11, 2009, 08:07:12 PM
I used package manager, and I am running SMF 2.0 RC1.2 along with the SMF Default Theme - Core.


I'm sorry, videoh1, I see now that you already mentioned your version and I just missed it.   :)  I'm afraid I don't use 2.0, so I'm not familiar with the files but, at first glance, I'd say that you might go to the mod page [HERE] (http://custom.simplemachines.org/mods/index.php?mod=1675) and select ultimate_profile-0-9_20rc1.zip, then double check the parsing for the ManageSettings.php file.  The package manager should have placed the edits but it's always worth a look.  I'm sorry that I don't know more about this, but someone looking it will know what to do if that doesn't work. 
Title: Re: Ultimate Profile
Post by: videoh1 on August 11, 2009, 08:40:09 PM
Ya, I'll check the code manually. But via package manager I got this:

1.  Execute Modification  ./Sources/Profile.php  Test successful
1. Add After ./Sources/Profile.php Test successful
2. Add Before ./Sources/Profile.php Test successful
3. Add Before ./Sources/Profile.php Test successful
4. Replace ./Sources/Profile.php Test successful
5. Add Before ./Sources/Profile.php Test successful
6. Add Before ./Sources/Profile.php Test successful
* 2. Execute Modification ./Sources/Profile-Actions.php Test successful
1. Add Before ./Sources/Profile-Actions.php Test successful
* 3. Execute Modification ./Sources/Profile-Modify.php Test successful
1. Add Before ./Sources/Profile-Modify.php Test successful
* 4. Execute Modification ./Sources/Profile-View.php Test successful
1. Replace ./Sources/Profile-View.php Test successful
2. Add Before ./Sources/Profile-View.php Test successful
3. Add Before ./Sources/Profile-View.php Test successful
* 5. Execute Modification ./Themes/default/Profile.template.php Test successful
1. Replace ./Themes/default/Profile.template.php Test successful
2. Add Before ./Themes/default/Profile.template.php Test successful
* 6. Execute Modification ./Sources/ManageSettings.php Test successful
1. Add After ./Sources/ManageSettings.php Test successful
2. Add Before ./Sources/ManageSettings.php Test successful
* 7. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
1. Add Before ./Themes/default/languages/Modifications.english.php Test successful
8. Execute Modification ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php Skipping file
* 9. Execute Modification ./index.php Test successful
1. Add After ./index.php Test successful
* 10. Execute Modification ./Sources/Admin.php Test successful
1. Add After ./Sources/Admin.php Test successful
* 11. Execute Modification ./Sources/ManagePermissions.php Test successful
1. Add After ./Sources/ManagePermissions.php Test successful
2. Add After ./Sources/ManagePermissions.php Test successful
* 12. Execute Modification ./Sources/Subs-Members.php Test successful
1. Add After ./Sources/Subs-Members.php Test successful
13. Extract Tree ./Sources
14. Extract Tree ./Themes
15. Extract Tree ./profile_pictures
16. Execute Code database.php
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 08:51:35 PM
Quote from: gbsothere on August 11, 2009, 07:23:36 PM
Can you attach your Profile.php file?

yes.  it should be attached.
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 08:53:22 PM
It will take me a few minutes to look at it.  I need to scroll back down and find all the mods you have, as well, that use this file.    :)
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 08:54:57 PM
Quote from: gbsothere on August 11, 2009, 08:53:22 PM
It will take me a few minutes to look at it.  I need to scroll back down and find all the mods you have, as well, that use this file.    :)

That'd be great! 
Z
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 09:26:17 PM
@ gothiccruise


Give this a try.  Attached is a clean Profile.php with fresh Ultimate Profile edits included.  (But really, it sounds like a missing column in the table.)  Upload this Profile.php and see if you still get the error. 

I'm going to also attach a second Profile.php but in the next post, because I don't want you to get it mixed up with this one. It has your other mods' edits included along with the Ultimate Profile edits and you'll want to upload that after you've checked to see if you're still getting the error.  (You'll want to make sure to do that, either way, because you'll want your other mods to function correctly.)   :)

I hope this works for you but, if it doesn't, at least we have ruled parsing errors out and then it will be time to look into a table issue. 
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 09:27:53 PM
@ gothiccruise

This is the second Profile.php file (containing your other mods' edits, as well as Ultimate Profile) .  Download it and upload it to your Sources directory after you've uploaded and tested the first one.

:)
Title: Re: Ultimate Profile
Post by: Sakurachan on August 11, 2009, 10:07:59 PM
AHEM..

Is there a way to make it so it's automaccially someones profile over the default forum profile?

Also, it doesn't seem to let me activate Ultimate profile as my second test user.

I am using SMF 1.1.10 and TinyPortal v1.0 beta 4


Forum url - http://www.animestudio.fi.st/smf/index.php?action=forum

Second user url - http://www.animestudio.fi.st/smf/index.php?action=profile;u=2

Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 10:17:06 PM
Quote from: gbsothere on August 11, 2009, 09:26:17 PM
@ gothiccruise


Give this a try.  Attached is a clean Profile.php with fresh Ultimate Profile edits included.  (But really, it sounds like a missing column in the table.)  Upload this Profile.php and see if you still get the error. 

I'm going to also attach a second Profile.php but in the next post, because I don't want you to get it mixed up with this one. It has your other mods' edits included along with the Ultimate Profile edits and you'll want to upload that after you've checked to see if you're still getting the error.  (You'll want to make sure to do that, either way, because you'll want your other mods to function correctly.)   :)

I hope this works for you but, if it doesn't, at least we have ruled parsing errors out and then it will be time to look into a table issue.

when i installed this one.. i got the following error:
Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1365

This is the same error that I started with in this forum.
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 10:18:21 PM
I wasn't ignoring you, Sakurachan; I just wasn't sure if I understood the question.  (I'm an old man and I begin to fade out late in the evening.)   :D

I'm not sure if this will be helpful, but I'll just tell you what I did in my 1.1.10 forum (and all my poster's Ultimate Profiles show, rather than the old default profiles, when you click on their user names):

After installing Ultimate Profile, I did what I'm sure you've already done:  I went to Admin----->Features and Options------>Ultimate Profile.  I checked the box to " Enable ultimate profile for all members".  Then I went ahead and checked to "Enable uploading of pictures" and also checked to "Allow profile customization" and "Allow media box".  I saved those changes.  Then I went to Admin-----> Permissions and, in each member group, checked to allow them to "Edit ultimate profile". 

Although the boxes weren't checked in each member's individual profiles, the Ultimate Profile format became visible when clicking on their user names. 

Of course, this may all be things you've already done and, if that's the case, I'm sorry I couldn't be much help.   :)



Quote from: Sakurachan on August 11, 2009, 10:07:59 PM
AHEM..

Is there a way to make it so it's automaccially someones profile over the default forum profile?

Also, it doesn't seem to let me activate Ultimate profile as my second test user.

I am using SMF 1.1.10 and TinyPortal v1.0 beta 4


Forum url - http://www.animestudio.fi.st/smf/index.php?action=forum

Second user url - http://www.animestudio.fi.st/smf/index.php?action=profile;u=2
Title: Re: Ultimate Profile
Post by: gothiccruise on August 11, 2009, 10:22:49 PM
Quote from: gbsothere on August 11, 2009, 09:27:53 PM
@ gothiccruise

This is the second Profile.php file (containing your other mods' edits, as well as Ultimate Profile) .  Download it and upload it to your Sources directory after you've uploaded and tested the first one.

:)

when I uploaded this 2nd file.. i got the same error when I click on the Profiles tab:

Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1378
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 10:26:26 PM
Quote from: gothiccruise on August 11, 2009, 10:17:06 PM
when i installed this one.. i got the following error:
Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1365

This is the same error that I started with in this forum.


Unfortunately, gothiccruise, JovanT (the mod author) advises users to run the upgrade.php when they get this particular error.  But you've explained that running it renders everything in small case and, apparently, this messes up your forum.  There are a couple of things you could try.  One is to go to the Support forum for 1.1.X and start a thread asking for a way around this because you should be able to run upgrade.php.  Another thing you might try is the attached file:  table_fix.zip 

(It is mentioned here, on this thread):

http://www.simplemachines.org/community/index.php?topic=298641.msg2170008#msg2170008 (http://www.simplemachines.org/community/index.php?topic=298641.msg2170008#msg2170008)

I really do think that getting support help with Upgrade.php might be your best bet, though.  I'm sorry I couldn't be more help. 


Quote from: gothiccruise on August 11, 2009, 10:22:49 PM
when I uploaded this 2nd file.. i got the same error when I click on the Profiles tab:

Unknown column 'com.time' in 'field list'
File: /home/content/a/l/l/allgenre/html/forum/Sources/Profile.php
Line: 1378


Yes... it's not your files; it's your database.   :(
Title: Re: Ultimate Profile
Post by: Sakurachan on August 11, 2009, 10:34:56 PM
It's fine, it works for me now fine
Title: Re: Ultimate Profile
Post by: gbsothere on August 11, 2009, 10:36:02 PM
Quote from: Sakurachan on August 11, 2009, 10:34:56 PM
It's fine, it works for me now fine


(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: swan on August 12, 2009, 03:52:49 AM
We just upgraded to
Forum version: SMF 2.0 RC1.2

And tried installing this first before anything else but it still doesnt work!

As you can see when i try to install it i get no errors...

nstalling this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Add After    ./Sources/Profile.php    Test successful
      2.    Add Before    ./Sources/Profile.php    Test successful
      3.    Add Before    ./Sources/Profile.php    Test successful
      4.    Replace    ./Sources/Profile.php    Test successful
      5.    Add Before    ./Sources/Profile.php    Test successful
      6.    Add Before    ./Sources/Profile.php    Test successful
*    2.    Execute Modification    ./Sources/Profile-Actions.php    Test successful
      1.    Add Before    ./Sources/Profile-Actions.php    Test successful
*    3.    Execute Modification    ./Sources/Profile-Modify.php    Test successful
      1.    Add Before    ./Sources/Profile-Modify.php    Test successful
*    4.    Execute Modification    ./Sources/Profile-View.php    Test successful
      1.    Replace    ./Sources/Profile-View.php    Test successful
      2.    Add Before    ./Sources/Profile-View.php    Test successful
      3.    Add Before    ./Sources/Profile-View.php    Test successful
*    5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Replace    ./Themes/default/Profile.template.php    Test successful
      2.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    6.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Add After    ./Sources/ManageSettings.php    Test successful
      2.    Add Before    ./Sources/ManageSettings.php    Test successful
*    7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
   8.    Execute Modification    ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php    Skipping file
*    9.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    10.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Add After    ./Sources/Admin.php    Test successful
*    11.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
*    12.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Add After    ./Sources/Subs-Members.php    Test successful
   13.    Extract Tree    ./Sources    
   14.    Extract Tree    ./Themes    
   15.    Extract Tree    ./profile_pictures    
   16.    Execute Code    database.php

Then i get this.. Extracting Package
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

all fine and well so then i go TO profile to check it out...

Database Error
Unknown column 'com.time' in 'field list'
File: /home/totzrusc/public_html/forum/Sources/Profile-View.php
Line: 228


Any help? Thanks

Title: Re: Ultimate Profile
Post by: gbsothere on August 12, 2009, 08:03:04 AM
@ swan

In the SMF 2.0 RC1.2 zip you downloaded, either for the small or large upgrade, you should find an Upgrade.php file.  Place this in your forum's root directory and point your browser to it.  Example:  mywebsite.com/smf/Upgrade.php  (or whatever your forum directory is called). 


This is the first thing normally suggested by the mod author and usually resolves this.  I hope it works for you.   :)
Title: Re: Ultimate Profile
Post by: JovanT on August 12, 2009, 07:24:38 PM
@swan
You should search this thread before asking the new question. The answer can be found few posts before yours. Take a look at this message (http://www.simplemachines.org/community/index.php?topic=298641.msg2170094#msg2170094).
Title: Re: Ultimate Profile
Post by: gothiccruise on August 12, 2009, 11:14:02 PM
Quote from: Yağız... on July 21, 2009, 04:30:05 PM
Install the table fix (http://jovant.guruserve.com/projekti/smf/ultimate_profile/table_fix.zip) package.

Where do I put the tablefix files at?  sources?
Title: Re: Ultimate Profile
Post by: gbsothere on August 12, 2009, 11:18:03 PM
Quote from: gothiccruise on August 12, 2009, 11:14:02 PM
Where do I put the tablefix files at?  sources?



I just happened to see this as I'm logging off for the night.  Open the zip and in the folder, there is the database.php file.  Put it in your forum's root directory and point your browser to it. 

Title: Re: Ultimate Profile
Post by: JovanT on August 13, 2009, 09:17:07 AM
You don't have to do it. Just install table_fix.zip as any other modification.
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 10:19:00 AM
Why do I always do everything the hard way?   :D
Title: Re: Ultimate Profile
Post by: videoh1 on August 13, 2009, 06:25:32 PM
Quote from: gbsothere on August 13, 2009, 10:19:00 AM
Why do I always do everything the hard way?   :D

That's what she said?

Also figured out the problem.
prepareDBSettingContext($config_vars);
}?>
function ModifyUltProfileSettings($return_config = false)
{
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'),
);

if ($return_config)
return $config_vars;

// Saving?
if (isset($_GET['save']))
{
checkSession();

saveDBSettings($config_vars);

writeLog();
redirectexit('action=admin;area=modsettings;sa=ultprofile');
}

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

prepareDBSettingContext($config_vars);
}


The ?> needs to go on the end, and I guess on the install it missed that.
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 07:10:41 PM
@ videoh1

I've done that before; had a missing ?> at the end of a file and spent days before realizing it.

Got it all sorted out, then?   

Good to hear!   :)
Title: Re: Ultimate Profile
Post by: videoh1 on August 13, 2009, 07:24:18 PM
@ gbsothere

Yup. Kind-of feel stupid now that I didn't notice that before. Beginners mistake I guess. lol
Title: Re: Ultimate Profile
Post by: Encore127 on August 13, 2009, 07:50:40 PM
Still need help with my problem. . _ .

Well since I couldn't get into ultimate profile since the buttons didn't show I had to use a different method (Used ?action=profile;u=1;sa=customized).

Yet when I get to Ultimate profile setting there seems to be no text.

(http://i26.tinypic.com/33tjwgi.jpg)

And when I activate it.

(http://i31.tinypic.com/szbi1i.jpg)

There seems to be no text. Help would be appreciated.
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 08:02:57 PM
Encore127, I found your post [HERE] (http://www.simplemachines.org/community/index.php?topic=298641.40) but I've missed which version of SMF you're using.  It looks like the default theme? 

If you installed manually, did you open the Ultimate Profile folder and move the files from its Sources folder to your forum's Sources folder and the ones from its Default folder (including Languages) into your Themes (and Languages) directory?  Also, did you run the database.php file in the zip?

(I'm sorry for asking, but you mentioned parsing, so I had to ask.)    :)
Title: Re: Ultimate Profile
Post by: Encore127 on August 13, 2009, 08:12:29 PM
I tried installing manually and using the package manager. The SMF version I'm using is 1.1.10. Thanks for responding. x.x
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 08:17:45 PM
Quote from: Encore127 on August 13, 2009, 08:12:29 PM
I tried installing manually and using the package manager. The SMF version I'm using is 1.1.10. Thanks for responding. x.x


I'm going to take that as a "yes"; you did move those files from the Ultimate Profile folder to your forum's Sources and Themes directories.  Right?   :D

Was the zip you downloaded ultimate_profile-0-9_20rc1.zip or ultimate_profile_0-9.zip? 
Title: Re: Ultimate Profile
Post by: Encore127 on August 13, 2009, 08:19:48 PM
ultimate_profile_0-9.zip.
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 08:24:14 PM
Quote from: Encore127 on August 13, 2009, 08:19:48 PM
ultimate_profile_0-9.zip.


Would you mind attaching your ModSettings.php?
Title: Re: Ultimate Profile
Post by: Encore127 on August 13, 2009, 08:44:56 PM
Here ya go!
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 08:50:29 PM
Quote from: Encore127 on August 13, 2009, 08:44:56 PM
Here ya go!

It'll take me a moment. 
Title: Re: Ultimate Profile
Post by: TurtleKicker on August 13, 2009, 08:55:59 PM
I fear my questions got buried. :(

http://www.simplemachines.org/community/index.php?topic=298641.msg2207476#msg2207476
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 09:12:55 PM
@ Encore127

It looks fine to me.   ???

And, as you say, installing through the package manager gave you success on all the file tests.  It also would have placed the files included in the zip where they needed to go and would have created tables in your database. 

*sigh*

I'm stumped. 

What other mods do you have?







@sremick

I have zCommunity and Ultimate Profile doesn't have any effect on it.  It doesn't show a poster's blogs in their profile but that's because zCommunity, itself, doesn't.  It would have to be modded to do that before Ultiimate Profile would show it.

As for your other mods, I had difficulty installing Ultimate Profile for a long time because of mods.  What I did was set aside all the files that Ultimate Profile and my other mods had in common with all the necessary manual Ultimate Profile edits included in them.  Then I installed Ultimate Profile with clean files (from the SMF zip) and after it was installed, I reuploaded those edited files.  I just prepared all that ahead of time. I had a folder on my desktop with all the edited files ready to go.  I uploaded the fresh files, then, after a successful installation (using the package manager), quickly uploaded the edited files.

However, I'm an overly cautious person and, even though that worked perfectly for me, you may not wish to go to all that trouble.   :)
Title: Re: Ultimate Profile
Post by: Encore127 on August 13, 2009, 09:23:07 PM
1.     Ultimate Profile      0.9       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    TinyPortal    1.083    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Gallery Lite    1.8.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF Staff Page    1.6    [ Uninstall ] [ List Files ] [ Delete ]
5.    Are You Human? Anti-Bot Registration Check    1.3    [ Uninstall ] [ List Files ] [ Delete ]
6.    Aeva ~ Auto-Embed Video & Audio    6.9.100    [ Uninstall ] [ List Files ] [ Delete ]

Those are all I have installed. I've tried to use it on a new forum without mods installed and still got the same results.
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 09:28:47 PM
Quote from: Encore127 on August 13, 2009, 09:23:07 PM
1.     Ultimate Profile      0.9       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    TinyPortal    1.083    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Gallery Lite    1.8.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF Staff Page    1.6    [ Uninstall ] [ List Files ] [ Delete ]
5.    Are You Human? Anti-Bot Registration Check    1.3    [ Uninstall ] [ List Files ] [ Delete ]
6.    Aeva ~ Auto-Embed Video & Audio    6.9.100    [ Uninstall ] [ List Files ] [ Delete ]

Those are all I have installed. I've tried to use it on a new forum without mods installed and still got the same results.

Really?  You put it on a fresh forum via the package manager and still got the results in the screenshots you provided? 

I'm completely stumped but I'm going to be watching for what the solution turns out to be.  I don't know anything about portals and wondered if that might have something to do with it but it's going to take one of the Pros to come by and explain what's going on. 

I'm sorry I was no help.   :(

 

Title: Re: Ultimate Profile
Post by: Encore127 on August 13, 2009, 09:35:14 PM
This may be a guess but it might be caused by mod_security on my site. Can anyone give me detailed information on what it does? It'd be appreciated. =]
Title: Re: Ultimate Profile
Post by: gbsothere on August 13, 2009, 09:43:35 PM
I don't know anything about mod_security, perhaps because I'm on a dedicated server and haven't had an issue with it, but here's a thread I found dealing with it.

http://www.simplemachines.org/community/index.php?topic=34270.0 (http://www.simplemachines.org/community/index.php?topic=34270.0)
Title: Re: Ultimate Profile
Post by: digit on August 14, 2009, 01:30:19 AM
I just had a weird problem.

I noticed a users' custom profile that I liked.

So, I took a look at their customization code.  I did not change anything or submit anything, but BAM!  All their css as now visible at the top of the page. (not embedded as usual)

It seems somehow the <style></style> code as missing...   so as a stop gap measure, I hardcoded that into the UltimateProfile.template.php page.....

Like this....

<!-- start of user\'s customization code -->
<style>
',
un_htmlspecialchars (@$context['member']['options']['css'])
, '
<!-- end of user\'s customization code -->
</style>
';


I have no idea why this happened all of a sudden - other than MAYBE because I recently uploaded the latest version of ....
htmLawed 1.1.8.1, 16 July 2009
Copyright Santosh Patnaik
GPL v3 license
A PHP Labware internal utility; www.bioinformatics.org/phplabware/internal_utilities/htmLawed

Do you think it's ok to just add those style tags?

Any other ideas / advice?

Thanks!


EDIT: I have absolutely tracked the issue down to an updated htmLawed file.

Should we not use the latest version, and why?







Title: Re: Ultimate Profile
Post by: digit on August 14, 2009, 01:37:07 AM
Quote from: Chas_Large on July 17, 2009, 02:15:04 AM
Hi, Can you tell me what the latest update does? I have this mod already running in 1.1.9 and just upgraded to 1.1.10 and it's still working OK. Do I need to reapply the recent updated version of this mod for any reason? Sorry but I could not find any mod history list here on at the mod link.

Chas.

bump - would like to know too...  is this a recommended upgrade - and why?

A change log would be GREAT!   8)
Title: Re: Ultimate Profile
Post by: tyty1234 on August 14, 2009, 03:46:56 AM
IMO, I think you should stick with the file that was included with the mod. Jovan will be the final arbiter if you should upgrade to the latest htmLawed.php file. :)
Title: Re: Ultimate Profile
Post by: Fleur_de_saison on August 14, 2009, 08:42:43 AM
-Traduction française d'Ultimate profile-

French Translation: [tested with ultimate profile 0.9 installed on SMF 1.1.10]

Upload the attached file to : your_forum_directory/Themes/default/languages/

Do not change the file name.

Please tell us about any transaltion error  ;D

Attached file : UltimateProfile.french.php
Title: Re: Ultimate Profile
Post by: JovanT on August 14, 2009, 09:10:20 PM
@Encore127
It seems that you are using English UTF8 as a default language. To see all the language strings, please rename UltimateProfile.english.php to UltimateProfile.english-utf8.php and add this to your Modifications.english-utf8.php:

$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.';



@digit
Please, revert your HtmLawed.php to the version included in Ultimate Profile. Included file has some minor changes in order to be compatible with custom CSS. On of them is support for <style> tag.

Also, you don't have to upgrade UP if you alredy have 0.9. Nothing has changed.
Title: Re: Ultimate Profile
Post by: Encore127 on August 14, 2009, 11:02:10 PM
Problem solved, thanks.  ;)
Title: Re: Ultimate Profile
Post by: Marcus Forsberg on August 16, 2009, 02:19:35 PM
Great mod, this! :)
Swedish:


$txt['ultimate_profile'] = 'Ultimat profil';
$txt['permissionname_edit_ultimate_profile'] = 'Redigera ultimat profil';
$txt['permissionname_edit_ultimate_profile_own'] = 'Egen profil';
$txt['permissionname_edit_ultimate_profile_any'] = 'Alla profiler';
$txt['permissionhelp_edit_ultimate_profile'] = 'Denna rättighet låter användare redigera den ultimata profilen.';
$txt['cannot_edit_ultimate_profile_own'] = 'Du kan inte redigera din ultimata profil.';
$txt['cannot_edit_ultimate_profile_any'] = 'Du kan inte redigera vilken ultimat profil som helst!';



File attached.
Title: Re: Ultimate Profile
Post by: Kat9119 on August 17, 2009, 04:04:58 PM
any working (registration not needed) demo anywhere out there? Or photos?
Title: Re: Ultimate Profile
Post by: gbsothere on August 17, 2009, 04:22:54 PM
Quote from: Kat9119 on August 17, 2009, 04:04:58 PM
any working (registration not needed) demo anywhere out there? Or photos?


I'll PM you some screenshots.   :)
Title: Re: Ultimate Profile
Post by: MattH41 on August 18, 2009, 09:09:02 PM
Hopefully someone can help me with this. I assume it just involves changing a default value in the database, but I cannot for the life of my find it.

Instead of using Enable Ultimate Profile for all profiles options, I want to change the default individual user option from disable to enabled. This way when a new user registered Ultimate Profile is on by default, but if users decide they would prefer not to use Ultimate Profile they can turn it off.

Do I make sense? Can someone help me with this?

If you need to see my site for some reason check http://www.furcartzone.com (Note, the enable for all profiles option is currently on.)

I'm also getting a lot of errors in my log as follows:

Quotehttp://www.furcartzone.com/index.php?action=profile;u=36 
8: Undefined index: real_name
File: /home/matth41/public_html/furcartzone.com/Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Line: 795 

and

http://www.furcartzone.com/index.php?action=profile;u=36 
8: Undefined index: id_member
File: /home/matth41/public_html/furcartzone.com/Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Line: 795 

I would appreciate help solving them!
Title: Re: Ultimate Profile
Post by: Fleur_de_saison on August 20, 2009, 12:22:04 PM
Is there any way please to add an option to show the last topics of the member on his ultimate profile? thanks


Quote from: MattH41 on August 18, 2009, 09:09:02 PM

I'm also getting a lot of errors in my log as follows:

Quotehttp://www.furcartzone.com/index.php?action=profile;u=36 
8: Undefined index: real_name
File: /home/matth41/public_html/furcartzone.com/Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Line: 795 

and

http://www.furcartzone.com/index.php?action=profile;u=36 
8: Undefined index: id_member
File: /home/matth41/public_html/furcartzone.com/Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Line: 795 

I would appreciate help solving them!

Take a look at this topic click here (http://www.simplemachines.org/community/index.php?topic=302631.0) may be it can help you  ;D
Title: Re: Ultimate Profile
Post by: MattH41 on August 20, 2009, 01:28:35 PM
Quote from: Fleur_de_saison on August 20, 2009, 12:22:04 PM
Take a look at this topic click here (http://www.simplemachines.org/community/index.php?topic=302631.0) may be it can help you  ;D

Thanks for your response. However, I'd prefer to try and fix the errors and not just hide them.
Title: Re: Ultimate Profile
Post by: chaky! on August 20, 2009, 08:29:54 PM
its secure the mod? where html and css are alowed... XSS dont be a problem?
Title: Re: Ultimate Profile
Post by: chrishicks on August 21, 2009, 12:46:33 AM
Dumb question I'm sure but I've been asked by members if there is a way to prevent right click/save for the profile pictures. I know it's easy to get any pic you want but they would feel a bit better if this was in place somehow. Is there some type of code I could add to the ultimateprofile php or something?
Title: Re: Ultimate Profile
Post by: gbsothere on August 21, 2009, 07:41:07 AM
Quote from: chrishicks on August 21, 2009, 12:46:33 AM
Dumb question I'm sure but I've been asked by members if there is a way to prevent right click/save for the profile pictures. I know it's easy to get any pic you want but they would feel a bit better if this was in place somehow. Is there some type of code I could add to the ultimateprofile php or something?


This might help. 

http://custom.simplemachines.org/mods/index.php?mod=1175 (http://custom.simplemachines.org/mods/index.php?mod=1175)
Title: Re: Ultimate Profile
Post by: dbsincere on August 23, 2009, 12:42:22 AM
Quote from: tyty1234 on August 09, 2009, 03:15:54 PM
Quote from: dbsincere on August 09, 2009, 07:49:56 AM
I cant seem to find the add buddy or buddies feature once ultimate profile is installed... I'm using 2.0 rc1.2
Did you enable Ultimate Profile?

Admin -> Configuration -> Modifications -> Ultimate Profile

Yes i did

As soon as i remove the mod it appears
Title: Re: Ultimate Profile
Post by: chrishicks on August 23, 2009, 02:09:28 AM
Quote from: gbsothere on August 21, 2009, 07:41:07 AM
Quote from: chrishicks on August 21, 2009, 12:46:33 AM
Dumb question I'm sure but I've been asked by members if there is a way to prevent right click/save for the profile pictures. I know it's easy to get any pic you want but they would feel a bit better if this was in place somehow. Is there some type of code I could add to the ultimateprofile php or something?


This might help. 

http://custom.simplemachines.org/mods/index.php?mod=1175 (http://custom.simplemachines.org/mods/index.php?mod=1175)

Thanks for the reply. I was looking at that but I really only need it for the Profile. Is that pretty much my only option?
Title: Re: Ultimate Profile
Post by: ricardo35 on August 23, 2009, 02:30:09 PM
Hello,

I am trying to start with this, but at the first file: ./Sources/Profile.php.
I try to find the codes, but they are simply not listed in my ./Sources/Profile.php
For example: ''   loadTemplate('Profile', 'profile');'' Is not anywhere in my file.

Can anyone help me out? Version 1.1.10 I have.
Can't post the code as it has too many characters.
Title: Re: Ultimate Profile
Post by: JamNet on August 23, 2009, 11:36:08 PM
okay if some get a error on this mod thats because its create a syntax error in profile.php

open /source/profile.php
find:

$request = db_query('SELECT com.ID_COMMENT, com.ID_MEMBER, com.comment, com.time, mem.realName, mem.showOnline,
IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType, mem.avatar
FROM ' . $db_prefix . 'profile_comments as com
LEFT JOIN ' . $db_prefix . 'members AS mem ON (com.ID_MEMBER = mem.ID_MEMBER)
LEFT JOIN ' . $db_prefix . 'log_online AS lo ON (lo.ID_MEMBER = com.ID_MEMBER)
LEFT JOIN ' . $db_prefix . 'attachments AS a ON (a.ID_MEMBER = com.ID_MEMBER)
WHERE com.COMMENT_MEMBER_ID = ' . $memID . '
ORDER BY ID_COMMENT DESC
LIMIT ' . $context[''] . ', ' . $maxComments, __FILE__, __LINE__);



just delete it and all will be fine
Title: Re: Ultimate Profile
Post by: ricardo35 on August 24, 2009, 11:30:58 AM
Hello, I managed to get the mod installed and it's working perfectly.

Now I just wish to disable the comments on profiles for all members, but it seems this is not possible.
It would be appreciated if you could work something out JovanT :)

Thanks!
Title: Re: Ultimate Profile
Post by: machmanx on August 25, 2009, 01:01:23 AM
Man, I would love to see a working preview of the mod...even a screenshot would be great.  The demo site is in maintenance mode and the link posted by the user requires login.  Can anyone provide this?
Title: Re: Ultimate Profile
Post by: ricardo35 on August 25, 2009, 08:31:14 AM
http://www.hyperion-legion.com/index.php?action=profile;u=2
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2
Title: Re: Ultimate Profile
Post by: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?
Title: Re: Ultimate Profile
Post by: swan on August 26, 2009, 01:50:15 PM
Hi

I have this mod installed and it works gread - love it all

I cant figure out how to edit it so that it has diff backgrounds, colours etc

A nudge in the right direction would be greatly appreciated
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 26, 2009, 01:50:53 PM
Quote from: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?

I am referring to the tablefix file that is suppose to fix the ultimate profile bug.
Title: Re: Ultimate Profile
Post by: gbsothere on August 26, 2009, 03:07:25 PM
Quote from: swan on August 26, 2009, 01:50:15 PM
Hi

I have this mod installed and it works gread - love it all

I cant figure out how to edit it so that it has diff backgrounds, colours etc

A nudge in the right direction would be greatly appreciated




ElectricSquid has a write up about this.  On this thread, you can see the link in the "quote" and his comments about it.


http://www.simplemachines.org/community/index.php?topic=298641.msg2194112#msg2194112 (http://www.simplemachines.org/community/index.php?topic=298641.msg2194112#msg2194112)
Title: Re: Ultimate Profile
Post by: Harvester on August 26, 2009, 09:14:24 PM
I asked a while ago and i scanned the thread but I dont see where my question was answered...

I have UP working great BUT I cant figure how to get my custom profile fields to show up again. Please help?

Thank you, Jared

by the way I am using 1.1.10
Title: Re: Ultimate Profile
Post by: gbsothere on August 26, 2009, 09:39:51 PM
Quote from: Harvester on August 26, 2009, 09:14:24 PM
I asked a while ago and i scanned the thread but I dont see where my question was answered...

I have UP working great BUT I cant figure how to get my custom profile fields to show up again. Please help?

Thank you, Jared

by the way I am using 1.1.10





Harvester, I want to mention that what I found is from the Beta version of Ultimate Profile, but see if this link offers any help:

http://www.simplemachines.org/community/index.php?topic=183574.msg1176891#msg1176891 (http://www.simplemachines.org/community/index.php?topic=183574.msg1176891#msg1176891)



Editing on my way to bed:

Of course, it's UltimateProfile.template.php, now and I think it's after

<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>';



that you would place that table the link mentioned.



But look what I have to think with.    ::)


Hopefully, someone will swing by and correct me.   :)
Title: Re: Ultimate Profile
Post by: tyty1234 on August 27, 2009, 01:00:54 AM
Quote from: NBK*Twitch on August 26, 2009, 01:50:53 PM
Quote from: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?

I am referring to the tablefix file that is suppose to fix the ultimate profile bug.
Which post did you get the files from?
Title: Re: Ultimate Profile
Post by: swan on August 27, 2009, 10:08:10 AM
Quote from: gbsothere on August 26, 2009, 03:07:25 PM
Quote from: swan on August 26, 2009, 01:50:15 PM
Hi

I have this mod installed and it works gread - love it all

I cant figure out how to edit it so that it has diff backgrounds, colours etc

A nudge in the right direction would be greatly appreciated




ElectricSquid has a write up about this.  On this thread, you can see the link in the "quote" and his comments about it.


http://www.simplemachines.org/community/index.php?topic=298641.msg2194112#msg2194112 (http://www.simplemachines.org/community/index.php?topic=298641.msg2194112#msg2194112)

Tyvm gbsothere xx

**Runs to see**
Title: Re: Ultimate Profile
Post by: zambo92 on August 27, 2009, 09:32:15 PM
hey, i'm having some problems with ultimate profile on my smf forum, i am currently using version 1.1.10, and the mod does work fine, however my members cant edit their profiles, it only comes up for me so i would need to do it for them, here is my website so you can check it out: http://keishou.net/forums

please help...
Title: Re: Ultimate Profile
Post by: gbsothere on August 27, 2009, 09:52:16 PM
Quote from: zambo92 on August 27, 2009, 09:32:15 PM
hey, i'm having some problems with ultimate profile on my smf forum, i am currently using version 1.1.10, and the mod does work fine, however my members cant edit their profiles, it only comes up for me so i would need to do it for them, here is my website so you can check it out: http://keishou.net/forums

please help...



You must go to Admin-----> Features and Options------>Ultimate Profile to enable it.   Then you must go to Permissions to allow each member group to edit their profiles.


:)
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 28, 2009, 02:18:52 AM
Quote from: tyty1234 on August 27, 2009, 01:00:54 AM
Quote from: NBK*Twitch on August 26, 2009, 01:50:53 PM
Quote from: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?

I am referring to the tablefix file that is suppose to fix the ultimate profile bug.
Which post did you get the files from?

http://www.simplemachines.org/community/index.php?topic=298641.540 that one
Title: Re: Ultimate Profile
Post by: zambo92 on August 28, 2009, 04:30:57 AM
Quote from: gbsothere on August 27, 2009, 09:52:16 PM
Quote from: zambo92 on August 27, 2009, 09:32:15 PM
hey, i'm having some problems with ultimate profile on my smf forum, i am currently using version 1.1.10, and the mod does work fine, however my members cant edit their profiles, it only comes up for me so i would need to do it for them, here is my website so you can check it out: http://keishou.net/forums

please help...



You must go to Admin-----> Features and Options------>Ultimate Profile to enable it.   Then you must go to Permissions to allow each member group to edit their profiles.


:)

thank you very much, that worked :D
Title: Re: Ultimate Profile
Post by: madinmex on August 29, 2009, 01:05:39 PM
Love the mod and have on two closed sites ( I register the members) now opened an open forum and the members are not receiving their activation emails. I then tried a few alias on a test site and the same problem. I'm using smf 2 RC.1.2  and the RC download. When I try to delete the member I receive this notice. BTW this test forum has no mods or extra themes at all

Not being a php person I havent a clue  :(
Title: Re: Ultimate Profile
Post by: TheMBC on August 29, 2009, 09:45:54 PM
Hey guys, I'm trying to determine why I keep getting this error.  We used to have this mod before but had to disable it because there was no support for SMF 2.0, but as soon as we realized that there was an update (today) we downloaded the new mod and re-applied it.  It seems to have all of our old info on there, but whenever we go to look at an image, we get this error

QuoteUnknown column 'id_album' in 'field list'
File: /home/zunited/public_html/Sources/Profile-Pictures.php
Line: 631

I don't even know where to upload an image anymore, unless I just can't find it.  Which wouldn't surprise me.  Apparently uploading avatar pictures is a problem too, I really don't know, I got a memo from the other admin on the site saying something to that effect.  I've disabled it for now, but if anyone can help me out, it would be greatly appreciated.  Thanks (:
Title: Re: Ultimate Profile
Post by: tyty1234 on August 29, 2009, 10:53:14 PM
Quote from: NBK*Twitch on August 28, 2009, 02:18:52 AM
Quote from: tyty1234 on August 27, 2009, 01:00:54 AM
Quote from: NBK*Twitch on August 26, 2009, 01:50:53 PM
Quote from: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?

I am referring to the tablefix file that is suppose to fix the ultimate profile bug.
Which post did you get the files from?

http://www.simplemachines.org/community/index.php?topic=298641.540 that one

Ok, I'm not sure if that's the link from the first post on that page I see, but I do know this.

db_query() is a SMF 1.1.x function. Therefore, the file you downloaded will work only with SMF 1.1.x.
Title: Re: Ultimate Profile
Post by: Yağız... on August 30, 2009, 09:25:00 AM
Quote from: madinmex on August 29, 2009, 01:05:39 PM
Love the mod and have on two closed sites ( I register the members) now opened an open forum and the members are not receiving their activation emails. I then tried a few alias on a test site and the same problem. I'm using smf 2 RC.1.2  and the RC download. When I try to delete the member I receive this notice. BTW this test forum has no mods or extra themes at all

Not being a php person I havent a clue  :(
http://www.simplemachines.org/community/index.php?topic=298641.msg2166399#msg2166399
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 30, 2009, 02:33:16 PM
Quote from: tyty1234 on August 29, 2009, 10:53:14 PM
Quote from: NBK*Twitch on August 28, 2009, 02:18:52 AM
Quote from: tyty1234 on August 27, 2009, 01:00:54 AM
Quote from: NBK*Twitch on August 26, 2009, 01:50:53 PM
Quote from: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?

I am referring to the tablefix file that is suppose to fix the ultimate profile bug.
Which post did you get the files from?

http://www.simplemachines.org/community/index.php?topic=298641.540 (http://www.simplemachines.org/community/index.php?topic=298641.540) that one

Ok, I'm not sure if that's the link from the first post on that page I see, but I do know this.

db_query() is a SMF 1.1.x function. Therefore, the file you downloaded will work only with SMF 1.1.x.
Okay so how would I fix this problem?
Title: Re: Ultimate Profile
Post by: KuttinBeatz on August 31, 2009, 03:45:29 PM
Hi, I'm using smf1.1.10 and the latest version of this mod.

The problems I am facing are as follows..

1. no link shows to edit ultimate profile unless you're admin (yes it is activated for all members)

2. when installing the mod it creates the folder profle_pictures with the wrong user:group (it uses apaches default instead of the actual user)

I have used chown to set the correct owner on that dir, and chmod to 777 to upload pics. The thing is the photos don't seem to upload, but the entry does get made in the database..

Any help asap is appreciated.

Thanks
Title: Re: Ultimate Profile
Post by: gbsothere on August 31, 2009, 04:16:38 PM
Quote from: KuttinBeatz on August 31, 2009, 03:45:29 PM
Hi, I'm using smf1.1.10 and the latest version of this mod.

The problems I am facing are as follows..

1. no link shows to edit ultimate profile unless you're admin (yes it is activated for all members)

2. when installing the mod it creates the folder profle_pictures with the wrong user:group (it uses apaches default instead of the actual user)

I have used chown to set the correct owner on that dir, and chmod to 777 to upload pics. The thing is the photos don't seem to upload, but the entry does get made in the database..

Any help asap is appreciated.

Thanks



1.)  I know that you've enabled Ultimate Profile for all members via Admin---->Features And Options----->Ultimate Profile but did you also go to Admin---->Permissions and check "Edit Ultimate Profile" in each membergroup's settings?

2.)  The directory profile_pictures is sitting in your forum's root directory, as it should be?  (I'm afraid I'm not understanding what you mean by "it uses apaches default".)  In Admin-----> Features and Options-----> Ultimate Profile have you checked the path to that folder to make sure it's correctly shown to match its position in your forum's root?

Title: Re: Ultimate Profile
Post by: KuttinBeatz on August 31, 2009, 04:47:23 PM
Quote from: gbsothere on August 31, 2009, 04:16:38 PM2.)  The directory profile_pictures is sitting in your forum's root directory, as it should be?  (I'm afraid I'm not understanding what you mean by "it uses apaches default".)  In Admin-----> Features and Options-----> Ultimate Profile have you checked the path to that folder to make sure it's correctly shown to match its position in your forum's root?

Ok the first problem is fixed thanks a lot.

yes profile_pictures is in the main forum dir.

What I mean by apaches default user is www-data instead of my user, which in this case is kbeatz, I'm refering to the unix user:group. When then dir profile_pictures is created, for some reason smf creates it with the user:group www-data:www-data, which is wrong.. I have changed this via chown as root, and also changed the perms to 777, but it still doesnt upload pics :(
Title: Re: Ultimate Profile
Post by: gbsothere on August 31, 2009, 04:51:29 PM
What sort of errors are you getting in your forum's error log, KuttinBeatz?  Do you see anything related?

Title: Re: Ultimate Profile
Post by: KuttinBeatz on August 31, 2009, 04:55:22 PM
2: rename(/home/kbeatz/web/forum/profile_pictures/tmp_2_thumb,/home/kbeatz/web/forum/profile_pictures/2_1251751534_thumb.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/kbeatz/web/forum/Sources/ProfilePictures.php
Line: 172
Title: Re: Ultimate Profile
Post by: gbsothere on August 31, 2009, 05:26:51 PM
Is this what you show for line 172 of your ProfilePictures.php?

    function AddPicture ($allowed_add)


*sigh*   A coding thing and I'm certainly no coder.  JovanT's site is still down for maintenance but, hopefully either he or someone with some experience in what needs to be changed will see this and tell you what to edit.

I'm sorry, KuttinBeatz.


Title: Re: Ultimate Profile
Post by: TwitchisMental on August 31, 2009, 05:56:03 PM
Quote from: NBK*Twitch on August 30, 2009, 02:33:16 PM
Quote from: tyty1234 on August 29, 2009, 10:53:14 PM
Quote from: NBK*Twitch on August 28, 2009, 02:18:52 AM
Quote from: tyty1234 on August 27, 2009, 01:00:54 AM
Quote from: NBK*Twitch on August 26, 2009, 01:50:53 PM
Quote from: tyty1234 on August 26, 2009, 02:50:08 AM
Quote from: NBK*Twitch on August 25, 2009, 03:42:43 PM
Hey I tried the table fix thing and get this error -

Fatal error:  Call to undefined function  db_query() in /*/*/public_html/forum/database.php on line 11

Oh and I am running version 2.0 rc 1.2

Which files are you referring to?

I am referring to the tablefix file that is suppose to fix the ultimate profile bug.
Which post did you get the files from?

http://www.simplemachines.org/community/index.php?topic=298641.540 (http://www.simplemachines.org/community/index.php?topic=298641.540) that one

Ok, I'm not sure if that's the link from the first post on that page I see, but I do know this.

db_query() is a SMF 1.1.x function. Therefore, the file you downloaded will work only with SMF 1.1.x.
Okay so how would I fix this problem?

I am still wondering how to fix my problem =[.
Title: Re: Ultimate Profile
Post by: gbsothere on August 31, 2009, 06:18:32 PM
Quote from: NBK*Twitch on August 31, 2009, 05:56:03 PM
I am still wondering how to fix my problem =[.


Did you say earlier that you were now using RC1.2?  If so, tyty1234's post here may contain what you need to help with your database issues.

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

This is in reply to a poster who has 2.0, so if you're 1.1.0, you'd want something else.

Title: Re: Ultimate Profile
Post by: LanMc on August 31, 2009, 06:42:54 PM
Quote from: MattH41 on August 18, 2009, 09:09:02 PM
Hopefully someone can help me with this. I assume it just involves changing a default value in the database, but I cannot for the life of my find it.

Instead of using Enable Ultimate Profile for all profiles options, I want to change the default individual user option from disable to enabled. This way when a new user registered Ultimate Profile is on by default, but if users decide they would prefer not to use Ultimate Profile they can turn it off.

Do I make sense? Can someone help me with this?

If you need to see my site for some reason check http://www.furcartzone.com (Note, the enable for all profiles option is currently on.)

I would like to know how to do this too.  Anyone figure it out yet?  I'm working on a role playing site, and we just need the profiles to supply character info.  Hence a lot of the nifty options offered in Ultimate Profile are rather useless...  To clarify: We want the ultimate profiles to be on and not have to be enabled for everyone.

Any help would be appreciated!

For reference SMF version and Mods currently installed:
SMF 1.1.10
Shared Forum Mod      0.2.5.4
RSS Feed Icon    1.1
Ad Managment    2.3.1
Custom Profile Field Mod    3.20
The Rules    1.2
Ultimate Profile    0.9
SimplePortal    2.2.2
SMFShop   3.1.1
Title: Re: Ultimate Profile
Post by: TwitchisMental on August 31, 2009, 08:28:33 PM
Quote from: gbsothere on August 31, 2009, 06:18:32 PM
Quote from: NBK*Twitch on August 31, 2009, 05:56:03 PM
I am still wondering how to fix my problem =[.


Did you say earlier that you were now using RC1.2?  If so, tyty1234's post here may contain what you need to help with your database issues.

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

This is in reply to a poster who has 2.0, so if you're 1.1.0, you'd want something else.

Thats what I tried to use earlier... and you said it is only for smf 1.1.0 so thats why it gave me an error..
Title: Re: Ultimate Profile
Post by: gbsothere on August 31, 2009, 09:02:15 PM
Quote from: NBK*Twitch on August 31, 2009, 08:28:33 PM
Thats what I tried to use earlier... and you said it is only for smf 1.1.0 so thats why it gave me an error..


Well, no.... that wasn't me:

http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113 (http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113)




This link I just gave you (that is from tyty1234's post):

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

isn't the same one that you showed tyty1234:


http://www.simplemachines.org/community/index.php?topic=298641.540 (http://www.simplemachines.org/community/index.php?topic=298641.540)


It's been a bit confusing because, in this thread, you mention having both 1.1.10 and 2.0, but I suspect, the first time, you downloaded the table_fix.zip.  The attachment in this thread is not a .zip, but an .sql file and is for 2.0:

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)


I'm sorry that I couldn't help. 
Title: Re: Ultimate Profile
Post by: tyty1234 on September 01, 2009, 02:45:33 AM
Yeah I was getting a bit confused as well. The files I attached in my post (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063) should be files only related to SMF 2.0 RC1.2.

And the link you showed me (this one (http://www.simplemachines.org/community/index.php?topic=298641.540)) didn't really help at all as that gave me the assumption of the first post I see as the file you downloaded.
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 02:50:47 AM
ok sorry to bump my message but it was quickly disapearing and would no doubt be forgotten...

Here's my error.. again..

2: rename(/home/kbeatz/web/forum/profile_pictures/tmp_2_thumb,/home/kbeatz/web/forum/profile_pictures/2_1251751534_thumb.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/kbeatz/web/forum/Sources/ProfilePictures.php
Line: 172

this is on a fresh install of smf1.1.10, new database, everything, wtf's up? is UP not compatable with .10 yet? :(
Title: Re: Ultimate Profile
Post by: tyty1234 on September 01, 2009, 03:16:26 AM
There is a 1.1.10 package. You need to download and install version 0.9 (http://custom.simplemachines.org/mods/index.php?action=download;mod=1675;id=88604) (the one without 2.0rc1 suffix)
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 03:40:31 AM
But im using the 0.9 version lol
Title: Re: Ultimate Profile
Post by: tyty1234 on September 01, 2009, 03:49:47 AM
In that case, can you attach your ProfilePictures.php file?
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 03:58:18 AM
Thanks, I think it has somthing to do with it not creating the temp folder, but as im still learning php I can't work it out.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 01, 2009, 04:40:02 AM
Well, I can spot one thing wrong.

Quote
/home/kbeatz/web/forum/profile_pictures/tmp_2_thumb,/home/kbeatz/web/forum/profile_pictures/2_1251751534_thumb.jpg

this doesn't exist because you have "/home/kbeatz/web/forum/profile_pictures" twice and it's coming from this line.


rename($modSettings['profile_pictures_path'] . '/tmp_' . $memID . '_thumb', $modSettings['profile_pictures_path'] . '/' . $thumb_filename);


Try this instead.

rename($modSettings['profile_pictures_path'] . '/tmp_' . $thumb_filename);
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 04:48:42 AM
Now all i get is..

2: rename() expects at least 2 parameters, 1 given
File: /home/kbeatz/web/forum/Sources/ProfilePictures.php
Line: 172
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 05:00:25 AM
Has anyone got a working copy of ProfilePictures.php please, im using the one that came with UP0.9 and it seems to be buggered.
Title: Re: Ultimate Profile
Post by: clewis789 on September 01, 2009, 05:05:22 AM
hi i have installed the profile mod it work great but i also have the custom profile fields mod working is there any way of getting that mod to work on the ultimate profile mod ?
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 05:09:32 AM
find the custom profile fields in profile.template.php and add them into ultimateprofile.template.php, iirc it tells you where you can add your own boxes.
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 05:19:45 AM
Clewis, does your profile pictures work? if so can you upload your copy of profilepictures.php please :)
Title: Re: Ultimate Profile
Post by: clewis789 on September 01, 2009, 05:23:50 AM
Quote from: KuttinBeatz on September 01, 2009, 05:09:32 AM
find the custom profile fields in profile.template.php and add them into ultimateprofile.template.php, iirc it tells you where you can add your own boxes.

i cant do that as i am not the owner of the website i am there admin and i run it for the owner and he has not given me the server info, is there any other way ?

also i dont think i can give you it if i dont have the server info ?
Title: Re: Ultimate Profile
Post by: tyty1234 on September 01, 2009, 05:28:07 AM
Quote from: KuttinBeatz on September 01, 2009, 04:48:42 AM
Now all i get is..

2: rename() expects at least 2 parameters, 1 given
File: /home/kbeatz/web/forum/Sources/ProfilePictures.php
Line: 172
Whoops, my bad.

Try revert the changes you made, and instead uncomment this line.


// unset($modSettings['avatar_download_png']); // Delete this line if you want PNG thumbnails (better quality (lossless), much bigger files).
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 05:41:12 AM
@tyty1234

Nope, and now back to the original error lol, any idea whats causing it? is it a bug in UP or what? i did have it working on an older version of smf, 1.1.7 i think was last time i used it, it's v strange :(

@clewis789

Check out the theme editor in admin>configuration>themes and layouts> modify themes
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 06:03:42 AM
Do you hink converting back to an older version of smf might do the trick?
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 07:16:53 AM
ok i added an or die() at the end of

createThumbnail($modSettings['profile_pictures_path'] . '/tmp_' . $memID, 120, 89)

and it seems that's where the problem is as I also debuged a bit above that and it all works fine.

Any ideas anyone?
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 08:57:44 AM
ok my bad, I didn't realize i needed GD2 installed, I use imagemagick normally.

fixed now, thanks for any help tho guys :)
Title: Re: Ultimate Profile
Post by: gbsothere on September 01, 2009, 09:09:06 AM
I'm glad you got it working, KuttinBeatz.   :)
Title: Re: Ultimate Profile
Post by: Kellerassel on September 01, 2009, 12:45:15 PM
i want to translate it into german. what files must i edit?
Title: Re: Ultimate Profile
Post by: foxchild on September 01, 2009, 01:50:36 PM
I  am having an issue with buddies not showing up in the online list in the info center, nor are the user online/offline icons showing the buddies in the member list.  Buddies do show up inside of profiles. 

It was suggested that it was related to having Ultimate Profile installed.  I'm running off of a new, clean install of SMF 2.0 RC1.2.  At the time of install, I only had one other mod installed (Baker's Dozen).  All buddies were added after the install of Ultimate Profile and I have not had any errors show up.

I run another forum that is SMF 1.1.10 and it also has Ultimate Profile installed, yet it does not have this same issue with the buddies.  It seems to be a 2.x issue only.

Does anyone have any suggestions of what I can do to get this issue fixed?
Title: Re: Ultimate Profile
Post by: gbsothere on September 01, 2009, 02:01:09 PM
I'm sure this has already been suggested to you, foxchild, but on your 2.0 forum, have you gone to Admin----->Configuration------>Features and Options---->General and checked to "Enable Buddy lists"?

Title: Re: Ultimate Profile
Post by: TwitchisMental on September 01, 2009, 02:54:14 PM
Quote from: gbsothere on August 31, 2009, 09:02:15 PM
Quote from: NBK*Twitch on August 31, 2009, 08:28:33 PM
Thats what I tried to use earlier... and you said it is only for smf 1.1.0 so thats why it gave me an error..


Well, no.... that wasn't me:

http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113 (http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113)




This link I just gave you (that is from tyty1234's post):

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

isn't the same one that you showed tyty1234:


http://www.simplemachines.org/community/index.php?topic=298641.540 (http://www.simplemachines.org/community/index.php?topic=298641.540)


It's been a bit confusing because, in this thread, you mention having both 1.1.10 and 2.0, but I suspect, the first time, you downloaded the table_fix.zip.  The attachment in this thread is not a .zip, but an .sql file and is for 2.0:

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)


I'm sorry that I couldn't help.

Okay an update on my problem then :].

I am using 2.0 rc1-2

I have tried all the fixes I could find,none have worked :( .

I get an error on line 22X when  I have it installed.(viewing the profile is when it happens.)

So that is my problem,do you understand a bit better now :) ?

Oh and if this helps any my db prefix is twitch_smf1
Title: Re: Ultimate Profile
Post by: evolution25 on September 01, 2009, 06:26:00 PM
how do you make the boxs bigger
Title: Re: Ultimate Profile
Post by: KuttinBeatz on September 01, 2009, 07:23:19 PM
Make your content bigger.. :P but seriously, you should check out the UltimateProfile.template.php, it's commented quite a bit to help you know what's what.
Title: Re: Ultimate Profile
Post by: foxchild on September 01, 2009, 08:53:47 PM
Quote from: gbsothere on September 01, 2009, 02:01:09 PM
I'm sure this has already been suggested to you, foxchild, but on your 2.0 forum, have you gone to Admin----->Configuration------>Features and Options---->General and checked to "Enable Buddy lists"?

Yes, it is turned on.  Like I said, the buddies are showing up as buddies in the profiles, but not in the online list or in the member list.
Title: Re: Ultimate Profile
Post by: gbsothere on September 01, 2009, 09:16:00 PM
foxchild, you might want to compare your original ManageSettings.php and Subs-Members.php to your edited ones and see if something not pertaining to either mod was overwritten.
Title: Re: Ultimate Profile
Post by: foxchild on September 01, 2009, 11:32:55 PM
I didn't see anything that was obvious.
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 02, 2009, 02:24:59 PM
So any idea on my problem?

I gave an update as clear as I could =].

No rush though :).
Title: Re: Ultimate Profile
Post by: plusev on September 02, 2009, 06:36:59 PM
Does anyone have a working example or demo site of Ultimate Profile in action? The original demo site is offline. I'd really like to see a tricked out profile to get an idea of what my users can expect.

Thx
Title: Re: Ultimate Profile
Post by: tyty1234 on September 02, 2009, 09:38:14 PM
Quote from: NBK*Twitch on September 01, 2009, 02:54:14 PM
Quote from: gbsothere on August 31, 2009, 09:02:15 PM
Quote from: NBK*Twitch on August 31, 2009, 08:28:33 PM
Thats what I tried to use earlier... and you said it is only for smf 1.1.0 so thats why it gave me an error..


Well, no.... that wasn't me:

http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113 (http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113)




This link I just gave you (that is from tyty1234's post):

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

isn't the same one that you showed tyty1234:


http://www.simplemachines.org/community/index.php?topic=298641.540 (http://www.simplemachines.org/community/index.php?topic=298641.540)


It's been a bit confusing because, in this thread, you mention having both 1.1.10 and 2.0, but I suspect, the first time, you downloaded the table_fix.zip.  The attachment in this thread is not a .zip, but an .sql file and is for 2.0:

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)


I'm sorry that I couldn't help.

Okay an update on my problem then :].

I am using 2.0 rc1-2

I have tried all the fixes I could find,none have worked :( .

I get an error on line 22X when  I have it installed.(viewing the profile is when it happens.)

So that is my problem,do you understand a bit better now :) ?

Oh and if this helps any my db prefix is twitch_smf1
What error are you getting on that line, and can you show me that line?
Title: Re: Ultimate Profile
Post by: gbsothere on September 03, 2009, 07:48:23 AM
Quote from: plusev on September 02, 2009, 06:36:59 PM
Does anyone have a working example or demo site of Ultimate Profile in action? The original demo site is offline. I'd really like to see a tricked out profile to get an idea of what my users can expect.

Thx



I'll PM some screen shots to you. 

Title: Re: Ultimate Profile
Post by: Nameless? on September 03, 2009, 05:52:22 PM
Hi can someone help me with this.

when i am gonna look and edit my profile it says with an error message:

Unknown column 'com.time' in 'field list'
File: /home/vol22/000space.com/username/forum/htdocs/Sources/Profile.php
Line: 1381

How to fix it?
Title: Re: Ultimate Profile
Post by: gbsothere on September 03, 2009, 06:01:37 PM
Someone may fuss at you, Nameless, for not searching the thread, but I'll go easy on you.    :D


Take a look at this link (and at the posts just before and after it).  Install via the package manager.

http://www.simplemachines.org/community/index.php?topic=298641.msg2170008#msg2170008 (http://www.simplemachines.org/community/index.php?topic=298641.msg2170008#msg2170008)

Title: Re: Ultimate Profile
Post by: TwitchisMental on September 03, 2009, 06:28:02 PM
Quote from: tyty1234 on September 02, 2009, 09:38:14 PM
Quote from: NBK*Twitch on September 01, 2009, 02:54:14 PM
Quote from: gbsothere on August 31, 2009, 09:02:15 PM
Quote from: NBK*Twitch on August 31, 2009, 08:28:33 PM
Thats what I tried to use earlier... and you said it is only for smf 1.1.0 so thats why it gave me an error..

I get an error like this - Unknown column 'com.time' in 'field list'
File: /home/vol22/000space.com/username/forum/htdocs/Sources/Profile.php
Line: 1381

Except line 228


Well, no.... that wasn't me:

http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113 (http://www.simplemachines.org/community/index.php?topic=298641.msg2235113#msg2235113)




This link I just gave you (that is from tyty1234's post):

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

isn't the same one that you showed tyty1234:


http://www.simplemachines.org/community/index.php?topic=298641.540 (http://www.simplemachines.org/community/index.php?topic=298641.540)


It's been a bit confusing because, in this thread, you mention having both 1.1.10 and 2.0, but I suspect, the first time, you downloaded the table_fix.zip.  The attachment in this thread is not a .zip, but an .sql file and is for 2.0:

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)


I'm sorry that I couldn't help.

Okay an update on my problem then :].

I am using 2.0 rc1-2

I have tried all the fixes I could find,none have worked :( .

I get an error on line 22X when  I have it installed.(viewing the profile is when it happens.)

So that is my problem,do you understand a bit better now :) ?

Oh and if this helps any my db prefix is twitch_smf1
What error are you getting on that line, and can you show me that line?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 05, 2009, 03:36:09 PM
Okay I am getting this error even after manual install.

Unknown column 'com.time' in 'field list'
File: /home/twitch/public_html/forum/Sources/Profile-View.php
Line: 228

Attaching the profile-view.php here.

Edit: Link - http://www.mediafire.com/?jt2iz0dzmdn
Title: Re: Ultimate Profile
Post by: tyty1234 on September 05, 2009, 03:37:14 PM
Did you make the DB changes?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 05, 2009, 03:41:06 PM
Quote from: tyty1234 on September 05, 2009, 03:37:14 PM
Did you make the DB changes?
Yes I did everything it said.

The profile view is now in the post above you.
Title: Re: Ultimate Profile
Post by: foxchild on September 05, 2009, 07:09:25 PM
Quote from: gbsothere on September 01, 2009, 09:16:00 PM
foxchild, you might want to compare your original ManageSettings.php and Subs-Members.php to your edited ones and see if something not pertaining to either mod was overwritten.

I think my response probably got lost.  I didn't see anything that this mod overwrote on install in either of those files.  I did uninstall and see if the buddies would work and they appear to, at least in Firefox but not in IE.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 05, 2009, 07:34:22 PM
Quote from: NBK*Twitch on September 05, 2009, 03:41:06 PM
Quote from: tyty1234 on September 05, 2009, 03:37:14 PM
Did you make the DB changes?
Yes I did everything it said.

The profile view is now in the post above you.

Can you go into phpMyAdmin (http://www.simplemachines.org/community/index.php?topic=21919.0), into the profile_comments table and confirm that the 'time' column exists?
Title: Re: Ultimate Profile
Post by: Pegasi Delta on September 06, 2009, 08:45:09 AM
I was wondering if there is a way to move the Profile Comments block to the top of the user's profile page. I tried locating what looked to be the code for the Comments block and moving it to the top, but it broke the mod and I received an error message when trying to load any page on the forum. Would someone be able to tell me exactly what code I should be moving, and exactly where I should be moving it to?
Title: Re: Ultimate Profile
Post by: dumblonde on September 06, 2009, 12:01:37 PM
Quote from: gbsothere on September 03, 2009, 07:48:23 AM
Quote from: plusev on September 02, 2009, 06:36:59 PM
Does anyone have a working example or demo site of Ultimate Profile in action? The original demo site is offline. I'd really like to see a tricked out profile to get an idea of what my users can expect.

Thx
I'll PM some screen shots to you. 



Could you please PM me some screenshots too?  I would like to see what it looks like before I install.

Thanks :)
Title: Re: Ultimate Profile
Post by: excon on September 07, 2009, 04:49:17 AM
Hi.. Please advise how I can put the "member awards" mod on ultimate profile.
Thanks in advance.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 07, 2009, 01:59:41 PM
Quote from: excon on September 07, 2009, 04:49:17 AM
Hi.. Please advise how I can put the "member awards" mod on ultimate profile.
Thanks in advance.
It should work regardless if you have ultimate profile or not, unless you're asking for something specific?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 07, 2009, 07:33:27 PM
Quote from: tyty1234 on September 05, 2009, 07:34:22 PM
Quote from: NBK*Twitch on September 05, 2009, 03:41:06 PM
Quote from: tyty1234 on September 05, 2009, 03:37:14 PM
Did you make the DB changes?
Yes I did everything it said.

The profile view is now in the post above you.

Can you go into phpMyAdmin (http://www.simplemachines.org/community/index.php?topic=21919.0), into the profile_comments table and confirm that the 'time' column exists?
Nope that is not there.
Title: Re: Ultimate Profile
Post by: deganu on September 07, 2009, 08:38:46 PM
I uploaded ultimate profile without a hitch. Then I went to check the profile and I got the following error:
QuoteUnknown column 'com.time' in 'field list'
File: /home/saisig/www/www/smf/Sources/Profile.php
Line: 1494

I am running 1.1.9 and have attached my profile.php file below. Please help me figure out what is wrong. Thank you.
Title: Re: Ultimate Profile
Post by: excon on September 07, 2009, 09:02:55 PM
Quote from: tyty1234 on September 07, 2009, 01:59:41 PM
Quote from: excon on September 07, 2009, 04:49:17 AM
Hi.. Please advise how I can put the "member awards" mod on ultimate profile.
Thanks in advance.
It should work regardless if you have ultimate profile or not, unless you're asking for something specific?

Hi Tyty, I want the awards visible on ultimate profile. is there any way?

i already post new topic for this including the details of how i wanted it to look like.

http://www.simplemachines.org/community/index.php?topic=335161.0
Title: Re: Ultimate Profile
Post by: tyty1234 on September 07, 2009, 09:28:47 PM
Quote from: NBK*Twitch on September 07, 2009, 07:33:27 PM
Quote from: tyty1234 on September 05, 2009, 07:34:22 PM
Quote from: NBK*Twitch on September 05, 2009, 03:41:06 PM
Quote from: tyty1234 on September 05, 2009, 03:37:14 PM
Did you make the DB changes?
Yes I did everything it said.

The profile view is now in the post above you.

Can you go into phpMyAdmin (http://www.simplemachines.org/community/index.php?topic=21919.0), into the profile_comments table and confirm that the 'time' column exists?
Nope that is not there.
Try downloading the sql file in this post (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063).

Quote from: excon on September 07, 2009, 09:02:55 PM
Quote from: tyty1234 on September 07, 2009, 01:59:41 PM
Quote from: excon on September 07, 2009, 04:49:17 AM
Hi.. Please advise how I can put the "member awards" mod on ultimate profile.
Thanks in advance.
It should work regardless if you have ultimate profile or not, unless you're asking for something specific?

Hi Tyty, I want the awards visible on ultimate profile. is there any way?

i already post new topic for this including the details of how i wanted it to look like.

http://www.simplemachines.org/community/index.php?topic=335161.0
Can you provide me a link to one of the profiles on your site with permission for guests to see user's profiles?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 07, 2009, 09:44:51 PM
My db name is twitch_smf1 so it is not working :[.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 07, 2009, 09:49:42 PM
If that is the case, you can change the prefix. ;)
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 12:26:51 AM
Quote from: tyty1234 on September 07, 2009, 09:49:42 PM
If that is the case, you can change the prefix. ;)
I kinda don't want too as some other stuff is using that prefix and I forget which those are lol.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 12:35:23 AM
That's actually not what I meant.
I meant change the prefix in the sql file. :P
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 12:45:49 AM
Quote from: tyty1234 on September 08, 2009, 12:35:23 AM
That's actually not what I meant.
I meant change the prefix in the sql file. :P
Oh lol.. I open the sql with notepad++ I assume?
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 12:48:05 AM
That would be correct, yes. :)
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 12:52:18 AM
Quote from: tyty1234 on September 08, 2009, 12:48:05 AM
That would be correct, yes. :)
Humm where is it located <.<.

Edit: I cannot figure out what to edit.

I am getting an error like this -


SQL query:     
          ------------------------------------------------ --
-- File: "ult-profile_tablefix.sql" --
-- Created by: tyty1234 --
-- Date Created: Jul 26 2009 at 3:40pm PST --
------------------------------------------------ --
-- Create table for Ultimate Profile Buddies --
CREATE  TABLE  IF  NOT  EXISTS  `smf_buddies` ( `id_member` mediumint( 8  )  NOT  NULL default  '0',
`buddy_id` mediumint( 8  )  NOT  NULL default  '0',
`approved` smallint( 1  )  NOT  NULL default  '0',
`position` tinyint( 4  )  NOT  NULL default  '0',
`time_updated` int( 11  )  NOT  NULL default  '0',
`requested` mediumint( 8  )  NOT  NULL default  '0') ENGINE  =  MYISAM  DEFAULT CHARSET  = latin1;

     
     MySQL said:    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--------------------------------------------------
-- File: "ult-profile_tablef' at line 1
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 01:07:44 AM
In notepad++, hit CTRL + F, click on the replace tab, in the Find field, insert "smf_" (without the quotes) and in the replace field, insert your db prefix. Then hit Replace All.
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 01:14:53 AM
Quote from: tyty1234 on September 08, 2009, 01:07:44 AM
In notepad++, hit CTRL + F, click on the replace tab, in the Find field, insert "smf_" (without the quotes) and in the replace field, insert your db prefix. Then hit Replace All.
I am still getting the error.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 01:19:44 AM
did you use the right prefix?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 01:21:35 AM
Quote from: tyty1234 on September 08, 2009, 01:19:44 AM
did you use the right prefix?
Yes
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 01:27:42 AM
Can you post a screenshot of the profile_comments table?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 01:32:19 AM
Quote from: tyty1234 on September 08, 2009, 01:27:42 AM
Can you post a screenshot of the profile_comments table?
Sure here ya go -

http://tinypic.com/view.php?pic=2rp615z&s=3
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 01:43:44 AM
Since you are using SMF 2.0 RC1.2, click on Check All, then hit the edit button. (the pencil) Then change the column names to lowercase instead of uppercase, and hit save.
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 01:58:10 AM
Quote from: tyty1234 on September 07, 2009, 09:28:47 PM
Can you provide me a link to one of the profiles on your site with permission for guests to see user's profiles?

Hi Tyty,
please see this link (http://www.pinoypad.net/forum/profile/coated_pill/). it will show you the profile of one of my member.
thanks again  :)
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 02:10:27 AM
Hmm, can you attach your Profile.template.php file?
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 02:16:32 AM
Hi Tyty, please see attached profile.template.php
thanks a lot! :)
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 02:20:37 AM
I apologize, can you attach your UltimateProfile.template.php file as well?  :)
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 02:22:28 AM
ok..no problem.. :D

Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 02:32:34 AM
hm..somehow, $context['categories'] is passing as empty, the way I see it. I see $context is globalized, but maybe 'categories' is seen as an undefined index somehow, which is strange, because UltimateProfile uses Profile.php. Just out of curiosity, does your Forum Error Log contain a "Undefined index 'categories'" error?
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 02:45:47 AM
i checked my error log but i didn't see any error like that.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 02:58:29 AM
not sure what else could cause the awards to not show....the code is there...but i have no idea why it is not showing.
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 03:03:20 AM
Thanks for your help Tyty.
I hope someone comes and help me here.. :'(
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 03:21:03 AM
Quote from: tyty1234 on September 08, 2009, 02:32:34 AM
hm..somehow, $context['categories'] is passing as empty, the way I see it. I see $context is globalized, but maybe 'categories' is seen as an undefined index somehow, which is strange, because UltimateProfile uses Profile.php. Just out of curiosity, does your Forum Error Log contain a "Undefined index 'categories'" error?

in case there is an error like "Undefined index 'categories'" error, how can i resolve this?

thanks in advance. :)
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?
Title: Re: Ultimate Profile
Post by: excon on September 08, 2009, 04:25:06 AM
Quote from: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?

i'm using this one >> Member Awards by Frustrate (http://custom.simplemachines.org/mods/index.php?mod=475) version memberawards_1-1_1-1-1
Title: Re: Ultimate Profile
Post by: kanderson88 on September 08, 2009, 04:49:17 AM
Quote1.   Execute Modification   ./Sources/Profile.php   Test failed
   1.   Add After   ./Sources/Profile.php   Test successful
   2.   Add Before   ./Sources/Profile.php   Test successful
   3.   Add Before   ./Sources/Profile.php   Test successful
   4.   Replace   ./Sources/Profile.php   Test successful
   5.   Add Before   ./Sources/Profile.php   Test failed
   6.   Add Before   ./Sources/Profile.php   Test successful
   2.   Execute Modification   ./Sources/Profile-Actions.php   Test successful
   3.   Execute Modification   ./Sources/Profile-Modify.php   Test successful
   4.   Execute Modification   ./Sources/Profile-View.php   Test successful
   5.   Execute Modification   ./Themes/default/Profile.template.php   Test successful
   6.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   7.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful
8.   Execute Modification   ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php   Skipping file
   9.   Execute Modification   ./index.php   Test successful
   10.   Execute Modification   ./Sources/Admin.php   Test successful
   11.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
   12.   Execute Modification   ./Sources/Subs-Members.php   Test successful

TWO test failed on forum 2.0 rc1.2
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 07:52:09 AM
Quote from: kanderson88 on September 08, 2009, 04:49:17 AM
Quote1.   Execute Modification   ./Sources/Profile.php   Test failed
   1.   Add After   ./Sources/Profile.php   Test successful
   2.   Add Before   ./Sources/Profile.php   Test successful
   3.   Add Before   ./Sources/Profile.php   Test successful
   4.   Replace   ./Sources/Profile.php   Test successful
   5.   Add Before   ./Sources/Profile.php   Test failed
   6.   Add Before   ./Sources/Profile.php   Test successful
   2.   Execute Modification   ./Sources/Profile-Actions.php   Test successful
   3.   Execute Modification   ./Sources/Profile-Modify.php   Test successful
   4.   Execute Modification   ./Sources/Profile-View.php   Test successful
   5.   Execute Modification   ./Themes/default/Profile.template.php   Test successful
   6.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   7.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful
8.   Execute Modification   ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php   Skipping file
   9.   Execute Modification   ./index.php   Test successful
   10.   Execute Modification   ./Sources/Admin.php   Test successful
   11.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
   12.   Execute Modification   ./Sources/Subs-Members.php   Test successful

TWO test failed on forum 2.0 rc1.2


Actually, it's the same file:  Sources/Profile.php.

Pull the Profile.php file from your Sources folder (found in your forum directory) and save it to your desktop.  It probably already has edits on it from other mods.  Get a clean Profile.php (taken from your SMF 2.0 rc1.2 zip) and upload it to forum/Sources and go ahead and install the mod.  Your tests should pass, this time.  After doing this, you'll want to go to Ultimate Profile's mod page and find the parsing instructions (for your version of SMF) for the Profile.php and make those manual edits to the file that you saved on your desktop.  Then, reupload it to your forum/Sources folder.  This will keep all your other mods intact, while also providing the necessary edits for Ultimate Profile.

Title: Re: Ultimate Profile
Post by: deganu on September 08, 2009, 10:56:20 AM
*waits patiently for a response to her inquiry (bottom of page 40), doesn't want to be forgotten*  :D
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 11:02:22 AM
Quote from: deganu on September 07, 2009, 08:38:46 PM
I uploaded ultimate profile without a hitch. Then I went to check the profile and I got the following error:
QuoteUnknown column 'com.time' in 'field list'
File: /home/saisig/www/www/smf/Sources/Profile.php
Line: 1494

I am running 1.1.9 and have attached my profile.php file below. Please help me figure out what is wrong. Thank you.



I didn't find anything on page 40, deganu, but I did find this post.  Is this the one you're referring to?

For this issue, please download the attached file, place it in your forum's root directory and point your browser to it.  Then let me know if you still get the error.

If this isn't the post you were referring to, would you post a link to it?


Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 01:08:59 PM
Quote from: tyty1234 on September 08, 2009, 01:43:44 AM
Since you are using SMF 2.0 RC1.2, click on Check All, then hit the edit button. (the pencil) Then change the column names to lowercase instead of uppercase, and hit save.
Okay did that now what?
Title: Re: Ultimate Profile
Post by: deganu on September 08, 2009, 01:10:00 PM
Yeah, that was the post I was talking about. I uploaded the upgrade.php to my forums root, pointed my browser to it and got the following message:

QuoteThe upgrader found some old or outdated language files.

Please make certain you uploaded the new versions of all the files included in the package, even the theme and language files for the default theme.
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 02:18:21 PM
Quote from: deganu on September 08, 2009, 01:10:00 PM
Yeah, that was the post I was talking about. I uploaded the upgrade.php to my forums root, pointed my browser to it and got the following message:

QuoteThe upgrader found some old or outdated language files.

Please make certain you uploaded the new versions of all the files included in the package, even the theme and language files for the default theme.



deganu, take a look at this link, then:

http://www.simplemachines.org/community/index.php?topic=319482.msg2123351#msg2123351 (http://www.simplemachines.org/community/index.php?topic=319482.msg2123351#msg2123351)



ETA:   If you're RC1.2, this link, instead:

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)
Title: Re: Ultimate Profile
Post by: dumblonde on September 08, 2009, 02:27:11 PM
Just installed, seemed to go smoothly.  Turned it on &  but when I go to my profile summary it now says:

Unknown column 'com.time' in 'field list'
File: /home/dumbscre/public_html/coopernation.net/Sources/Profile-View.php
Line: 228

I see the table fix package but that was an ask & answer for a 1.1.x board.  I am running 2.0 RC1.2.  Is this table fix package good to use on 2.0?


Thanks
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 02:32:49 PM
Quote from: dumblonde on September 08, 2009, 02:27:11 PM
Just installed, seemed to go smoothly.  Turned it on &  but when I go to my profile summary it now says:

Unknown column 'com.time' in 'field list'
File: /home/dumbscre/public_html/coopernation.net/Sources/Profile-View.php
Line: 228

I see the table fix package but that was an ask & answer for a 1.1.x board.  I am running 2.0 RC1.2.  Is this table fix package good to use on 2.0?


Thanks



The attachments on this link are for RC1.2.   I'd try uploading the Database.php to your forum root and pointing your browser to it.

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)
Title: Re: Ultimate Profile
Post by: dumblonde on September 08, 2009, 02:54:52 PM
I assume my root is located at "/public_html/mySMFsite.net"?


I added the database.php file there & pointed my site to it but the error is still showing just like it was before  :o
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 03:04:19 PM
Quote from: dumblonde on September 08, 2009, 02:54:52 PM
I assume my root is located at "/public_html/mySMFsite.net"?


I added the database.php file there & pointed my site to it but the error is still showing just like it was before  :o


Then you may want to use the Table Fix (that other attachment). 

Beginning with this post:

http://www.simplemachines.org/community/index.php?topic=298641.msg2244945#msg2244945 (http://www.simplemachines.org/community/index.php?topic=298641.msg2244945#msg2244945)

follow the conversation between NBK*twitch and tyty1234.  It's gets a bit hard to follow, as other people are posting but if you follow Ty's instructions, it should get you sorted.

:)
Title: Re: Ultimate Profile
Post by: dumblonde on September 08, 2009, 04:32:19 PM
Do I upload & install the table fix through the package manager just like I would a regular MOD?
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 05:04:57 PM
Quote from: dumblonde on September 08, 2009, 04:32:19 PM
Do I upload & install the table fix through the package manager just like I would a regular MOD?


You should be able to import it into your database or, if you like, open it with a text editor and copy each query and manually run the query.  If you've not done that before, your server will talk you through it.   :)

Before you begin, out of curiosity, do you tables all begin with smf_?
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 08, 2009, 05:24:15 PM
A small update on my problem.

It seems my smf table prefix is smf_.

So I tried the original version and it still refused to work.

I just thought I would let you know.
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 05:28:19 PM
Quote from: NBK*Twitch on September 08, 2009, 05:24:15 PM
A small update on my problem.

It seems my smf table prefix is smf_.

So I tried the original version and it still refused to work.

I just thought I would let you know.



That last .sql file that Ty gave you should work, then, if you import it into your database via MyPhpAdmin (or whatever you use).  It might be worth it to give your server a call and tell them what it is you're trying to do and see if they'll help you create the new tables.  You may need to go ahead and import the file and then they can access your CP and take a look at it for you.

:)
Title: Re: Ultimate Profile
Post by: foxchild on September 08, 2009, 06:44:22 PM
Quote from: foxchild on September 01, 2009, 01:50:36 PM
I  am having an issue with buddies not showing up in the online list in the info center, nor are the user online/offline icons showing the buddies in the member list.  Buddies do show up inside of profiles. 

It was suggested that it was related to having Ultimate Profile installed.  I'm running off of a new, clean install of SMF 2.0 RC1.2.  At the time of install, I only had one other mod installed (Baker's Dozen).  All buddies were added after the install of Ultimate Profile and I have not had any errors show up.

I run another forum that is SMF 1.1.10 and it also has Ultimate Profile installed, yet it does not have this same issue with the buddies.  It seems to be a 2.x issue only.

Does anyone have any suggestions of what I can do to get this issue fixed?

Quote from: foxchild on September 01, 2009, 08:53:47 PM
Quote from: gbsothere on September 01, 2009, 02:01:09 PM
I'm sure this has already been suggested to you, foxchild, but on your 2.0 forum, have you gone to Admin----->Configuration------>Features and Options---->General and checked to "Enable Buddy lists"?

Yes, it is turned on.  Like I said, the buddies are showing up as buddies in the profiles, but not in the online list or in the member list.

Quote from: foxchild on September 05, 2009, 07:09:25 PM
Quote from: gbsothere on September 01, 2009, 09:16:00 PM
foxchild, you might want to compare your original ManageSettings.php and Subs-Members.php to your edited ones and see if something not pertaining to either mod was overwritten.

I think my response probably got lost.  I didn't see anything that this mod overwrote on install in either of those files.  I did uninstall and see if the buddies would work and they appear to, at least in Firefox but not in IE.

I still have not been able to find a solution to this issue.  Is there anyway to know for certain if it is an Ultimate Profile issue or if is an issue that is specific to the 2.x version?
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 06:50:27 PM
I noticed you asked about this on the 2.x Support board.  If I remember, you said that unintalling Ultimate Profile caused buddies to once again appear in the info center, or am I mistaken about that?

Title: Re: Ultimate Profile
Post by: foxchild on September 08, 2009, 06:51:32 PM
It did only for Firefox.  I haven't been able to get them to work at all in IE.
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 06:53:26 PM
Quote from: foxchild on September 08, 2009, 06:51:32 PM
It did only for Firefox.  I haven't been able to get them to work at all in IE.


Even before the Ultimate Profile install, foxchild?


ETA: 

Just leaving this thought for you as I head out for dinner.  If the buddies online never did show in your info center in IE, then you might consider posting a thread in Coding and asking someone there to look at your BoardIndex.template.php to determine if some modification can be done to cause the info center to behave for IE as it does for Firefox.



Title: Re: Ultimate Profile
Post by: foxchild on September 08, 2009, 07:09:36 PM
I didn't test in IE until after I'd done the install.  It was working on Firefox before I installed Ultimate Profile.  The difference between Firefox and IE looks to be a RC 1.2 issue.

I did notice that if a buddy is sitting between being added (Member A adding Member B as a buddy) and being approved (Member B approving Member A's request), that Member A will see Member B as a buddy in both the info center and in the member list, but Member B does not see Member A as a buddy in either place.  Once Member B approves Member A, neither one are seeing the other as a buddy.
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 07:15:04 PM
Quote from: foxchild on September 08, 2009, 07:09:36 PM
I didn't test in IE until after I'd done the install.  It was working on Firefox before I installed Ultimate Profile.  The difference between Firefox and IE looks to be a RC 1.2 issue.

I did notice that if a buddy is sitting between being added (Member A adding Member B as a buddy) and being approved (Member B approving Member A's request), that Member A will see Member B as a buddy in both the info center and in the member list, but Member B does not see Member A as a buddy in either place.  Once Member B approves Member A, neither one are seeing the other as a buddy.


That does sound like an issue between Ultimate Profile and RC1.2.   I'll be honest with you, although I have it installed on my RC1.2 test site, I've not really tested out all the features, since I'm testing other things presently and my live forums are still 1.1.10.  I'll give it a go in a bit and see if I can replicate what's happening to you.

:)
Title: Re: Ultimate Profile
Post by: foxchild on September 08, 2009, 07:18:41 PM
Thank you very much!
Title: Re: Ultimate Profile
Post by: gbsothere on September 08, 2009, 09:41:52 PM
@foxchild

I see what you mean (to some degree).  I created a few new accounts on my RC1.2 test site and sent and received buddy invitations.  Now....  looking from the vantage point of all the members, I could see the buddies in all the profiles.  But no "buddies" show up in the forum info center.  Not only are the buddies' names not in bold font, but the stat actually says "0 Buddies". 

Unfortunately, it will take either JovanT (who is pretty busy just now and not able to get to this thread very often) or some shrewd coder who peeks in on the thread and can shed some light on why this is happening.  But, I agree, it's only happening on RC1.2 and not on 1.1.10.

Title: Re: Ultimate Profile
Post by: foxchild on September 08, 2009, 10:01:38 PM
Thank you for looking into it!
Title: Re: Ultimate Profile
Post by: tyty1234 on September 08, 2009, 11:58:52 PM
Quote from: excon on September 08, 2009, 04:25:06 AM
Quote from: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?

i'm using this one >> Member Awards by Frustrate (http://custom.simplemachines.org/mods/index.php?mod=475) version memberawards_1-1_1-1-1
Ok, after taking a quick look into how the mod is installed, the functions that are needed to show the awards, is in a different function, then the function to display the profile. You may want to consult with the mod author to figure out how you would include the awards stuff in the profile function.

You could simply copy and paste the awards function (showAwards) into, the profile function (summary), but I'm not sure if that would work well.
Title: Re: Ultimate Profile
Post by: kanderson88 on September 09, 2009, 02:15:36 AM
thankyou, i got it to work, but one problem your website/smf forum is not working...

also what is the type of css were aloud to edit? gotta give us like codes that we can edit.
Title: Re: Ultimate Profile
Post by: excon on September 09, 2009, 05:26:23 AM
Quote from: tyty1234 on September 08, 2009, 11:58:52 PM
Quote from: excon on September 08, 2009, 04:25:06 AM
Quote from: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?

i'm using this one >> Member Awards by Frustrate (http://custom.simplemachines.org/mods/index.php?mod=475) version memberawards_1-1_1-1-1
Ok, after taking a quick look into how the mod is installed, the functions that are needed to show the awards, is in a different function, then the function to display the profile. You may want to consult with the mod author to figure out how you would include the awards stuff in the profile function.

You could simply copy and paste the awards function (showAwards) into, the profile function (summary), but I'm not sure if that would work well.

Thanks tyty1234.. i'll try that one but can you advice where I can find function showawards.
Title: Re: Ultimate Profile
Post by: gbsothere on September 09, 2009, 07:57:27 AM
Quote from: kanderson88 on September 09, 2009, 02:15:36 AM
thankyou, i got it to work, but one problem your website/smf forum is not working...

also what is the type of css were aloud to edit? gotta give us like codes that we can edit.


Yes, JovanT's main site is in maintenance mode.   :)

If you're looking for sample CSS to be able to customize your profile, ElectricSquid has very generously made his tutorial available here:

http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help (http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help)

You can place the script in any text editor and play around with the colors, background images, etc.  Just paste it in your Customization box and tweak it a bit until you're happy with it.

Title: Re: Ultimate Profile
Post by: MattH41 on September 09, 2009, 12:54:52 PM
Any chance of someone helping me figure out below? Thanks!

Quote from: MattH41 on August 18, 2009, 09:09:02 PM
Hopefully someone can help me with this. I assume it just involves changing a default value in the database, but I cannot for the life of my find it.

Instead of using Enable Ultimate Profile for all profiles options, I want to change the default individual user option from disable to enabled. This way when a new user registered Ultimate Profile is on by default, but if users decide they would prefer not to use Ultimate Profile they can turn it off.

Do I make sense? Can someone help me with this?

If you need to see my site for some reason check http://www.furcartzone.com (Note, the enable for all profiles option is currently on.)
Title: Re: Ultimate Profile
Post by: gbsothere on September 09, 2009, 01:11:20 PM
You're using RC1.2, aren't you, Matt?

Two things....   I just went over to my RC1.2 test site and created a couple of "newbie" accounts and logged in with them.   Logging in as a first time, then clicking on Profile, it is the Ultimate Profile template that comes up for me.

But, interesting.....   this is the first time I've ever realized that the option "Enable Ultimate Profile" (and one assumes that unchecking it would disable it) does not appear in RC1.2 but it does in 1.1.10.   Very odd. 

I'm no coder so someone else will need to jump in here, but I'm curious enough to try compare the two templates (1.1.10 and 2.X) to look for that bit of code.

::)
Title: Re: Ultimate Profile
Post by: MattH41 on September 09, 2009, 02:01:19 PM
If "Enable ultimate profile for all members" is checked in config settings. Then the "enable ultimate profile" option is not available in individual profiles.

What I want to do is have "Enable ultimate profile for all members" unchecked. But instead of having "enable ultiamte profile" unchecked by default for new users, I want it to be checked by default and allow them to turn it off if they wish.
Title: Re: Ultimate Profile
Post by: gbsothere on September 09, 2009, 02:06:01 PM
Quote from: MattH41 on September 09, 2009, 02:01:19 PM
If "Enable ultimate profile for all members" is checked in config settings. Then the "enable ultimate profile" option is not available in individual profiles.

What I want to do is have "Enable ultimate profile for all members" unchecked. But instead of having "enable ultiamte profile" unchecked by default for new users, I want it to be checked by default and allow them to turn it off if they wish.


Right.  It's still available in 1.1.10 as an individual option, even with "all members" checked in Admin, but not in 2.x. 

I'm eager to see if JovanT or someone else offers the solution because it's a great idea and makes sense.  I'm sorry that I was no help, but someone else with a better grasp on things will be. 

Title: Re: Ultimate Profile
Post by: gbsothere on September 09, 2009, 02:07:48 PM

Quote from: MattH41 on September 09, 2009, 02:01:19 PM
If "Enable ultimate profile for all members" is checked in config settings. Then the "enable ultimate profile" option is not available in individual profiles.

What I want to do is have "Enable ultimate profile for all members" unchecked. But instead of having "enable ultiamte profile" unchecked by default for new users, I want it to be checked by default and allow them to turn it off if they wish.


Right.  It's still available in 1.1.10 as an individual option, even with "all members" checked in Admin, but not in 2.x.  And disabling in Admin brings back the individual option.  I see that now; I'd missed it.

I'm eager to see if JovanT or someone else offers the solution because it's a great idea and makes sense.  I'm sorry that I was no help, but someone else with a better grasp on things will be.
Title: Re: Ultimate Profile
Post by: excon on September 10, 2009, 01:04:38 AM
Quote from: excon on September 09, 2009, 05:26:23 AM
Quote from: tyty1234 on September 08, 2009, 11:58:52 PM
Quote from: excon on September 08, 2009, 04:25:06 AM
Quote from: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?

i'm using this one >> Member Awards by Frustrate (http://custom.simplemachines.org/mods/index.php?mod=475) version memberawards_1-1_1-1-1
Ok, after taking a quick look into how the mod is installed, the functions that are needed to show the awards, is in a different function, then the function to display the profile. You may want to consult with the mod author to figure out how you would include the awards stuff in the profile function.

You could simply copy and paste the awards function (showAwards) into, the profile function (summary), but I'm not sure if that would work well.

Thanks tyty1234.. i'll try that one but can you advice where I can find function showawards.

this not successful.. please give me a hand here.. :-[
Title: Re: Ultimate Profile
Post by: tyty1234 on September 10, 2009, 02:20:30 AM
Quote from: excon on September 10, 2009, 01:04:38 AM
Quote from: excon on September 09, 2009, 05:26:23 AM
Quote from: tyty1234 on September 08, 2009, 11:58:52 PM
Quote from: excon on September 08, 2009, 04:25:06 AM
Quote from: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?

i'm using this one >> Member Awards by Frustrate (http://custom.simplemachines.org/mods/index.php?mod=475) version memberawards_1-1_1-1-1
Ok, after taking a quick look into how the mod is installed, the functions that are needed to show the awards, is in a different function, then the function to display the profile. You may want to consult with the mod author to figure out how you would include the awards stuff in the profile function.

You could simply copy and paste the awards function (showAwards) into, the profile function (summary), but I'm not sure if that would work well.

Thanks tyty1234.. i'll try that one but can you advice where I can find function showawards.

this not successful.. please give me a hand here.. :-[
showAwards() should be in the Profile.php file. :)
Title: Re: Ultimate Profile
Post by: meehan09 on September 10, 2009, 04:07:13 PM
Ive today installed ultimate profile, but when i go into admin panel in error logs iam getting this error!

Today at 21:05:33
d83bcb5d230ae08e9fd4a7d750ea1624
Type of error: Undefined

http://www.exoticforums.co.uk/forum/index.php?action=admin;area=logs;e3726d04ecc8=d83bcb5d230ae08e9fd4a7d750ea1624

8: Undefined index: ultimate_profile

File: /home/reptiles/public_html/forum/Sources/Admin.php

Line: 217


If anyone can help me fix this error that would be excellent, thanks in advance.


Paul
Title: Re: Ultimate Profile
Post by: gbsothere on September 10, 2009, 05:35:08 PM
Quote from: meehan09 on September 10, 2009, 04:07:13 PM
Ive today installed ultimate profile, but when i go into admin panel in error logs iam getting this error!

Today at 21:05:33
d83bcb5d230ae08e9fd4a7d750ea1624
Type of error: Undefined

http://www.exoticforums.co.uk/forum/index.php?action=admin;area=logs;e3726d04ecc8=d83bcb5d230ae08e9fd4a7d750ea1624

8: Undefined index: ultimate_profile

File: /home/reptiles/public_html/forum/Sources/Admin.php

Line: 217


If anyone can help me fix this error that would be excellent, thanks in advance.


Paul



I noticed elsewhere on the boards, Paul, that you're getting almost an identical error with the Watermark mod.  What version of SMF are you using and which zip of Ultimate Profile did you download?

ETA:  The lines for both mods are very close in location.  Can you attach your Admin.php?
Title: Re: Ultimate Profile
Post by: meehan09 on September 10, 2009, 06:50:43 PM
Quote from: gbsothere on September 10, 2009, 05:35:08 PM
I noticed elsewhere on the boards, Paul, that you're getting almost an identical error with the Watermark mod.  What version of SMF are you using and which zip of Ultimate Profile did you download?

ETA:  The lines for both mods are very close in location.  Can you attach your Admin.php?


I managed to fix this by clearing file cache in admin panel. Im not sure why that was needed but its seemed to fix the errors now :)

Thanks anyways much appriciated.
Title: Re: Ultimate Profile
Post by: gbsothere on September 10, 2009, 06:58:14 PM
Quote from: meehan09 on September 10, 2009, 06:50:43 PM

I managed to fix this by clearing file cache in admin panel. Im not sure why that was needed but its seemed to fix the errors now :)

Thanks anyways much appriciated.



(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: cxk on September 10, 2009, 08:13:03 PM
I downloaded this, installed it on the latest version 1.1.10.  It works, but theres no option to add a friend.  Do i need another mod?  This was the main reason I was wanting this mod.  Please help!
Title: Re: Ultimate Profile
Post by: gbsothere on September 10, 2009, 08:15:43 PM
Quote from: cxk on September 10, 2009, 08:13:03 PM
I downloaded this, installed it on the latest version 1.1.10.  It works, but theres no option to add a friend.  Do i need another mod?  This was the main reason I was wanting this mod.  Please help!



Go to Admin------> Features and Options and click "Enable Buddy Lists".     :)
Title: Re: Ultimate Profile
Post by: cxk on September 10, 2009, 08:27:29 PM
Quote from: gbsothere on September 10, 2009, 08:15:43 PM
Quote from: cxk on September 10, 2009, 08:13:03 PM
I downloaded this, installed it on the latest version 1.1.10.  It works, but theres no option to add a friend.  Do i need another mod?  This was the main reason I was wanting this mod.  Please help!



Go to Admin------> Features and Options and click "Enable Buddy Lists".     :)

wow...I dont remember seeing that.  I looked all over my admin panel for an hour!  haha thanks.
Title: Re: Ultimate Profile
Post by: gbsothere on September 10, 2009, 08:36:49 PM
Quote from: cxk on September 10, 2009, 08:27:29 PM

wow...I dont remember seeing that.  I looked all over my admin panel for an hour!  haha thanks.



Happens to all of us.    ;)
Title: Re: Ultimate Profile
Post by: Dzonny on September 11, 2009, 07:26:32 AM
Is there a way to display last uploaded pictures of users in portal or on some page with ssi or somehow??
Title: Re: Ultimate Profile
Post by: lindaf on September 11, 2009, 12:44:04 PM
I'm not sure what I did wrong.  maybe downloaded the wrong version of this mod??

My forum is now running 1.1.10 -

I downloaded ultimate profile mod and went to pkg mgr to install this is what it told me when I went to install it.

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Profile.php Test failed
2. Execute Modification ./Sources/Profile-Actions.php File not found
3. Execute Modification ./Sources/Profile-Modify.php File not found
4. Execute Modification ./Sources/Profile-View.php File not found
5. Execute Modification ./Themes/default/Profile.template.php Test failed
6. Execute Modification ./Sources/ManageSettings.php File not found
7. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
8. Execute Modification ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php Skipping file
9. Execute Modification ./index.php Test successful
10. Execute Modification ./Sources/Admin.php Test failed
11. Execute Modification ./Sources/ManagePermissions.php Test failed
12. Execute Modification ./Sources/Subs-Members.php Test failed
13. Extract Tree ./Sources 
14. Extract Tree ./Themes 
15. Extract Tree ./profile_pictures 
16. Execute Code database.php

can anyone help??

I downloaded this file thinking it is the current one ultimate_profile-0-9_20rc1.zip
did I get the right one?

Title: Re: Ultimate Profile
Post by: tyty1234 on September 11, 2009, 12:48:56 PM
Quote from: Dzonny on September 11, 2009, 07:26:32 AM
Is there a way to display last uploaded pictures of users in portal or on some page with ssi or somehow??
I'm pretty sure with a few queries that Ultimate Profile uses, you can grab the pictures from the profile_pictures table. I would look more into this, but at the moment I don't have much time. ;)
Title: Re: Ultimate Profile
Post by: gbsothere on September 11, 2009, 12:53:27 PM
Quote from: lindaf on September 11, 2009, 12:44:04 PM
I'm not sure what I did wrong.  maybe downloaded the wrong version of this mod??

My forum is now running 1.1.10 -

I downloaded ultimate profile mod and went to pkg mgr to install this is what it told me when I went to install it.

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Profile.php Test failed
2. Execute Modification ./Sources/Profile-Actions.php File not found
3. Execute Modification ./Sources/Profile-Modify.php File not found
4. Execute Modification ./Sources/Profile-View.php File not found
5. Execute Modification ./Themes/default/Profile.template.php Test failed
6. Execute Modification ./Sources/ManageSettings.php File not found
7. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
8. Execute Modification ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php Skipping file
9. Execute Modification ./index.php Test successful
10. Execute Modification ./Sources/Admin.php Test failed
11. Execute Modification ./Sources/ManagePermissions.php Test failed
12. Execute Modification ./Sources/Subs-Members.php Test failed
13. Extract Tree ./Sources 
14. Extract Tree ./Themes 
15. Extract Tree ./profile_pictures 
16. Execute Code database.php

can anyone help??

I downloaded this file thinking it is the current one ultimate_profile-0-9_20rc1.zip
did I get the right one?




No, lindaf, you need to download the first one, for 1.x.    :)
Title: Re: Ultimate Profile
Post by: lindaf on September 11, 2009, 01:17:42 PM
thanks!!  it looked kinda like an upgrade, so I didn't want to d/l what looked like the older one without asking. 

I got the RIGHT one now and it works GREAT!!!!  Oh.. it is awesome!!!  This mod really adds to the forum and will help to get people to want to keep coming back!!!

Thanks again!!!
Title: Re: Ultimate Profile
Post by: gbsothere on September 11, 2009, 01:41:00 PM
(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: Dzonny on September 11, 2009, 01:42:55 PM
Quote from: tyty1234 on September 11, 2009, 12:48:56 PM
Quote from: Dzonny on September 11, 2009, 07:26:32 AM
Is there a way to display last uploaded pictures of users in portal or on some page with ssi or somehow??
I'm pretty sure with a few queries that Ultimate Profile uses, you can grab the pictures from the profile_pictures table. I would look more into this, but at the moment I don't have much time. ;)

Thanks for your answer, i've waiting your answer...when you get some time ofc... :D

Regards.
Title: Re: Ultimate Profile
Post by: cxk on September 11, 2009, 10:31:29 PM
I went to apply this mod, using the proper version.  I went through any other profile mods I had and uninstalled them and still get it. 

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 successful
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  

If I go ahead and install I get this: Unknown column 'com.time' in 'field list' when I check my profile
File: /homepages/7/d152590395/htdocs/killerinstinct/forum/Sources/Profile.php
Line: 1488

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


Thanks!
Title: Re: Ultimate Profile
Post by: gbsothere on September 11, 2009, 10:46:47 PM
Since you went ahead and installed it with that failed test on the Profile.php, cxk, do this:   pull that Profile.php file off your server (use ftp, if you have it) and save it onto your desktop.  Apparently, other mods have edited that file before.  Go ahead and send up a clean Profile.php from your SMF zip file (the one you downloaded when you installed or upgraded your forum).  Then, put the attached file: upgrade.php in your forum's root and point your browser to it.  (You'll notice several attachments; that's because you have several issues going on at once.)  Since your database hasn't been upgraded since 1.1.1, go ahead and put that upgrade.php file in your forum's root, point your browser to it and proceed with the upgrade.  If you get a message about outdated files, click "Skip" if there's an option to do so and proceed. 

Now... you may get a "Smiley" error.  That's common when trying to upgrade.  If you do get a "Smiley" error, take both the attached upgrade_1_1.sql and ManageSmileys.php files and upload them to your server.  Make sure the upgrade_1_1.sql file goes into your forum's root directory where your upgrade.php file is and the ManageSmileys.php is in your forum's Sources folder.  Continue with the upgrade.  When you're done with the upgrade, remove both the upgrade.php and upgrade_1_1.sql files from your forum's root.

Check to see if things seem normal with Ultimate Profile, after you've enabled permissions for it: Admin----> Features and Options-----> Ultimate Profile---->Enable.  (Later, you'll want to go into the membergroups permissions area to enable it for different groups.)  If you get errors that suggest that tables are missing, then go to your Package Manager and browse, upload and apply the table_fix.zip.

After you're done with all this, you're going to want to finish this way:  that Profile.php file that you dragged from your server with edits in it from your other mods?  You want to go to Ultimate Profile's mod page and get the parsing instructions for that file and manually add Ultimate Profile's edits to it.  Then upload it to your forum's Sources folder so that your other mods will continue to function properly, as well as Ultimate Profile.
Title: Re: Ultimate Profile
Post by: cxk on September 11, 2009, 11:05:46 PM
Quote from: gbsothere on September 11, 2009, 10:46:47 PM
Since you went ahead and installed it with that failed test on the Profile.php, cxk, do this:   pull that Profile.php file off your server (use ftp, if you have it) and save it onto your desktop.  Apparently, other mods have edited that file before.  Go ahead and send up a clean Profile.php from your SMF zip file (the one you downloaded when you installed or upgraded your forum).  Then, put the attached file: upgrade.php in your forum's root and point your browser to it.  (You'll notice several attachments; that's because you have several issues going on at once.)  Since your database hasn't been upgraded since 1.1.1, go ahead and put that upgrade.php file in your forum's root, point your browser to it and proceed with the upgrade.  If you get a message about outdated files, click "Skip" if there's an option to do so and proceed. 

Now... you may get a "Smiley" error.  That's common when trying to upgrade.  If you do get a "Smiley" error, take both the attached upgrade_1_1.sql and ManageSmileys.php files and upload them to your server.  Make sure the upgrade_1_1.sql file goes into your forum's root directory where your upgrade.php file is and the ManageSmileys.php is in your forum's Sources folder.  Continue with the upgrade.  When you're done with the upgrade, remove both the upgrade.php and upgrade_1_1.sql files from your forum's root.

Check to see if things seem normal with Ultimate Profile, after you've enabled permissions for it: Admin----> Features and Options-----> Ultimate Profile---->Enable.  (Later, you'll want to go into the membergroups permissions area to enable it for different groups.)  If you get errors that suggest that tables are missing, then go to your Package Manager and browse, upload and apply the table_fix.zip.

After you're done with all this, you're going to want to finish this way:  that Profile.php file that you dragged from your server with edits in it from your other mods?  You want to go to Ultimate Profile's mod page and get the parsing instructions for that file and manually add Ultimate Profile's edits to it.  Then upload it to your forum's Sources folder so that your other mods will continue to function properly, as well as Ultimate Profile.

wow...that worked!  Thanks a lot, I thought there was no way that would work.  Another cool thing is the previous mod for profile comments carried over so everyone's old comments merged into the new mod!  Thanks again.
Title: Re: Ultimate Profile
Post by: gbsothere on September 11, 2009, 11:09:14 PM



(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: cxk on September 11, 2009, 11:49:04 PM
Hey, just one more question.  I've noticed I cant add anyone who's a moderator on the site as a friend.  Its kind of odd, they cant add me either.  Everyone else can do all of that, I checked the permissions unless theres some I missed.
Title: Re: Ultimate Profile
Post by: gbsothere on September 11, 2009, 11:54:18 PM
Quote from: cxk on September 11, 2009, 11:49:04 PM
Hey, just one more question.  I've noticed I cant add anyone who's a moderator on the site as a friend.  Its kind of odd, they cant add me either.  Everyone else can do all of that, I checked the permissions unless theres some I missed.


That's a bit odd.  Can moderators add regular members and vice versa, but just not mods and admins adding each other?


ETA:  I'm sorry, cxk, that I have to turn in.  I'm an old man.  *grin* 

I'll check back in the morning and, if no one has helped you with this, we'll figure it out.

:)
Title: Re: Ultimate Profile
Post by: cxk on September 12, 2009, 12:26:29 AM
Quote from: gbsothere on September 11, 2009, 11:54:18 PM
Quote from: cxk on September 11, 2009, 11:49:04 PM
Hey, just one more question.  I've noticed I cant add anyone who's a moderator on the site as a friend.  Its kind of odd, they cant add me either.  Everyone else can do all of that, I checked the permissions unless theres some I missed.

That's a bit odd.  Can moderators add regular members and vice versa, but just not mods and admins adding each other?


ETA:  I'm sorry, cxk, that I have to turn in.  I'm an old man.  *grin* 

I'll check back in the morning and, if no one has helped you with this, we'll figure it out.

:)
I held off on replying since i had some guys testing but theres just not a lot of people online now.  The only way I can force it to let me add my mods, is to copy the shortcut to add someone else, exchange the U= with the id number of the member I want to add.  It lets me do it then, but theres just no link.  This isnt just for mods ive noticed.  A few others in different member groups cant be added either.  Kind of odd.  I'm looking for anything in their profile that might be similar to see if something is messing with it.  If you want to check out the forum its www.killerinstinctonline.net/forum  if that helps.

No problem, I appreciate the help.  Its a bit late for me anyway haha.  I guess im old too.

Edit: Someone brought up a good point, I used to have an old mod for buddy lists.  It was a simple one that was more private, you just had a buddy list on your profile to see personally.  It seems like anyone we used to have on that list cant be added now.  I cant find the buddy list mod in my packages folder though.  This might just be a coincidence but it seems like that might be it to me.
Title: Re: Ultimate Profile
Post by: gbsothere on September 12, 2009, 09:02:25 AM
Quote from: cxk on September 12, 2009, 12:26:29 AM
I held off on replying since i had some guys testing but theres just not a lot of people online now.  The only way I can force it to let me add my mods, is to copy the shortcut to add someone else, exchange the U= with the id number of the member I want to add.  It lets me do it then, but theres just no link.  This isnt just for mods ive noticed.  A few others in different member groups cant be added either.  Kind of odd.  I'm looking for anything in their profile that might be similar to see if something is messing with it.  If you want to check out the forum its www.killerinstinctonline.net/forum  if that helps.

No problem, I appreciate the help.  Its a bit late for me anyway haha.  I guess im old too.

Edit: Someone brought up a good point, I used to have an old mod for buddy lists.  It was a simple one that was more private, you just had a buddy list on your profile to see personally.  It seems like anyone we used to have on that list cant be added now.  I cant find the buddy list mod in my packages folder though.  This might just be a coincidence but it seems like that might be it to me.


Actually, cxk, even without having previous buddy mods, what I discovered, back when I first began using this mod on my forums, is that anyone who had another member as a buddy before adding Ultimate Profile couldn't add them after this mod was installed.  You didn't mention getting the same error my posters were getting which was "This person is already your buddy!" but other than that, the issue was the same. 

What I had to do was go into my database and browse the table "smf_members".  If you look carefully, you will see a column for "buddy list".  I had to manually edit this and remove member ID numbers from that list before my posters could successfully add buddies.  The only posters who were successful before I did this were posters who had never asked certain other members before.  But if they'd had buddies before, then those had to be removed from that table.  I went ahead and purged the member ID numbers from the table "smf_buddies" as well.  Of course, I did it early on, and there weren't a lot to remove, but purging all the member IDs, (buddies) from both those tables reset everything and we've had no issues since then.

It's tedious, though, so I won't deceive you.  :)
Title: Re: Ultimate Profile
Post by: plusev on September 13, 2009, 12:22:08 AM
I noticed that Aeva functions in the About Me and My Interests boxes but not the My Media box.

Please advise, Thx
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:54:12 AM
Quote from: plusev on September 13, 2009, 12:22:08 AM
I noticed that Aeva functions in the About Me and My Interests boxes but not the My Media box.

Please advise, Thx




You can make a video appear in the media box, but you do have to include the entire You Tube embed code, rather than just the link to the video, as you would when posting. 

This is a screenshot from my 1.1.10 test board profile when posting the entire embed code, including the object tags:

(http://whereitestmystuff.com/images/aevashot.jpg)
Title: Re: Ultimate Profile
Post by: Nameless? on September 13, 2009, 07:29:29 AM
i think this mod needs to fix a little error coming up when u view the Profile page. its a cool mod and want to use it fully working. hope it will work  8)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 04:40:35 PM
Quote from: gbsothere on September 12, 2009, 09:02:25 AM
Quote from: cxk on September 12, 2009, 12:26:29 AM
I held off on replying since i had some guys testing but theres just not a lot of people online now.  The only way I can force it to let me add my mods, is to copy the shortcut to add someone else, exchange the U= with the id number of the member I want to add.  It lets me do it then, but theres just no link.  This isnt just for mods ive noticed.  A few others in different member groups cant be added either.  Kind of odd.  I'm looking for anything in their profile that might be similar to see if something is messing with it.  If you want to check out the forum its www.killerinstinctonline.net/forum  if that helps.

No problem, I appreciate the help.  Its a bit late for me anyway haha.  I guess im old too.

Edit: Someone brought up a good point, I used to have an old mod for buddy lists.  It was a simple one that was more private, you just had a buddy list on your profile to see personally.  It seems like anyone we used to have on that list cant be added now.  I cant find the buddy list mod in my packages folder though.  This might just be a coincidence but it seems like that might be it to me.


Actually, cxk, even without having previous buddy mods, what I discovered, back when I first began using this mod on my forums, is that anyone who had another member as a buddy before adding Ultimate Profile couldn't add them after this mod was installed.  You didn't mention getting the same error my posters were getting which was "This person is already your buddy!" but other than that, the issue was the same. 

What I had to do was go into my database and browse the table "smf_members".  If you look carefully, you will see a column for "buddy list".  I had to manually edit this and remove member ID numbers from that list before my posters could successfully add buddies.  The only posters who were successful before I did this were posters who had never asked certain other members before.  But if they'd had buddies before, then those had to be removed from that table.  I went ahead and purged the member ID numbers from the table "smf_buddies" as well.  Of course, I did it early on, and there weren't a lot to remove, but purging all the member IDs, (buddies) from both those tables reset everything and we've had no issues since then.

It's tedious, though, so I won't deceive you.  :)

I'll have to try that.   I noticed something else, there is no more option to edit signatures!  People still have their sigs but you cant edit them anymore theres no option.  Any reason you can think of?
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 04:51:46 PM
Quote from: cxk on September 13, 2009, 04:40:35 PM
I'll have to try that.   I noticed something else, there is no more option to edit signatures!  People still have their sigs but you cant edit them anymore theres no option.  Any reason you can think of?


What SMF version, cxk?  I'm can't find that on the other posts.

Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 04:53:26 PM
Quote from: gbsothere on September 13, 2009, 04:51:46 PM
Quote from: cxk on September 13, 2009, 04:40:35 PM
I'll have to try that.   I noticed something else, there is no more option to edit signatures!  People still have their sigs but you cant edit them anymore theres no option.  Any reason you can think of?
1.1.10

What SMF version, cxk?  I'm can't find that on the other posts.


Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:00:25 PM
You wouldn't edit the sig through the Ultimate Profile link; you'd still go to Forum Profile Information.  You're unable to edit, doing it that way?

Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 05:04:53 PM
Quote from: gbsothere on September 13, 2009, 05:00:25 PM
You wouldn't edit the sig through the Ultimate Profile link; you'd still go to Forum Profile Information.  You're unable to edit, doing it that way?



Theres no option on forum profile information anymore.  Its really odd.  I just noticed it looks like theres a spot for it but its just not there.
Screenshot: www.myfilespot.net/sig.jpeg
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:07:51 PM
Can you attach your Profile.template.php?

ETA:  Your Profile.php, as well, if you don't mind.
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 05:11:59 PM
sure
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:12:44 PM
Quote from: cxk on September 13, 2009, 05:11:59 PM
sure

I'm taking a look at this and, if you missed my edit, your Profile.php, as well.  :)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 05:14:30 PM
oops no i didnt see it.  here you go.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:26:44 PM
Do you remember doing any special editing on Profile.php to get around some sort of conflict with Ultimate Profile and another mod?  I'm finding a discrepancy in one bit of code that Ultimate Profile places.

Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 05:27:47 PM
Quote from: gbsothere on September 13, 2009, 05:26:44 PM
Do you remember doing any special editing on Profile.php to get around some sort of conflict with Ultimate Profile and another mod?  I'm finding a discrepancy in one bit of code that Ultimate Profile places.



No, i'm a total noob when it comes to php I dont touch it haha.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:33:47 PM
Unfortunately, it turned out to be only this bit, about the Aeva mod and it's because of the special symbol used.  It's always going to generate a mismatch. 

// Integration with AEVA mod (Thanks Nao 尚 ;))
if (isset($modSettings['aeva_enable']) && file_exists($sourcedir . '/Subs-Aeva.php')) {
@include_once($sourcedir . '/Subs-Aeva.php');
if (function_exists('aeva_onposting'))
$_POST['comment'] = aeva_onposting($_POST['comment']);
}

checkSession('post');



Both your Profile.php and Profile.template.php look fine, ckx.  Forgive me for asking this if you already told me, but are you using a custom theme?
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 05:36:21 PM
Quote from: gbsothere on September 13, 2009, 05:33:47 PM
Unfortunately, it turned out to be only this bit, about the Aeva mod and it's because of the special symbol used.  It's always going to generate a mismatch. 

// Integration with AEVA mod (Thanks Nao 尚 ;))
if (isset($modSettings['aeva_enable']) && file_exists($sourcedir . '/Subs-Aeva.php')) {
@include_once($sourcedir . '/Subs-Aeva.php');
if (function_exists('aeva_onposting'))
$_POST['comment'] = aeva_onposting($_POST['comment']);
}

checkSession('post');



Both your Profile.php and Profile.template.php look fine, ckx.  Forgive me for asking this if you already told me, but are you using a custom theme?


SMF Default Theme, i never used others since mods didnt work well with them.   And i didnt want to have to mess with the code.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:38:34 PM
I couldn't tell much by looking at your screenshot but do you have some sort of test account I can look at profile settings with?  You'd want to PM that info, instead of posting it here.  (A newbie account is fine, it doesn't need to have admin privileges.)
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 05:58:14 PM
cxk, I'm actually finding Forum Profile Information.  It's way down at the bottom below Buddies.  But when I do click on it, I see everything except signatures.  I'm just browsing around my own settings on my 1.1.10 test forum to see what else besides Admin-----> Current Theme-----> Reset Options----> "Reset all members' current options for the theme"  would be the culprit.  (I doubt if you have the "disable signatures" box there checked, because, as you said, you can see the sigs.)
Title: Re: Ultimate Profile
Post by: plusev on September 13, 2009, 06:01:12 PM
Quote from: gbsothere on September 13, 2009, 06:54:12 AM
Quote from: plusev on September 13, 2009, 12:22:08 AM
I noticed that Aeva functions in the About Me and My Interests boxes but not the My Media box.

Please advise, Thx

I was able to embed youtube as well. Strange that is all it seems you can do in a supposed "media" box. Seems to be an issue of how the boxes read html. Maybe that will change in an update??




You can make a video appear in the media box, but you do have to include the entire You Tube embed code, rather than just the link to the video, as you would when posting. 

This is a screenshot from my 1.1.10 test board profile when posting the entire embed code, including the object tags:

(http://whereitestmystuff.com/images/aevashot.jpg)
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:07:58 PM
Quote from: plusev on September 13, 2009, 06:01:12 PM
I was able to embed youtube as well. Strange that is all it seems you can do in a supposed "media" box. Seems to be an issue of how the boxes read html. Maybe that will change in an update??


I know that Ultimate Profile does work with the Aeva mod, but I'm not sure why the embedding code is needed, plusev.  I'm not sure if JovanT will change that, or not.   :)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 06:33:50 PM
Quote from: gbsothere on September 13, 2009, 06:32:23 PM
@ cxk

You have a strange bit of code in your Profile.php

// Show the signature box.
if ($context['signature_enabled'])
{


This isn't found in a clean SMF Profile.php and Ultimate Profile doesn't add

if ($context['signature_enabled'])


Do you have another mod that added this string?



The only thing I can think is maybe its part of a photo size limit mod for signatures.  I dont mind getting rid of it, I only used it because of one problem user.  I'll see if I can dump it.

Edit: I went to uninstall a Signature Settings Mod and got this error.  Could this be the problem?
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:36:10 PM
cxk, hold off before you do....   

I got distracted by the phone and it's the Profile.template.php. Let me check U.P.' s edits for this.

Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 06:37:30 PM
Okay, I edited my last post incase you missed it.  I havent done anything further, just checked to see if I could uninstall it without issue.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:42:27 PM
Quote from: cxk on September 13, 2009, 06:37:30 PM
Okay, I edited my last post incase you missed it.  I havent done anything further, just checked to see if I could uninstall it without issue.



Upload this to your Themes folder, and let's check to see if the box becomes visible in the profile. 

(Did you find Forum Profile Information below Buddies?)

Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:43:47 PM
*hitting the brakes*

Signature Settings mod?

:D

Hang on, maybe that's where that bit of code came from.   Let me check the edits for that mod.


Here's the Profile.template.php file again, with that portion back.  No sense messing up that mod.  Hang on before you uninstall it, let's see its edits more closely.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:50:57 PM
@ cxk

If you've not uninstalled the Signature settings mod, you shouldn't have to, but I expect this is what is stopping the signature box from appearing in profiles.  Apparently it gives the ability to enable and disable.  Can you locate anything like that?
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 06:54:34 PM
Quote from: gbsothere on September 13, 2009, 06:50:57 PM
@ cxk

If you've not uninstalled the Signature settings mod, you shouldn't have to, but I expect this is what is stopping the signature box from appearing in profiles.  Apparently it gives the ability to enable and disable.  Can you locate anything like that?


I havent uninstalled it yet, I just uploaded the file you attached and its saying template parse error...should I just upload the old version for now?

"Template Parse Error!
There was a problem loading the /Themes/default/Profile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected '}' in .../Themes/default/Profile.template.php on line 1600"
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 06:57:22 PM
Attach this one, cxk, it's the exact one you sent me before I changed it.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 07:02:49 PM
@ cxk

I can't see this with a test account.  Would you check your Signature Settings mod to see if it enables and disables signatures?
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 07:04:17 PM
Quote from: gbsothere on September 13, 2009, 07:02:49 PM
@ cxk

I can't see this with a test account.  Would you check your Signature Settings mod to see if it enables and disables signatures?

It does enable and disable, but its checked right now to enable. 
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 07:10:16 PM
Quote from: cxk on September 13, 2009, 07:04:17 PM
Quote from: gbsothere on September 13, 2009, 07:02:49 PM
@ cxk

I can't see this with a test account.  Would you check your Signature Settings mod to see if it enables and disables signatures?

It does enable and disable, but its checked right now to enable.


cxk, if this is the only mod you have that affects signatures, I'm wondering if this isn't causing the problem.  Does this mod also require you to give individual permissions to membergroups?
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 07:13:16 PM
Quote from: gbsothere on September 13, 2009, 07:10:16 PM
Quote from: cxk on September 13, 2009, 07:04:17 PM
Quote from: gbsothere on September 13, 2009, 07:02:49 PM
@ cxk

I can't see this with a test account.  Would you check your Signature Settings mod to see if it enables and disables signatures?

It does enable and disable, but its checked right now to enable.


cxk, if this is the only mod you have that affects signatures, I'm wondering if this isn't causing the problem.  Does this mod also require you to give individual permissions to membergroups?

I dont see anything in the permissions or the settings for that mod.  :(
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 07:22:32 PM
I notice that it edits the Profile.php and the Profile.template.php (also edited by Ultimate Profile).  Since signature edits are the issue here, I feel that there's a conflict between the two.  If you want to uninstall it, I would pull these files (the ones that failed when you tried to uninstall) ModSettings.php, Admin.template.php and Profile.php from my server and onto my desktop (or in a new folder).  I would go to the Signature Settings mod's parsing instructions and reverse them.  Then I would send up clean versions of those three files from my SMF's zip and finish the uninstall (and delete).  Then send those three files you pulled from your server and reversed-edited back up to the server.

There are some other Sig mods (I use one) that are good that don't affect U.P. at all, if you'd like to try one later.

:)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 07:54:18 PM
Quote from: gbsothere on September 13, 2009, 07:22:32 PM
I notice that it edits the Profile.php and the Profile.template.php (also edited by Ultimate Profile).  Since signature edits are the issue here, I feel that there's a conflict between the two.  If you want to uninstall it, I would pull these files (the ones that failed when you tried to uninstall) ModSettings.php, Admin.template.php and Profile.php from my server and onto my desktop (or in a new folder).  I would go to the Signature Settings mod's parsing instructions and reverse them.  Then I would send up clean versions of those three files from my SMF's zip and finish the uninstall (and delete).  Then send those three files you pulled from your server and reversed-edited back up to the server.

There are some other Sig mods (I use one) that are good that don't affect U.P. at all, if you'd like to try one later.

:)

Sorry about the delay, i had to eat some dinner.  Thanks for the help, I'm only a little confused about this part: "I would go to the Signature Settings mod's parsing instructions and reverse them. "  Im lost on that one.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 08:00:51 PM
Quote from: cxk on September 13, 2009, 07:54:18 PM
Sorry about the delay, i had to eat some dinner.  Thanks for the help, I'm only a little confused about this part: "I would go to the Signature Settings mod's parsing instructions and reverse them. "  Im lost on that one.



If you want to attach those files (taken from your server) I'll do that for you.  The files are: ModSettings.php, Admin.template.php and I already have your Profile.php, so just those two.   :)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 08:08:57 PM
I appreciate it!  I need to learn how to do this stuff myself, but I always went on the "if its not broken, dont fix it" lol. 

Would the modsettings.php file be in the same folder as admin.template.php?  i dont see it in there for some reason.

Edit: Found it in the Sources folder.  Adding it now.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 08:10:23 PM
Sorry, cxk, it's in your Sources folder (ModSettings.php).   :)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 08:21:21 PM
Quote from: gbsothere on September 13, 2009, 08:10:23 PM
Sorry, cxk, it's in your Sources folder (ModSettings.php).   :)
I got it and added it to the previous post.  thanks
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 08:22:54 PM
@ cxk

I've found the problem.  If you don't want to uninstall Signature Settings mod, you don't have to.  I'll still take a look at the ModSettings.php file but here's the issue:  the Signature Settings mod failed to parse Profile.php.  I believe this is why you can't edit your sigs.  I'm adding its edits to that file, now and I'll look at your ModSettings.php just to make sure those are okay.  When I'm done, I'll attach Profile.php first for you to upload to see if that makes the difference.

Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 08:28:52 PM
Quote from: gbsothere on September 13, 2009, 08:22:54 PM
@ cxk

I've found the problem.  If you don't want to uninstall Signature Settings mod, you don't have to.  I'll still take a look at the ModSettings.php file but here's the issue:  the Signature Settings mod failed to parse Profile.php.  I believe this is why you can't edit your sigs.  I'm adding its edits to that file, now and I'll look at your ModSettings.php just to make sure those are okay.  When I'm done, I'll attach Profile.php first for you to upload to see if that makes the difference.



Cool, thank you.  I'll wait for the file.  You've been a huge help!
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 08:32:56 PM
Quote from: cxk on September 13, 2009, 08:28:52 PM

Cool, thank you.  I'll wait for the file.  You've been a huge help!


Let's hope you still feel that way when I'm done.  :D

It'll take a few moments; I need to check that mod's support thread.  It's calling for a string that actually appears twice in Profile.php (although it only wants to edit one of them).  Ironically, one of those strings is also called for by Ultimate Profile.  I just want to read over the support thread to see if anyone's raised this question before.  I'll be back in a bit.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 08:56:31 PM
@ cxk


I couldn't find anything on that mod's support page, so I've edited the first string (that Ultimate Profile also uses).  Let's try uploading this and checking your forum (you may have to refresh) and if this doesn't work or there's a parsing error, I'll attach the second version with the edit to that second string.

:)
Title: Re: Ultimate Profile
Post by: cxk on September 13, 2009, 09:03:17 PM
Quote from: gbsothere on September 13, 2009, 08:56:31 PM
@ cxk


I couldn't find anything on that mod's support page, so I've edited the first string (that Ultimate Profile also uses).  Let's try uploading this and checking your forum (you may have to refresh) and if this doesn't work or there's a parsing error, I'll attach the second version with the edit to that second string.

:)

That did it, I can now view and edit my sig in the forum profile information.  Thanks again, I'd never have been able to fix that haha.
Title: Re: Ultimate Profile
Post by: gbsothere on September 13, 2009, 09:07:28 PM
Hey, there it is, I see it!   :D

Well.... Signature Settings and Ultimate Profile wanted the same string.  They just needed to place nice. 

Good deal, cxk!  (http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: Anarchology on September 15, 2009, 03:01:54 AM
The mod looks and works great, but having a single problem that probably can be solved by a small code change. I just haven't figured out which one yet.

Here's the problem...
The mod works great for me as the Admin. I can access "Ultimate Profile" on my profile page in order to change sections and add images. However, as a regular member, there is no link within the profile in order to change anything.

I assume there should be a link named "Ultimate Profile" or possibly an image link I'm not seeing when under a regular member. Neither is being seen. I figure this is something to do with a string of code that might only show under Admin access incorrectly.

Can someone help me with this? I will post whatever scripts from my site to aid.

My Source/Profile.php is attached below (don't know if this is where the problem. I'm skimming it now)
Title: Re: Ultimate Profile
Post by: ScottDB on September 15, 2009, 04:01:35 AM
Hi all, I am not getting any error mesages with this problem but it would make it easier if I was. My shout box and chat are both running real slow at times. I know that this could be a server problem. Any Ideas how to correct? I have host gator.

The other problem is that I am not getting anything on my index page. None of the shoutbox dialog shows up on my index page. I have Simple portal 2.2.2 installed with SMF 2.0 rc1.2
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 07:23:54 AM
Quote from: Anarchology on September 15, 2009, 03:01:54 AM
The mod looks and works great, but having a single problem that probably can be solved by a small code change. I just haven't figured out which one yet.

Here's the problem...
The mod works great for me as the Admin. I can access "Ultimate Profile" on my profile page in order to change sections and add images. However, as a regular member, there is no link within the profile in order to change anything.

I assume there should be a link named "Ultimate Profile" or possibly an image link I'm not seeing when under a regular member. Neither is being seen. I figure this is something to do with a string of code that might only show under Admin access incorrectly.

Can someone help me with this? I will post whatever scripts from my site to aid.

My Source/Profile.php is attached below (don't know if this is where the problem. I'm skimming it now)



There are two areas that must be checked in order for your members to use Ultimate Profile. 

First, you must go to Admin------->Configurations----->Features and Options-------> Ultimate Profile and check to "Enable Ultimate Profile for all members".  (Or, if you're not using 1.1.x, but 2.x, it would be Admin--------> Configurations-----> Modifications------> Ultimate Profile.)   Here, you not only enable the mod, but you choose whether or not to allow things like pictures, media box, profile customization. 

Then, you must go to Admin-----> Members------> Permissions and, for each membergroup that you allow to use this feature, check "Edit Ultimate Profile" (found under Member Profiles.

:)
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 07:26:21 AM
Quote from: ScottDB on September 15, 2009, 04:01:35 AM
Hi all, I am not getting any error mesages with this problem but it would make it easier if I was. My shout box and chat are both running real slow at times. I know that this could be a server problem. Any Ideas how to correct? I have host gator.

The other problem is that I am not getting anything on my index page. None of the shoutbox dialog shows up on my index page. I have Simple portal 2.2.2 installed with SMF 2.0 rc1.2



Scott, you may wish to post this on the support thread for SMF 2.0 or the support thread for your particular shoutbox mod.

:)

Title: Re: Ultimate Profile
Post by: Groundhog on September 15, 2009, 09:40:38 AM
Hi

Thanks for updating this mod for SMF 2.0 RC1 (my Version)

The install went through without any errors but when I try and view a profile I get this error message

Unknown column 'com.time' in 'field list'
File: /home/*****/public_html/home/Sources/Profile-View.php
Line: 228

Have you any idea as to what is wrong here?

Many Thanks
Title: Re: Ultimate Profile
Post by: Sudhakar Arjunan on September 15, 2009, 11:20:11 AM
Hi Author Jovan T.

After a long time, you have upgraded a wonderful mod.

Thanks for this excellent update of your time.

Only one query. I have mgallery mod and have albums for each and every member.

How do i able to point the mgallery individual album while someone click on my pictures inside each profile page. And to show few thumbnails from my album.

On mgallery, they use username as the folder name inside / forum folder / mgal_data / album / ...user folder name /

It will be mostly appreciated.
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 01:02:40 PM
Quote from: Groundhog on September 15, 2009, 09:40:38 AM
Hi

Thanks for updating this mod for SMF 2.0 RC1 (my Version)

The install went through without any errors but when I try and view a profile I get this error message

Unknown column 'com.time' in 'field list'
File: /home/*****/public_html/home/Sources/Profile-View.php
Line: 228

Have you any idea as to what is wrong here?

Many Thanks




Download the attachments you find on this post:

http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063 (http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063)

You can try the second first, if you like by placing it in your forum's root folder and pointing your browser to it.  If that doesn't work, upload the first one, the zip file, with your package manager and apply it. 

Title: Re: Ultimate Profile
Post by: Groundhog on September 15, 2009, 01:51:39 PM
Thanks gbsothere for the help.

Unfortunately the database.php did nothing and when I tried to import the  ult-profile_tablefix.sql  file I received this error message.


Error

SQL query:

------------------------------------------------ --
-- File: "ult-profile_tablefix.sql" --
-- Created by: tyty1234 --
-- Date Created: Jul 26 2009 at 3:40pm PST --
------------------------------------------------ --
-- Create table for Ultimate Profile Buddies --
CREATE TABLE IF NOT EXISTS `smf_buddies` (
`id_member` mediumint( 8 ) NOT NULL default '0',
`buddy_id` mediumint( 8 ) NOT NULL default '0',
`approved` smallint( 1 ) NOT NULL default '0',
`position` tinyint( 4 ) NOT NULL default '0',
`time_updated` int( 11 ) NOT NULL default '0',
`requested` mediumint( 8 ) NOT NULL default '0'
) ENGINE = MYISAM DEFAULT CHARSET = latin1;

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--------------------------------------------------
-- File: "ult-profile_tablef' at line 1


I noticed that there was no reference to the "com.time" in these install files. I don't know if that is relevant.

Any suggestions?

Regards
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 02:20:07 PM
Groundhog, my apologies...   I've been a little distracted this morning.   :)

I wasn't paying attention to the fact that that tablefix file is no longer a zip (the old one for 1.1.10 was) but an sql file.  Try importing it into your database to see if it will create the necessary table.

Title: Re: Ultimate Profile
Post by: Groundhog on September 15, 2009, 02:36:17 PM
Quote from: gbsothere on September 15, 2009, 02:20:07 PM
Groundhog, my apologies...   I've been a little distracted this morning.   :)

I wasn't paying attention to the fact that that tablefix file is no longer a zip (the old one for 1.1.10 was) but an sql file.  Try importing it into your database to see if it will create the necessary table.

No problem gbsothere.  I'd already noticed that.

The error message is what PhpMyAdmin through back at me after I tried to import the sql file.
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 02:44:48 PM
Quote from: Groundhog on September 15, 2009, 02:36:17 PM

No problem gbsothere.  I'd already noticed that.

The error message is what PhpMyAdmin through back at me after I tried to import the sql file.



It may be that your table prefix is different.  Do you not use smf_ as a prefix?

Title: Re: Ultimate Profile
Post by: Groundhog on September 15, 2009, 03:02:41 PM
You mean like smf_messages and smf_members etc  ??? As this is how the tables are named. However the Database has the name of my account with _smf1 after it like this:

*******_smf1

Thanks again for the assistance?
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 03:14:40 PM
Quote from: Groundhog on September 15, 2009, 03:02:41 PM
You mean like smf_messages and smf_members etc  ??? As this is how the tables are named. However the Database has the name of my account with _smf1 after it like this:

*******_smf1

Thanks again for the assistance?


I think, Groundhog, if it were me, I'd have a Live Chat with my server tech (or you could call them) and ask them for the proper syntax to be able to add the table.  Sometimes, table prefixes seem easy enough, but servers are different.  For instance, I have to write my prefixes like this (if my database name were database_):

database_.smf_buddies

My server requires that there is a period between the database name and smf_buddies. 

Another of my databases doesn't have an underscrore after the name, so it would be:

database.smf_buddies

(You might try either of those combinations, using your database name, but if it doesn't work, I'd call my server tech.)

:)


ETA:  Your example, if written like mine would be:

*******_smf1.smf_buddies
Title: Re: Ultimate Profile
Post by: Groundhog on September 15, 2009, 06:40:33 PM
Thanks very much gbsothere for all the good advise.  8)

Snooping around a little I figured out that it was the "Profile Comments mod" that was causing the problem. I uninstalled and deleted the relevant table from the database and now this Ultimate Profile mod is working.

It's looking really good so far. Thanks for a cool 'Ultimate Profile' mod.

Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 06:44:43 PM
Quote from: Groundhog on September 15, 2009, 06:40:33 PM
Thanks very much gbsothere for all the good advise.  8)

Snooping around a little I figured out that it was the "Profile Comments mod" that was causing the problem. I uninstalled and deleted the relevant table from the database and now this Ultimate Profile mod is working.

It's looking really good so far. Thanks for a cool 'Ultimate Profile' mod.



My goodness, Groundhog, that's a surprise!  I learned something today. 

Yes, JovanT created a really neat mod and I expect he'll come up with something else equally fun. 

I'm so glad you worked it out.  :)
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 15, 2009, 10:58:10 PM
Quote from: Groundhog on September 15, 2009, 06:40:33 PM
Thanks very much gbsothere for all the good advise.  8)

Snooping around a little I figured out that it was the "Profile Comments mod" that was causing the problem. I uninstalled and deleted the relevant table from the database and now this Ultimate Profile mod is working.

It's looking really good so far. Thanks for a cool 'Ultimate Profile' mod.
Humm I am gonna try this and see if it fixes my problem.

Edit: Tried this and to no avail.

Howeve rI did finally figure out that for the sql I need to use twitch_smf1.smf_

This however didn't fix the problem :(
Title: Re: Ultimate Profile
Post by: gbsothere on September 15, 2009, 11:41:27 PM
Twitch, I suggest this (and I've mentioned it over on the Arcade site, as well):  Since you're using RC1.2, if you used the package manager to install Ultimate Profile, then you might want to create a folder on your desktop and pull the SMF files that Ultimate Profile parses from your server into it.  Then, using Ultimate Profile's parsing instructions, carefully compare its edits to what you see on the SMF files.  The RC1.2 package manager is notorious for not only dropping the contents of zip files during the upload process but also for not placing all the edits in the SMF files.  If you look around the Support 2.0 board, you'll see that many people are complaining about it.  It's worth checking to see if the mod was installed properly or if edits are missing.  Although the error you're getting indicated a database issue, still, it's worth a look.  Then, if you find any edits missing or incorrect, after you edit and re-upload the files, run the Database.php again and, perhaps, it will work properly, this time. 

Title: Re: Ultimate Profile
Post by: tyty1234 on September 16, 2009, 12:02:53 AM
Quote from: NBK*Twitch on September 15, 2009, 10:58:10 PM
Quote from: Groundhog on September 15, 2009, 06:40:33 PM
Thanks very much gbsothere for all the good advise.  8)

Snooping around a little I figured out that it was the "Profile Comments mod" that was causing the problem. I uninstalled and deleted the relevant table from the database and now this Ultimate Profile mod is working.

It's looking really good so far. Thanks for a cool 'Ultimate Profile' mod.
Humm I am gonna try this and see if it fixes my problem.

Edit: Tried this and to no avail.

Howeve rI did finally figure out that for the sql I need to use twitch_smf1.smf_

This however didn't fix the problem :(
I don't think twitch_smf1.smf_ is a prefix, but rather, the database name, and smf_ is the prefix...
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 16, 2009, 12:07:48 AM
Quote from: tyty1234 on September 16, 2009, 12:02:53 AM
Quote from: NBK*Twitch on September 15, 2009, 10:58:10 PM
Quote from: Groundhog on September 15, 2009, 06:40:33 PM
Thanks very much gbsothere for all the good advise.  8)

Snooping around a little I figured out that it was the "Profile Comments mod" that was causing the problem. I uninstalled and deleted the relevant table from the database and now this Ultimate Profile mod is working.

It's looking really good so far. Thanks for a cool 'Ultimate Profile' mod.
Humm I am gonna try this and see if it fixes my problem.

Edit: Tried this and to no avail.

Howeve rI did finally figure out that for the sql I need to use twitch_smf1.smf_

This however didn't fix the problem :(
I don't think twitch_smf1.smf_ is a prefix, but rather, the database name, and smf_ is the prefix...

Well i have tried just smf_ aswell and that didn't work.
Title: Re: Ultimate Profile
Post by: chrishicks on September 16, 2009, 09:32:40 AM
I still have the issue of playlists from Project Playlist(playlist.com) not working for IE users. I have tested this myself under IE8 under both normal and the compatibility mode. All that shows is a red x box:

(http://img22.imageshack.us/img22/5410/ultprofile.jpg) (http://img22.imageshack.us/i/ultprofile.jpg/)

however once I switch over to any other browser the playlists work just fine. Any idea of how to fix this as most of my members use IE?
Title: Re: Ultimate Profile
Post by: gbsothere on September 16, 2009, 10:01:43 AM
This certainly isn't a "fix" by any means, but have you tried using 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.

I realize that this may not work for all IE users as sometimes the music player still shows as a red x box, even with this method, but it may help.

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


Of course, you've probably already tried all this, in which case, I'm sorry that it's all I have to offer. 

Hopefully, some savvy coder like Ty will have the fix.   :)
Title: Re: Ultimate Profile
Post by: chrishicks on September 16, 2009, 10:17:40 AM
Yep, I tried the alternate codes. It seems like they made some subtle changes to the playlist codes which cause them to not work in IE under UE as the code I have in my profile which I added quite a while ago is different than the codes they give now and my playlist works in IE just fine.
Title: Re: Ultimate Profile
Post by: giz on September 16, 2009, 04:47:19 PM
can anybody give me the standard settings for picture path and picture url please. also admin/attachments and avatars/attachment directory correct address
i have red writing!

thanks

giz
Title: Re: Ultimate Profile
Post by: gbsothere on September 16, 2009, 05:24:43 PM
Quote from: giz on September 16, 2009, 04:47:19 PM
can anybody give me the standard settings for picture path and picture url please. also admin/attachments and avatars/attachment directory correct address
i have red writing!

thanks

giz



Settings differ according to servers.  Place this file in your forum's root directory and point your browser to it.  It has recommended settings.  If yours are different, click the links for the recommended settings to place them.  When you are done, save your changes.  Then remove the file from your forum's root directory and try again.

Title: Re: Ultimate Profile
Post by: giz on September 16, 2009, 06:09:59 PM
thank you that helped.

the only problem i have now is that the pictures i tried to upload earlier are not displayed because they were not uploaded correctly but the file names are and i can not delete them because you have to click on an image to go to the next page which gives you this option.
how can i get rid of them? uninstall then reinstall doesn't work
Title: Re: Ultimate Profile
Post by: gbsothere on September 16, 2009, 06:24:00 PM
Quote from: giz on September 16, 2009, 06:09:59 PM
thank you that helped.

the only problem i have now is that the pictures i tried to upload earlier are not displayed because they were not uploaded correctly but the file names are and i can not delete them because you have to click on an image to go to the next page which gives you this option.
how can i get rid of them? uninstall then reinstall?


Are these profile pics?   If you have access to your database, you can open the table (your prefix)_profile_pictures, click "Browse" and you can manually remove them there.

:)
Title: Re: Ultimate Profile
Post by: giz on September 16, 2009, 06:28:00 PM
the picture path was wrong so they have gone to a folder which does not exist the only file in profile_pictures is index.php

sorted now, uploaded a new image and clicked on that which brought up the delete/edit screen. looked at the address bar and found the image number and replaced that with an earlier one which took me to the pictures i wanted to delete if you follow.

thanks for the help
Title: Re: Ultimate Profile
Post by: gbsothere on September 16, 2009, 06:47:35 PM
I'm glad you got it sorted, giz .   :)
Title: Re: Ultimate Profile
Post by: TwitchisMental on September 16, 2009, 08:28:23 PM
Quote from: gbsothere on September 15, 2009, 11:41:27 PM
Twitch, I suggest this (and I've mentioned it over on the Arcade site, as well):  Since you're using RC1.2, if you used the package manager to install Ultimate Profile, then you might want to create a folder on your desktop and pull the SMF files that Ultimate Profile parses from your server into it.  Then, using Ultimate Profile's parsing instructions, carefully compare its edits to what you see on the SMF files.  The RC1.2 package manager is notorious for not only dropping the contents of zip files during the upload process but also for not placing all the edits in the SMF files.  If you look around the Support 2.0 board, you'll see that many people are complaining about it.  It's worth checking to see if the mod was installed properly or if edits are missing.  Although the error you're getting indicated a database issue, still, it's worth a look.  Then, if you find any edits missing or incorrect, after you edit and re-upload the files, run the Database.php again and, perhaps, it will work properly, this time.

Okay I will try this.
Title: Re: Ultimate Profile
Post by: excon on September 17, 2009, 03:41:24 AM
Quote from: tyty1234 on September 10, 2009, 02:20:30 AM
Quote from: excon on September 10, 2009, 01:04:38 AM
Quote from: excon on September 09, 2009, 05:26:23 AM
Quote from: tyty1234 on September 08, 2009, 11:58:52 PM
Quote from: excon on September 08, 2009, 04:25:06 AM
Quote from: tyty1234 on September 08, 2009, 03:33:23 AM
Actually, I may be able to debug this further. Can you tell which awards mod you are using?

i'm using this one >> Member Awards by Frustrate (http://custom.simplemachines.org/mods/index.php?mod=475) version memberawards_1-1_1-1-1
Ok, after taking a quick look into how the mod is installed, the functions that are needed to show the awards, is in a different function, then the function to display the profile. You may want to consult with the mod author to figure out how you would include the awards stuff in the profile function.

You could simply copy and paste the awards function (showAwards) into, the profile function (summary), but I'm not sure if that would work well.

Thanks tyty1234.. i'll try that one but can you advice where I can find function showawards.

this not successful.. please give me a hand here.. :-[
showAwards() should be in the Profile.php file. :)

i still cannot get it.. btw, frustrate replied to me..
Quote from: Fustrate on September 12, 2009, 01:37:04 AM

excon - you'll have to ask the Ultimate Profile person about that, I know nothing about how it works.


geez.. i think i'm gonna start all over again :'(
Title: Re: Ultimate Profile
Post by: tyty1234 on September 17, 2009, 05:01:06 AM
excon, have you tried asking the mod author of the awards mod as well for help?
Title: Re: Ultimate Profile
Post by: Smasher on September 17, 2009, 03:51:58 PM
Once this mod is installed I am having trouble finding out where you add a buddy. I do see in the when viewing your own profile that you can list your buddys or edit the list... but I am not seeing a way to add a buddy...

Before this mod when viewing another users profile you could add them as a buddy there...

and yes I have enabled buddy lists....
Title: Re: Ultimate Profile
Post by: gbsothere on September 17, 2009, 04:00:58 PM
Click on another member's profile.  In the "Contact Me" field, you will see "Add to Buddy List".  Click that and you will see a message that you will be added when that poster approves your request.  Approval is done when a poster receives a system PM announcing the request.  He or she clicks the link and there will be a small icon showing that looks like a smalll cluster of "people".  Clicking that approves the request.

You can test by creating a newbie test account and sending a request to it.  Then log in with that account and accept.  Your avatar will appear in that test account's buddy list and if the test account has an avatar, it will appear in yours.  Otherwise, just his or her name will appear.
Title: Re: Ultimate Profile
Post by: excon on September 17, 2009, 10:30:50 PM
Quote from: tyty1234 on September 17, 2009, 05:01:06 AM
excon, have you tried asking the mod author of the awards mod as well for help?

Yes tyty1234, but unfortunately this is his answer. :'(

Quote from: Fustrate on September 12, 2009, 01:37:04 AM
excon - you'll have to ask the Ultimate Profile person about that, I know nothing about how it works.
Title: Re: Ultimate Profile
Post by: 4b11l on September 18, 2009, 12:35:22 AM
Hello,

Quick question. Did a search and looked through the faq, but couldn't ifnd it.

How can I make the profile show more pictures? Currently, it only shows 6 pictures, I can't seem to make it so that more pictures are available. More specifically, I want to show 9 pictures instead. (this is not referring to how many pictures I can add in settings. I know I can change to 9, but these 9 pictures seem to rotate in showing only 6 at a time)

Also, how can I space out the pictures? I have them centered, but they are all in the middle since it only shows 3 across each row.
Title: Re: Ultimate Profile
Post by: 4b11l on September 18, 2009, 02:14:33 AM
Is anyone getting problems with their site being flagged as containing a virus?

This was one of the most recent mods installed on my forum.

It seems like it's a javascript file and it's pointing to ohionotaryone.com
Title: Re: Ultimate Profile
Post by: distante on September 18, 2009, 02:24:11 AM
with witch antivirus happed that?
Title: Re: Ultimate Profile
Post by: 4b11l on September 18, 2009, 02:38:52 AM
Quote from: distante on September 18, 2009, 02:24:11 AM
with witch antivirus happed that?

Avast antivirus. I am not saying this mod caused the problem; I was just wandering if anyone else had any problems so I know how to narrow down.
Title: Re: Ultimate Profile
Post by: Smasher on September 18, 2009, 05:53:04 AM
Quote from: gbsothere on September 17, 2009, 04:00:58 PM
Click on another member's profile.  In the "Contact Me" field, you will see "Add to Buddy List".  Click that and you will see a message that you will be added when that poster approves your request.  Approval is done when a poster receives a system PM announcing the request.  He or she clicks the link and there will be a small icon showing that looks like a smalll cluster of "people".  Clicking that approves the request.

You can test by creating a newbie test account and sending a request to it.  Then log in with that account and accept.  Your avatar will appear in that test account's buddy list and if the test account has an avatar, it will appear in yours.  Otherwise, just his or her name will appear.

It appears that I was missing this because I was on an Admin account. As soon as I signed on as a regular user I did see what you were talking about. Thank You
Title: Re: Ultimate Profile
Post by: gbsothere on September 18, 2009, 07:57:13 AM
Quote from: 4b11l on September 18, 2009, 12:35:22 AM
Hello,

Quick question. Did a search and looked through the faq, but couldn't ifnd it.

How can I make the profile show more pictures? Currently, it only shows 6 pictures, I can't seem to make it so that more pictures are available. More specifically, I want to show 9 pictures instead. (this is not referring to how many pictures I can add in settings. I know I can change to 9, but these 9 pictures seem to rotate in showing only 6 at a time)

Also, how can I space out the pictures? I have them centered, but they are all in the middle since it only shows 3 across each row.



You can increase number of displayed pictures. Open Sources/Profile.php.
Code (Find) Select

$request = db_query('SELECT ID_PICTURE, time, title, filename
FROM ' . $db_prefix . 'profile_pictures
WHERE ID_MEMBER = ' . $memID . '
ORDER BY RAND()
LIMIT 6', __FILE__, __LINE__);


and replace  6   with  10.

Then, open Themes/default/UltimateProfile.template.php.
Code (Find) Select

if ($i == 3)

Code (Replace with) Select

if ($i == 5)


Code (Find) Select

if ($i == 4) $i = 1;

Code (Replace with) Select

if ($i == 6) $i = 1;

[/quote]




Also, about your attack site question; I can only tell you that I have Ultimate Profile on several forums, both 1.1.10 and RC1.2 and I've never had this issue.  I did manage to find a thread about this and others have had it elsewhere on the forum for different reasons.

http://www.simplemachines.org/community/index.php?topic=334397.msg2241394#msg2241394 (http://www.simplemachines.org/community/index.php?topic=334397.msg2241394#msg2241394)
Title: Re: Ultimate Profile
Post by: 4b11l on September 18, 2009, 04:12:11 PM
Quote from: gbsothere on September 18, 2009, 07:57:13 AM

Then, open Themes/default/UltimateProfile.template.php.
Code (Find) Select

if ($i == 3)

Code (Replace with) Select

if ($i == 5)


Code (Find) Select

if ($i == 4) $i = 1;

Code (Replace with) Select

if ($i == 6) $i = 1;

Also, about your attack site question; I can only tell you that I have Ultimate Profile on several forums, both 1.1.10 and RC1.2 and I've never had this issue.  I did manage to find a thread about this and others have had it elsewhere on the forum for different reasons.

http://www.simplemachines.org/community/index.php?topic=334397.msg2241394#msg2241394 (http://www.simplemachines.org/community/index.php?topic=334397.msg2241394#msg2241394)

Thanks, can you tell me what the above code does? I was able to change the pictures from 6 to 9 as you suggested. Thanks.

For the second code, it is showing up two times in the file, so I am not sure what it's there for. Is it to space out the images?

I basically want the pictures to just have more space inbetween the individual 3 pictures. Thanks.

Oh, and for the virus, thanks! I didn't mean to say that this mod caused the problem; if that's how it came out. It was just my most recent mods so I just wanted to backtrack and narrow down what I did recently and maybe find out. However, after reading the link, it made sense.
Title: Re: Ultimate Profile
Post by: gbsothere on September 18, 2009, 05:38:40 PM
Quote from: 4b11l on September 18, 2009, 04:12:11 PM


Thanks, can you tell me what the above code does? I was able to change the pictures from 6 to 9 as you suggested. Thanks.

For the second code, it is showing up two times in the file, so I am not sure what it's there for. Is it to space out the images?

I basically want the pictures to just have more space inbetween the individual 3 pictures. Thanks.

Oh, and for the virus, thanks! I didn't mean to say that this mod caused the problem; if that's how it came out. It was just my most recent mods so I just wanted to backtrack and narrow down what I did recently and maybe find out. However, after reading the link, it made sense.

The two sections of code in the Ultimate.template.php file are found just below this:

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


and it spaces out your images if you only have three across or makes room for five across. 

:)
Title: Re: Ultimate Profile
Post by: 4b11l on September 19, 2009, 01:43:44 AM
Quote from: gbsothere on September 18, 2009, 05:38:40 PM
Quote from: 4b11l on September 18, 2009, 04:12:11 PM


Thanks, can you tell me what the above code does? I was able to change the pictures from 6 to 9 as you suggested. Thanks.

For the second code, it is showing up two times in the file, so I am not sure what it's there for. Is it to space out the images?

I basically want the pictures to just have more space inbetween the individual 3 pictures. Thanks.

Oh, and for the virus, thanks! I didn't mean to say that this mod caused the problem; if that's how it came out. It was just my most recent mods so I just wanted to backtrack and narrow down what I did recently and maybe find out. However, after reading the link, it made sense.

The two sections of code in the Ultimate.template.php file are found just below this:

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


and it spaces out your images if you only have three across or makes room for five across. 

:)

Thanks it works. Can you tell me what the first value pertains to? It seems like the number pictures are following the second value. I changed it to

   if ($i == 4)
      if ($i == 5) $i = 1;


But, am not sure because it seems the numbers were in relation to the other.
Title: Re: Ultimate Profile
Post by: gbsothere on September 19, 2009, 09:15:49 AM
@ 4b11l

It will take someone will more understanding than I to be able to explain that.   :)

This is where the code comes from (JovanT, the mod author):

http://www.simplemachines.org/community/index.php?topic=298641.msg2161699#msg2161699 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161699#msg2161699)

As he explained a few posts later from the one on this link, he configured the code changes to the UltimateProfile.template.php to result in 5 images across and in two rows.

Title: Re: Ultimate Profile
Post by: Özgür on September 19, 2009, 09:18:53 AM
if ($i == 5) $i = 1;
Meaning, (in this code) if line have 5 columb, just create new line and write other columb into it.
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
etc..
Title: Re: Ultimate Profile
Post by: gbsothere on September 19, 2009, 09:34:01 AM
Quote from: [Daydreamer] on September 19, 2009, 09:18:53 AM
if ($i == 5) $i = 1;
Meaning, (in this code) if line have 5 columb, just create new line and write other columb into it.
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
etc..


I knew help would arrive. 
And the scary thing is that even I understood that.    :D
Title: Re: Ultimate Profile
Post by: distante on September 19, 2009, 01:56:35 PM
I'm trying to put the text in Spanish but I can't find the text strings, I want to change "My Pictures" to "Mis Fotos" but "My Pictures" isn't anywhere

:-\ any Ideas. ?
Title: Re: Ultimate Profile
Post by: gbsothere on September 19, 2009, 02:13:59 PM
"My Pictures" is found in UltimateProfile.english.php

$txt['profile_pictures'] = 'My Pictures';


:)
Title: Re: Ultimate Profile
Post by: distante on September 19, 2009, 02:19:40 PM
Quote from: gbsothere on September 19, 2009, 02:13:59 PM
"My Pictures" is found in UltimateProfile.english.php

$txt['profile_pictures'] = 'My Pictures';


:)

Ohh thank you!!!  :D
Title: Re: Ultimate Profile
Post by: Metal_13 on September 21, 2009, 02:24:28 AM
err... tried this but didnt work... any ideas...
http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063



Unknown column 'com.time' in 'field list'
File: /home/pnoygrp/public_html/forum3/Sources/Profile-View.php
Line: 227
Title: Re: Ultimate Profile
Post by: gbsothere on September 21, 2009, 08:03:14 AM
Quote from: Metal_13 on September 21, 2009, 02:24:28 AM
err... tried this but didnt work... any ideas...
http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063



Unknown column 'com.time' in 'field list'
File: /home/pnoygrp/public_html/forum3/Sources/Profile-View.php
Line: 227




Beginning with this thread, there's a discussion about the database prefix.  Making sure your database prefix is set correctly may help but, if not, follow the posts through to where the poster mentions the Profile Comments mod.  If you had this previously installed before installing Ultimate Profile, perhaps that solution might be useful to you.

http://www.simplemachines.org/community/index.php?topic=298641.msg2260780#msg2260780 (http://www.simplemachines.org/community/index.php?topic=298641.msg2260780#msg2260780)
Title: Re: Ultimate Profile
Post by: distante on September 21, 2009, 01:17:34 PM
Can I put the tag <iframe> or <php> in multimedia or other code box ??? :-\

This isn't dangerous?
Title: Re: Ultimate Profile
Post by: CerebralJam on September 23, 2009, 08:52:55 PM
Hello everyone, I am really happy that this mod has been upgraded to be available for 2.0 RC1.2...

I have managed to install, but now wondered if anyone could help me?  I have read the first ten pages of this thread and dipped in at the end, and I don't want to take up your time repeating a question already answered but here goes as I am feeling slightly overwhelmed with the number of pages to read!

I like the person on pages1/2 would like to move a piece from one column on the right to the left, they ask about visitors to go to the right. 

I want to put interests under the signature or last box on the left... reason being on my forum people sing a lot and therefore lots of stuff will be in the media box, and having about me and interests on top will make it lopsided.  If I get the interests box put to the left they can fill this up and the media can swim away happily beside it.   :D   That's basically all I want to do right now... can anyone help or point me in the right direction for the solution?

I tried cutting it from the part where it says now continue column two and pasting it directly above the end of the column marker but I can see there is more to it than that and I confess to knowing no php. 

I appreciate your time and thank you in advance... I really love this! 

EDIT:  Hi, I've been playing around and I have actually managed to move the bits I wanted moved. 

I also had a display problem with the top of the columns, and I fixed that too so no help needed here after all, I just want to say

THANKS instead, this is wonderful.
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 03:51:00 PM
I receive the Following error while trying to access the Server And Access Ultimate Profile Options in the Admin Section:


Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /hermes/web07d/bxxx/pow.xxxxx/forums/Sources/ModSettings.php:379) in /hermes/wexxx/bxxx/pow.chiefvtx/forums/Sources/ModSettings.php on line 41

(X's added by me)

I put the Original (Non Parsed) modsettings.php back in and the Fatal Error goes away but when I select the Ultimate Profile tab to adjust the settings the Admin settings are not there and it defaults to the Basic Features.

I tried several times to Parse the sources/modsettings.php just to be sure i didn't make a mistake, but no luck.

In addition I try and run the database.php and I get a blank page.

Version SMF 1.1.9
Theme Custom
Ultimate Profile   0.9
I Installed this using Package Manager and had one fail (Modsettings.php Obviously). I checked all the other Files and the installation was complete and the Buddies update worked great BUT I can not ADD new Buddies - That selection is gone, and you can view the Ultimate Profile - I simply do not have the admin functions.

I attached my "Parsed" modsettings.php if that will help.
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 05:48:25 PM
The parsing is wrong on this file.  Many things appear twice.  I'm cleaning it up for you.  What other mods do you have, please?

:)
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 05:52:10 PM
    OVERSIZED AC in Black Smilies      1.0      
2.    Ad Managment    2.3    
3.    FavIcon    1.1    
4.    Blog (for 1.1.5)    1.11    
5.    SMF Sitemap    1.2.2    
6.    AvatarOnBoard    2.0    
7.    Enhanced Calendar    1.1    
8.    Clickable Avatars    1.0.1    
9.    Google Tagged    1.3    
10.    Auto Embed Video/Audio Clips    3.0
11.    Member Awards    1.0.2    
12.    Add Sitepreviews    1.31    
13.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0
14.    Auto Email Inactive Users    1.7    
15.    SMF Arcade    2.0.14    
16.    Display Age and Location next to posts    1.0    
17.    Location on Member List    1.0    
18.    MessagePreviewOnHover    1.7    
19.    SMF 1.0.14 / 1.1.6 Update    1.0    
20.    Default Avatar    1.1.1    
21.    SimplePortal    2.0.2    
22.    SimplePortal    1.0    
23.    SMF 1.0.14 / 1.1.6 Update    1.0
24.    SimplePortal    2.0.4    
25.    PageEar (Pagepeel)    1.1    

27.    Highslide Image Viewer    1.0 RC8
28.    Affiliates    1.1    
29.    SMF 1.0.15 / 1.1.7 Update    1.0
30.    SMF Media Gallery    1.5.4    
31.    SMF 1.0.16 / 1.1.8 Update    1.0
32.    Twitter Field    1.0    
33.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0


I am curious - It wasn't a difficult Parse - What did I do wrong????

AND THANK YOU!
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 05:53:31 PM
OMG _ I bet I know - I originally installed this about 3 months ago but never implemented - I bet it over wrote it twice ???

BTW Site is:

http://forums.midatlanticxriders.com/
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 05:54:15 PM
Some ultimate profile strings were duplicates, which is why you were getting a "cannot redeclare" message.   :)

I have it sorted but, if you'd like, I'll go ahead and see which of your other mods use the ModSettings.php file and add those parsings, as well (since I just used a clean file). 

Give me a few moments?



Quote from: jmil on September 25, 2009, 05:53:31 PM
OMG _ I bet I know - I originally installed this about 3 months ago but never implemented - I bet it over wrote it twice ???

BTW Site is:

http://forums.midatlanticxriders.com/


That's probably it.   :)
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 05:55:14 PM
OMG - That is excellent
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 06:10:16 PM
I'm almost done.  I was wondering, though, if you still happen to have the old zip file for AEVA 3.0?  There are quite of lot of mod settings and things may have changed during the gradual upgrades. 
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 06:16:56 PM
I cant believe it but here it is - I had it!

BTW will this fix the Buddies Issue?


And where is your Donation Site for this Mod?

The Chief
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 06:33:47 PM
Quote from: jmil on September 25, 2009, 06:16:56 PM
I cant believe it but here it is - I had it!

BTW will this fix the Buddies Issue?


And where is your Donation Site for this Mod?

The Chief



Great, just what I need and I'll be done.   :)

This should fix the buddies thing as well.  JovanT's site is found on the first post of this very long thread.  It's been down for maintenance for quite a while, but I'm sure you can contact him through his profile if you wish to donate.   :)

Let me just look at this AEVA files and I'll attach your ModSettings.php.
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 06:39:23 PM
Very curiously, jmil, I couldn't find any ModSettings.php edits for AEVA 3.0, which I find odd, but they simply aren't in the install.xml.  I would have sworn they'd be there, but it is, after all, an older version.

I'm attaching your edited ModSettings.php file.  Upload it to your sources and let me know if you're still getting the error when you try to access Ultimate Profile via Admin-> Features and Options-> Ultimate Profile.

Let me know about that, first, and we'll look at the buddy thing.   :)
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 06:43:10 PM
Close but i still get this error inwhen trying to access the Admin

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /hermes/web07d/b109/pow.chiefvtx/forums/Sources/ModSettings.php on line 123

Looks like one typo
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 06:47:07 PM
Quote from: jmil on September 25, 2009, 06:43:10 PM
Close but i still get this error inwhen trying to access the Admin

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /hermes/web07d/b109/pow.chiefvtx/forums/Sources/ModSettings.php on line 123

Looks like one typo


Can you try this one?

Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:02:57 PM
*wonders if jmil blew up his forum*

(http://graceunderpressure.net/smf/Smileys/classic/hiding.gif)
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 07:04:41 PM
LOL - But my Girlfreind says STOP LOL

Here is what happened:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /hermes/web07d/b109/pow.chiefvtx/forums/Sources/ModSettings.php on line 210
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:10:51 PM
Aha!   Again, SMF Blog is the culprit!   :D


Try this one.

Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 07:20:10 PM
Woo HOO That fixed the Administration Section and I enabled it for everyone but I do not see a selection for "Adding a Buddy". I see my Buddy list - But I can't see where to add one??
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:21:27 PM
Quote from: jmil on September 25, 2009, 07:20:10 PM
Woo HOO That fixed the Administration Section and I enabled it for everyone but I do not see a selection for "Adding a Buddy". I see my Buddy list - But I can't see where to add one??


Good deal.   :)

Try going to Admin---> Features and Options and check to see if "Enable buddies" is checked. 

Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:22:41 PM
Also, Jmil.....   the way to add buddies is to go to a person's profile and somewhere around the "contact" field is the link "add to buddies".  You click that and it sends that person a PM.  When they approve your request, they show up on your buddies' list.

Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 07:27:19 PM
Enable is Checked but no selection on Members profiles!
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:29:03 PM
Did you go to each membergroup to set permissions and check, "Edit Ultimate Profile" (own profile)?
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 07:31:38 PM
Yep Everone is checked - To be Honest - Since this is a custom Theme and i NEVER use the Buddy list as I am the admin I never really looked at it!

I have a test account (admin) for you if you want to take a gander?
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:33:01 PM
Quote from: jmil on September 25, 2009, 07:31:38 PM
Yep Everone is checked - To be Honest - Since this is a custom Theme and i NEVER use the Buddy list as I am the admin I never really looked at it!

I have a test account (admin) for you if you want to take a gander?


Aha!  A custom theme!   Those files have to be parsed as well.   Sure, PM me the log in details and also, what is the name of your theme?

Title: Re: Ultimate Profile
Post by: SilverKnight on September 25, 2009, 07:37:26 PM
There needs to be support for: http://custom.simplemachines.org/mods/index.php?mod=1734 and http://custom.simplemachines.org/mods/index.php?mod=1161

They both need to have fields in "Contact me" part of the profile.
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 07:38:07 PM
NOPE LOL - I just cleaned my cache like 10 times and NOW I HAVE IT!!!!!

WOW NICE JOB GBSOTHERE!!


This is why I like Simple Machines and the group here!
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 07:39:55 PM
So your custom theme's files got parsed, then. 

Good deal! 

(http://whereitestmystuff.com/images/thumb.gif)


Go forth and be dangerous.   :D
Title: Re: Ultimate Profile
Post by: jmil on September 25, 2009, 07:41:44 PM
LMAO - Yea I did those files but I really Messed the Modsettings LOL.

You were great and now my girlfriend says get the He>> off the computer!

I obey!!
Title: Re: Ultimate Profile
Post by: casty23 on September 25, 2009, 11:15:34 PM
I installed it into 1.1.10 and inside the ultimate profile tab is missing from the admin panel where I can set ultimate profile settings for the board.    If I manually enter the link in the address bar of my url it shows up but its not naturally there.

Unfortunately I can't use it because when i go into the permissions for each membergroup it doesn't have ultimate profile in that section to check or uncheck.


Any thoughts on whats going on?
Title: Re: Ultimate Profile
Post by: gbsothere on September 25, 2009, 11:17:43 PM
Quote from: casty23 on September 25, 2009, 11:15:34 PM
I installed it into 1.1.10 and inside the ultimate profile tab is missing from the admin panel where I can set ultimate profile settings for the board.    If I manually enter the link in the address bar of my url it shows up but its not naturally there.

Unfortunately I can't use it because when i go into the permissions for each membergroup it doesn't have ultimate profile in that section to check or uncheck.


Any thoughts on whats going on?



Which zip of Ultimate Profile did you download?  Did you use the package manager to install and, if you did, did you get any errors or failed tests?   Are you using a custom theme and can you attach your ModSettings.php file?


Title: Re: Ultimate Profile
Post by: casty23 on September 25, 2009, 11:53:13 PM
I downloaded the .9 zip,  the first one.  I used the package manager and didn't get any errors or failed tests.   I am using a custom theme and only have one other mod on this forum.   And I've tested the mod on all my other forums on 2 different other themes and it worked ok.  So maybe its not working on the particular theme?

I attched my modsettings file.  If you think its modsettings I could just copy the file from my other forums where it works?
Title: Re: Ultimate Profile
Post by: gbsothere on September 26, 2009, 12:02:24 AM
The one you attached wasn't parsed.   :)


Try this one first and, if you get an error, let me know, because a couple of places look a bit odd to me and I'll send up an alternative if this one doesn't work.

For your custom theme... Did you parse that theme's Profile.template.php file and did you open the Ultimate Profile zip and move the files from the Themes/default folder inside to your custom theme's folder (and the same with the language files)?

Title: Re: Ultimate Profile
Post by: gbsothere on September 26, 2009, 12:12:22 AM
@ casty23

I'm going to shuffle off to bed (old man) but here's the alternate ModSettings.php attached.  It's sure to work if the first one doesn't.

Also, just make sure you edit your custom theme's Profile.template.php file and move Ultiimate Profiles theme and language files (found in the zip, in the Themes folder) to your theme's directory and theme/languages folder.

:)
Title: Re: Ultimate Profile
Post by: casty23 on September 26, 2009, 12:29:07 PM
I never had to move files on installations with my other forums.  I did have to delete the custom theme profile file though on my other forums to get it to work fully.

The problem isn't getting it to work here though.  I can see it in my profile cause im the admin and because I could get the ultimate profile tab section in the admin area to show up by entering the url manually.  However I can't change the permissions individually for membergroups because its not showing up in my admin panel. 

Title: Re: Ultimate Profile
Post by: casty23 on September 28, 2009, 01:00:34 PM
I should have replied on a monday cause this thread got buried under the weekend. 
Title: Re: Ultimate Profile
Post by: LC on September 29, 2009, 10:48:17 PM
I installed a new theme on a 1.1.10 forum and parsed the files but the theme's style is over-riding any customization done on a member profile. Is there something I am not doing correctly? There is not a profile.template.php file in the custom theme. The only files that I can see that ultimate profile uses have been changed using the parse method. I even carried over the files from the default theme to the custom theme's folder with no luck.

Any help would be appreciated. :)
Title: Re: Ultimate Profile
Post by: casty23 on September 30, 2009, 12:34:20 PM
I had to delete the profile template file inside my custom template folder to get it working on my other templates ladychaos.

My problem hasn't been solved here though even after copying the sources files from my other forums where it did work. Must be something to do with this particular theme.
Title: Re: Ultimate Profile
Post by: tyty1234 on September 30, 2009, 12:56:20 PM
Quote from: LadyChaos on September 29, 2009, 10:48:17 PM
I installed a new theme on a 1.1.10 forum and parsed the files but the theme's style is over-riding any customization done on a member profile. Is there something I am not doing correctly? There is not a profile.template.php file in the custom theme. The only files that I can see that ultimate profile uses have been changed using the parse method. I even carried over the files from the default theme to the custom theme's folder with no luck.

Any help would be appreciated. :)
If the css styles are right in the user's customization area, then it should work. Can you give us a link to one of your user's profile?
Title: Re: Ultimate Profile
Post by: LC on September 30, 2009, 01:57:05 PM
Quote from: casty23 on September 30, 2009, 12:34:20 PM
I had to delete the profile template file inside my custom template folder to get it working on my other templates ladychaos.

My problem hasn't been solved here though even after copying the sources files from my other forums where it did work. Must be something to do with this particular theme.
I am thinking so Casty. The two other themes I tested worked fine with no issues with UP.

Quote from: tyty1234 on September 30, 2009, 12:56:20 PM
Quote from: LadyChaos on September 29, 2009, 10:48:17 PM
I installed a new theme on a 1.1.10 forum and parsed the files but the theme's style is over-riding any customization done on a member profile. Is there something I am not doing correctly? There is not a profile.template.php file in the custom theme. The only files that I can see that ultimate profile uses have been changed using the parse method. I even carried over the files from the default theme to the custom theme's folder with no luck.

Any help would be appreciated. :)
If the css styles are right in the user's customization area, then it should work. Can you give us a link to one of your user's profile?
http://www.ladychaosdnb.com/forum/index.php?action=profile;u=14

You can see the background for the profile (customized) behind the background of the theme. On previous themes the custom background for the profile is not blocked behind the forum's background.
Title: Re: Ultimate Profile
Post by: DaBrute on September 30, 2009, 04:31:15 PM
This failed when i tried to uninstall

3.     Execute Modification     ./Sources/ModSettings.php     Test failed
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
Title: Re: Ultimate Profile
Post by: tyty1234 on October 01, 2009, 02:59:45 AM
Quote from: LadyChaos on September 30, 2009, 01:57:05 PM
Quote from: tyty1234 on September 30, 2009, 12:56:20 PM
Quote from: LadyChaos on September 29, 2009, 10:48:17 PM
I installed a new theme on a 1.1.10 forum and parsed the files but the theme's style is over-riding any customization done on a member profile. Is there something I am not doing correctly? There is not a profile.template.php file in the custom theme. The only files that I can see that ultimate profile uses have been changed using the parse method. I even carried over the files from the default theme to the custom theme's folder with no luck.

Any help would be appreciated. :)
If the css styles are right in the user's customization area, then it should work. Can you give us a link to one of your user's profile?
http://www.ladychaosdnb.com/forum/index.php?action=profile;u=14

You can see the background for the profile (customized) behind the background of the theme. On previous themes the custom background for the profile is not blocked behind the forum's background.
The user's background image appears fine to me. At least for the theme I am seeing. What themes is this affecting?
Title: Re: Ultimate Profile
Post by: LC on October 01, 2009, 03:36:55 AM
Quote from: tyty1234 on October 01, 2009, 02:59:45 AM
Quote from: LadyChaos on September 30, 2009, 01:57:05 PM
Quote from: tyty1234 on September 30, 2009, 12:56:20 PM
Quote from: LadyChaos on September 29, 2009, 10:48:17 PM
I installed a new theme on a 1.1.10 forum and parsed the files but the theme's style is over-riding any customization done on a member profile. Is there something I am not doing correctly? There is not a profile.template.php file in the custom theme. The only files that I can see that ultimate profile uses have been changed using the parse method. I even carried over the files from the default theme to the custom theme's folder with no luck.

Any help would be appreciated. :)
If the css styles are right in the user's customization area, then it should work. Can you give us a link to one of your user's profile?
http://www.ladychaosdnb.com/forum/index.php?action=profile;u=14

You can see the background for the profile (customized) behind the background of the theme. On previous themes the custom background for the profile is not blocked behind the forum's background.
The user's background image appears fine to me. At least for the theme I am seeing. What themes is this affecting?
Just the theme you saw. I used the "newton" theme. The thing is, the background of that profile (red swirls) should be in front of the black/gray background that the theme itself is causing. You can only see two sides of the profile background on each side of the black part of it. Which in a previous theme (siyah_inci) you could see the whole background image of the red swirls across the profile. This also affects adding just a colored background as well. So I want to know how to get the theme to stop over riding that.
Title: Re: Ultimate Profile
Post by: NeKit1000 on October 01, 2009, 11:31:27 AM
I've made a Russian translation of 0.9.
Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 01:54:01 PM
Quote from: DaBrute on September 30, 2009, 04:31:15 PM
This failed when i tried to uninstall

3.     Execute Modification     ./Sources/ModSettings.php     Test failed
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed



Try using fresh clean files, ModSettings.php and Modifications.english.php from the SMF zip of your version and then, after Ultimate Profile is installed, pull those files from your server onto your desktop and add back any edits that your other mods add to those files, to ensure that they also continue to function properly.

:)
Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 01:56:26 PM
Quote from: casty23 on September 30, 2009, 12:34:20 PM
I had to delete the profile template file inside my custom template folder to get it working on my other templates ladychaos.

My problem hasn't been solved here though even after copying the sources files from my other forums where it did work. Must be something to do with this particular theme.


What theme are you using, casty23?
Title: Re: Ultimate Profile
Post by: casty23 on October 01, 2009, 01:58:17 PM
red darkness theme
Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 01:59:09 PM
Quote from: casty23 on October 01, 2009, 01:58:17 PM
red darkness theme


Give me a second to download it and look at its files.   

Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 02:08:18 PM
@casty23

Would you open your Red Darkness folder on your server and pull the Profile.template.php and, from its language folder, the Modifications.english.php file and attach them here?

Unless, of course, you have no other mods.  If you have no other mods, just let me know that and I'll use the files I have.

Title: Re: Ultimate Profile
Post by: casty23 on October 01, 2009, 02:24:23 PM
I deleted the profile template file.  I had to do that on my other templates too.

Like I said though it WORKS, the problem is getting the option to show in my ADMIN panel.  I can see it working fine on the ADMINS PROFILE.  But can't get it to work for regular members because it doesn't allow me to change permissions in the admin panel.
Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 02:31:22 PM
Quote from: casty23 on October 01, 2009, 02:24:23 PM
I deleted the profile template file.  I had to do that on my other templates too.

Like I said though it WORKS, the problem is getting the option to show in my ADMIN panel.  I can see it working fine on the ADMINS PROFILE.  But can't get it to work for regular members because it doesn't allow me to change permissions in the admin panel.


You completely removed the Red Darkness theme's Profile.template.php from your server and yet you're still using Red Darkness?   

In any event, Red Darkness has its own Modifications.english.php file in its language folder that will have to have Ultimate Profile's edits, just as the Modifications.english.php in the default's language folder had to.  Also, all the template files in the Ultimate Profile's zip Theme's folder have to be placed in Red Darkness's folder, and UltimateProfile.english.php has to be moved from the Ultimate Profile folder (Themes/default/language) into the Red Darkness language folder.

Have you done these things?



Title: Re: Ultimate Profile
Post by: casty23 on October 01, 2009, 02:51:06 PM
No i haven't done those things, however the thing worked perfectly in my other templates where I didn't do that and also removed the profile tempalte file from the template.  I think there is something wrong with this particular template at some core level.  I don't think its been updated in a few versions so that may be the problem.
Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 02:57:29 PM
casty23, that being the case, perhaps you'd be better off not only uninstalling Ultimate Profile, but uninstalling and then reinstalling the very latest version of Red Darkness (I see it was updated in September) then reinstalling Ultimate Profile, afterward.  However, even doing this, Red Darkness's Profile.template.php and Modifications.english.php files will still have to be manually edited and will still have to be uploaded and the Ultimate Profile template files and language file will still have to be moved from the zip into Red Darkness's folder (and its language folder).

It sounds as if you just need to start fresh, both with your theme and with this mod.

Title: Re: Ultimate Profile
Post by: casty23 on October 01, 2009, 05:48:49 PM
I didn't know there was a new update to red darkness theme.  Thanks for letting me know.

Did the mod work for you on the latest red darkness theme of 1.1.10 or did you test it out?

I don't see how updating to the latest version would be helpful since it doesn't seem to be updating in my admin panel the information.  Which file do you think would control that in the template?
Title: Re: Ultimate Profile
Post by: gbsothere on October 01, 2009, 06:07:08 PM
I haven't installed Red Darkness on any of my test sites, casty23, but, if you want to PM me a URL and a temporary admin log in, I'll scout around and check out your errors and see if I can figure out what's going on. 

I always recommend that a member reads this post before providing that sort of information:

http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795 (http://www.simplemachines.org/community/index.php?topic=87130.msg575795#msg575795)
Title: Re: Ultimate Profile
Post by: auto:blank on October 02, 2009, 03:08:21 AM
hi jovant
i tried to register in you site but did not got activation mail, email send in pm.
I installed ultimate profile in my forum i want to modify it a bit, in user Profile section option to modify profile in called "Ultimate Profile" i want to rename it to "SMF Profile" or "Profile++ " is it possible ?
pic here if u did not understand me > http://i37.tinypic.com/wrnhqg.jpg
Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 03:38:42 PM
I have installed this mod, and I am able to enable the ultimate profile in my personal profile settings. However, in the admin panel, I can go to the ultimate profile settings, but if I change anything the settings aren't saved. Also I get 3 errors written to the log:
Quote8: Undefined index: pm_posts_verification
File: Sources/ModSettings.php
Line: 320
Quote8: Undefined index: max_pm_recipients
File: Sources/ModSettings.php
Line: 320
and
Quote8: Undefined index: pm_posts_per_hour
File: /Sources/ModSettings.php
Line: 320

Any idea whats going wrong here?

Modsettings.php is attached
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 03:47:06 PM
What version SMF, Jules?
Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 03:48:25 PM
ow yeah, my apologies

smf 1.1.10
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 03:50:19 PM
Can you tell me what other mods you have installed?  For instance, do you have one installed that is connected with Personal Messages, in any way?
Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 03:57:33 PM
I've been looking into that myself, but I could not think of one right away

Here's a screenshot of installed mods
(http://img39.imageshack.us/img39/4900/screenshotvs.png)
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 04:01:28 PM
Actually, that line referenced in the error is part of SMF 1.1.10's basic code; it's "out of the box", identical to the file in the zip.   That's not related to Ultimate Profile.  Looking at the ModSetting.php file, though, I do see that Ultimate Profile's parsing is sort of "sandwiched in and packed around" Digger's Watermark mod.  Did you do the parsing manually?

Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 04:07:15 PM
The parsing of the modsettings.php I've done manually yes. Also tried to put it in as $subActions['ultprofile'] => 'ModifyUltProfileSettings'; to no avail.

I installed it with an error in modsettings, so I backed up all forum files, installed the mod with the error and parsed the modsettings.php myself
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 04:11:59 PM
You may want to try this, Jules....   pull that ModSettings.php to one side, leave it on your desktop and send up a fresh ModSettings.php from your SMF 1.1.10 zip.  Then reinstall Ultimate Profile again, hoping for a "successfully installed" message.  If you get any other "failed tests", pull those files from your server as well, and replace those with clean files from your zip.  You want to be able to install it with no errors. Test it for function and then, when it's working correctly, send up that ModSettings.php (and any other files that you had to pull from your server and replace with clean files) since they have all your other mods' edits, along with Ultimate Profiles' edits and see if it continues to function as it should.



EDIT:   Let me add this, since I'm not sure how much longer I'll be around...  if you uninstall and then reinstall, Ultimate Profile's edits probably won't be in the any files that you get a "failed test" on and have to pull from your server in order to replace with clean ones and proceed.  So, when you're done, before you send those files back up to preserve your other mods, you'll want to manually add Ultimate Profile's edits.
Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 04:16:31 PM
I suppose I first have to uninstall the ultimate profile mod, or else I won't be able to install it after replacing the files with the original ones?
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 04:21:23 PM
Quote from: JulesW on October 02, 2009, 04:16:31 PM
I suppose I first have to uninstall the ultimate profile mod, or else I won't be able to install it after replacing the files with the original ones?


I just edited my other post to you.    :)

Just go ahead and make a folder on your desktop and pull all the files that Ultimate Profile wants to parse (you can get those from the mod page) off your server and put them in the folder.  Then uninstall Ultimate Profile and send up clean versions of all those files.  Once Ultimate Profile is installed, you can send those files in the folder on your desktop back up. They should already have Ultimate Profile's edits from before. 

Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 04:23:25 PM
Ok will do.

Will let you know how things went along. Thanks thus far for all the help!
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 04:25:05 PM
Quote from: JulesW on October 02, 2009, 04:23:25 PM
Ok will do.

Will let you know how things went along. Thanks thus far for all the help!



I've got to dash for a quick appointment, Jules, but leave a note as to how it went and, if I'm not around, someone else much brighter will be.   :D


Good luck with it!

Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 04:43:05 PM
All went according to plan:  backed up the modsettings.php from the server and the modsettings.english.php from profiles/default/language/ and uninstalled without problems,
Replaced those files with clean ones without any edits and installed without errors

Next tested if it worked and I was able to activate ultimate profile mod for all members. So I restored the backed up files (with the edits from previous install) and now I cannot disable the mod any more. Also got the same errors written to the log.
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 05:33:19 PM
Quote from: JulesW on October 02, 2009, 04:43:05 PM
All went according to plan:  backed up the modsettings.php from the server and the modsettings.english.php from profiles/default/language/ and uninstalled without problems,
Replaced those files with clean ones without any edits and installed without errors

Next tested if it worked and I was able to activate ultimate profile mod for all members. So I restored the backed up files (with the edits from previous install) and now I cannot disable the mod any more. Also got the same errors written to the log.




I'm back.....   from finding out that my first grandchild will be a girl.   :D


Would you attach those two files that you edited? 

Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 05:43:38 PM
Congratulations!!

Just found out. The files on the server had the ultmodsettings still as $subaction instead of being in the array. After modifying that it worked perfectly!

No errors!! Don't think the profile visitors mod still functions, but why that is, I don't know (yet)
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 05:46:39 PM
Quote from: JulesW on October 02, 2009, 05:43:38 PM
Congratulations!!

Just found out. The files on the server had the ultmodsettings still as $subaction instead of being in the array. After modifying that it worked perfectly!

No errors!! Don't think the profile visitors mod still functions, but why that is, I don't know (yet)


Thanks, and congratulations to you, for sorting that out!   :)

There's something here in this very long thread about the Profile Visitors mod; someone else had an issue...   let me glean through it and see what I can find.


Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 05:50:21 PM
Strange thing is, that it worked before. when I enabled the ultimate profile for my profile only, it was there. Now it is not, so maybe I'll just reinstall the profile visitors mod as well, since now it was installed before the ultimate profile mod.
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 05:51:43 PM
Quote from: JulesW on October 02, 2009, 05:50:21 PM
Strange thing is, that it worked before. when I enabled the ultimate profile for my profile only, it was there. Now it is not, so maybe I'll just reinstall the profile visitors mod as well, since now it was installed before the ultimate profile mod.



That's what I'm thinking, Jules.  JovanT says here that there is built-in support in Profile Visitors for Ultimate Profile, so maybe just a reinstall and mod/permission settings may sort it.

http://www.simplemachines.org/community/index.php?topic=298641.msg1975353#msg1975353 (http://www.simplemachines.org/community/index.php?topic=298641.msg1975353#msg1975353)
Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 05:58:26 PM
Also figured that one out:

Ultimateprofile.template.php is modified by the profile visitor mod. Since that was reinstalled, it no longer had the modifications. No need to reinstall the visitor mod though but just parse the edits manually in the /themes/default/ultimateprofile.template.php.

Thanks again for all your help!
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 06:00:54 PM
(http://whereikeepmystuff.com/smf/Smileys/classic/highfive.gif)

You don't need no stinkin' support thread!   :D
Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 06:05:11 PM
But sometimes I need to be nudged into the right direction.

And I have no coding skillz at all, if I look at code, I mostly can figure out what things do, but no way I can code anything myself, let alone find errors in the code....t

plus: I have two more mods that regularly write errors in the log, so I'm not out of the woods ye
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 06:06:57 PM
Quote from: JulesW on October 02, 2009, 06:05:11 PM
But sometimes I need to be nudged into the right direction.

And I have no coding skillz at all, if I look at code, I mostly can figure out what things do, but no way I can code anything myself, let alone find errors in the code....


I've never used Profile Visitors, so I had no idea that it modified Ultimate Profile.  That's good to find out.  Good catch!

Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 06:09:12 PM
During install it says it's not vital to the mod, but apparently it is if you have ultimate profile enabled...

congrats on your 1000th post btw ;)

edit:typo
Title: Re: Ultimate Profile
Post by: gbsothere on October 02, 2009, 06:14:25 PM
Quote from: JulesW on October 02, 2009, 06:09:12 PM
During install it says it's not vital to the mod, but apparently it is if you have ultimate profile enabled...

congrats on your 1000th post btw ;)

edit:typo


Ah, thank you.....    this calls for a Scotch.... and it's after 5:00 where I am.   :)

Glad you got it sorted, Jules!

Title: Re: Ultimate Profile
Post by: JulesW on October 02, 2009, 06:16:55 PM
I'll join you with the scotch. Past midnight over here, so that won't be frowned upon :D
Title: Re: Ultimate Profile
Post by: CerebralJam on October 03, 2009, 05:35:31 PM
Hiya... me again.  I love this mod and it is working great on my forum.  I've moved a few things around but what I would like to do is create another media file box... ie one where people can add their favourite links to other places, or a  youtube clip.  I am currently using the present My Media for my songs and videos I create so I want to separate the two.  Also it's becoming lop-sided so it would be nice to even out my left hand side by adding this.

I tried to add a duplicate my media box and it worked only of course it will adds the same material as the first one you made into it.

I found this coding in the php file but I haven't a clue as I said what to do!

Quote/*
      // 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>';
      */
   

Can anyone help me please?  I had originally thought with my idea of duplicating the media box earlier that I just change the name of the box but I then don't know how or where to add the field people type into.  Very lost ...

exactly how do I add this to the file to make it 1) activated?  Do I take the */ out and what do I paste as the code where it says paste code here.  I'm really making what I think to be a simple task a complicated read aren't I?  Sorry!

I would like this box to be html compatible as we have some widgets that display with this but not bbcode.  We have Aeva installed but it will not display certain types of media widgets.

EDIT:  Ps.  I am sorry if this has been included prior to this post, there's 53 pages here and it's hard to find the time to read all of them.  I did read many from the beginning but I am eager to just get on!

Many thanks.
Janet

EDIT:  Ahhh, just read it says Custom Profile Fields Mod, ow, that is only available for 1.1.9  - I'm running 2.0 RC1-2.  Can you tell me just how I add a new media box on the left as specified LOL with somewhere to edit it in!  I'm going back to the drawing board in the meanwhile to have a little fiddle ... hopeless at manuals.
Title: Re: Ultimate Profile
Post by: webfan on October 04, 2009, 12:39:06 PM
Hi,
the mod is working, but I cannot upload pictures.
http://www.startforum.de/profiles/webfan-u1.html

When I click on "my pictures" and then when I click on the "add picture" link, nothing happens.
Please help, thanks.
Title: Re: Ultimate Profile
Post by: MrDby on October 04, 2009, 03:04:42 PM
Wish the comments area had smilies and bbcodes.
Title: Re: Ultimate Profile
Post by: JulesW on October 04, 2009, 03:06:04 PM
comment do support smilies, but you have to know the code for it (like ": )" for :) )

Edit: same holds for bbcode
Title: Re: Ultimate Profile
Post by: CerebralJam on October 04, 2009, 03:10:46 PM
That is a really useful tip... thank you... now, about my problem (GRIN).
Title: Re: Ultimate Profile
Post by: JulesW on October 04, 2009, 03:12:30 PM
If I would have know the answer to that one, you would have gotten it from me :) unfortunately I have no Idea how to solve that one...
Title: Re: Ultimate Profile
Post by: CerebralJam on October 04, 2009, 03:19:41 PM
Heh.  That's okay, I was only teasing... like I said I can get a second media box with duplicate stuff to work, but nowhere can I work out how to make a new second media text field box because I don't know where this information is held :D

Trial and error... but fun!  Someone will know.  I'll keep opening files until I see it.
Title: Re: Ultimate Profile
Post by: Paul Cull on October 05, 2009, 10:17:25 PM
Now that RC 2 is out to charter members, has anyone got this mod working with it?
Title: Re: Ultimate Profile
Post by: ExWizzard on October 07, 2009, 12:37:21 PM
is enabling html for everyone in the profile safe?
Title: Re: Ultimate Profile
Post by: Yağız... on October 07, 2009, 12:38:55 PM
Quote from: Paul Cull on October 05, 2009, 10:17:25 PM
Now that RC 2 is out to charter members, has anyone got this mod working with it?
If JovanT doesn't have time to update, I'll try to update.
Title: Re: Ultimate Profile
Post by: foxchild on October 07, 2009, 12:40:28 PM
Quote from: Yağız... on October 07, 2009, 12:38:55 PM
Quote from: Paul Cull on October 05, 2009, 10:17:25 PM
Now that RC 2 is out to charter members, has anyone got this mod working with it?
If JovanT doesn't have time to update, I'll try to update.

Will there be any chance that the issue with the buddies would be able to get fixed at the same time?
Title: Re: Ultimate Profile
Post by: Yağız... on October 07, 2009, 12:42:24 PM
Quote from: foxchild on October 07, 2009, 12:40:28 PM
Quote from: Yağız... on October 07, 2009, 12:38:55 PM
Quote from: Paul Cull on October 05, 2009, 10:17:25 PM
Now that RC 2 is out to charter members, has anyone got this mod working with it?
If JovanT doesn't have time to update, I'll try to update.

Will there be any chance that the issue with the buddies would be able to get fixed at the same time?
What's the problem? I didn't read the topic for a while :)
Title: Re: Ultimate Profile
Post by: foxchild on October 07, 2009, 12:48:45 PM
It was back around here...  http://www.simplemachines.org/community/index.php?topic=298641.840

Basically, the buddies aren't showing as being buddies in the online list in the info center nor are they showing in the member list, but they do show in the member profiles.  Apparently it a coding issue, but no one has been able to figure it out.

Any help you could provide would be really appreciated.
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 07, 2009, 04:22:53 PM
Okay I finally got someone who knows alot about smf to get this installed.

It works great now,but I can't seem to add a project playlist to my profile :(.
Title: Re: Ultimate Profile
Post by: flutter on October 08, 2009, 05:35:35 AM
I have this mod working well on another site.  I've just built a new fprum and am trying to get this to work on there.

I can see he files for it where they are supposed to be but can't get the ultimate profile controls up in the admin area.

The site is version 1..10 and I'm using a custom theme, can you tell me if any of the files should be moved to the custom theme instead of default?

I tried opening profile.php to start trying to manually instal this but right away I found I couldn't find the permissions line as you had it in the parse instructions, I have show permissions but it's different to what you had.

Can you help me out here please?
Title: Re: Ultimate Profile
Post by: Mick. on October 08, 2009, 10:22:34 AM
Anyone tried replacing the profile pictures for smf-media gallery mod?
Title: Re: Ultimate Profile
Post by: cazisk on October 09, 2009, 03:09:09 AM
HI,

thank you for your time to read my problem.

I have SMF 2.0 RC1.2,  running:     
1.    Advanced Reputation System    1.7.5   
2.    Ultimate Profile    0.9

and hosting is with just host.

basicly i've checked the path is correct to my knowledge, permision is set correctly for profile_pictures folder and I yesterday enquired to my host and they said they do support gd2.

when i upload a photo it comes up with the thumbnail and name, etc. but when i click on the thumbnail to get the bigger pic, it doesnt have the bigger pic . I looked in profile_pictures and theres only the thumbnail there, so somewhere along the way the original pic is lost?

the error im getting is always the same

Apply Filter: Only show the error messages of this URL  bla bla bla/index.php?action=profile;area=pictures;u=1;add2
Apply Filter: Only show the errors with the same message
2: rename(/home/stinkin1/public_html/4wd/profile_pictures/tmp_1_thumb,/home/stinkin1/public_html/4wd/profile_pictures/1_1255011715.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
Apply Filter: Only show the errors from this file
File: /home/stinkin1/public_html/4wd/Sources/Profile-Pictures.php
Line: 198

Again, thank you for your time to take a look at my problem. I hope we can figure this one out.
Title: Re: Ultimate Profile
Post by: 4b11l on October 09, 2009, 06:23:01 PM
Quote from: gbsothere on September 18, 2009, 07:57:13 AM
Quote from: 4b11l on September 18, 2009, 12:35:22 AM
Hello,

Quick question. Did a search and looked through the faq, but couldn't ifnd it.

How can I make the profile show more pictures? Currently, it only shows 6 pictures, I can't seem to make it so that more pictures are available. More specifically, I want to show 9 pictures instead. (this is not referring to how many pictures I can add in settings. I know I can change to 9, but these 9 pictures seem to rotate in showing only 6 at a time)

Also, how can I space out the pictures? I have them centered, but they are all in the middle since it only shows 3 across each row.



You can increase number of displayed pictures. Open Sources/Profile.php.
Code (Find) Select

$request = db_query('SELECT ID_PICTURE, time, title, filename
FROM ' . $db_prefix . 'profile_pictures
WHERE ID_MEMBER = ' . $memID . '
ORDER BY RAND()
LIMIT 6', __FILE__, __LINE__);


and replace  6   with  10.

Hello,

Can someone tell me now where this code resides in smf 2.0? I recently upgarded and this code doesn't seem to exist in profile.php anymore.
Title: Re: Ultimate Profile
Post by: JulesW on October 10, 2009, 04:13:18 AM
QuoteHello,

Can someone tell me now where this code resides in smf 2.0? I recently upgarded and this code doesn't seem to exist in profile.php anymore.

It's in /sources/profile-view.php

before
Quote// Are there things we don't show?
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 11, 2009, 12:07:29 PM
Quote from: NBK*Twitch on October 07, 2009, 04:22:53 PM
Okay I finally got someone who knows alot about smf to get this installed.

It works great now,but I can't seem to add a project playlist to my profile :( .
*bump*

Any ideas? :).
Title: Re: Ultimate Profile
Post by: mcgovery on October 11, 2009, 01:09:07 PM
A little assistance needed please fellas :)

I install it just fine on version 2 but I get the following error when trying to view my profile:

Unknown column 'com.time' in 'field list'
File: /home/mcewc/public_html/forums/Sources/Profile-View.php
Line: 228

Any ideas?

Thanks.
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 11, 2009, 01:15:21 PM
Quote from: mcgovery on October 11, 2009, 01:09:07 PM
A little assistance needed please fellas :)

I install it just fine on version 2 but I get the following error when trying to view my profile:

Unknown column 'com.time' in 'field list'
File: /home/mcewc/public_html/forums/Sources/Profile-View.php
Line: 228

Do you have profile comments mod or any other kind of profile mod installed?

Also check and make sure all edits where done.

Any ideas?

Thanks.

Do you have any profile mods installed?

Also check and make sure all edits were done.
Title: Re: Ultimate Profile
Post by: Mick. on October 11, 2009, 01:25:17 PM
Which file do i go to make the thumbnails in profile pictures a bit smaller?    ::)
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 11, 2009, 01:31:18 PM
I might eb wrong,but I think you can do that in the admincp.
Title: Re: Ultimate Profile
Post by: Mick. on October 11, 2009, 01:33:44 PM
Quote from: NBK*Twitch on October 11, 2009, 01:31:18 PM
I might eb wrong,but I think you can do that in the admincp.

Thats the size of the image.   Not the thumbnail in profile.
Title: Re: Ultimate Profile
Post by: Yağız... on October 11, 2009, 02:28:54 PM
Quote from: mcgovery on October 11, 2009, 01:09:07 PM
A little assistance needed please fellas :)

I install it just fine on version 2 but I get the following error when trying to view my profile:

Unknown column 'com.time' in 'field list'
File: /home/mcewc/public_html/forums/Sources/Profile-View.php
Line: 228

Any ideas?

Thanks.
Install attached package.

Quote from: BlueDevil on October 11, 2009, 01:25:17 PM
Which file do i go to make the thumbnails in profile pictures a bit smaller?    ::)
Find in ./Themes/default/Profile.template.php file:
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" /></a>
Replace with:
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['description'], '" border="0" width="width" height="height" /></a>
Replace width and height with values that you want. But don't know if it'll work.
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 11, 2009, 04:31:41 PM
Hey is there a css template to use for this mod?
Title: Re: Ultimate Profile
Post by: 4b11l on October 12, 2009, 01:11:33 AM
Quote from: JulesW on October 10, 2009, 04:13:18 AM
QuoteHello,

Can someone tell me now where this code resides in smf 2.0? I recently upgarded and this code doesn't seem to exist in profile.php anymore.

It's in /sources/profile-view.php

before
Quote// Are there things we don't show?

Thank you!

Coding problem now it seems in smf 2.0?

I am trying to put this code into the "summary" section of Ultimate Profile (UP) under "positions" and for some reason it is not showing below it; rather, it goes on the very top. This happens with all of my codes I try to add from profile.template.php. Additionally, the code doesn't seem to parse correct with UP? I have attached a screenshot of this below. The first one is with UP and the second is the regular profile, how it's suppose to look like.

<tr>';

// Add the referral/referred user information to the profile summary
echo '
<dt>', $txt['referrals_referrals'], '</dt>
<dd>
', $context['member']['referrals_no'], '  ';

// Show in dropdown username 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 '
</dd>
<dt>', $txt['referrals_referrals_hits'], '</dd>
<dd>', $context['member']['referrals_hits'], '</dd>';

if (!empty($context['member']['referred_by'])){
echo'
<dt>', $txt['referrals_referred_by'], '</dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}

// Remove the # on the next line to make the link appear for the profile's owner ONLY!
# if ($context['user']['id'] == $context['member']['id'])
echo '
<dt>', $txt['referrals_link'], '</dt>
<dd>
<input type="text" id="referral_link" value="', $scripturl, '?referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
<a href="javascript:void(0);" rel="nofollow" onclick="return smfSelectText("referrallink", true);" title="', $txt['code_select'], '">', $txt['code_select'], '</a>
</dd>';
echo'
</tr>


I am not very good with PHP and through trial and error, has found that code to work, but with issues as stated above.

I have added my php file too just in case.
Title: Re: Ultimate Profile
Post by: JovanT on October 12, 2009, 04:43:53 PM
Can someone with access to SMF 2.0 RC2 confirm that Ultimate Profile works with this new version, too? If there are any issues, I will try to fix them as soon as I get access to the new SMF.

Also, if you haven't noticed, my support forum (http://dev.turanjanin.net/forum/) is back online so you can read the FAQ and find most common solutions there, too.
Title: Re: Ultimate Profile
Post by: Yağız... on October 12, 2009, 04:47:22 PM
It doesn't work. I can make a new version without bugs if you want.
Title: Re: Ultimate Profile
Post by: Followthehat on October 13, 2009, 08:21:50 PM
I'm clearly to inexperienced to install this myself, I'll pay somebody to install it for me.

e-mail [email protected] if interested, I'll pay 15 usd , because I'm infact that cheap
Title: Re: Ultimate Profile
Post by: mrtrc266 on October 13, 2009, 11:00:00 PM
Quote from: Followthehat on October 13, 2009, 08:21:50 PM
I'm clearly to inexperienced to install this myself, I'll pay somebody to install it for me.

e-mail [email protected] if interested, I'll pay 15 usd , because I'm infact that cheap

PM Sent
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 13, 2009, 11:04:28 PM
Quote from: NBK*Twitch on October 11, 2009, 04:31:41 PM
Hey is there a css template to use for this mod?
bump
Title: Re: Ultimate Profile
Post by: tyty1234 on October 14, 2009, 12:12:28 AM
Quote from: NBK*Twitch on October 13, 2009, 11:04:28 PM
Quote from: NBK*Twitch on October 11, 2009, 04:31:41 PM
Hey is there a css template to use for this mod?
bump
None that I know of. Are you asking for a CSS stylesheet, or an example CSS code to use in your Ultimate Profile?
Title: Re: Ultimate Profile
Post by: mrtrc266 on October 14, 2009, 12:38:15 AM
Here is an example of what I use in my Ultimate Profile...

Just put it in this section of Ultimate Profile and edit to your liking
QuoteCustomization:
Here you can add some HTML and CSS to customize look & feel of your profile.

<style>
/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of the Title Section Boxes */*/
/* if you have your own bars you\\\\\\\\\\\\\\\'d like to use, type it\\\\\\\\\\\\\\\'s URL in the ( ) or if you want */
/* a solid color, add it\\\\\\\\\\\\\\\'s hexadecimal code just after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
background: url() #63121B;
}

/* Color control for Main Section Boxes / Table Backgrounds*/
.windowbg
{
background: url() #1A1A1A;
border: outset 5px #6C1212;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
background: transparent;
border: solid 0x #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
background: transparent;
border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
  color: #ff0000;
}


/* Background color control for the right side of the Comments box */
/* The part where the actual comments are*/
.windowbg2
{
background: url() #1A1A1A;
border: outset 5px #6C1212;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
background: #ffffff;
color: red;
border: solid 1px #777000;
font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
background: #ff0000;
color: #000000;
padding: 1px;
font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
color: #4BFD50;
font-size: 100%;
font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a:font
{
color: #1FD924;
text-decoration: none;
}
a:hover
{
color: #FF0000;
text-decoration: overline underline;

}
</style>
Title: Re: Ultimate Profile
Post by: tyty1234 on October 14, 2009, 12:58:52 AM
you know, ever since I installed this mod and have used the style tags, I would put a type attribute in it, but it would automatically put it back to <style> instead of <style type="text/css">.

Is this caused from the HtmLawed file?
Title: Re: Ultimate Profile
Post by: ingamer on October 14, 2009, 02:19:38 AM


I have enabled : "Enable ultimate profile for all members" , Allow profile customization but it will not defaultly check the "use ultimate profile" for the user under their profile -> ultimate profile - is this what that selection is intended to do?

If not is there a simple modification that can automatically enable the check mark for "Enable Ultimate Profile?"

I am using ultimate_profile_0-9.zip on my forum running 1.1.10



Thank you very much!!




Hello , I have successfully installed ultimate_profile_0-9.zip on my forum running 1.1.10 , i have enabled : Enable ultimate profile for all members , Allow profile customization


I also have User CP installed [it gave no conflicts] however i have tested this with the mod disabled with the same problem, I can see "Ultimate Profile" link under profile in the Admin account but for existing and newly registered members they do not get the button under profile , am I missing something?

I tried manually going to the url while logged as a normal user: http://xperienced.net/endaffinity/index.php?action=profile;u=1;sa=customized

it give me the follow error:
An Error Has Occurred!
You aren't allowed to edit just any ultimate profile.




Thank you!


RESOLVED: Found allow access needed to be setup under "membergroups" so that they could view "ultimate profile"  under the profile section
Title: Re: Ultimate Profile
Post by: mrtrc266 on October 14, 2009, 02:31:27 PM
Quote from: mrtrc266 on October 13, 2009, 11:00:00 PM
Quote from: Followthehat on October 13, 2009, 08:21:50 PM
I'm clearly to inexperienced to install this myself, I'll pay somebody to install it for me.

e-mail [email protected] if interested, I'll pay 15 usd , because I'm infact that cheap

PM Sent

Installed successfully, enjoy the Mod!
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 14, 2009, 06:37:55 PM
Quote from: mrtrc266 on October 14, 2009, 12:38:15 AM
Here is an example of what I use in my Ultimate Profile...

Just put it in this section of Ultimate Profile and edit to your liking
QuoteCustomization:
Here you can add some HTML and CSS to customize look & feel of your profile.

<style>
/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of the Title Section Boxes */*/
/* if you have your own bars you\\\\\\\\\\\\\\\'d like to use, type it\\\\\\\\\\\\\\\'s URL in the ( ) or if you want */
/* a solid color, add it\\\\\\\\\\\\\\\'s hexadecimal code just after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   background: url() #63121B;
}

/* Color control for Main Section Boxes / Table Backgrounds*/
.windowbg
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
   background: transparent;
   border: solid 0x #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
   background: transparent;
   border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
        color: #ff0000;
}


/* Background color control for the right side of the Comments box */
/* The part where the actual comments are*/
.windowbg2
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
   background: #ffffff;
   color: red;
   border: solid 1px #777000;
   font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
   background: #ff0000;
   color: #000000;
   padding: 1px;
   font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
   color: #4BFD50;
   font-size: 100%;
   font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a:font
{
   color: #1FD924;
   text-decoration: none;
}
a:hover
{
   color: #FF0000;
   text-decoration: overline underline;

}
</style>


Thanks alot man :D.
Title: Re: Ultimate Profile
Post by: mrtrc266 on October 14, 2009, 07:04:45 PM
No problem,  that is just a piece of the original code that I found, I can't remember where I got it from but it seems to work pretty good.

I'll post back if I can find the link to the original in it's entirety.
Title: Re: Ultimate Profile
Post by: jmil on October 15, 2009, 11:43:42 AM
LOVE this Mod and the Members are Loving it too!

Just an Idea - How about adding "HIGHSLIDE" for the images?  ;)

Title: Re: Ultimate Profile
Post by: TwitchisMental on October 15, 2009, 06:29:26 PM
Well I found me a myspace layout that works with this mod nicely. Only problem is it didn't have anything for the category tabs. (where it says picture,name,etc..)

Could someone tell me the css for that. or just the basic

{
.item
}

thing :)
Title: Re: Ultimate Profile
Post by: mrtrc266 on October 16, 2009, 12:53:51 AM
Quote from: NBK*Twitch on October 15, 2009, 06:29:26 PM
Well I found me a myspace layout that works with this mod nicely. Only problem is it didn't have anything for the category tabs. (where it says picture,name,etc..)

Could someone tell me the css for that. or just the basic

{
.item
}

thing :)

Just a few words of caution....Be very careful when using those MySpace code, lots of them are infested with junk. I had a couple members who's profiles were completely locked up due to some of that stuff. I had to remove all the content via the database in order to get rid of it.
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 16, 2009, 01:06:14 AM
Quote from: mrtrc266 on October 16, 2009, 12:53:51 AM
Quote from: NBK*Twitch on October 15, 2009, 06:29:26 PM
Well I found me a myspace layout that works with this mod nicely. Only problem is it didn't have anything for the category tabs. (where it says picture,name,etc..)

Could someone tell me the css for that. or just the basic

{
.item
}

thing :)

Just a few words of caution....Be very careful when using those MySpace code, lots of them are infested with junk. I had a couple members who's profiles were completely locked up due to some of that stuff. I had to remove all the content via the database in order to get rid of it.

I do know this,but that is why I looked for simple layouts that did not have the junk :). I might sound noob,but I do know alot about css and html just not smf :).

If someone can tell me I think my profile theme will be done :D.
Title: Re: Ultimate Profile
Post by: 4b11l on October 16, 2009, 01:10:34 AM
Quote from: 4b11l on October 12, 2009, 01:11:33 AM
Quote from: JulesW on October 10, 2009, 04:13:18 AM
QuoteHello,

Can someone tell me now where this code resides in smf 2.0? I recently upgarded and this code doesn't seem to exist in profile.php anymore.

It's in /sources/profile-view.php

before
Quote// Are there things we don't show?

Thank you!

Coding problem now it seems in smf 2.0?

I am trying to put this code into the "summary" section of Ultimate Profile (UP) under "positions" and for some reason it is not showing below it; rather, it goes on the very top. This happens with all of my codes I try to add from profile.template.php. Additionally, the code doesn't seem to parse correct with UP? I have attached a screenshot of this below. The first one is with UP and the second is the regular profile, how it's suppose to look like.

<tr>';

// Add the referral/referred user information to the profile summary
echo '
<dt>', $txt['referrals_referrals'], '</dt>
<dd>
', $context['member']['referrals_no'], '  ';

// Show in dropdown username 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 '
</dd>
<dt>', $txt['referrals_referrals_hits'], '</dd>
<dd>', $context['member']['referrals_hits'], '</dd>';

if (!empty($context['member']['referred_by'])){
echo'
<dt>', $txt['referrals_referred_by'], '</dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}

// Remove the # on the next line to make the link appear for the profile's owner ONLY!
# if ($context['user']['id'] == $context['member']['id'])
echo '
<dt>', $txt['referrals_link'], '</dt>
<dd>
<input type="text" id="referral_link" value="', $scripturl, '?referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
<a href="javascript:void(0);" rel="nofollow" onclick="return smfSelectText("referrallink", true);" title="', $txt['code_select'], '">', $txt['code_select'], '</a>
</dd>';
echo'
</tr>


I am not very good with PHP and through trial and error, has found that code to work, but with issues as stated above.

I have added my php file too just in case.

bump.

Attached files on page 55. http://www.simplemachines.org/community/index.php?topic=298641.msg2304408#msg2304408
Title: Re: Ultimate Profile
Post by: ElectricSquid on October 16, 2009, 01:17:03 AM
I'm working on a mod that will add Status Update functionality to SMF.
Ultimate profile support WILL be added since I think it will be a cool addition to this mod.
MyStatus Mod (beta) development topic (http://www.simplemachines.org/community/index.php?topic=342535.0)


Title: Re: Ultimate Profile
Post by: robinrobin on October 16, 2009, 04:42:30 PM
This mod resets everyone's buddy-list and doesn't leave the "Add to buddy list" option visible for the members that you previously had in your list, meaning that you can't re-add them to the new list.

2.0 RC1.2
Title: Re: Ultimate Profile
Post by: robinrobin on October 16, 2009, 05:03:01 PM
How can you make new members get the option "Don't receive comment notifications" by default?
Title: Re: Ultimate Profile
Post by: LC on October 16, 2009, 05:38:29 PM
Quote from: NBK*Twitch on October 11, 2009, 12:07:29 PM
Quote from: NBK*Twitch on October 07, 2009, 04:22:53 PM
Okay I finally got someone who knows alot about smf to get this installed.

It works great now,but I can't seem to add a project playlist to my profile :( .
*bump*

Any ideas? :).
That has to do with Project Playlist's new coding for HTML. If you are using IE8 (not sure about other browsers) it will appear as broken. As far as I know nothing has changed since some of my members have attempted to use it. There are other playlist sites out there, but in respect to this thread I won't state them here.
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 17, 2009, 01:04:14 AM
Quote from: LadyChaos on October 16, 2009, 05:38:29 PM
Quote from: NBK*Twitch on October 11, 2009, 12:07:29 PM
Quote from: NBK*Twitch on October 07, 2009, 04:22:53 PM
Okay I finally got someone who knows alot about smf to get this installed.

It works great now,but I can't seem to add a project playlist to my profile :( .
*bump*

Any ideas? :) .
That has to do with Project Playlist's new coding for HTML. If you are using IE8 (not sure about other browsers) it will appear as broken. As far as I know nothing has changed since some of my members have attempted to use it. There are other playlist sites out there, but in respect to this thread I won't state them here.

Yeah I have tried a few others,but none wanna work. If you could,pm me a site you know that would work.
Title: Re: Ultimate Profile
Post by: Newbiezkid on October 17, 2009, 04:31:12 AM
This looks like a great mod... I'm defiantly using this... Thank you so much for sharing...
Title: Re: Ultimate Profile
Post by: robg2251 on October 21, 2009, 08:48:35 AM
This may have been covered.. but I only read through about 15 pages, and gave up.   

I installed this mod - very cool.  Only thing, how the heck do you edit the About Me section?   I want to tell users how to do it, and for the life of me I can't figure out how to edit that section as a user.   The "My Pictures" and "comments" headers are both links.  About Me is not a link.   Is there somewhere else I go to edit this area?

Any help would be appreciated!
Title: Re: Ultimate Profile
Post by: mALEFACTOr on October 21, 2009, 09:20:23 AM
Hi guys. I have a little problem.

I've installed this mod, and when I am trying to get into Profile I got only this error:
Unknown column 'com.time' in 'field list'
Directory: /home/xxxxx/public_html/forum/Sources/Profile-View.php
Line: 230   

Help..
Title: Re: Ultimate Profile
Post by: Yağız... on October 21, 2009, 09:29:54 AM
Quote from: mALEFACTOr on October 21, 2009, 09:20:23 AM
Hi guys. I have a little problem.

I've installed this mod, and when I am trying to get into Profile I got only this error:
Unknown column 'com.time' in 'field list'
Directory: /home/xxxxx/public_html/forum/Sources/Profile-View.php
Line: 230   

Help..

http://www.simplemachines.org/community/index.php?topic=298641.msg2303665#msg2303665
Title: Re: Ultimate Profile
Post by: mALEFACTOr on October 21, 2009, 09:46:50 AM
Thank you dude. I have one more question.
How can I make all users profiles to be Ultimate Profile? Because in my Admin panel / Features and Options I don't have the Ultimate Profile tab..
How can I fix it?
Title: Re: Ultimate Profile
Post by: diablo3x.dk on October 21, 2009, 01:03:57 PM
I have translated 50% of this mod @ Danish so far.

If you like, I could upload this when done :)
Title: Re: Ultimate Profile
Post by: mALEFACTOr on October 21, 2009, 01:22:28 PM
Quote from: mALEFACTOr on October 21, 2009, 09:46:50 AM
Thank you dude. I have one more question.
How can I make all users profiles to be Ultimate Profile? Because in my Admin panel / Features and Options I don't have the Ultimate Profile tab..
How can I fix it?
It's ok.  I solve it. It was in Modifications not in Features and Options.
Title: Re: Ultimate Profile
Post by: robg2251 on October 21, 2009, 01:24:13 PM
Quote from: robg2251 on October 21, 2009, 08:48:35 AM
This may have been covered.. but I only read through about 15 pages, and gave up.   

I installed this mod - very cool.  Only thing, how the heck do you edit the About Me section?   I want to tell users how to do it, and for the life of me I can't figure out how to edit that section as a user.   The "My Pictures" and "comments" headers are both links.  About Me is not a link.   Is there somewhere else I go to edit this area?

Any help would be appreciated!

Hey - I know this is a pretty simple question, but I honestly can't figure out how a user edits the about me section..   what am I missing?
Title: Re: Ultimate Profile
Post by: LC on October 21, 2009, 01:34:08 PM
Quote from: robg2251 on October 21, 2009, 01:24:13 PM
Quote from: robg2251 on October 21, 2009, 08:48:35 AM
This may have been covered.. but I only read through about 15 pages, and gave up.   

I installed this mod - very cool.  Only thing, how the heck do you edit the About Me section?   I want to tell users how to do it, and for the life of me I can't figure out how to edit that section as a user.   The "My Pictures" and "comments" headers are both links.  About Me is not a link.   Is there somewhere else I go to edit this area?

Any help would be appreciated!

Hey - I know this is a pretty simple question, but I honestly can't figure out how a user edits the about me section..   what am I missing?
They have to have the "Ultimate Profile Enabled" Checked. To do that, it is in the Modify Profile-Ultimate Profile- Then check Ultimate Profile Enabled and then you can write text in the about me and my interests sections. The media section is the only place you paste codes for your favorite videos, music as HTML and CSS are supported. To fancy up the profile, the customization area is the area for CSS and HTML (cascading style sheet).
Title: Re: Ultimate Profile
Post by: robg2251 on October 21, 2009, 01:50:05 PM

Quote
They have to have the "Ultimate Profile Enabled" Checked. To do that, it is in the Modify Profile-Ultimate Profile- Then check Ultimate Profile Enabled and then you can write text in the about me and my interests sections. The media section is the only place you paste codes for your favorite videos, music as HTML and CSS are supported. To fancy up the profile, the customization area is the area for CSS and HTML (cascading style sheet).

Well that would be the issue then.  Under Modify Profile - the Ultimate  Profile link isn't coming up.   How do I get that to display?


Title: Re: Ultimate Profile
Post by: LC on October 21, 2009, 01:55:38 PM
Quote from: robg2251 on October 21, 2009, 01:50:05 PM

Quote
They have to have the "Ultimate Profile Enabled" Checked. To do that, it is in the Modify Profile-Ultimate Profile- Then check Ultimate Profile Enabled and then you can write text in the about me and my interests sections. The media section is the only place you paste codes for your favorite videos, music as HTML and CSS are supported. To fancy up the profile, the customization area is the area for CSS and HTML (cascading style sheet).
Well that would be the issue then.  Under Modify Profile - the Ultimate  Profile link isn't coming up.   How do I get that to display?
Are you using a Custom theme? If so, did you make the changes to the theme in accordance to the parser? ( am I making sense? :) ) If not that would be why the link is not showing up. The mod only changes the default theme (SMF core) and not any special themes you might have added.

If that is not the case, then I would still look over the theme files and make sure the Ultimate Profile code is there.
Let me know, I will see what I can do to help you. :)
Title: Re: Ultimate Profile
Post by: fairytears on October 22, 2009, 05:57:48 PM
Hello

The members in my forum can't find the "add to my buddy list" option and the buddy lists they had disappeared when I installed this mod. Does anyone know how to fix?

Thank you  :)
Title: Re: Ultimate Profile
Post by: JohnKaL- on October 23, 2009, 06:38:57 AM
Hi JovanT,

first i love your mod!! Is really perfect.

A really good idea if you add the "relationship status" with other members like facebook  ;)
Title: Re: Ultimate Profile
Post by: JulesW on October 25, 2009, 05:30:05 AM
Never mind!

Thought 80 pages of errors was caused by this mod, but I was wrong.
Title: Re: Ultimate Profile
Post by: auto:blank on October 25, 2009, 12:27:44 PM
i am having a problem in Ultimate profile , i have open a topic here http://www.simplemachines.org/community/index.php?topic=344364.0
other use cannot edit ultimate profile except admin
Title: Re: Ultimate Profile
Post by: LC on October 26, 2009, 06:26:50 PM
Quote from: blinked on October 25, 2009, 12:27:44 PM
i am having a problem in Ultimate profile , i have open a topic here http://www.simplemachines.org/community/index.php?topic=344364.0
other use cannot edit ultimate profile except admin
Have you checked your permissions for the ultimate profile? Each group should have a permission that allows them to edit their own profiles. Not just the enable all users to use UP. That's just so they can see it, I believe. I know I had to edit individual permissions for each membergroup.
Title: Re: Ultimate Profile
Post by: LC on October 27, 2009, 06:36:28 PM
Got a question.

I am testing out other themes on my forum (1.1.10) and it seems Ultimate Profile is being overridden by the theme's style.css, any way to fix this?

I am testing out the DS- Natural Theme by DzinerStudios. ( You won't be able to see it if you click to my forum as it is not the default for everyone.) The background in the profile is always the theme's background and the information (about me, interests sections) are being overlapped and strung out to the right. This is happening in browsers IE8, FireFox, Opera and Chrome.

Not sure if I should be asking this mod's author, or the theme's author. Thought I'd ask here first. :)
Title: Re: Ultimate Profile
Post by: TwitchisMental on October 27, 2009, 06:39:58 PM
Okay I have tried every css item I could think of to color the titlebg in the profile.

I am wondering how to change it :(.
Title: Re: Ultimate Profile
Post by: Buschiq on October 29, 2009, 05:02:19 AM
I got a problem...

Mrtrc266 kindly helped me to install UP and got everything working the other day. Then I read about custom fields and wanted to add them - not such a good idea. I messed up, I think.

We lost the menubar in our profiles, all of it - the whole block, not just the Ultimate Profile part. We also got some dots in front of every line of information in the blocks, but that I don't care to much about.

I tried to upload the mod, got an error in modsettings.php and edited it myself first. Then uploaded and installed without error.
That's when the menu block disappeared.

I edited back the modsettings file and unistalled the custom field mod, no problem there, but still no menu.

Before I installed it I copied the modsettings file to make sure I have one that was untouched (by me) but uploading that doesn't make a difference either.

Now I've spent the last two hours going through all the files custom field had contact with and also checking the ones UP uses to make sure nothing is wrong there.  I just can't find the fault!

I sent this same message to Mrtrc266, asking for guidance, but maybe someone here knows what went wrong and how I can fix it?

Editing: I got error messages in my forums errorlog here in Ultimate Profile template (r 626):

<td class="windowbg" align="center" valign="top">
<b><a href="', $scripturl ,'?action=profile;u=', $comment['author']['id_member'] ,'">', $comment['author']['real_name'] ,'</a></b>
<div class="smalltext">


and here, same file (r 673):
// 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['pages'], ': ', $context['page_index'], '
</td>
</tr>
Title: Re: Ultimate Profile
Post by: Hiver101 on October 29, 2009, 09:41:24 AM
i just put a simple css and nothing happened.

a:link
{
   color: #B4045F;
   text-decoration: none;
}

Please Help.
Title: Re: Ultimate Profile
Post by: Buschiq on October 29, 2009, 11:38:46 AM
Quote from: JovanT on October 12, 2009, 04:43:53 PM

Also, if you haven't noticed, my support forum (http://dev.turanjanin.net/forum/) is back online so you can read the FAQ and find most common solutions there, too.

I tried to register at your support forum, but never received any activation mail (tried like 10 times). I wanted to ask for your help with the problem I wrote about above but couldn't. Any possibility you could activate my account? Same username as here  :)
I just can't figure this out...
Title: Re: Ultimate Profile
Post by: Buschiq on October 30, 2009, 02:53:37 AM
 :D My problem is solved - I managed to find the fault myself... It was in UltimateProfile.template.php file.

Title: Re: Ultimate Profile
Post by: The Goblin on November 05, 2009, 12:34:18 PM
Im needing different Permissions for Membergroup for Pictures

Here is exactly what I need http://dev.turanjanin.net/forum/index.php?PHPSESSID=70166d100c930a5efc8e1301212255f8&topic=107.msg471#msg471 (http://dev.turanjanin.net/forum/index.php?PHPSESSID=70166d100c930a5efc8e1301212255f8&topic=107.msg471#msg471) but its not for the version I am using.  Im using SMF version: SMF 2.0 RC1.2

I found parts of it but not all of it and I dont want to mess anything up.
Title: Re: Ultimate Profile
Post by: Musgo on November 06, 2009, 06:18:09 PM
Quote from: LadyChaos on October 26, 2009, 06:26:50 PM
Quote from: blinked on October 25, 2009, 12:27:44 PM
i am having a problem in Ultimate profile , i have open a topic here http://www.simplemachines.org/community/index.php?topic=344364.0
other use cannot edit ultimate profile except admin
Have you checked your permissions for the ultimate profile? Each group should have a permission that allows them to edit their own profiles. Not just the enable all users to use UP. That's just so they can see it, I believe. I know I had to edit individual permissions for each membergroup.

i have the same problem, non of the regular users can see the 'ultimate profile','my pictures' link on their profile menu
as you said that you have to set permission, how do i edit that config?

:-\ ??
Title: Re: Ultimate Profile
Post by: The Goblin on November 08, 2009, 02:41:55 PM
Im wondering if the ultimate profile still has support, does anyone know?
Title: Re: Ultimate Profile
Post by: JulesW on November 08, 2009, 03:08:25 PM
When I had a question not long ago, I got great support. problem was solved within a day. Unfortunately I have no idea how to help you with your question...
Title: Re: Ultimate Profile
Post by: The Goblin on November 08, 2009, 03:19:22 PM
Quote from: JulesW on November 08, 2009, 03:08:25 PM
When I had a question not long ago, I got great support. problem was solved within a day. Unfortunately I have no idea how to help you with your question...

Thanks!
Title: Re: Ultimate Profile
Post by: Luis_a1h on November 10, 2009, 06:07:50 AM
Hello, i hope you can helpme i see your mod and its greate, i just have a question, can i do it work with this too?????
http://custom.simplemachines.org/mods/index.php?mod=1150

Its the profile visitors, it will be amazing, thankyou
Title: Re: Ultimate Profile
Post by: JulesW on November 10, 2009, 07:52:47 AM
Quote
Hello, i hope you can helpme i see your mod and its greate, i just have a question, can i do it work with this too?????
http://custom.simplemachines.org/mods/index.php?mod=1150

Its the profile visitors, it will be amazing, thankyou

The ultimate profile mod is compatible with the profile visitors mod
Title: Re: Ultimate Profile
Post by: JovanT on November 10, 2009, 10:31:37 AM
Hello,

Since SMF 2.0 RC2 is out, I will try to test my mod with this version and fix any compatibility issues I found. But, since my faculty exams start really soon, I can't do that before December. So, please be patient.

Also, the support for this mod is still on, but I don't have time to answer each of your questions about customizing Ultimate Profile. Many of your questions can still be found at my support forum (http://dev.turanjanin.net/forum).

I'm currently having some issues with sending activation emails but I hope I will resolve this soon. In the mean time, I will approve your accounts manually.
Title: Re: Ultimate Profile
Post by: gbsothere on November 10, 2009, 10:34:28 AM
That's great news about Ultimate Profile becoming  2.0 RC2 compatible soon, JovanT.  It'll be worth the wait.

(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: LadyAngel on November 10, 2009, 05:13:51 PM
Is there a way to enable javascript and flash for the profile fields? I'm trying to add a music player but can't as both javascript and flash codes disappear once the page is updated.  :(
Title: Re: Ultimate Profile
Post by: jibo on November 11, 2009, 01:59:06 PM
I made an account on your site ;-)

btw i cant wait for the rc2 update, my site neeeeeds it very badly haha, i wish i could help!
Title: Re: Ultimate Profile
Post by: Bruno36 on November 15, 2009, 12:20:13 PM
hello!

When is the version of SMF 2.0 RC2
Title: Re: Ultimate Profile
Post by: Yağız... on November 15, 2009, 12:43:58 PM
Soon :)
Title: Re: Ultimate Profile
Post by: Bruno36 on November 15, 2009, 01:08:47 PM
Merci  ;)
Title: Re: Ultimate Profile
Post by: Costa on November 17, 2009, 07:08:24 PM
How can I reverse the database changes?
Title: Re: Ultimate Profile
Post by: CerebralJam on November 17, 2009, 08:42:59 PM
Are you talking about reverting back to RC1.2 to be able to still use Ultimate Profile?  If so, I got a lot of help here :)

RE: Database Backup (http://www.simplemachines.org/community/index.php?topic=347774.msg2355096#msg2355096)
Title: Re: Ultimate Profile
Post by: jibo on November 18, 2009, 02:56:40 AM
Quote from: Yağız... on November 15, 2009, 12:43:58 PM
Soon :)
What is soon? I Can't wait to use it on my forum! Can i offer any help?
Title: Re: Ultimate Profile
Post by: Costa on November 18, 2009, 03:59:39 AM
Quote from: Costa on November 17, 2009, 07:08:24 PM
How can I reverse the database changes?

Thank you, but I want to remove the database changes because I don't want to use Ultimate Profile.
I'm receiving Critical errors on database in my Log Error
Title: Re: Ultimate Profile
Post by: CapadY on November 18, 2009, 06:41:09 AM
Quote from: Costa on November 18, 2009, 03:59:39 AM
Quote from: Costa on November 17, 2009, 07:08:24 PM
How can I reverse the database changes?

Thank you, but I want to remove the database changes because I don't want to use Ultimate Profile.
I'm receiving Critical errors on database in my Log Error
When you  completely uninstall the MOD you won't have critical database errors any longer.
Database changes don't have to be undone in that case.
Title: Re: Ultimate Profile
Post by: Afro on November 18, 2009, 02:02:08 PM
is someone working on rc2 ?
Title: Re: Ultimate Profile
Post by: Yağız... on November 18, 2009, 02:10:38 PM
Yes, I am working on it. It's like 95% finished but there is some more issues to fix.
Title: Re: Ultimate Profile
Post by: Afro on November 18, 2009, 06:58:37 PM
Quote from: Yağız... on November 18, 2009, 02:10:38 PM
Yes, I am working on it. It's like 95% finished but there is some more issues to fix.
great , we are waiting with patience. take your time
Title: Re: Ultimate Profile
Post by: Costa on November 19, 2009, 11:43:08 AM
Quote from: capady on November 18, 2009, 06:41:09 AM
Quote from: Costa on November 18, 2009, 03:59:39 AM
Quote from: Costa on November 17, 2009, 07:08:24 PM
How can I reverse the database changes?

Thank you, but I want to remove the database changes because I don't want to use Ultimate Profile.
I'm receiving Critical errors on database in my Log Error
When you  completely uninstall the MOD you won't have critical database errors any longer.
Database changes don't have to be undone in that case.
I cant' uninstall the mod
Title: Re: Ultimate Profile
Post by: MarkoKg on November 19, 2009, 02:13:04 PM
Hello everyone.
I'm using this mod for a while, and now im noticed that i have error when try to click on Customized profile link in profiles.

Error is like this:
Fatal error: require_once() [function.require]: Failed opening required '/home/blah/public_html/forum/Sources/InputFilter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blah/public_html/forum/Sources/Profile.php on line 2614

Im already posted this problem here:
http://www.simplemachines.org/community/index.php?topic=348829.msg2364550#msg2364550

And as you see Kat was trying to answer on this, and at the end he pointed me to this topic.

So, if anyone can help, i would be gratefull...

Regards.
Title: Re: Ultimate Profile
Post by: evolution88 on November 19, 2009, 08:06:15 PM
Sup guys,

after installing, I get this errror:

Unknown column 'com.time' in 'field list'
File: /home/www/cwcity/hosting/d/e/derderder/htdocs/Sources/Profile.php
Line: 1368

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

How can I upgrade my database ?
Title: Re: Ultimate Profile
Post by: gbsothere on November 19, 2009, 08:10:31 PM
@ evolution88

Place the three attached upgrade files in your forum's root directory, then point your browser to upgrade.php.  Follow the instructions to upgrade.  If you get a "smiley error" then upload the ManageSmileys.php file to your Sources directory and continue.  When you are done upgrading, remove the three upgrade files from your server.

See if this helps.  :)


Edit:  if, for some reason, this does not get rid of your error, then you can try uploading the attached table_fix.zip and install it via your package manager.
Title: Re: Ultimate Profile
Post by: evolution88 on November 19, 2009, 09:06:15 PM
thanks, first 3 files worked perfectly fine!
Title: Re: Ultimate Profile
Post by: gbsothere on November 19, 2009, 09:13:22 PM
Quote from: evolution88 on November 19, 2009, 09:06:15 PM
thanks, first 3 files worked perfectly fine!



(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: omega008 on November 21, 2009, 10:19:03 AM
I need a little help, I have this problem ..
Fatal error: Cannot redeclare customized() (previously declared in /home/leyendne/public_html/foros/Sources/Profile.php:2591) in /home/leyendne/public_html/foros/Sources/Profile.php on line 2883
I installed the modification by the parser
here's profile.php  (attached)
Title: Re: Ultimate Profile
Post by: gbsothere on November 21, 2009, 04:44:46 PM
@ omega008

On your Profile.php, you have the last bit of code twice.  I began to try to remove one incident of it for you, but it became a little tedious and I couldn't be sure that I wasn't interfering with some other mod of yours (plus, my old eyes are giving me a bit of trouble) so I've left it for you to look at.  Just find:


// Recursive function to retrieve avatar files
function getAvatars($directory, $level)


And you were to place this code below before that.  You've placed it twice, however.  Remove one incident of it and the error should go away.   :)


function customized($memID)
{
   global $context, $modSettings, $sourcedir, $db_prefix, $func;
   
   // Filter bad HTML...
   require_once $sourcedir . '/HtmLawed.php';
   
   /*
   See http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm for more information.
   */
   $config_filter = array(
      'safe'=> 1,
      'elements' => '*+embed+object+style-form-textarea-input-button'
   );
   
   // HTML&CSS customization field
   $request = db_query('SELECT value
      FROM ' . $db_prefix . 'themes
      WHERE ID_MEMBER = "' . $memID . '"
         AND variable = "css"', __FILE__, __LINE__);
   list($old_html) = mysql_fetch_row($request);
   
   $html = htmLawed(un_htmlspecialchars($old_html), $config_filter);
   db_query('UPDATE ' . $db_prefix . 'themes SET
      value = SUBSTRING(\'' . addslashes(htmlspecialchars($html)) . '\', 1, 65534)
      WHERE ID_MEMBER = "' . $memID . '"
         AND variable = "css"', __FILE__, __LINE__);
   
   // MediaBox field
   $request = db_query('SELECT value
      FROM ' . $db_prefix . 'themes
      WHERE ID_MEMBER = "' . $memID . '"
         AND variable = "media"', __FILE__, __LINE__);
   list($old_html) = mysql_fetch_row($request);
   
   $html = htmLawed(un_htmlspecialchars($old_html), $config_filter);
   db_query('UPDATE ' . $db_prefix . 'themes SET
      value = SUBSTRING(\'' . addslashes(htmlspecialchars($html)) . '\', 1, 65534)
      WHERE ID_MEMBER = "' . $memID . '"
         AND variable = "media"', __FILE__, __LINE__);
   
   // Just this and nothing more thanks to the SMF's powerful template system
   $context['show_spellchecking'] = !empty($modSettings['enableSpellChecking']) && function_exists('pspell_new');
   loadThemeOptions($memID);
}

function buddies($memID)
{
   global $modSettings, $context, $db_prefix, $user_profile, $scripturl;
   
   // For avatars: if we're always html resizing, assume it's too large.
   if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
      $avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
      $avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
   } else {
      $avatar_width = '';
      $avatar_height = '';
   }
     
   if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
      $buddies = array();
      $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', __FILE__, __LINE__);
      while ($row = mysql_fetch_assoc($request))
         $buddies[] = $row['BUDDY_ID'];
         
      loadMemberData($buddies);
      foreach ($buddies as $buddy) {
         $user_data = $user_profile[$buddy];
         $user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['ID_ATTACH'] > 0 ? '<img src="' . (empty($user_data['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $user_data['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '" alt="" class="avatar" border="0" />');
         $user_data['is_online'] = (!empty($user_data['showOnline']) || allowedTo('moderate_forum')) && $user_data['isOnline'] > 0;
         
         if ($buddy != $memID)
            $context['member']['buddies_data'][$buddy] = $user_data;
      }
   }
}

function pictures($memID)
{
   global $sourcedir;
   
   require_once $sourcedir . '/ProfilePictures.php';
   PicturesController($memID);
}

function get_extension($filename)
{
   return substr(strrchr($filename, '.'), 1);
}

function is_buddy($memID, $buddyID)
{
   global $db_prefix, $buddy_list, $modSettings;
   
   // When buddy list if off, everybody is your friend
   if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0')
      return true;
   
   if (!is_array($buddy_list)) {
      $request = db_query('SELECT buddy_list
         FROM ' . $db_prefix . 'members
         WHERE ID_MEMBER = ' . $memID, __FILE__, __LINE__);
      list($buddy_list) = mysql_fetch_row($request);
     
      $buddy_list = explode(',', $buddy_list);
   }
   
   if (in_array($buddyID, $buddy_list))
      return true;
   else
      return false;
}

function comment($memID)
{
   global $context, $db_prefix, $txt, $sourcedir, $language, $modSettings, $scripturl;
   
   // Guests ar not allowed to comment.
   is_not_guest();
   
   if (isset($_GET['add'])) {
      if (empty($_POST['comment']))
         fatal_error($txt['profile_comment_field'], false);
     
      // Integration with AEVA mod (Thanks Nao å°�)
      if (isset($modSettings['aeva_enable']) && file_exists($sourcedir . '/Subs-Aeva.php')) {
         @include_once($sourcedir . '/Subs-Aeva.php');
         if (function_exists('aeva_onposting'))
            $_POST['comment'] = aeva_onposting($_POST['comment']);
      }
     
      checkSession('post');
     
      // Only buddies can post comments?
      loadThemeOptions($memID);
      if (isset($context['member']['options']['comments_budd_only']) && $context['member']['options']['comments_budd_only'] == 1) {
         if (!is_buddy($memID, $context['user']['id']) && !allowedTo('profile_extra_any'))
            fatal_error($txt['profile_comments_buddies_only'], false);
      }
         
     
      $request = db_query('INSERT INTO ' . $db_prefix . 'profile_comments SET
         ID_MEMBER = "' . $context['user']['id'] . '",
         comment = \'' . htmlspecialchars($_POST['comment']) . '\',
         time = "' . time() . '",
         COMMENT_MEMBER_ID = "' . $memID . '"', __FILE__, __LINE__);
     
      // Should we notify user?
      if (@$context['member']['options']['comments_notif_disable'] != 1 && $context['user']['id'] != $memID) {
         $request = db_query('SELECT lngfile
            FROM ' . $db_prefix . 'members
            WHERE ID_MEMBER = ' . $memID, __FILE__, __LINE__);
         list($user_language) = mysql_fetch_row($request);
         
         loadLanguage('UltimateProfile', empty($user_language) || empty($modSettings['userLanguage']) ? $language : $user_language, false);
         
         require_once $sourcedir . '/Subs-Post.php';
         sendpm(array('to' => array($memID), 'bcc' => array()), sprintf($txt['profile_notif_com_subject'], $context['user']['name']), sprintf($txt['profile_notif_com_body'], $context['user']['name'], $scripturl . '?action=profile'), false, array('id' => 0, 'name' => $txt['profile_notif_com_user'], 'username' => $txt['profile_notif_com_user']));
      }
         
      redirectexit('action=profile;u=' . $memID);
     
   } elseif (isset($_GET['delete'])) {
      checkSession('get');
     
      $allowed = false;
     
      if (allowedTo('profile_extra_any'))
         $allowed = true;
      elseif ($context['user']['is_owner'] && allowedTo('profile_extra_own')) {
         // Are you deleting comment that is on your own profile?
         $request = db_query('SELECT COMMENT_MEMBER_ID
            FROM ' . $db_prefix . 'profile_comments
            WHERE ID_COMMENT = "' . (int)$_GET['delete'] . '"', __FILE__, __LINE__);
         list($user_id) = mysql_fetch_row($request);
         
         if ($context['user']['id'] == $user_id)
            $allowed = true;
      }
     
      if ($allowed)
         db_query('DELETE FROM ' . $db_prefix . 'profile_comments
            WHERE ID_COMMENT = "' . (int)$_GET['delete'] . '"', __FILE__, __LINE__);
     
      redirectexit('action=profile;u=' . $memID);
     
   } else {
      // Only buddies can post comments?
      loadThemeOptions($memID);
      if (isset($context['member']['options']['comments_budd_only']) && $context['member']['options']['comments_budd_only'] == 1) {
         if (!is_buddy ($memID, $context['user']['id']) && !allowedTo('edit_ultimate_profile_any'))
            fatal_error($txt['profile_comments_buddies_only'], false);
      }
     
      $context['sub_template'] = 'add_comment';
     
   }
   
}

function report($memID)
{
   global $context, $txt, $scripturl, $db_prefix, $user_info, $ID_MEMBER, $modSettings, $sourcedir, $language;
   
   is_not_guest();
   
   if ($memID == $ID_MEMBER)
      fatal_lang_error('profile_report_own', false);
     
   if (isset($_POST['sc']) || isset($_POST['submit'])) {
      checkSession();
      spamProtection('spam');
     
      $reporterName = un_htmlspecialchars($user_info['name']) . ($user_info['name'] != $user_info['username'] && $user_info['username'] != '' ? ' (' . $user_info['username'] . ')' : '');
      require_once($sourcedir . '/Subs-Post.php');
     
      // Find all of this forum's administrators.
      $request = db_query("
         SELECT ID_MEMBER, emailAddress, lngfile
         FROM {$db_prefix}members
         WHERE ID_GROUP = 1 OR FIND_IN_SET(1, additionalGroups)
            AND notifyTypes != 4
         ORDER BY lngfile", __FILE__, __LINE__);
     
      // Send every moderator an email.
      while ($row = mysql_fetch_assoc($request))
      {
         loadLanguage('UltimateProfile', empty($row['lngfile']) || empty($modSettings['userLanguage']) ? $language : $row['lngfile'], false);
   
         // Send it to the administrator.
         sendmail($row['emailAddress'], $txt['profile_report_subject'] . ': ' . $context['member']['name'],
            sprintf($txt['profile_report_email1'], $context['member']['name']) . $txt['profile_report_email2'] . ' ' . (empty($ID_MEMBER) ? $txt['guest'] . ' (' . $user_info['ip'] . ')' : $reporterName) . ' ' . $txt['profile_report_email3'] . ":\n\n" .
            $scripturl . '?action=profile;u=' . $context['member']['id'] . "\n\n" .
            $txt['profile_report_comment'] . ":\n" .
            $_POST['comment'] . "\n\n" .
            $txt[130], $user_info['email']);
      }
      mysql_free_result($request);
      redirectexit();
   }
   
   $context['sub_template'] = 'report_profile';
}
Title: Re: Ultimate Profile
Post by: hariS. on November 22, 2009, 06:07:05 PM
Jovane ovo je eror koji dobijem :

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

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.10, while your database is at version 1.1.9. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Ultimate Profile
Post by: mrtrc266 on November 22, 2009, 10:41:46 PM
Quote from: hariS. on November 22, 2009, 06:07:05 PM
Jovane ovo je eror koji dobijem :

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

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

Copy and paste your error.... Unknown column 'com.time' in 'field list' in the search box here on SMF you will get a lot of info on how to fix your problem.

The search feature is awesome!
Title: Re: Ultimate Profile
Post by: MarkoKg on November 23, 2009, 07:42:54 AM
Quote from: MarkoKg on November 19, 2009, 02:13:04 PM
Hello everyone.
I'm using this mod for a while, and now im noticed that i have error when try to click on Customized profile link in profiles.

Error is like this:
Fatal error: require_once() [function.require]: Failed opening required '/home/blah/public_html/forum/Sources/InputFilter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blah/public_html/forum/Sources/Profile.php on line 2614

Im already posted this problem here:
http://www.simplemachines.org/community/index.php?topic=348829.msg2364550#msg2364550

And as you see Kat was trying to answer on this, and at the end he pointed me to this topic.

So, if anyone can help, i would be gratefull...

Regards.
bump.
Title: Re: Ultimate Profile
Post by: triforceguy11 on November 23, 2009, 11:12:09 AM
Hi,

I installed the mod and it said there weren't any problems but when I go to configure it or to try it out, I can't find the link to it. Please can someone help me?

Thanks
Leon J. Fletcher
Title: Re: Ultimate Profile
Post by: gbsothere on November 23, 2009, 11:32:59 AM
Quote from: triforceguy11 on November 23, 2009, 11:12:09 AM
Hi,

I installed the mod and it said there weren't any problems but when I go to configure it or to try it out, I can't find the link to it. Please can someone help me?

Thanks
Leon J. Fletcher



What version of SMF and are you using a custom theme?

Title: Re: Ultimate Profile
Post by: gbsothere on November 23, 2009, 11:54:52 AM
Quote from: MarkoKg on November 23, 2009, 07:42:54 AM
Quote from: MarkoKg on November 19, 2009, 02:13:04 PM
Hello everyone.
I'm using this mod for a while, and now im noticed that i have error when try to click on Customized profile link in profiles.

Error is like this:
Fatal error: require_once() [function.require]: Failed opening required '/home/blah/public_html/forum/Sources/InputFilter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blah/public_html/forum/Sources/Profile.php on line 2614

Im already posted this problem here:
http://www.simplemachines.org/community/index.php?topic=348829.msg2364550#msg2364550 (http://www.simplemachines.org/community/index.php?topic=348829.msg2364550#msg2364550)

And as you see Kat was trying to answer on this, and at the end he pointed me to this topic.

So, if anyone can help, i would be gratefull...

Regards.
bump.


I'm sorry, MarkoKg, I don't know enough about this to be able to help but I do notice, when running a search on "InputFilter.php" that most issues seem to have involved a bridge, such as Joomla.  I'm not sure what the part of your link you replaced with the word "blah" is, but if it's Joomla or Mambo (essentially, if you use a bridge) you might want to raise this question on the bridge support board.

(Of course, if none of this applies to you, I apologize, but since I found this while searching, I thought it was worth mentioning.)   :)
Title: Re: Ultimate Profile
Post by: triforceguy11 on November 23, 2009, 12:06:27 PM
Quote from: gbsothere on November 23, 2009, 11:32:59 AM
Quote from: triforceguy11 on November 23, 2009, 11:12:09 AM
Hi,

I installed the mod and it said there weren't any problems but when I go to configure it or to try it out, I can't find the link to it. Please can someone help me?

Thanks
Leon J. Fletcher



What version of SMF and are you using a custom theme?

1.1.10
No
Title: Re: Ultimate Profile
Post by: mrtrc266 on November 23, 2009, 12:14:46 PM
Quote from: triforceguy11 on November 23, 2009, 12:06:27 PM
Quote from: gbsothere on November 23, 2009, 11:32:59 AM
Quote from: triforceguy11 on November 23, 2009, 11:12:09 AM
Hi,

I installed the mod and it said there weren't any problems but when I go to configure it or to try it out, I can't find the link to it. Please can someone help me?

Thanks
Leon J. Fletcher



What version of SMF and are you using a custom theme?

1.1.10
No

Goto www.yoursite.com/index.php?action=profile (http://www.yoursite.com/index.php?action=profile)

You should see a link that says Ultimate Profile with all your other Profile Options

Account Settings
Forum Profile
Moderator Managment
Ultimate Profile
Edit Buddies
Look and Layout
Notifications
Personal Messaging
Group Membership

If not then try www.yoursite.com/index.php?action=profile;area=customized (http://www.yoursite.com/index.php?action=profile;area=customized) and see what happens.
Title: Re: Ultimate Profile
Post by: triforceguy11 on November 23, 2009, 12:21:51 PM
those pages don't exsist

EDIT

I went to my profile but where it's supposed to say ultimate profile there's a big gap
Title: Re: Ultimate Profile
Post by: mrtrc266 on November 23, 2009, 12:30:18 PM
Quote from: triforceguy11 on November 23, 2009, 12:21:51 PM
those pages don't exsist

EDIT

I went to my profile but where it's supposed to say ultimate profile there's a big gap

Make sure you have this code in this/these files
./Themes/default/languages/Modifications.english.php

If you have you forum set to UTF-8 also add it to
./Themes/default/languages/Modifications.english-utf8.php


$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.';

Title: Re: Ultimate Profile
Post by: triforceguy11 on November 23, 2009, 12:55:27 PM
where about would I put it in the utf file
Title: Re: Ultimate Profile
Post by: mrtrc266 on November 23, 2009, 12:57:24 PM
Anywhere between
<?php

and

?>

It doesn't really matter
Title: Re: Ultimate Profile
Post by: triforceguy11 on November 23, 2009, 12:59:41 PM
I just added it but it still doesn't show
Title: Re: Ultimate Profile
Post by: mrtrc266 on November 23, 2009, 01:16:49 PM
What language are you using
Title: Re: Ultimate Profile
Post by: triforceguy11 on November 23, 2009, 01:18:11 PM
English
Title: Re: Ultimate Profile
Post by: MATTEK on November 23, 2009, 04:43:21 PM
Does this work with RC2?
Title: Re: Ultimate Profile
Post by: gbsothere on November 23, 2009, 05:05:56 PM
Quote from: MATTEK on November 23, 2009, 04:43:21 PM
Does this work with RC2?


It will. 
Yağız is working on it and is close to having it done.   :)
Title: Re: Ultimate Profile
Post by: mrtrc266 on November 23, 2009, 05:09:20 PM
Quote from: triforceguy11 on November 23, 2009, 01:18:11 PM
English

Anyone else have any thoughts on what his prob can be?
Title: Re: Ultimate Profile
Post by: gbsothere on November 23, 2009, 05:13:39 PM
If it were me, even though he says he didn't get any installation errors, I would pull all the SMF files that Ultimate Profile edits from his server and compare the edits to the parsing instructions.  I would also make sure that I'd downloaded the first zip, 9.0, since a lot of people with 1.1.0 mistakenly try to install the second zip. I would also check to make sure that the package manager really did place all of Ultimate Profile's Source and Theme (and Language) files found in its zip into the correct directories. 
Title: Re: Ultimate Profile
Post by: triforceguy11 on November 24, 2009, 04:50:00 AM
what files would I need to check out?
Title: Re: Ultimate Profile
Post by: gbsothere on November 24, 2009, 08:24:31 AM
Quote from: triforceguy11 on November 24, 2009, 04:50:00 AM
what files would I need to check out?



Just go to this link:

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

And set the radio button for the very first zip file, ultimate_profile_0-9.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=1675;id=88604).  (It's very important that this is the zip file you tried to install.  If you tried to install the second zip file, ultimate_profile-0-9_20rc1.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=1675;id=106983), then this is why you're having trouble, and you will need to uninstall that and use the first one.)

If you installed the first one, then set the radio button for the first zip and use the pull-down menu to 1.1.10 and click Parse.  There, you will see the files you need to check and the codes to find and to place. 

You'll need a good text editor. 

If you run into problems and need to attach the files here, I can take a look at them for you.  I'll be out for a while today but if I return and no one else has, I'll check them.
Title: Re: Ultimate Profile
Post by: Legend. on November 25, 2009, 07:41:10 AM
Hi guys,

I installed this mod and im still trying it out...its a lovely mod

how can i make custom profile fields appear? I'd want to sync it with the Custom Profile Fields (http://custom.simplemachines.org/mods/index.php?mod=319). currently testing it on smf 1.1.10
Title: Re: Ultimate Profile
Post by: gbsothere on November 25, 2009, 07:54:18 AM
@ Legend

Is the second post on this thread something that might be useful?


http://dev.turanjanin.net/forum/index.php/topic,19.0.html (http://dev.turanjanin.net/forum/index.php/topic,19.0.html)
Title: Re: Ultimate Profile
Post by: Legend. on November 25, 2009, 08:10:51 AM
That did it mate!!

I hadn't given it enough thought :)

Thanks a bunch mate.
Title: Re: Ultimate Profile
Post by: gbsothere on November 25, 2009, 08:19:17 AM
Quote from: Legend. on November 25, 2009, 08:10:51 AM
That did it mate!!

I hadn't given it enough thought :)

Thanks a bunch mate.



(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: Quexinos on November 26, 2009, 02:33:12 AM
Quote from: gbsothere on November 23, 2009, 05:05:56 PM
Quote from: MATTEK on November 23, 2009, 04:43:21 PM
Does this work with RC2?


It will. 
Yağız is working on it and is close to having it done.   :)

ahh thanks, I was about to ask if I can install it on 1.2, but I guess I'll just wait for now.  This mod looks great, I can't wait to try it out.
Title: Re: Ultimate Profile
Post by: Yağız... on November 28, 2009, 07:19:34 AM
Update! :)

I just finished coding the mod for SMF 2.0 RC2, and now I'm packaging the mod, when I finish this step, I'll submit it to Jovan, and he will try to update it as soon as possible.
Title: Re: Ultimate Profile
Post by: smldmr on November 28, 2009, 07:33:17 AM
Ah! Excellent news :) Thanks for this mod.
Title: Re: Ultimate Profile
Post by: Afro on November 28, 2009, 08:01:50 AM
we  are waiting for the release, thanks
Title: Re: Ultimate Profile
Post by: Yağız... on November 28, 2009, 08:50:18 AM
(http://i45.tinypic.com/34g4vg3.png)
A 'little' picture from profile summary :)

I sent the package to JovanT.
Title: Re: Ultimate Profile
Post by: Afro on November 28, 2009, 08:59:26 AM
cool, so its working now ?
Title: Re: Ultimate Profile
Post by: Yağız... on November 28, 2009, 09:02:40 AM
Nope, it will work when JovanT updates the mod.
Title: Re: Ultimate Profile
Post by: Legend. on November 28, 2009, 02:06:10 PM
I am still giving this a good run before i put on my site.

Just wondering...

in the admin section i chose for every member to use the ultimate profile mod right. Now a user who chooses for his photos to be seen only by his buddies, will be disappointed as it seems anyone can view them. [what could be wrong here?]

I'm running smf 1.1.10.

Thanks
Title: Re: Ultimate Profile
Post by: gbsothere on November 28, 2009, 03:14:33 PM
Quote from: Legend. on November 28, 2009, 02:06:10 PM
I am still giving this a good run before i put on my site.

Just wondering...

in the admin section i chose for every member to use the ultimate profile mod right. Now a user who chooses for his photos to be seen only by his buddies, will be disappointed as it seems anyone can view them. [what could be wrong here?]

I'm running smf 1.1.10.

Thanks



Have you tried choosing in your own profile to only allow your buddies to see your pics, then creating a newbie test account and logging in with it to see if the newbie can go to your profile and see your pics?

(I just ask, because an admin can see anyone's pics, regardless of their settings.)
Title: Re: Ultimate Profile
Post by: Legend. on November 28, 2009, 05:28:43 PM
Oh...its really not working mate. I had done that already but decided to give it yet another shot and still, users can access a member's photos even when he wants them shown just to his buddies :(
Title: Re: Ultimate Profile
Post by: gbsothere on November 28, 2009, 05:44:04 PM
Hmmm...   I just tested this on my 1.1.10 site and my newbie account can't see my pics.  I can't think why it's working for me, but not for you.  Hopefully, someone else will weigh in on this and, in the meantime, I'll play around with my settings and see if I can replicate non-buddies seeing my pics.



Edit:  Just wondering, Legend... do you use a custom theme and, if you do, did you place Ultimate Profiles template files (the ones in the zip) in that theme's directory (the package manager already places them in default's directory)?  I'm talking about Buddies.template.php, ProfilePictures.template.php and UltimateProfile.template.php.
Title: Re: Ultimate Profile
Post by: Legend. on November 29, 2009, 04:15:42 AM
I had not.

I just put them in my custom theme's directory and still...nothing. I am the admin and i set it so that only my buddies can comment and see my photos. but newbies can still do both!
Title: Re: Ultimate Profile
Post by: polio on November 29, 2009, 07:00:24 AM
I am running smf 1.10 with the babylon theme and I know that other people have posted an issue with the pending buddy list with this mod, but I can't find the solution to the issue.

I am new to the forum and the site and I have everything else exactly how I want it but this puzzles me. My pending buddies remain missing. PLEASE someone if you have a code to fix this please help me. I'm getting desperate here and vbulletin is just too expensive for me.

It would also be nice to find out how to integrate flashchat directly onto my page in the lower frame. Thats something else I've been fighting with.

Thanks :-[
Paul
Title: Re: Ultimate Profile
Post by: Yağız... on November 29, 2009, 07:19:57 AM
Here is the new version of Ultimate Profile for SMF 2.0 RC2 version. You can download the attached file and install via package manager. (Jovan will try to update the mod as soon as possible, for now you can download the mod from this post)

If you find any bugs, you can post them here, and I'll try to update as soon as possible.
Title: Re: Ultimate Profile
Post by: Chas Large on November 29, 2009, 07:41:33 AM
Hi, I have Ultimate Profile working just fine in 1.1.10. I'm about to upgrade to SMF 2.0 RC2. Should I uninstall the old UP first, then upgrade then reinstall UP for SMF 2.0? or can I just overinstall the latest version after upgrade?

I presume no data will be lost if I uninstall the old UP first as it's all in the dB?

Any guidance gratefully received.

Chas
Title: Re: Ultimate Profile
Post by: Yağız... on November 29, 2009, 07:47:21 AM
Quote from: Chas Large on November 29, 2009, 07:41:33 AM
Hi, I have Ultimate Profile working just fine in 1.1.10. I'm about to upgrade to SMF 2.0 RC2. Should I uninstall the old UP first, then upgrade then reinstall UP for SMF 2.0? or can I just overinstall the latest version after upgrade?

I presume no data will be lost if I uninstall the old UP first as it's all in the dB?

Any guidance gratefully received.

Chas
You don't need to uninstall. When you upgrade, all installed mods will be deleted. And no, nothing will be lost.
Title: Re: Ultimate Profile
Post by: smldmr on November 29, 2009, 08:00:32 AM
Anything is wrong, all profiles looks like this:

(http://img694.imageshack.us/img694/1277/err1.jpg)
Title: Re: Ultimate Profile
Post by: Yağız... on November 29, 2009, 08:08:47 AM
Sorry, I forgot to add something in my post :)

Find in your themes' css/index.css file:
#creator dl
{
margin: 0;
}
#creator dt
{
width: 40%;
float: left;
clear: both;
margin: 0 0 10px 0;
}
#creator dd
{
float: left;
width: 60%;
margin: 0 0 10px 0;
}

And replace with:
#creator dl, .creator dl
{
margin: 0;
}
#creator dt, .creator dt
{
width: 40%;
float: left;
clear: both;
margin: 0 0 10px 0;
}
#creator dd, .creator dd
{
float: left;
width: 60%;
margin: 0 0 10px 0;
}

And then, do a hard refresh (CTRL + F5).
Title: Re: Ultimate Profile
Post by: gbsothere on November 29, 2009, 08:10:01 AM
Quote from: polio on November 29, 2009, 07:00:24 AM
I am running smf 1.10 with the babylon theme and I know that other people have posted an issue with the pending buddy list with this mod, but I can't find the solution to the issue.

I am new to the forum and the site and I have everything else exactly how I want it but this puzzles me. My pending buddies remain missing. PLEASE someone if you have a code to fix this please help me. I'm getting desperate here and vbulletin is just too expensive for me.

It would also be nice to find out how to integrate flashchat directly onto my page in the lower frame. Thats something else I've been fighting with.

Thanks :-[
Paul





Paul, try running the attached buddy migration tool.    :)
Title: Re: Ultimate Profile
Post by: smldmr on November 29, 2009, 08:12:43 AM
Yeah, thats it. Thanks for your help.
Title: Re: Ultimate Profile
Post by: Yağız... on November 29, 2009, 02:34:59 PM
People using Ultimate Profile for SMF 2.0 RC2, please download the package, open the downloaded, copy Themes/default/UltimateProfile.template.php file to your desktop and change it with yours. I found and fixed a very ugly bug.
Title: Re: Ultimate Profile
Post by: polio on November 30, 2009, 12:48:19 AM
Paul, try running the attached buddy migration tool.    :)
[/quote]

Thanks for your help. I tried running the migration tool and it came up with this error:
Fatal error: Call to undefined function loaddatabase() in /home/forum/public_html/SSI.php on line 84

i dont know how to fix this and my members are really bugging me about his buddy list....

any other advice is greatly appreciated...
Title: Re: Ultimate Profile
Post by: gbsothere on November 30, 2009, 07:58:15 AM
Quote from: polio on November 30, 2009, 12:48:19 AM

Thanks for your help. I tried running the migration tool and it came up with this error:
Fatal error: Call to undefined function loaddatabase() in /home/forum/public_html/SSI.php on line 84

i dont know how to fix this and my members are really bugging me about his buddy list....

any other advice is greatly appreciated...


Well...   I know that the Babylon theme doesn't have the same templates that Ultimate Profile parses, so that isn't it.  You might place a parsed copy (from your server) of Modifications.english.php into Babylon's language folder....  *thinking*

If the issue is that buddies is enabled but no one can add them, that they issue invitations but that's as far as it goes, then let me ask you this:  did you have buddies enabled before installing Ultimate Profile?  If you did, then I would access my database and open and browse the table "smf_members" (or whatever your particular prefix is).  In that table, there is a column "buddy_list".  If there are member ID numbers in that column, I would edit and remove them all, saving the changes and then have your members issue their invitations again.  (This is exactly what I had to do on one of my 1.1.10 forums and it corrected the buddy issue.)  Your members need to remember, though, that when they issue a buddy invitation, they must wait until a system PM is sent to that person and the person either approves or deletes their invitation.  Buddies won't appear on anyone's buddy list until someone has approved an invitation.
Title: Re: Ultimate Profile
Post by: jibo on November 30, 2009, 04:57:43 PM
After instalation i get this error when viewing a profile?

Unknown column 'com.time' in 'field list'
Bestand: /home/jibo03/public_html/jibu/Sources/Profile-View.php
Regel: 231
Title: Re: Ultimate Profile
Post by: Yağız... on November 30, 2009, 04:58:57 PM
http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681
Install this package via package manager.
Title: Re: Ultimate Profile
Post by: jibo on November 30, 2009, 05:01:23 PM
Thanks! That is working fine!
Title: Re: Ultimate Profile
Post by: LC on December 01, 2009, 01:37:44 PM
Trying to install on a curve RC2

Got these errors in the test.
   1.   Execute Modification   ./Sources/Profile.php   Test failed
   5.   Execute Modification   ./Themes/default/Profile.template.php   Test failed
   11.   Execute Modification   ./Sources/ManagePermissions.php   Test failed
   
Should I install then manually input the missing code?
Title: Re: Ultimate Profile
Post by: Yağız... on December 01, 2009, 01:39:35 PM
Quote from: LadyChaos on December 01, 2009, 01:37:44 PM
Trying to install on a curve RC2

Got these errors in the test.
   1.   Execute Modification   ./Sources/Profile.php   Test failed
   5.   Execute Modification   ./Themes/default/Profile.template.php   Test failed
   11.   Execute Modification   ./Sources/ManagePermissions.php   Test failed
   
Should I install then manually input the missing code?
Yes. Any other installed mod?
Title: Re: Ultimate Profile
Post by: LC on December 01, 2009, 01:41:02 PM
Quote from: Yağız... on December 01, 2009, 01:39:35 PM
Quote from: LadyChaos on December 01, 2009, 01:37:44 PM
Trying to install on a curve RC2

Got these errors in the test.
   1.   Execute Modification   ./Sources/Profile.php   Test failed
   5.   Execute Modification   ./Themes/default/Profile.template.php   Test failed
   11.   Execute Modification   ./Sources/ManagePermissions.php   Test failed
   
Should I install then manually input the missing code?
Yes. Any other installed mod?
The mods I have are Aeva and SMF Gallery. That's it.
Title: Re: Ultimate Profile
Post by: Yağız... on December 01, 2009, 01:42:59 PM
Ok, try to install it manually.
Title: Re: Ultimate Profile
Post by: LC on December 01, 2009, 02:23:16 PM
Ok I was able to do all the files, except for the profile.php. It keeps giving me a

Parse error: syntax error, unexpected ';', expecting ')' in /home/ladychaos/site/Sources/Profile.php on line 390

I tried to adding, removing the ), but cant seem to get it right. (php noob)

File is attached, I don't know where I goofed exactly.
Title: Re: Ultimate Profile
Post by: Yağız... on December 01, 2009, 02:43:35 PM
Try this one. Somehow, some codes were removed but I really don't know why :/
Title: Re: Ultimate Profile
Post by: LC on December 01, 2009, 02:50:14 PM
Probably me. O:)

It works fine, thanks Yagiz. This mod is one of the main reasons I moved to RC2.  ;)

I just was curious though, it seems the background image is being overridden by Curve's background. My profile is all white?

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



Title: Re: Ultimate Profile
Post by: Yağız... on December 01, 2009, 02:53:11 PM
I think it's because of the codes added in Ultimate Profile > Customization area. Try to remove them.
Title: Re: Ultimate Profile
Post by: LC on December 01, 2009, 02:58:18 PM
Well I used this CSS style from a default code I found somewhere in this thread. Perhaps it's not compatible with the new RC2 version. :(

Title: Re: Ultimate Profile
Post by: Yağız... on December 01, 2009, 03:03:44 PM
Try to extract Themes/default/UltimateProfile.template.php from the package, and replace it with yours.
Title: Re: Ultimate Profile
Post by: LC on December 01, 2009, 03:10:23 PM
Added the replacement file. No success.  :-\

Must be something to do with the Theme's CSS.

You have been very helpful Yagiz, thank you very much.

Title: Re: Ultimate Profile
Post by: polio on December 03, 2009, 02:14:42 AM
Quote from: gbsothere on November 30, 2009, 07:58:15 AM
Quote from: polio on November 30, 2009, 12:48:19 AM

Thanks for your help. I tried running the migration tool and it came up with this error:
Fatal error: Call to undefined function loaddatabase() in /home/forum/public_html/SSI.php on line 84

i dont know how to fix this and my members are really bugging me about his buddy list....

any other advice is greatly appreciated...


Well...   I know that the Babylon theme doesn't have the same templates that Ultimate Profile parses, so that isn't it.  You might place a parsed copy (from your server) of Modifications.english.php into Babylon's language folder....  *thinking*

If the issue is that buddies is enabled but no one can add them, that they issue invitations but that's as far as it goes, then let me ask you this:  did you have buddies enabled before installing Ultimate Profile?  If you did, then I would access my database and open and browse the table "smf_members" (or whatever your particular prefix is).  In that table, there is a column "buddy_list".  If there are member ID numbers in that column, I would edit and remove them all, saving the changes and then have your members issue their invitations again.  (This is exactly what I had to do on one of my 1.1.10 forums and it corrected the buddy issue.)  Your members need to remember, though, that when they issue a buddy invitation, they must wait until a system PM is sent to that person and the person either approves or deletes their invitation.  Buddies won't appear on anyone's buddy list until someone has approved an invitation.

Thanks for all your help. I went into the member database and saw there are no buddies on this clean install of smf. I also have a database smf_buddies that is empty as well. I am seriously driving myself nuts about this since my users expect a buddy list.

If anyone using the babylon theme on smf 1.0.10 was able to get the buddy list to work correctly could let me know how they got it to work, it would be greatly appreciated. This simple feature is driving me nuts.  >:(
Title: Re: Ultimate Profile
Post by: SilverKnight on December 03, 2009, 04:40:13 AM
Can we get a update, so Ultimate Profile supports the smf gallery plugin? Uploading pictures on the front is kinda pointless when you have that installed, and id really like the pictures people upload to be displayed on their profile!

Link To Mod:
http://custom.simplemachines.org/mods/index.php?mod=1365
Title: Re: Ultimate Profile
Post by: c-o-d-e on December 03, 2009, 08:13:57 PM
How do you add buddies? etc.. I can't work it out.
Title: Re: Ultimate Profile
Post by: perplexed on December 04, 2009, 04:35:18 AM
Quote from: c-o-d-e on December 03, 2009, 08:13:57 PM
How do you add buddies? etc.. I can't work it out.

go to someone's profile and under the "contact me" section, there's a link [Add To Buddy List].  Click on that and if they want to be your buddy, they'll say yes and you'll be buddies :)
Title: Re: Ultimate Profile
Post by: c-o-d-e on December 04, 2009, 08:18:22 AM
Oh, thanks. I didn't see that. Thank you.
Title: Re: Ultimate Profile
Post by: perplexed on December 04, 2009, 11:31:09 AM
no probs :)
Title: Re: Ultimate Profile
Post by: perplexed on December 04, 2009, 05:57:38 PM
A couple of things...

Quote from: Yağız... on November 29, 2009, 07:19:57 AM
Here is the new version of Ultimate Profile for SMF 2.0 RC2 version. You can download the attached file and install via package manager. If you have a layout problem on profile summary, do a hard refresh (CTRL + F5). (Jovan will try to update the mod as soon as possible, for now you can download the mod from this post)

If you find any bugs, you can post them here, and I'll try to update as soon as possible.

I installed this version yesterday with no errors.  (I used to have it on 1.1.10)

I just saw a couple of these errors in the log today from one of the members

Quote
Apply Filter: Only show the error messages of this URL
http://www.xxxxx.com/forum/index.php?action=profile;area=pictures;u=72 (http://www.xxxxx.com/forum/index.php?action=profile;area=pictures;u=72)

Database Error: Unknown column 'id_album' in 'where clause'

File: /home/xxxxx/public_html/xxxxx.com/forum/Sources/Profile-Pictures.php
Line: 785

I haven't asked them what they were doing at the time but possibly adding photos or changing them I guess.

How to stop these errors please?

------------------
edit:  btw what happened to jovan's forum where all the FAQs etc were?   :(


Before I upgraded I had changed the number of buddies displayed on profile summary from 6 to 12.  After the upgrade it is now displaying 6 buddies as it's supposed to but I have gaps in between them, avatar size, like it wants to display more but it can't?

Any idea how to resolve this.  I have edited the file to display 12 buddies again and it is displaying 12, but still with gaps inbetween.

Here is a screenshot:

(http://i279.photobucket.com/albums/kk151/stillperplexed/ultimateprofilebuddiesgapproblem041.png)

Before the upgrade I'm pretty sure it was three avatars/buddies wide but now it's two avatars/buddies wide and there is a gap in the second column like this buddy - gap- buddy- gap - buddy.  But the first column is displaying correctly. (the gap you see on the left is because there's no avatar and I've covered the member name)

Any ideas how to fix this display problem?
Title: Re: Ultimate Profile
Post by: Melfra on December 04, 2009, 09:09:25 PM
Quote from: quiteperplexed on December 04, 2009, 05:57:38 PM
Before the upgrade I'm pretty sure it was three avatars/buddies wide but now it's two avatars/buddies wide and there is a gap in the second column like this buddy - gap- buddy- gap - buddy.  But the first column is displaying correctly. (the gap you see on the left is because there's no avatar and I've covered the member name)

Any ideas how to fix this display problem?

I noticed something similar when I first installed this plugin- it seems to be caused by the code calling for three buddies in a row, but only giving space for two, so the HTML gets a little borky.

Find the following section of code in UltimateProfile.template.php

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['real_name'] , '</a><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online' : 'offline'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online' : 'offline'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online' : 'offline'] . '</span>' : '', '</i>
</td>';
if (($i == 2 || $i == 3) || ($i == 3))
echo '
</tr>';


and replace

if (($i == 2 || $i == 3) || ($i == 3))


with

if (($i == 3 || $i == 3) || ($i == 3))


Hope that helps!
Title: Re: Ultimate Profile
Post by: perplexed on December 05, 2009, 05:30:20 AM
yup that fixed it!  Thanks Melfra.  I did look in UltimateProfile.template but I didn't really know what I was looking for.  OK that solves my display problem and now I have three columns and six rows displaying the top 18 buddies again :)

I just need to know how to make these errors go away now (see above post for more details)

QuoteApply Filter: Only show the error messages of this URL
http://www.xxxxx.com/forum/index.php?action=profile;area=pictures;u=72

Database Error: Unknown column 'id_album' in 'where clause'

File: /home/xxxxx/public_html/xxxxx.com/forum/Sources/Profile-Pictures.php
Line: 785
Title: Re: Ultimate Profile
Post by: Yağız... on December 05, 2009, 05:57:47 AM
I think that's because you have upgraded from 1.1.10. Jovan converted all column names to lowercase. I'll try to write some codes for this problem.

And, thanks Melfra for the fix! :) I'll update the mod as soon as possible.
Title: Re: Ultimate Profile
Post by: perplexed on December 05, 2009, 07:08:21 AM
thanks! :)
Title: Re: Ultimate Profile
Post by: c-o-d-e on December 05, 2009, 10:31:26 AM
On SMF RC 2.0, When you set it so that you use sidebars instead of drop down menu's, and then use a video.. it messes up the whole profile page.

I have messed around with the sizes, the recommended size for videos is
Width 425 - Height 285
With those settings it doesn't clash.

Is there anything you can use to resize videos automatically.. to implement into Ultimate Profile?
Title: Re: Ultimate Profile
Post by: Melfra on December 06, 2009, 12:38:02 AM
Quote from: quiteperplexed on December 05, 2009, 05:30:20 AM
yup that fixed it!  Thanks Melfra.  I did look in UltimateProfile.template but I didn't really know what I was looking for.  OK that solves my display problem and now I have three columns and six rows displaying the top 18 buddies again :)

I just need to know how to make these errors go away now (see above post for more details)

QuoteApply Filter: Only show the error messages of this URL
http://www.xxxxx.com/forum/index.php?action=profile;area=pictures;u=72

Database Error: Unknown column 'id_album' in 'where clause'

File: /home/xxxxx/public_html/xxxxx.com/forum/Sources/Profile-Pictures.php
Line: 785

Glad it helped ya out =D Unfortunately I can't help with your latter problem, but it's been driving me mad- how did you manage to get 18 buddies to display? I just can't find that part for the life of me!

Also a couple other general questions to throw out there (no actual problems~)
1. Is there a way to resize the avatars in the buddy and comments section for a max height and width? I know a php code that can resize dynamically but the whole image tag seems to be called with $data['avatar_image'], so I can't specify the height and width tags.

2. Is something supposed to happen when the "my buddies" text is clicked? It links to index.php?action=profile;area=buddies;u=1, but that's just showing my profile again.

3. (last one, I swears- and okay, maybe this is an actual problem) Is there any fix for the infocenter issue? Everyone's displaying 0 buddies online despite the buddies feature working in every other part of the site.

And thanks everyone for your hard work on this mod. I love it so bad, I'm not even lying!
Title: Re: Ultimate Profile
Post by: perplexed on December 06, 2009, 05:53:50 AM
QuoteGlad it helped ya out =D Unfortunately I can't help with your latter problem, but it's been driving me mad- how did you manage to get 18 buddies to display? I just can't find that part for the life of me!

Ok well at least I can help you with this one!  It used to be in Sources/Profile.php but now it's in Sources/Profile-View.php.  Look for the part about buddies and change the "6" to whatever you want.

// Prepare the buddy list.
   if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
      $buddies = array();
      $request = $smcFunc['db_query']('', '
         SELECT buddy_id
         FROM {db_prefix}buddies
         WHERE id_member = {int:id_member}
            AND approved = 1
         ORDER BY position ASC, time_updated DESC
         LIMIT 0, 6',
         array(
            'id_member' => $context['member']['id'],


Quote2. Is something supposed to happen when the "my buddies" text is clicked? It links to index.php?action=profile;area=buddies;u=1, but that's just showing my profile again.

And I can help with this one too!  This was a problem for me last year too, and the link just needs to be changed from

index.php?action=profile;area=buddies;u=1
to
/index.php?action=profile;area=lists;u=1     (which is the link that takes you to buddies/ignore list)

in ultimate.profile.template here

<a href="', $scripturl ,'?action=profile;area=buddies;u=', $context['member']['id'], '">', $txt['profile_buddies'] ,'</a>

1. and 3. I can't help you with.  My avatars are all 100x100 and are showing, although there is something about avatars in Profile-View.php just below the part where you change the number of buddies on your list so it's probably there that you change it. 

3. is working for me. 
Title: Re: Ultimate Profile
Post by: gbsothere on December 06, 2009, 03:40:11 PM
To limit avatar size:

http://www.simplemachines.org/community/index.php?topic=298641.msg2161667#msg2161667 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161667#msg2161667)

If you only want to control width and not height:

http://www.simplemachines.org/community/index.php?topic=298641.msg2161702#msg2161702 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161702#msg2161702)


:)
Title: Re: Ultimate Profile
Post by: Melfra on December 06, 2009, 05:27:56 PM
@quiteperplexed
Thanks for the reply! I'd never even thought to look for the buddies in that file. It works perfectly! But as for the second question about "My Buddies", I took a minute and plugged "action=profile;area=buddies;" into google and found several people using Ultimate Profile (on 2.0, no less) with a special page for buddies which displayed avatars and everything. Initially I'd thought there was a mod or something, but it keeps turning up on other forums. Kind of bothering me that it isn't working on mine now, since it looks pretty sweet!

Quote from: gbsothere on December 06, 2009, 03:40:11 PM
To limit avatar size:

http://www.simplemachines.org/community/index.php?topic=298641.msg2161667#msg2161667 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161667#msg2161667)

If you only want to control width and not height:

http://www.simplemachines.org/community/index.php?topic=298641.msg2161702#msg2161702 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161702#msg2161702)


:)
Ack, I tried the fix but once I paste the $user_data['avatar_image'] segment in, the whole image tag disappears- not only from the page, but also in the HTML. Thank you for taking the time to respond, though! I'm sure I'm just messing it up somewhere =X
Title: Re: Ultimate Profile
Post by: gbsothere on December 06, 2009, 05:39:53 PM
Quote from: Melfra on December 06, 2009, 05:27:56 PM
Ack, I tried the fix but once I paste the $user_data['avatar_image'] segment in, the whole image tag disappears- not only from the page, but also in the HTML. Thank you for taking the time to respond, though! I'm sure I'm just messing it up somewhere =X



I'm sure it's my fault, Melfra.  I can't find which version of SMF you're using, but it's probably 2 and this fix was for 1.1.0. 

:)
Title: Re: Ultimate Profile
Post by: perplexed on December 06, 2009, 06:09:31 PM
Quote from: Melfra on December 06, 2009, 05:27:56 PM
@quiteperplexed
Thanks for the reply! I'd never even thought to look for the buddies in that file. It works perfectly! But as for the second question about "My Buddies", I took a minute and plugged "action=profile;area=buddies;" into google and found several people using Ultimate Profile (on 2.0, no less) with a special page for buddies which displayed avatars and everything. Initially I'd thought there was a mod or something, but it keeps turning up on other forums. Kind of bothering me that it isn't working on mine now, since it looks pretty sweet!



hmm I see what you mean.  I googled and found some.  Although there is a buddy page mod by Yagiz, so I'm wondering if that's it or if ultimate profile is supposed to do this?  Although at least with the above change you can see a list of all your buddies (30 or whatever) Do I need a separate page?  One more click for people, I guess, but it does look nice and I would like to know if the mod is supposed to do that by default :)  I wish Jovan's test forum was still around, it had some great FAQs and solutions.
Title: Re: Ultimate Profile
Post by: Yağız... on December 06, 2009, 06:17:30 PM
There is a page on 1.1.x versions, but I had to remove it for 2.x, but I don't remember why :D I'll try to put it back for the next release.
Title: Re: Ultimate Profile
Post by: Melfra on December 06, 2009, 06:57:51 PM
Quote from: Yağız... on December 06, 2009, 06:17:30 PM
There is a page on 1.1.x versions, but I had to remove it for 2.x, but I don't remember why :D I'll try to put it back for the next release.

That sounds awesome! The page is awfully snazzy =D
Title: Re: Ultimate Profile
Post by: perplexed on December 06, 2009, 07:08:12 PM
ah-ha cool :)
Title: Re: Ultimate Profile
Post by: stog on December 08, 2009, 06:52:35 AM
hi is there a new link for the FAQ?
old links not working

many thx
Title: Re: Ultimate Profile
Post by: perplexed on December 08, 2009, 07:52:08 AM
I don't know of one, what did you need to know?
Title: Re: Ultimate Profile
Post by: enix on December 08, 2009, 10:22:43 AM
i am getting this error anyone know how to fix it? :-\

Quote
Database Error
Unknown column 'com.time' in 'field list'
File: /home/reggaeto/public_html/fuegoboard/Sources/Profile-View.php
Line: 231
Title: Re: Ultimate Profile
Post by: gbsothere on December 08, 2009, 03:07:17 PM
enix, what version of SMF is your forum?




Quote from: enix on December 08, 2009, 10:22:43 AM
i am getting this error anyone know how to fix it? :-\

Quote
Database Error
Unknown column 'com.time' in 'field list'
File: /home/reggaeto/public_html/fuegoboard/Sources/Profile-View.php
Line: 231
Title: Re: Ultimate Profile
Post by: enix on December 08, 2009, 03:22:37 PM
i am using SMF 2.0 RC2 dose this package not work for that version?
Title: Re: Ultimate Profile
Post by: gbsothere on December 08, 2009, 03:26:41 PM
@ enix,


Begin reading this thread with this post:

http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240 (http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240)

and continue to follow the conversation that is related to that post before you act on the instructions.  Things change a bit, as the thread progresses, but, yes, you can use this mod with 2.0.

Title: Re: Ultimate Profile
Post by: enix on December 08, 2009, 03:37:58 PM
ok well can someone tell me how to fix that error?
Title: Re: Ultimate Profile
Post by: Yağız... on December 08, 2009, 03:38:53 PM
Yes, install this package via package manager:
http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681
Title: Re: Ultimate Profile
Post by: enix on December 08, 2009, 03:45:09 PM
Ooops i read the post wrong thanks alot!  :P
Title: Re: Ultimate Profile
Post by: Yağız... on December 09, 2009, 11:48:21 AM
@quiteperplexed; can you try to run attached file for the database error please?
Title: Re: Ultimate Profile
Post by: perplexed on December 09, 2009, 12:13:17 PM
Quote from: Yağız... on December 09, 2009, 11:48:21 AM
@quiteperplexed; can you try to run attached file for the database error please?

you mean for this?

Quote from: quiteperplexed on December 05, 2009, 05:30:20 AM
yup that fixed it!  Thanks Melfra.  I did look in UltimateProfile.template but I didn't really know what I was looking for.  OK that solves my display problem and now I have three columns and six rows displaying the top 18 buddies again :)

I just need to know how to make these errors go away now (see above post for more details)

QuoteApply Filter: Only show the error messages of this URL
http://www.xxxxx.com/forum/index.php?action=profile;area=pictures;u=72

Database Error: Unknown column 'id_album' in 'where clause'

File: /home/xxxxx/public_html/xxxxx.com/forum/Sources/Profile-Pictures.php
Line: 785
Title: Re: Ultimate Profile
Post by: Yağız... on December 09, 2009, 12:31:19 PM
Yes.
Title: Re: Ultimate Profile
Post by: perplexed on December 09, 2009, 12:45:01 PM
ok, thanks.  I'll do it in the morning :)
Title: Re: Ultimate Profile
Post by: stog on December 09, 2009, 11:34:22 PM
hi thx perplexed
ive searched around - keep seeing there is a FAQ somewhere - and wanted to avoid troubling you here..

how do i add a new album?

thx
Title: Re: Ultimate Profile
Post by: perplexed on December 10, 2009, 04:20:34 AM
Quote from: stog on December 09, 2009, 11:34:22 PM
hi thx perplexed
ive searched around - keep seeing there is a FAQ somewhere - and wanted to avoid troubling you here..

how do i add a new album?

thx

a new album?  Are you in the right Mod?  The Gallery mods have albums, this one has some pictures you can add to your ultimate profile summary.    In your profile, top right hand side, there should be a box that says My Pictures.  Click on the title of the box (all box titles are clickable) and then add your pictures.  How many pictures you can add is controlled by the ultimate profile settings in the admin control panel.
Title: Re: Ultimate Profile
Post by: stog on December 10, 2009, 07:22:21 AM
when you upload pics, there is a potential dropdown parent album list to choose from with a default "basic album". i wondered whether it was possible to add more to the album list?

(i'm on 1.1.11 and do have smf gallery lite installed as well)

thx

Title: Re: Ultimate Profile
Post by: gbsothere on December 10, 2009, 08:05:50 AM
To add a new album, go to your profile and click on My Pictures.  From there, click on the name of the album currently showing (whether it's "First album" or whatever yours says).  From there, you'll see your pics and beneath that:  Add Picture.  Over on the right, across from Add Picture are three icons:  Add Album, Edit Album and Delete Album.  Add Album is the document-looking icon, the first one.  It's not overtly clear, but there it is.

:)
Title: Re: Ultimate Profile
Post by: stog on December 10, 2009, 08:57:18 AM
that's great thx
as u say not easy to find -- so i have attached a screensnap below
Title: Re: Ultimate Profile
Post by: stog on December 10, 2009, 09:08:12 AM
while i'm on a roll (so 2 speak - it is a bit early in the day  ;)

could you help me with this bit - where i insert the custom profile link in the ultimate template in themes/default/

  //Lets make another evil hack!
   echo '
         //' . chr(93) . chr(93) . chr(62);
   echo "
                  </script>
      </td>
   </tr>";
      }
   }

//this is the end of the googlemap code


/*
// 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" colspan="2">';
global $sourcedir;
               require_once($sourcedir . '/CustomProfile.php');
               DisplayFieldsProfile();



echo '
</td>
</tr>
</table>';
//this is the end of the Custom Profile code
*/

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

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.


if i just take out the /* i get it messes up as if a bit of code above it is incomplete -- could someone point me to what this part should look like

many thx and ho ho ho to you all!
Title: Re: Ultimate Profile
Post by: gbsothere on December 10, 2009, 09:20:15 AM


Unfortunately, the link for JovanT's forum that gave the solution to this is no longer active.

Perhaps this one might be helpful, though?

http://www.simplemachines.org/community/index.php?topic=79004.msg1957637#msg1957637 (http://www.simplemachines.org/community/index.php?topic=79004.msg1957637#msg1957637)
Title: Re: Ultimate Profile
Post by: stog on December 10, 2009, 09:53:54 AM
brillliant!! now in the right place too ------cheers

many thx again
Title: Re: Ultimate Profile
Post by: LC on December 10, 2009, 07:33:51 PM
Hello again, I am using 2 RC2 and I noticed that all the avatars that are not from the server (such as uploaded or url linked avatars) in the buddy lists are not showing, it just shows a broken image link.

Now if you go to the buddy's profile, the avatar is there. Is this a permission issue or?

Here's a screenshot.
(http://i50.tinypic.com/ina5ar.png)

I've tried this on all browsers and all show the same issue.

Any help would be appreciated. :)
Title: Re: Ultimate Profile
Post by: beltazar on December 11, 2009, 12:18:08 AM
when will ultimate profile compatible with SMF2 RC2 ?

Title: Re: Ultimate Profile
Post by: Yağız... on December 11, 2009, 05:29:58 AM
Quote from: beltazar on December 11, 2009, 12:18:08 AM
when will ultimate profile compatible with SMF2 RC2 ?


http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240

@LadyChaos: I'll try to fix it for the next release
Title: Re: Ultimate Profile
Post by: perplexed on December 11, 2009, 06:53:56 AM
Quote from: LadyChaos on December 10, 2009, 07:33:51 PM
Hello again, I am using 2 RC2 and I noticed that all the avatars that are not from the server (such as uploaded or url linked avatars) in the buddy lists are not showing, it just shows a broken image link.

Now if you go to the buddy's profile, the avatar is there. Is this a permission issue or?
I've tried this on all browsers and all show the same issue.

Any help would be appreciated. :)

that is weird though because we don't have any avatars uploaded to the server and we don't have that problem.  I can see all my buddy avatars from photobucket etc. I'm using 2.0 RC2 but I did have Ultimate Profile before the upgrade, maybe that makes a difference.
Title: Re: Ultimate Profile
Post by: c-o-d-e on December 12, 2009, 08:41:25 AM
I have posted this before, on page 62. Can someone please.. assist me with this?

On SMF RC 2.0, When you set it so that you use sidebars instead of drop down menu's, and then use a video.. it messes up the whole profile page.

I have messed around with the sizes, the recommended size for videos is
Width 425 - Height 285
With those settings it doesn't clash.

Is there anything you can use to resize videos automatically.. to implement into Ultimate Profile?
Title: Re: Ultimate Profile
Post by: perplexed on December 12, 2009, 11:51:13 AM
Quote from: Yağız... on December 09, 2009, 11:48:21 AM
@quiteperplexed; can you try to run attached file for the database error please?

Yağız sorry but what do I do with this file?

Title: Re: Ultimate Profile
Post by: Yağız... on December 12, 2009, 12:13:50 PM
Quote from: quiteperplexed on December 12, 2009, 11:51:13 AM
Quote from: Yağız... on December 09, 2009, 11:48:21 AM
@quiteperplexed; can you try to run attached file for the database error please?

Yağız sorry but what do I do with this file?


You had a database error on ProfilePictures.php, it's for that. You should upload it to your forum directory and run it.
Title: Re: Ultimate Profile
Post by: perplexed on December 12, 2009, 12:52:35 PM
ok that's what I thought, so I did that but it didn't seem to do anything but display this message on the screen.

Database Error
Unknown column 'ID_ALBUM' in 'smf_profile_pictures'
File: /home/xxxxx/public_html/mysite.com/forum/up_update.php
Line: 58
Back


The error is still there
Title: Re: Ultimate Profile
Post by: Arkino on December 12, 2009, 12:55:20 PM
Someone can give me 1 or 2 example of a code CCS or HTML? for personality the profile

Thnk you
Title: Re: Ultimate Profile
Post by: Yağız... on December 12, 2009, 01:18:57 PM
Quote from: quiteperplexed on December 12, 2009, 12:52:35 PM
ok that's what I thought, so I did that but it didn't seem to do anything but display this message on the screen.

Database Error
Unknown column 'ID_ALBUM' in 'smf_profile_pictures'
File: /home/xxxxx/public_html/mysite.com/forum/up_update.php
Line: 58
Back


The error is still there
Hmmm, can I have a screenshot from your smf_profile_pictures table(from phpMyAdmin)?
Title: Re: Ultimate Profile
Post by: beltazar on December 12, 2009, 02:00:08 PM
Quote from: Yağız... on December 11, 2009, 05:29:58 AM
Quote from: beltazar on December 11, 2009, 12:18:08 AM
when will ultimate profile compatible with SMF2 RC2 ?


http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240

@LadyChaos: I'll try to fix it for the next release

thx

I want to report bug error in Ultimate Profile RC2 version.
somewhere in themes/default/ buddies or profilepictures or ultimateprofile have bugs that makes bad looking in internet explorer and google chrome.
I change with the files from themes/default/ from Ultimate Profile RC1 version and the bugs are gone

Title: Re: Ultimate Profile
Post by: perplexed on December 12, 2009, 02:01:53 PM
Quote from: Yağız... on December 12, 2009, 01:18:57 PM
Quote from: quiteperplexed on December 12, 2009, 12:52:35 PM
ok that's what I thought, so I did that but it didn't seem to do anything but display this message on the screen.

Database Error
Unknown column 'ID_ALBUM' in 'smf_profile_pictures'
File: /home/xxxxx/public_html/mysite.com/forum/up_update.php
Line: 58
Back


The error is still there
Hmmm, can I have a screenshot from your smf_profile_pictures table(from phpMyAdmin)?



I just had a look at it after I posted above and I don't have an album table at all

screenshot:

(http://i279.photobucket.com/albums/kk151/stillperplexed/ultimateprofileprofilepicstable.png)
Title: Re: Ultimate Profile
Post by: Yağız... on December 12, 2009, 02:15:43 PM
Run this SQL Code:
ALTER TABLE smf_profile_pictures ADD id_album int(11) AFTER filename;
Title: Re: Ultimate Profile
Post by: perplexed on December 12, 2009, 02:25:27 PM
ok, now if I click on a picture I get this message: An Error Has Occurred!The database value you're trying to insert does not exist: id_albumand if I click on the 'my pictures' link I get this message:Currently, there are no pictures.

thanks Yagiz, I did that then ran that file again and everything is working :)

Title: Re: Ultimate Profile
Post by: dr.wills on December 12, 2009, 04:25:14 PM
the preview is not working  :'(
Title: Re: Ultimate Profile
Post by: Pupo on December 12, 2009, 06:33:32 PM
I install ultimate profile and later i cant install any mod which has a tab after the ultimate profile in the "Features and Options" section, because in the code is missing a comma!

'ultprofile' => 'ModifyUltProfileSettings'  ===>>> 'ultprofile' => 'ModifyUltProfileSettings',

i fix this, and both mods work fine, but when I switched my ultimate profile on, missing fields of (mod) "custom profile fields" in the profile (when i go to "Profile" then "Summary")

Capture1: Ultimate profile on, but missing fields from "custom profile field" mod :(
Capture2: Ultimate profile off :(, fields from "custom profile field" mod works

Is it possible to both works at same time?

sorry for my rubbish english, if any isnt clear, I try to better explain!
Title: Re: Ultimate Profile
Post by: LC on December 12, 2009, 07:54:26 PM
Quote from: Yağız... on December 11, 2009, 05:29:58 AM
@LadyChaos: I'll try to fix it for the next release

Ok, thanks Yağız.  ;D


Quote from: quiteperplexed on December 11, 2009, 06:53:56 AM
that is weird though because we don't have any avatars uploaded to the server and we don't have that problem.  I can see all my buddy avatars from photobucket etc. I'm using 2.0 RC2 but I did have Ultimate Profile before the upgrade, maybe that makes a difference.
Well I had UP when my site was 1.1.10 before I upgraded it to RC2. I have no idea why the avatars are showing up like that, it could just be a bug. I cleared all my cookies, cache, used different browsers, even my members have mentioned the same issue to me.

But Yağız mentioned looking into it. ;)
Title: Re: Ultimate Profile
Post by: Afro on December 13, 2009, 06:25:27 AM
is this mod compatible with RC2 because i didnt see RC2 on teh parse page..
Title: Re: Ultimate Profile
Post by: perplexed on December 13, 2009, 07:39:49 AM
Quote from: Afro on December 13, 2009, 06:25:27 AM
is this mod compatible with RC2 because i didnt see RC2 on teh parse page..

the one attached to this post is for RC2.


Quote from: Yağız... on November 29, 2009, 07:19:57 AM
Here is the new version of Ultimate Profile for SMF 2.0 RC2 version. You can download the attached file and install via package manager. If you have a layout problem on profile summary, do a hard refresh (CTRL + F5). (Jovan will try to update the mod as soon as possible, for now you can download the mod from this post)

If you find any bugs, you can post them here, and I'll try to update as soon as possible.


----
If you're using a custom style, find in your css/index.css file:
#creator dl
{
   margin: 0;
}
#creator dt
{
   width: 40%;
   float: left;
   clear: both;
   margin: 0 0 10px 0;
}
#creator dd
{
   float: left;
   width: 60%;
   margin: 0 0 10px 0;
}

And replace with:
#creator dl, .creator dl
{
   margin: 0;
}
#creator dt, .creator dt
{
   width: 40%;
   float: left;
   clear: both;
   margin: 0 0 10px 0;
}
#creator dd, .creator dd
{
   float: left;
   width: 60%;
   margin: 0 0 10px 0;
}

And then, do a hard refresh (CTRL + F5).
Title: Re: Ultimate Profile
Post by: Yağız... on December 13, 2009, 07:55:11 AM
@quitperplexed; thank you too for your testing :) I'll include this into the mod installation file.
Title: Re: Ultimate Profile
Post by: perplexed on December 13, 2009, 08:11:27 AM
no worries, glad to help.  I really love this mod :)
Title: Re: Ultimate Profile
Post by: Carlos Faria on December 13, 2009, 09:35:45 AM
In the installation occurs to me the following error:

(http://img13.imageshack.us/img13/941/catsru.th.jpg) (http://img13.imageshack.us/img13/941/catsru.jpg)

Someone could check my ./Sources/ModSettings.php ?

MODS:

1. Member Color Link  3.0.7
2. Ultimate Profile 0.9
3. Advanced XFire Field 2.0a
4. Aeva ~ Auto-Embed Video & Audio 7.0
5. Pretty URLs 1.0RC
6. Ad Managment 2.3.1
7. Hide SMF Version 1.0.5
8. The Rules 1.2
9. nCode Image Resizer 1.2
10. Related Topics 1.3.3
11. Shared Forum Mod 0.2.5.4
12. SMF 1.0.19 / 1.1.11 Update


SMF 1.1.11

Thanks.
Title: Re: Ultimate Profile
Post by: Carlos Faria on December 14, 2009, 07:39:25 AM
up.
Title: Re: Ultimate Profile
Post by: gbsothere on December 14, 2009, 08:59:28 AM
@ [T]uGa [M]aSter


Go ahead and upload a clean ModSettings.php from your SMF install zip that hasn't been modified and finish installing Ultimate Profile.  Then, when you get it installed, upload this one (attached) instead so that all your other mods will continue to function correctly.

:)

I'm leaving for a road trip to head back home from several days away, so I'll check back tonight to see if this worked okay for you.  If not, let me know.
Title: Re: Ultimate Profile
Post by: Melfra on December 14, 2009, 01:01:57 PM
Quote from: c-o-d-e on December 12, 2009, 08:41:25 AM
I have posted this before, on page 62. Can someone please.. assist me with this?

On SMF RC 2.0, When you set it so that you use sidebars instead of drop down menu's, and then use a video.. it messes up the whole profile page.

I have messed around with the sizes, the recommended size for videos is
Width 425 - Height 285
With those settings it doesn't clash.

Is there anything you can use to resize videos automatically.. to implement into Ultimate Profile?
I should think dynamic resizing would be possible with javascript, but I don't know much about that sort of thing, however, I can suggest an alternate solution.

in UltimateProfile.template.php Replace

         <h3 class="catbg" style="text-align: center;">
            <span class="left"></span>
            ', $txt['profile_media'] ,'
         </h3>
         <div class="windowbg creator">


with


         <h3 class="catbg" style="text-align: center;">
            <span class="left"></span>
            ', $txt['profile_media'] ,'
         </h3>
         <div class="windowbg creator" style="overflow-x: auto; width: 300px;">

(replace 300px with your desired width)

The only downside is that this method doesn't account for the difference between sidebar and top menu view, so you'd be stuck with one width instead of the two. It will prevent your pages from breaking until someone suggests a permafix!
Title: Re: Ultimate Profile
Post by: Carlos Faria on December 14, 2009, 03:25:20 PM
Quote from: gbsothere on December 14, 2009, 08:59:28 AM
@ [T]uGa [M]aSter


Go ahead and upload a clean ModSettings.php from your SMF install zip that hasn't been modified and finish installing Ultimate Profile.  Then, when you get it installed, upload this one (attached) instead so that all your other mods will continue to function correctly.

:)

I'm leaving for a road trip to head back home from several days away, so I'll check back tonight to see if this worked okay for you.  If not, let me know.

Fatal error: Cannot redeclare modifyultprofilesettings() (previously declared in /home/lusonetw/public_html/foruns/Sources/ModSettings.php:359) in /home/lusonetw/public_html/foruns/Sources/ModSettings.php on line 421

::) Not working...
Title: Re: Ultimate Profile
Post by: perplexed on December 14, 2009, 03:36:35 PM
open your modsettings file and remove the duplicate code.  See how it says "cannot redeclare...."  The duplicate code is in two places, so remove the second instance that is on line 421
Title: Re: Ultimate Profile
Post by: Carlos Faria on December 14, 2009, 04:01:36 PM
Quote from: quiteperplexed on December 14, 2009, 03:36:35 PM
open your modsettings file and remove the duplicate code.  See how it says "cannot redeclare...."  The duplicate code is in two places, so remove the second instance that is on line 421

I deleted the line 421 and did not result ...
Title: Re: Ultimate Profile
Post by: perplexed on December 14, 2009, 04:23:34 PM
are you using the Modsettings.php file in this post by gbsothere?  http://www.simplemachines.org/community/index.php?topic=298641.msg2404544#msg2404544 because it has already been edited for you and contains only one instance of ultimate profile code.  It should work.
Title: Re: Ultimate Profile
Post by: blokey on December 15, 2009, 03:46:29 PM
Database Error Unknown column 'com.time' in 'field list'
File: Sources/Profile-View.php
Line: 231

most things i can understand this erm erm erm
Title: Re: Ultimate Profile
Post by: Yağız... on December 15, 2009, 03:51:13 PM
http://www.simplemachines.org/community/index.php?topic=298641.msg2303665#msg2303665
Title: Re: Ultimate Profile
Post by: blokey on December 15, 2009, 04:03:06 PM
sorry did do a search, did not find anything      i now get this?

a narrow band in profile see pic
Title: Re: Ultimate Profile
Post by: blokey on December 15, 2009, 04:25:30 PM
ok found it

I have  custom profile text fields and if i disable them its fine,,, now this is not an issue to me
but to somebody else?
Title: Re: Ultimate Profile
Post by: Carlos Faria on December 16, 2009, 12:51:06 PM
Added (Modifications.portuguese_pt-utf8.php):

//Ultimate Profile
$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.'



but the translation was not done... Nothing appears ...

???
Title: Re: Ultimate Profile
Post by: Yağız... on December 16, 2009, 01:17:26 PM
Quote from: blokey on December 15, 2009, 04:25:30 PM
ok found it

I have  custom profile text fields and if i disable them its fine,,, now this is not an issue to me
but to somebody else?

There is no problem for me.

Quote from: [T]uGa [M]aSter on December 16, 2009, 12:51:06 PM
Added (Modifications.portuguese_pt-utf8.php):

//Ultimate Profile
$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.'



but the translation was not done... Nothing appears ...

???
Translate UltimateProfile.english.php too.
Title: Re: Ultimate Profile
Post by: enix on December 18, 2009, 11:30:58 PM
ok question i am trying to find a way to resize buddies pics in the template in the profile can someone help me here is a example
http://reggaetonfuego.com/forum/index.php?action=profile;u=1 (http://reggaetonfuego.com/forum/index.php?action=profile;u=1)

i want the buddies main avator pics to be smaller in that buddies section
Title: Re: Ultimate Profile
Post by: gdout25 on December 19, 2009, 02:52:20 AM
ok so i have smf 1.1.11  default -core theme.  i used the package installer because i didnt read. :(  was working, except users couldnt edit profiles, just admin. i chekced in settings and they are allowed per settings..    theres no "ultimate profile" in the configuration box for regular users. anyway to fix this?  any suggestions would be appreciated.

Title: Re: Ultimate Profile
Post by: gdout25 on December 19, 2009, 04:32:36 AM
nevermind, just added a permission and it worked.
Title: Re: Ultimate Profile
Post by: Pupo on December 19, 2009, 08:03:46 AM
help pls  :)

http://www.simplemachines.org/community/index.php?topic=298641.msg2402199#msg2402199
Title: Re: Ultimate Profile
Post by: jjzx2sr on December 19, 2009, 05:03:58 PM
I uninstalled this today because it conflicted with the installation of SMF garage and i get "Unable to load the 'UltimateProfile' template."  when i click the profile tab.  If i reinstall ultimate profile and click the profile tab i get


Fatal error: Cannot redeclare customized() (previously declared in /home/fordpow1/public_html/Sources/Profile.php:2718) in /home/fordpow1/public_html/Sources/Profile.php on line 3010

if in the admin panel i click features and options i get

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/fordpow1/public_html/Sources/ModSettings.php on line 122
Title: Re: Ultimate Profile
Post by: jjzx2sr on December 20, 2009, 02:24:06 AM
nevermind i fixed it
Title: Re: Ultimate Profile
Post by: blokey on December 20, 2009, 12:33:43 PM
Whatever I have tried I cannot get a picture to appear in my pictures,,, it tells me it has uploaded and I get an icon without a picture,,, I go to my server and check the path and it has not been saved there,,,,,nor anywhere else.....
Title: Re: Ultimate Profile
Post by: Dzonny on December 20, 2009, 01:17:21 PM
Hello there.

I need to hide number of posts of one user with ID 1.
Please take a look at this topic:
http://www.simplemachines.org/community/index.php?topic=354161.0

I cant do this with profile, and i need you to help.
Title: Re: Ultimate Profile
Post by: Yağız... on December 20, 2009, 01:25:20 PM
@blookey: Any errors on the error log?

@Dzonny: Answered in the topic.
Title: Re: Ultimate Profile
Post by: blokey on December 20, 2009, 01:32:49 PM
jUST CHECKED THEM AND NOTHING,,, NO ERROR LOGS FOR THIS
Title: Ultimate Profile 2.0 RC2
Post by: jay.clark on December 21, 2009, 01:23:08 PM
When I try to do an install in 2.0 RC2 I see a number of error messages warning me about proceeding. 

Should I just go ahead and try it, or should I do a manual install ?

jayr
Title: Re: Ultimate Profile
Post by: Yağız... on December 21, 2009, 02:25:22 PM
Install this one: http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125698
Title: Re: Ultimate Profile
Post by: Dzonny on December 22, 2009, 04:23:31 AM
Yağız... - Nothing happened when i change ultimate profile template... (answered in topic)
Title: Re: Ultimate Profile
Post by: forummaker on December 22, 2009, 08:40:46 PM
Question.... please.
Searched... but couldn't find any previous posts for this.
How can I add the "About Me"or "My Interests" field on the registration page?
This will allow a newly registered member complete a portion of their profile while signing up.
I've been using this mod for about a year... and love it... works great!
Thanks.
smf 1.1.11
tp 1.0.5
Title: Re: Ultimate Profile
Post by: LC on December 23, 2009, 02:04:16 AM
Hey Yagiz.

I know you are in the "initial" stage of the RC2 version of this mod, but I was talking to Antechinus in another thread about the custom personal background people can add to their profiles. The issue is that people can not add the background they want because Curve overrides that. I don't know if you remember talking to me about this, as I thought it was the CSS of the theme.

Here is what he had to say about it.
Quote from: Antechinus on December 22, 2009, 05:34:47 PM
Ok, I know what the problem is with the Dziner themes. Bikken uses an extra background div in some of his themes. This isn't actually necessary with the standard layout and graphics. He only includes it to give an extra styling hook if people want to modify the look of the theme. Because the UP mod is looking for the body class, and because that sits behind the extra div, the personal backgrounds are hidden.

The trick, as you found out, is to set the extra div to no background. Something similar should work with Curve. I haven't checked out the RC2 version of this mod yet but my earlier advice stands: get the author to take a look at it. The fix should be very easy and he will need to sort it for current and future versions of 2.0..

He said something about this being an extra div in the Curve theme and UP looks for the body class and cannot override the main theme. This may become an issue with others who will install this mod in the future and find that people cannot use the customized area.

I just thought I would give you a heads up about it, as some may come here after installing this mod and ask about it.

If you do decide to figure it out, I will be more then happy to test it out for ya, or even provide a donation.

Anyway, sorry for the big wall of text. I hope you have a good holiday season.

LC



Title: Ultimate Profile - End User Guide
Post by: jay.clark on December 23, 2009, 11:48:39 AM
Whoa, I installed the 2.0 RC2 version and it seems to be working fine.

Next step is that I have noticed that the end users are not always the highest cards in the deck.

Typically when I add something to the system that adds additional functionality that the end user can, or needs to, configure;  I add an FAQ page for that functionality to cut down on the number of support requests I get for how to use it.

Am wondering if someone has a set of user instructions for ultimate profile that I can reverse engineer.

jayr
Title: Re: Ultimate Profile - End User Guide
Post by: LC on December 23, 2009, 04:29:40 PM
Quote from: jay.clark on December 23, 2009, 11:48:39 AM
Whoa, I installed the 2.0 RC2 version and it seems to be working fine.
I am guessing you are not using the Curve theme? If so, try to add a customized background to your profile and see what happens. :)
Title: Re: Ultimate Profile
Post by: jay.clark on December 24, 2009, 04:08:49 PM
No, for the moment I am sticking to Curve until I get all of the mods working, at the moment I am looking for a user guide to ultimate profie
Title: Re: Ultimate Profile
Post by: Realinfo on December 25, 2009, 01:51:24 AM
Execute Modification     .\Sources/ModSettings.php     Test failed in smf 1.1.11 So Please guide me to do it manually in that file............
Title: Re: Ultimate Profile
Post by: gbsothere on December 25, 2009, 01:29:24 PM
Quote from: Realinfo on December 25, 2009, 01:51:24 AM
Execute Modification     .\Sources/ModSettings.php     Test failed in smf 1.1.11 So Please guide me to do it manually in that file............




Please pull the ModSettings.php from your server and attach it here.   :)
Title: Re: Ultimate Profile
Post by: Azrael1 on December 25, 2009, 07:03:45 PM
Quote from: gbsothere on November 29, 2009, 08:10:01 AM
Quote from: polio on November 29, 2009, 07:00:24 AM
I am running smf 1.10 with the babylon theme and I know that other people have posted an issue with the pending buddy list with this mod, but I can't find the solution to the issue.

I am new to the forum and the site and I have everything else exactly how I want it but this puzzles me. My pending buddies remain missing. PLEASE someone if you have a code to fix this please help me. I'm getting desperate here and vbulletin is just too expensive for me.

It would also be nice to find out how to integrate flashchat directly onto my page in the lower frame. Thats something else I've been fighting with.

Thanks :-[
Paul

Paul, try running the attached buddy migration tool.    :)

Excuse me, but how I can run the migration tool?

A step by step instruction would be fine. :-)
Title: Re: Ultimate Profile
Post by: gbsothere on December 25, 2009, 08:09:09 PM
Quote from: Azrael1 on December 25, 2009, 07:03:45 PM
Excuse me, but how I can run the migration tool?

A step by step instruction would be fine. :-)


I deleted my first reply.  *grin*  I was thinking that you could simply use your package manager but all the zip contains is "migrate_buddies.php".  You should be able to unzip and place that file in your forum's root directory and then point your browser to it.  You may want to remove the file when you're done.
Title: Re: Ultimate Profile
Post by: Azrael1 on December 25, 2009, 08:12:45 PM
Quote from: gbsothere on December 25, 2009, 08:09:09 PM
Quote from: Azrael1 on December 25, 2009, 07:03:45 PM
Excuse me, but how I can run the migration tool?

A step by step instruction would be fine. :-)


I deleted my first reply.  *grin*  I was thinking that you could simply use your package manager but all the zip contains is "migrate_buddies.php".  You should be able to unzip and place that file in your forum's root directory and then point your browser to it.  You may want to remove the file when you're done.

thank you..
but i got now the following error:
Fatal error: Call to undefined function db_query() in /www/htdocs/w00ae714/forum/migrate_buddies.php on line 134

Do you what I can do?
Title: Re: Ultimate Profile
Post by: Yağız... on December 25, 2009, 08:51:46 PM
I think you're using 2.0 :) There is no migrate tool for SMF 2.0, but it'll be :)
Title: Re: Ultimate Profile
Post by: gbsothere on December 25, 2009, 08:55:18 PM
Quote from: Yağız... on December 25, 2009, 08:51:46 PM
I think you're using 2.0 :) There is no migrate tool for SMF 2.0, but it'll be :)


Ah, I didn't realize that.   :)  Azrael1 quoted an older post of mine replying to someone using 1.1.10 and I just made an assumption.  Not a good idea.   ;)
Title: Re: Ultimate Profile
Post by: Azrael1 on December 25, 2009, 09:14:40 PM
Quote from: Yağız... on December 25, 2009, 08:51:46 PM
I think you're using 2.0 :) There is no migrate tool for SMF 2.0, but it'll be :)

Sorry, yes. I am using 2.0 rc2 and tried the migration tool form page 62. Thank you for information.
Title: Re: Ultimate Profile
Post by: Xarcell on December 26, 2009, 09:46:03 PM
@ Yağız...

I tried your updated package for 2.0 RC2 of this mod. Works great except for the background thing. Thanks for updating it.
Title: Re: Ultimate Profile
Post by: Riey on December 26, 2009, 09:58:37 PM
Quote from: Yağız... on December 21, 2009, 02:25:22 PM
Install this one: http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125698

error :S

Unknown column 'com.time' in 'field list'
Ficheiro: /home/submundo/public_html/forum/Sources/Profile-View.php
Linha: 234
Title: Re: Ultimate Profile
Post by: Yağız... on December 26, 2009, 10:07:18 PM
@Xarcell; trying to fix it for the next release. Fixed :) Just added <style> tags to Profile-View.php file.

@Riey; install this modification: http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681 (http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681)
Title: Re: Ultimate Profile
Post by: rd on December 27, 2009, 08:48:19 AM
Quote from: Yağız... on December 26, 2009, 10:07:18 PM
@Xarcell; trying to fix it for the next release. Fixed :) Just added <style> tags to Profile-View.php file.

@Riey; install this modification: http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681 (http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681)

What's the download link for the mod. With the background fixed? Can you give me? The link to the fix.
Title: Re: Ultimate Profile
Post by: Yağız... on December 27, 2009, 09:36:59 AM
It isn't released yet but it'll be soon :)
Title: Re: Ultimate Profile
Post by: Riey on December 27, 2009, 11:37:55 AM
Quote from: Yağız... on December 26, 2009, 10:07:18 PM
@Riey; install this modification: http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681 (http://www.simplemachines.org/community/index.php?action=dlattach;topic=298641.0;attach=125681)

resolved :D

thanks :)
Title: Re: Ultimate Profile
Post by: rd on December 27, 2009, 12:13:57 PM
Quote from: Yağız... on December 27, 2009, 09:36:59 AM
It isn't released yet but it'll be soon :)

Please release it soon, I really need a good stable finished version.

Running 2.0 RC2

Thank god it uninstalls without an error, this means I will be able to remove the old version and install the new one you release.

I have a question, if I install it, do I have to install it to every theme or does it automatically do it. What I mean is do I have to click the "install in other themes"?

Thank you for support.
Title: Re: Ultimate Profile
Post by: Yağız... on December 27, 2009, 12:48:21 PM
Here, is the new release of Ultimate Profile for SMF 2.0 RC2 users! This package contains some bugfixes and a database update if you upgraded your forum from SMF 1.1.x, and had installed Ultimate Profile. This database update converts all uppercased column names to lowercase(thanks to ChristmasIsPerplexing a.k.a quiteperplexed for the testing :) ).

If you have installed an older version of Ultimate Profile, uninstall it and install this one.

And, please report any bugs via this thread! :)


@mohd7590; you don't need to install it on other themes, except if you have Profile.template.php file in your theme. But for that, you can use "install in other themes" option.
Title: Re: Ultimate Profile
Post by: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.
Title: Re: Ultimate Profile
Post by: rd on December 27, 2009, 05:06:37 PM
Quote from: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.

Check out my site: dukeblog.xadro.net (http://dukeblog.xadro.net)

I think you have to be a member to view profiles, but anyway, check out my profile with this! This thing supports myspace CSS design... awesome. Yagiz, good work man, <3 you, no homo(if your a guy).

The new version didn't fix the CSS design for the core theme. It works great(like myspace) in the old default, but the CSS style isn't truly shown in the Core theme and its variants.
Title: Re: Ultimate Profile
Post by: Riey on December 28, 2009, 06:02:45 PM
ultimate profile tunning

http://www.submundos.com/forum/index.php?action=profile;u=1

nice mod :D
Title: Re: Ultimate Profile - End User Guide
Post by: jay.clark on December 28, 2009, 06:50:07 PM
Quote from: jay.clark on December 23, 2009, 11:48:39 AM

Am wondering if someone has a set of user instructions for ultimate profile that I can reverse engineer.

jayr

Still looking for a user guide for this mod,
Title: Re: Ultimate Profile
Post by: alblove on December 28, 2009, 09:11:16 PM
I have a problem with the profile coment time, in every coment shows 1 Janar 1970 - 01:00:00
any idea how to fix it ? ( i tried with the fix pacage but dont work)

http://www.alblove.com/profile.html;u=1
Title: Re: Ultimate Profile
Post by: blokey on December 28, 2009, 10:50:36 PM

getting no pics these are my error logs

Forum-Designer
94.196.208.75   
    Today at 03:33:05 AM
3b86e76aa71216e6038c4517bbeab8c1
Type of error: User 
http://========/index.php?action=error;code=404Error 404 - Not Found (http:/--------eak/profile_pictures/1_1262057584_thumb.jpg)




   Today at 03:33:04 AM
3b86e76aa71216e6038c4517bbeab8c1
Type of error: General 
http://www.===========/index.php?action=profile;area=pictures;u=1;add22: rename(/home/======/public_html/======/profile_pictures/tmp_1_thumb,/home/=====/public_html/coffee-break/profile_pictures/1_1262057584_thumb.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directoryFile: /home/====public_html/coffee-break/Sources/Profile-Pictures.php
Line: 195 
Title: Re: Ultimate Profile
Post by: KensonPlays on December 28, 2009, 10:59:23 PM
Quote from: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.

http://kcmartz.com/index.php?action=profile;u=1
Title: Re: Ultimate Profile
Post by: C4G-TK on December 29, 2009, 12:28:04 AM
Quote from: Kcmartz on December 28, 2009, 10:59:23 PM
Quote from: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.

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

Thanks Kcmartz!
Title: Re: Ultimate Profile
Post by: Riey on December 29, 2009, 08:32:02 AM
- como colocar os avatares dos amigos mais pequenos?
- how to put the avatars of friends smaller?

- não dá para mostrar uma lista de amigos de cada membro ou estatísticas do perfil?
- you can not show a friends list of each member's profile or statistics?
Title: Re: Ultimate Profile
Post by: Bijan641 on December 29, 2009, 04:41:45 PM
Is there anyway to make it so that the ultimate profile is automatically turned on as a default, and can't be turned off?
Title: Re: Ultimate Profile
Post by: Yağız... on December 29, 2009, 05:15:10 PM
Quote from: Riey on December 29, 2009, 08:32:02 AM
- como colocar os avatares dos amigos mais pequenos?
- how to put the avatars of friends smaller?
Find in ./Sources/Profile.php:
// For avatars: if we're always html resizing, assume it's too large.
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
} else {
$avatar_width = '';
$avatar_height = '';
}

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

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

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

Then, enable the option "Enable ultimate profile for all members" in Admin > Features and Option > Ultimate Profile[/quote]
Title: Re: Ultimate Profile
Post by: Bijan641 on December 29, 2009, 06:30:44 PM
Thank you so much, you fixed the problem Yagiz. The only thing is that for some reason, the layouts don't look uniform. For example, my profile:

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

A normal user's profile:

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

Anybody have any ideas on how to fix this?
Title: Re: Ultimate Profile
Post by: Yağız... on December 29, 2009, 07:36:07 PM
Can I have your UltimateProfile.template.php file?
Title: Re: Ultimate Profile
Post by: Bijan641 on December 29, 2009, 07:47:17 PM
Yes you may.
Title: Re: Ultimate Profile
Post by: Yağız... on December 29, 2009, 09:02:20 PM
Try attached file.
Title: Re: Ultimate Profile
Post by: blokey on December 29, 2009, 09:17:12 PM
not bothered about responding to me then? :-\
Title: Re: Ultimate Profile
Post by: Yağız... on December 29, 2009, 09:26:04 PM
Oh, sorry, I forgot you :)

Can I have a picture from Admin > Modification Settings > Ultimate Profile?
Title: Re: Ultimate Profile
Post by: Bijan641 on December 29, 2009, 10:10:02 PM
Thank you! it worked. Is there any way you can tell me which lines you changed so that I can learn from it?
Title: Re: Ultimate Profile
Post by: Yağız... on December 29, 2009, 10:19:05 PM
Code (@line 337 to 343) Select
<td class="windowbg" align="center">';
                                            if (!empty($context['member']['options']['pxbgt']))
                                            echo '<b>'.$txt['pxbgt_txt2'].'</b><br>
                                            <img src="http://card.mygamercard.net/'.$context['member']['options']['pxbgt'].'.png" alt="" />
                                            <br />';
echo '
</td>

I added ';
echo ' before last </td>
Title: Re: Ultimate Profile
Post by: blokey on December 30, 2009, 01:03:26 AM
sure
including butler
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 08:33:05 AM
Can you write there what "Pictures Path" and "Pictures URL" have?
Title: Re: Ultimate Profile
Post by: hunty on December 30, 2009, 09:11:39 AM
Hello where can i find rc2 verion. Current one giving errors.
I have default theme and english, turkush languages
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 09:30:08 AM
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006
Title: Re: Ultimate Profile
Post by: alblove on December 30, 2009, 01:12:01 PM
I have a problem with the profile coment time and date, in every coment shows 1 Janar 1970 - 01:00:00
any idea how to fix it ? ( i tried with the fix pacage but dont work)
http://www.alblove.com/profile.html;u=1
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 01:24:24 PM
1st January 1970 00:00:00 is the beginning of the UNIX time. This might be a problem with server. Try to contact with your hosting provider.
Title: Re: Ultimate Profile
Post by: alblove on December 30, 2009, 01:29:17 PM
i dont think is a problem of the server becousethe time in  picture coments is OK, before to instal ultimate profile i had Profile Coment mod installed that uses the same table.
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 01:42:39 PM
Ah, that could be the problem. I'll try this and if I can find a fix, I'll post it there.
Title: Re: Ultimate Profile
Post by: Riey on December 30, 2009, 05:54:52 PM
Quote from: Yağız... on December 29, 2009, 05:15:10 PM
Quote from: Riey on December 29, 2009, 08:32:02 AM
- como colocar os avatares dos amigos mais pequenos?
- how to put the avatars of friends smaller?
Find in ./Sources/Profile.php:
// For avatars: if we're always html resizing, assume it's too large.
if ($modSettings['avatar_action_too_large'] == 'option_html_resize' || $modSettings['avatar_action_too_large'] == 'option_js_resize') {
$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';
$avatar_height = !empty($modSettings['avatar_max_height_external']) ? ' height="' . $modSettings['avatar_max_height_external'] . '"' : '';
} else {
$avatar_width = '';
$avatar_height = '';
}

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

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



i not found code in ./Sources/Profile.php

i used smf 2.0 RC2
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 05:59:11 PM
Searc in ./Sources/Profile-View.php then.
Title: Re: Ultimate Profile
Post by: Riey on December 30, 2009, 06:46:13 PM
Quote from: Yağız... on December 30, 2009, 05:59:11 PM
Searc in ./Sources/Profile-View.php then.

hi...

not resolved... :s

(http://i898.photobucket.com/albums/ac190/submundos/A-1.jpg)


and friends is not align...
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 07:02:53 PM
Oops, sorry my mistake. Replace just with this:
      $avatar_width = '30px';
      $avatar_height = '30px';

And for the alignment error, install newest release.
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006
Title: Re: Ultimate Profile
Post by: Riey on December 30, 2009, 07:22:24 PM
I put this and did not result

this is my version
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 10:06:17 PM
@alblove; can you try to run attached file please?

@Riey; please attach your ./Themes/default/UltimateProfile.template.php and ./Sources/Profile-view.php files.
Title: Re: Ultimate Profile
Post by: alblove on December 30, 2009, 10:51:07 PM
Quote from: Yağız... on December 30, 2009, 10:06:17 PM
@alblove; can you try to run attached file please?
i did but dont fix it :(
Title: Re: Ultimate Profile
Post by: Yağız... on December 30, 2009, 11:10:12 PM
Did you see any errors or anything when you ran it?
Title: Re: Ultimate Profile
Post by: forummaker on December 31, 2009, 12:11:39 AM
Repost:
Question.... please.
Searched... but couldn't find any previous posts for this.
How can I add the "About Me"or "My Interests" field on the registration page?
This will allow a newly registered member to complete a portion of their profile while signing up.
I've been using this mod for about a year... and love it... works great!
Thanks.
smf 1.1.11
tp 1.0.5
Thanks again...


Title: Re: Ultimate Profile
Post by: C4G-TK on December 31, 2009, 12:35:15 AM
I just got one error when trying to install package from post #1333 on RC2 forum (details in signature)

I got the following error:

Table 'channel4gaming_com_smfrc2.channel4gaming_com_smfrc2_profile_comments' doesn't exist
File: /var/www/html/smf2rc2/Packages/temp/database.php
Line: 17
Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 07:57:58 AM
@C4G-TK; updated, sorry for that.


@ forummaker; find in ./Sources/Register.php:
loadLanguage('Login');
Replace with:
loadLanguage('Login');
    loadLanguage('UltimateProfile');

Find:
'theme_vars' => array(),
Replace with:
'theme_vars' => array('about' => $_POST['default_options']['about'], 'interests' => $_POST['default_options']['interests']),

Find in ./Themes/default/Register.template.php:
// Are there age restrictions in place?

Add before:
    echo '
                    <tr>
                        <td width="40%">
                            <b>', $txt['profile_about'], ':</b>
                            <div class="smalltext">', $txt['profile_about_desc'], '</div>
                        </td>
                        <td>
                            <textarea class="editor" name="default_options[about]" tabindex="', $context['tabindex']++, '" rows="5" cols="80">', @$context['member']['options']['about'], '</textarea>
                        </td>
                    </tr><tr>
                        <td width="40%">
                            <b>', $txt['profile_interests'], ':</b>
                            <div class="smalltext">', $txt['profile_interests_desc'], '</div>
                        </td>
                        <td>
                            <textarea class="editor" name="default_options[interests]" tabindex="', $context['tabindex']++, '" rows="5" cols="80">', @$context['member']['options']['interests'], '</textarea>
                        </td>
                    </tr>';
Title: Re: Ultimate Profile
Post by: alblove on December 31, 2009, 09:30:08 AM
Quote from: Yağız... on December 30, 2009, 11:10:12 PM
Did you see any errors or anything when you ran it?

no in all rows was OK
Title: Re: Ultimate Profile
Post by: forummaker on December 31, 2009, 10:04:41 AM
Thanks Yagiz! Worked great! Perfect! I can pm you my site link if you want to check it out.
Title: Re: Ultimate Profile
Post by: hunty on December 31, 2009, 10:06:34 AM
Hello, i have just installed 2.0 rc2 version and getting this Error when I'm checking the profiles:

Unknown column 'com.time' in 'field list'
File: /home/xxxxxx/public_html/exampleforum/Sources/Profile-View.php
Line: 257

I have before installed UP rc1 version then uninstalled. I couldn't find settings option on admin page. There are settings only on the profile pages.
I have default theme and English, Turkish languages on my forum.
Thanks
Title: Re: Ultimate Profile
Post by: Riey on December 31, 2009, 10:28:47 AM
Quote from: Yağız... on December 30, 2009, 10:06:17 PM
@Riey; please attach your ./Themes/default/UltimateProfile.template.php and ./Sources/Profile-view.php files.
Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 10:49:01 AM
Quote from: alblove on December 31, 2009, 09:30:08 AM
Quote from: Yağız... on December 30, 2009, 11:10:12 PM
Did you see any errors or anything when you ran it?

no in all rows was OK
It worked without any problems on my friends' site. I really don't know why it doesn't work for you... Can I have a picture from your phpMyAdmin, in smf_profile_comments table?

Quote from: hunty on December 31, 2009, 10:06:34 AM
Hello, i have just installed 2.0 rc2 version and getting this Error when I'm checking the profiles:

Unknown column 'com.time' in 'field list'
File: /home/xxxxxx/public_html/exampleforum/Sources/Profile-View.php
Line: 257

I have before installed UP rc1 version then uninstalled. I couldn't find settings option on admin page. There are settings only on the profile pages.
I have default theme and English, Turkish languages on my forum.
Thanks
Install table_fix20.zip via package manager. Settings are in Admin > Modification Settings > Ultimate Profile

Quote from: forummaker on December 31, 2009, 10:04:41 AM
Thanks Yagiz! Worked great! Perfect! I can pm you my site link if you want to check it out.
You're welcome :)

Quote from: Riey on December 31, 2009, 10:28:47 AM
Quote from: Yağız... on December 30, 2009, 10:06:17 PM
@Riey; please attach your ./Themes/default/UltimateProfile.template.php and ./Sources/Profile-view.php files.
Try attached files.
Title: Re: Ultimate Profile
Post by: alblove on December 31, 2009, 11:29:51 AM
Quote from: Yağız... on December 31, 2009, 10:49:01 AM
Quote from: alblove on December 31, 2009, 09:30:08 AM
Quote from: Yağız... on December 30, 2009, 11:10:12 PM
Did you see any errors or anything when you ran it?

no in all rows was OK
It worked without any problems on my friends' site. I really don't know why it doesn't work for you... Can I have a picture from your phpMyAdmin, in smf_profile_comments table?

Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 01:17:58 PM
WOW :o I really don't know why this happens. Do you get the same thing when you post a new comment?
Title: Re: Ultimate Profile
Post by: alblove on December 31, 2009, 02:34:38 PM
Quote from: Yağız... on December 31, 2009, 01:17:58 PM
WOW :o I really don't know why this happens. Do you get the same thing when you post a new comment?
yes ... :-\
Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 02:49:14 PM
Can I have a picture from smf_messages too(I should see posterTime column)?
Title: Re: Ultimate Profile
Post by: Riey on December 31, 2009, 02:53:48 PM
Yağız..., avatars aligned :) thanks


but, are still very large
Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 02:57:10 PM
:/ Can I have a demo account please?
Title: Re: Ultimate Profile
Post by: rd on December 31, 2009, 03:15:56 PM
Can you give me me the latest Ultimate Profile package? Where you fixed the <style> problem. CSS doesn't work in the core theme(doesn't work well).
Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 03:42:21 PM
The latest release is there:
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006

CSS working well for me on the core theme.
Title: Re: Ultimate Profile
Post by: C4G-TK on December 31, 2009, 04:26:22 PM
Quote from: Yağız... on December 31, 2009, 07:57:58 AM
@C4G-TK; updated, sorry for that.

Worked like a charm!

Happy New Year!
Title: Re: Ultimate Profile
Post by: Riey on December 31, 2009, 10:00:27 PM
Quote from: Yağız... on December 31, 2009, 02:57:10 PM
:/ Can I have a demo account please?

demo? print sc?
Title: Re: Ultimate Profile
Post by: live627 on December 31, 2009, 10:13:55 PM
Quote from: Kcmartz on December 28, 2009, 10:59:23 PM
http://kcmartz.com/index.php?action=profile;u=1
Title: Re: Ultimate Profile
Post by: Yağız... on December 31, 2009, 10:46:28 PM
Nevermind, I registered to your site :)
And I have found the problem. You have added this to your profile CSS:
.avatar {height:80px; width:80px; !important;}
That's why avatars dont resize. Try to remove it.
Title: Re: Ultimate Profile
Post by: alblove on January 01, 2010, 02:21:00 AM
Quote from: Yağız... on December 31, 2009, 02:49:14 PM
Can I have a picture from smf_messages too(I should see posterTime column)?
Title: Re: Ultimate Profile
Post by: BAMAVAMP on January 01, 2010, 04:33:10 AM
I am running 1.1.10 and just installed the 0.9 package with the package manager and cannot find the option under Admin....Features and Options. The only links that are there are the same ones that have always been for Karma, Layout and Options, and Basic Features.
Is there a particular file I should look at parsing manually to make it appear in admin?
I got no errors in installation at all, everything tested and ran fine.

Thanks so much!
Title: Re: Ultimate Profile
Post by: hunty on January 01, 2010, 06:53:31 AM
Quote from: hunty on December 31, 2009, 10:06:34 AM
Hello, i have just installed 2.0 rc2 version and getting this Error when I'm checking the profiles:

Unknown column 'com.time' in 'field list'
File: /home/xxxxxx/public_html/exampleforum/Sources/Profile-View.php
Line: 257

I have before installed UP rc1 version then uninstalled. I couldn't find settings option on admin page. There are settings only on the profile pages.
I have default theme and English, Turkish languages on my forum.
Thanks
Bump
Title: Re: Ultimate Profile
Post by: gbsothere on January 01, 2010, 07:18:28 AM
Quote from: BAMAVAMP on January 01, 2010, 04:33:10 AM
I am running 1.1.10 and just installed the 0.9 package with the package manager and cannot find the option under Admin....Features and Options. The only links that are there are the same ones that have always been for Karma, Layout and Options, and Basic Features.
Is there a particular file I should look at parsing manually to make it appear in admin?
I got no errors in installation at all, everything tested and ran fine.

Thanks so much!



It's probably your ModSettings.php.   That sounds like the culprit.  If you'll attach it on your next post, I'll take a look at it (or Yagiz probably will if he sees it).
:)
Title: Re: Ultimate Profile
Post by: Riey on January 01, 2010, 09:04:05 AM
Quote from: Yağız... on December 31, 2009, 10:46:28 PM
Nevermind, I registered to your site :)
And I have found the problem. You have added this to your profile CSS:
.avatar {height:80px; width:80px; !important;}
That's why avatars dont resize. Try to remove it.

yes, I had what is below:

<style>  .signature, .catbg, #footer-right, #userarea, #logo, .navigate_section,.hrcolor,.botslice {display:none;}
.avatar {height:80px; width:80px; !important;}
body, #main_container, #body-top,#mainarea,#menubar { background: #000000; }
.windowbg creator  {background: transparent;!important;}
#mainarea {
position:relative;
top: -120px;
bottom:0px;
right: 136px;
left: 0x;
width:1253px;}
#header
{position:relative;
top: -0px;
bottom:0px;
right: 0px;
left: -136px;
width:1253px;}
</style>


but when replacing the files erased, and now is nothing, but I can not put the avatars with the height and width you want
Title: Re: Ultimate Profile
Post by: Yağız... on January 01, 2010, 09:27:48 AM
Quote from: alblove on January 01, 2010, 02:21:00 AM
Quote from: Yağız... on December 31, 2009, 02:49:14 PM
Can I have a picture from smf_messages too(I should see posterTime column)?
I really can't understand what's the problem... Try to contact with your hosting provider, it may be a problem with them.

Quote from: hunty on January 01, 2010, 06:53:31 AM
Quote from: hunty on December 31, 2009, 10:06:34 AM
Hello, i have just installed 2.0 rc2 version and getting this Error when I'm checking the profiles:

Unknown column 'com.time' in 'field list'
File: /home/xxxxxx/public_html/exampleforum/Sources/Profile-View.php
Line: 257

I have before installed UP rc1 version then uninstalled. I couldn't find settings option on admin page. There are settings only on the profile pages.
I have default theme and English, Turkish languages on my forum.
Thanks
Bump
I answered you there:
http://www.simplemachines.org/community/index.php?topic=298641.msg2430651#msg2430651

Quote from: Riey on January 01, 2010, 09:04:05 AM
Quote from: Yağız... on December 31, 2009, 10:46:28 PM
Nevermind, I registered to your site :)
And I have found the problem. You have added this to your profile CSS:
.avatar {height:80px; width:80px; !important;}
That's why avatars dont resize. Try to remove it.

yes, I had what is below:

<style>  .signature, .catbg, #footer-right, #userarea, #logo, .navigate_section,.hrcolor,.botslice {display:none;}
.avatar {height:80px; width:80px; !important;}
body, #main_container, #body-top,#mainarea,#menubar { background: #000000; }
.windowbg creator  {background: transparent;!important;}
#mainarea {
position:relative;
top: -120px;
bottom:0px;
right: 136px;
left: 0x;
width:1253px;}
#header
{position:relative;
top: -0px;
bottom:0px;
right: 0px;
left: -136px;
width:1253px;}
</style>


but when replacing the files erased, and now is nothing, but I can not put the avatars with the height and width you want
Try this codes
.signature, .catbg, #footer-right, #userarea, #logo, .navigate_section,.hrcolor,.botslice {display:none;}
body, #main_container, #body-top,#mainarea,#menubar { background: #000000; }
.windowbg creator  {background: transparent;!important;}
#mainarea {
position:relative;
top: -120px;
bottom:0px;
right: 136px;
left: 0x;
width:1253px;}
#header
{position:relative;
top: -0px;
bottom:0px;
right: 0px;
left: -136px;
width:1253px;}
Title: Re: Ultimate Profile
Post by: Riey on January 01, 2010, 10:20:33 AM
Yağız..., or am I not to see or we have a communication problem :D
Title: Re: Ultimate Profile
Post by: hunty on January 01, 2010, 07:09:59 PM
Fixed! Thank you
Title: Re: Ultimate Profile
Post by: alblove on January 01, 2010, 11:13:38 PM
if i reinstal the latest Ultimate profile for smf 1.1.11 there is a risk to delete actual pictures and comments ??
Title: Re: Ultimate Profile
Post by: alblove on January 02, 2010, 12:33:52 AM
Quote from: Yağız... on January 01, 2010, 09:27:48 AM
Quote from: alblove on January 01, 2010, 02:21:00 AM
Quote from: Yağız... on December 31, 2009, 02:49:14 PM
Can I have a picture from smf_messages too(I should see posterTime column)?
I really can't understand what's the problem... Try to contact with your hosting provider, it may be a problem with them.

Problem is not the in the hosting provider, becouse i installed this mod in a new testing forum ( withowt Profile comment modd) andit works fine.

Title: Re: Ultimate Profile
Post by: alblove on January 02, 2010, 01:20:48 AM
i resolved it only deleting the smf_prifile_coment table and reinstalling UP losing all comments :(
Title: Re: Ultimate Profile
Post by: blokey on January 02, 2010, 02:00:17 AM
Quote from: Yağız... on December 30, 2009, 08:33:05 AM
Can you write there what "Pictures Path" and "Pictures URL" have?

Profile Pictures
/home/*****/public_html/**site**/profile_pictures

Pictures Url
http://www.*******.com/Site/profile_pictures

If I upload a picture it sends it here but there is no picture appear only a box and the pic does not exist in the folder
http://www.**/**/profile_pictures/1_1262416388_thumb.gif



thanks
Title: Re: Ultimate Profile
Post by: Yağız... on January 02, 2010, 05:59:18 AM
Quote from: Riey on January 01, 2010, 10:20:33 AM
Yağız..., or am I not to see or we have a communication problem :D
Nevermind, I PM'ed you :)

Quote from: alblove on January 02, 2010, 01:20:48 AM
i resolved it only deleting the smf_prifile_coment table and reinstalling UP losing all comments :(
I don't think that we could fix that, but I tried my best to help you, sorry for that :(

Quote from: blokey on January 02, 2010, 02:00:17 AM
Quote from: Yağız... on December 30, 2009, 08:33:05 AM
Can you write there what "Pictures Path" and "Pictures URL" have?

Profile Pictures
/home/*****/public_html/**site**/profile_pictures

Pictures Url
http://www.*******.com/Site/profile_pictures

If I upload a picture it sends it here but there is no picture appear only a box and the pic does not exist in the folder
http://www.**/**/profile_pictures/1_1262416388_thumb.gif

thanks
Can you try to upload an image to a post? I'll see if you will have the same error when uploading attachments.
Title: Re: Ultimate Profile
Post by: LC on January 02, 2010, 06:25:57 AM
Yagiz, any idea when the rc2 version will be ready for curve?

I really would like to be able to use it with the customization features on the curve theme.  :-\

Title: Re: Ultimate Profile
Post by: C4G-TK on January 02, 2010, 06:28:13 AM
Quote from: LC on January 02, 2010, 06:25:57 AM
Yagiz, any idea when the rc2 version will be ready for curve?

I really would like to be able to use it with the customization features on the curve theme.  :-\

Did you try installing the package that was posted here?

http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006
Title: Re: Ultimate Profile
Post by: LC on January 02, 2010, 06:31:12 AM
Quote from: C4G-TK on January 02, 2010, 06:28:13 AM
Quote from: LC on January 02, 2010, 06:25:57 AM
Yagiz, any idea when the rc2 version will be ready for curve?

I really would like to be able to use it with the customization features on the curve theme.  :-\

Did you try installing the package that was posted here?

http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006
Yep. No luck. It made no difference in comparison to the other version I installed. First, it broke the layout being completely too wide and you had to scroll over, along with avatar images not showing up for buddies unless it was a server stored picture.

I un-installed it.
Title: Re: Ultimate Profile
Post by: C4G-TK on January 02, 2010, 06:34:28 AM
Hmm, I installed it on mine using Prince of Darkness theme which uses 99% of Curve's files.  I'll have to take another look to see if I did anything differently.  If I find anything, I'll post.
Title: Re: Ultimate Profile
Post by: C4G-TK on January 02, 2010, 06:37:44 AM
It's working fine on my forum.
Title: Re: Ultimate Profile
Post by: Yağız... on January 02, 2010, 06:40:50 AM
@LC; what style codes are you trying to insert?
Title: Re: Ultimate Profile
Post by: LC on January 02, 2010, 06:45:27 AM
Quote from: Yağız... on January 02, 2010, 06:40:50 AM
@LC; what style codes are you trying to insert?

I was going to use something like this.
<style type="text/css">

/* =================== */
/* The Main Controls */
/* =================== */

/* Below is the Main Background IMG */
/* Place your image URL in the ( )   */
/* or if you want a solid color, add it's */
/* hexadecimal code just after the ( )  */
/* example; background: url( ) #ff0000; */

body
{
background: url() #000000;
}

/* Color control for top of page*/
/* set as transparent to see background image */
/* or if you want a solid color, */
/* add it's hexadecimal code */
#topframe
{
background: url() transparent;
}

/* This controls the area just below the NAV Buttons */
/* make transparent to see Background Image*/
#linktree
{
background: transparent;
}

/* Color control for middle of page*/
/* set as transparent to see background image */
/* or if you want a solid color, */
/* add it's hexadecimal code */
#bodyarea2
{
background: transparent;
}

/* Color control for bottom of page*/
/* set as transparent to see background image */
/* or if you want a solid color, */
/* add it's hexadecimal code */
#footer
{
padding-bottom: 50px;
background: transparent;
}

/* Background Line Image for the left and right */
/* side of the page. If you'd like to use your own */
/* place your Line's image URL in the ( ) or */
/* you could just leave it blank */

#leftframe
{
background: url() repeat-y;
height: inherit;
padding-left: 18px;
}

#rightframe
{
background: url() top right repeat-y;
padding-right: 18px;
height: inherit;
}

/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of */
/* the Main Section Boxes */
/* if you have your own bars you'd like to use, type */
/* it's URL in the ( ) or if you want */
/* a solid color, add it's hexadecimal code just */
/* after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
background: url() repeat-x bottom left #2E89FE;
}

/* Color control for Main Section Boxes */
.windowbg
{
background: url() #B2F5FF;
border: solid 0px #ff0000;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
background: url() transparent;
border: solid 0px #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
background: url() transparent;
border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
  color: #ff0000;
}


/* Background color control for the right side */
/* of the Comments box */
.windowbg2
{
background: url() #D3F8FD;
border: solid 0px #ff0000;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
background: #ffffff;
color: red;
border: solid 1px #777000;
font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
background: #ff0000;
color: #000000;
padding: 1px;
font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
color: #4BFD50;
font-size: 100.01%;
font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a
{
color: #1FD924;
text-decoration: none;
}
a:hover
{
color: #44ED48;
text-decoration: underline;
}

/* ========================= */
/* Extra Controls (optional) */
/*   add your own code below */
/* ========================= */

/* This is a font size and color control */
/* you can add to your text */
/* Anything below this line is not connected */
/*   to the default profile */
.big {
  font-size: 20px;
  color: #0000ff;
}

</style>


But I hadn't tested that out just yet, because it seemed UP broke Curve theme's layout in the profile area and made it difficult to view (I tried all browsers). Along with the avatar issue still happening.

I am thinking my site is just stubborn. *kicks site in the shin*

I will try to reinstall and see if that makes a difference, I will also provide screenshots if anything like before happens again.
Title: Re: Ultimate Profile
Post by: Yağız... on January 02, 2010, 06:52:07 AM
Works fine for me :)
(http://i49.tinypic.com/2nu6r2e.jpg) (http://i49.tinypic.com/2nu6r2e.jpg)

Oh, and remove the style tags, you don't need them. It's already defined ;)
Title: Re: Ultimate Profile
Post by: LC on January 02, 2010, 07:03:07 AM
Yep thats what I have now too. But here is the error I am getting when I try to access the UP edit area. (Permissions are properly set btw)

   
  Today at 07:00:10 AM
2db459155da3094431ecb6746ef67b89
Type of error: Template
http://mysite.com/index.php?action=profile;area=customized;u=1

Unable to load the 'customized' template.

And I am still having an issue with Avatars not showing up unless they are server supported.  :-X
Title: Re: Ultimate Profile
Post by: LC on January 02, 2010, 07:07:50 AM
Screenshot:

(http://i49.tinypic.com/107rkfs.gif)
Title: Re: Ultimate Profile
Post by: Yağız... on January 02, 2010, 07:09:55 AM
Add those codes to ./Themes/default/Profile.template.php, before ?> tag:
// Template for profile specific options - about me, interests, customization...
function template_customized()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;

// The main containing header.
echo '
<form action="', $scripturl, '?action=profile;area=customized;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator" enctype="multipart/form-data" onsubmit="return checkProfileSubmit();">
<h3 class="catbg">
<span class="left"></span>
<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />
', $txt['profile_customized'] , '
</h3>
<p class="windowbg description">
', $txt['profile_customized_info'], '
</p>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">';

if ($modSettings['profile_enable_all'] != 1)
echo '
<dl>
<dt>
<strong>', $txt['profile_customize_enable'], '</strong>
</dt>
<dd>
<input type="hidden" name="default_options[customized]" value="0" /><input class="input_check" type="checkbox" name="default_options[customized]"', (@$context['member']['options']['customized'] == 1) ? ' checked="checked"' : '', ' value="1"  />
</dd>
</dl>
<hr width="100%" size="1" class="hrcolor" />';

echo '
<dl>
<dt>
<strong>', $txt['profile_customize_private'], '</strong>
</dt>
<dd>
<input type="hidden" name="default_options[customized_private]" value="0" /><input class="input_check" type="checkbox" name="default_options[customized_private]"', (@$context['member']['options']['customized_private'] == 1) ? ' checked="checked"' : '', ' value="1" />
</dd>
</dl>
<dl>
<dt>
<strong>', $txt['profile_comments_disable'], '</strong>
</dt>
<dd>
<input type="hidden" name="default_options[comments_disable]" value="0" /><input class="input_check" type="checkbox" name="default_options[comments_disable]"', (@$context['member']['options']['comments_disable'] == 1) ? ' checked="checked"' : '', ' value="1" />
</dd>
</dl>
<dl>
<dt>
<strong>', $txt['profile_comments_budd_only'], '</strong>
</dt>
<dd>
<input type="hidden" name="default_options[comments_budd_only]" value="0" /><input class="input_check" type="checkbox" name="default_options[comments_budd_only]"', (@$context['member']['options']['comments_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" />
</dd>
</dl>
<dl>
<dt>
<strong>', $txt['profile_comments_notif_disable'], '</strong>
</dt>
<dd>
<input type="hidden" name="default_options[comments_notif_disable]" value="0" /><input class="input_check" type="checkbox" name="default_options[comments_notif_disable]"', (@$context['member']['options']['comments_notif_disable'] == 1) ? ' checked="checked"' : '', ' value="1" />
</dd>
</dl>';
if ($modSettings['profile_enable_pictures'] == 1)
echo '
<dl>
<dt>
<strong>', $txt['profile_pictures_budd_only'], '</strong>
</dt>
<dd>
<input type="hidden" name="default_options[pictures_budd_only]" value="0" /><input class="input_check" type="checkbox" name="default_options[pictures_budd_only]"', (@$context['member']['options']['pictures_budd_only'] == 1) ? ' checked="checked"' : '', ' value="1" />
</dd>
</dl>';
echo '
<hr width="100%" size="1" class="hrcolor" />
<dl>
<dt>
<strong>', $txt['profile_about'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_about_desc'], '</span>';

if (!empty($context['show_spellchecking']))
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'creator\', \'default_options[about]\');" />';

echo '
</dt>
<dd>
<textarea class="editor" name="default_options[about]" rows="8" cols="65">', @$context['member']['options']['about'], '</textarea><br />';

// Load the spell checker?
if (!empty($context['show_spellchecking']))
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/spellcheck.js"></script>';

echo ' </dd>
</dl>';

echo '
<dl>
<dt>
<strong>', $txt['profile_interests'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_interests_desc'], '</span>';

if (!empty($context['show_spellchecking']))
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'creator\', \'default_options[interests]\');" />';

echo '
</dt>
<dd>
<textarea class="editor" name="default_options[interests]" rows="8" cols="65">', @$context['member']['options']['interests'], '</textarea><br />
</dd>
</dl>';

if ($modSettings['profile_allow_mediabox'] == 1)
echo '
<dl>
<dt>
<strong>', $txt['profile_media'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_media_desc'], '</span>
</dt>
<dd>
<textarea class="editor" name="default_options[media]" rows="8" cols="65">', @$context['member']['options']['media'], '</textarea><br />
</dd>
</dl>';

if ($modSettings['profile_allow_customize'] == 1)
echo '
<hr width="100%" size="1" class="hrcolor" />
<dl>
<dt>
<strong>', $txt['profile_css'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_css_desc'], '</span>
</dt>
<dd>
<textarea class="editor" name="default_options[css]" rows="8" cols="65">', @$context['member']['options']['css'], '</textarea><br />
</dd>
</dl>';

// Show the standard "Save Settings" profile button.
template_profile_save();

echo '
</div>
<span class="botslice"><span></span></span>
</div>
<br />
</form>';

// Any final spellchecking stuff?
if (!empty($context['show_spellchecking']))
echo '
<form name="spell_form" id="spell_form" method="post" accept-charset="', $context['character_set'], '" target="spellWindow" action="', $scripturl, '?action=spellcheck"><input type="hidden" name="spellstring" value="" /></form>';
}

function template_report_profile()
{
global $context, $txt, $scripturl;

echo '
<form action="', $scripturl, '?action=profile;u=', $context['member']['id'] ,';area=report" method="post" accept-charset="', $context['character_set'], '">
<h3 class="catbg">
<span class="left"></span>
', $txt['profile_report_text1'], '
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<div style="margin-top: 1ex; margin-bottom: 3ex;" align="left">', $txt['profile_report_text2'], '</div>
', $txt['profile_report_text3'], ': <input type="text" name="comment" size="50" />
<input type="submit" name="submit" value="', $txt['profile_report_submit'], '" class="input_button" />
</div>
<span class="botslice"><span></span></span>
</div>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
}

function template_add_comment()
{
global $context, $txt, $scripturl;

echo '
<form action="', $scripturl, '?action=profile;u=', $context['member']['id'] ,';area=comment;add" method="post" accept-charset="', $context['character_set'], '">
<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
', $txt['profile_comment'], ':<br />
<textarea class="editor" cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" name="submit" value="', $txt['save'], '" class="input_button" />
</div>
</div>
<span class="botslice"><span></span></span>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
}
function template_buddies2()
{
global $context, $settings, $txt, $scripturl;

echo '
<h3 class="catbg">
<span class="left"></span>
<img src="', $settings['images_url'], '/icons/profile_sm.gif" class="icon" alt="" align="top" />
<a href="', $scripturl ,'?action=profile;u=', $context['member']['id'] ,'">', $context['member']['name'] ,'</a> - ', $txt['profile_buddies'] ,'
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<table width="100%">
<tr>';

if (isset($context['member']['buddies_data'])) {
$i = 1;
foreach ($context['member']['buddies_data'] as $buddy_id => $data) {
$i = $i + 1;
echo '
<td align="center">
', $data['avatar_image'],'<br />
<a href="', $scripturl , '?action=profile;u=', $data['id_member'] , '">' , $data['real_name'] , '</a><br />
<i>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online' : 'offline'] . '" class="icon" />' : $txt[$data['is_online'] ? 'online2' : 'online3'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online' : 'offline'] . '</span>' : '', '</i>
</td>';
if ($i == 4)
echo '
</tr>
<tr>';
}
}
else
echo '
<td>', $txt['profile_buddies_no'] ,'</td>';

echo '
</tr>
</table>
</div>
<span class="botslice"><span></span></span>
</div>';
}
Title: Re: Ultimate Profile
Post by: LC on January 02, 2010, 07:15:18 AM
 :o Odd it didn't add the code the first time. lol How noobish of me not to notice.

Thank you for doing this Yagiz, you are most awesome.


Everything else works aside from the avatar issue.
Title: Re: Ultimate Profile
Post by: ~DS~ on January 02, 2010, 07:38:27 AM
Is it safe to install on 2.0 RC2 yet?
Title: Re: Ultimate Profile
Post by: Yağız... on January 02, 2010, 07:40:53 AM
Why not? :)
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006
Title: Re: Ultimate Profile
Post by: ~DS~ on January 02, 2010, 07:50:26 AM
Ok worth a try, still worried about losing comments on profile like other say. I'm gonna uninstall "Profile comment" mod for this. The comments from Profile Comment will show up on this mod, no?
Title: Re: Ultimate Profile
Post by: alblove on January 02, 2010, 11:22:28 PM
@ Yağız... No problem, thank you very much for your help :)
Title: Re: Ultimate Profile
Post by: ~DS~ on January 02, 2010, 11:24:28 PM
Quote from: Dismal Shadow on January 02, 2010, 07:50:26 AM
Ok worth a try, still worried about losing comments on profile like other say. I'm gonna uninstall "Profile comment" mod for this. The comments from Profile Comment will show up on this mod, no?
Ok, the comments somehow saved in the database. So far it's working great.
Title: Re: Ultimate Profile
Post by: blokey on January 03, 2010, 03:48:00 AM
Can you try to upload an image to a post? I'll see if you will have the same error when uploading attachments.
[/quote]

attachments images all fine my site works great
see here
http://www.fancya-chat.com/coffee-break/index.php/topic,5.msg13.html#msg13

also if you want to see what I mean...........

Account Smfissues     pass smfissues
Title: Re: Ultimate Profile
Post by: Enders on January 03, 2010, 04:45:44 AM
I installed this mod with no errors and for some reason... in the buddies/ignore list > edit buddies ... doesn't have the "add to buddy list" form like the "ignore list" form
Title: Re: Ultimate Profile
Post by: Dzonny on January 03, 2010, 05:42:30 AM
I still need help with this please:
http://www.simplemachines.org/community/index.php?topic=298641.msg2413602#msg2413602
Title: Re: Ultimate Profile
Post by: andris11 on January 03, 2010, 04:18:25 PM
I have a great problem with Ultimate Profile. I wrote to the 2 img whats wrong, please check it out. Attached 2 pic and the 2 file profile.php and managepermissions.php


PLEASE HELP ME!
Title: Re: Ultimate Profile
Post by: Yağız... on January 04, 2010, 11:30:54 AM
@blokey; Is there any other errors in Profile-Pictures.php file?

@Enders; You can only add buddies from profile pages of users, not from the list page.

@andris11; Try attached files.
Title: Re: Ultimate Profile
Post by: blokey on January 04, 2010, 11:39:15 AM
@blokey; Is there any other errors in Profile-Pictures.php file?

how would i find this out please? I do not understand..... PS look at signature I changed Password
Title: Re: Ultimate Profile
Post by: Yağız... on January 04, 2010, 11:46:19 AM
Try to upload another picture. And go to Admin > Maintenance > Log > Error Log
Title: Re: Ultimate Profile
Post by: blokey on January 04, 2010, 11:57:59 AM
   Forum-Designer
94.196.131.134   
    Today at 05:01:11 PM
0f530c4a8ce67ec7a83eb79a4ed21f6a
Type of error: User 
http://www.fancya-chat.com/coffee-break/index.php?action=error;code=404Error 404 - Not Found (http://www.fancya-chat.com/coffee-break/profile_pictures/1_1262416388_thumb.gif)





Forum-Designer
94.196.131.134   
    Today at 05:01:05 PM
0f530c4a8ce67ec7a83eb79a4ed21f6a
Type of error: General 
http://www.fancya-chat.com/coffee-break/index.php?action=profile;area=pictures;u=1;add22: rename(/home/fancya/public_html/coffee-break/profile_pictures/tmp_1_thumb,/home/fancya/public_html/coffee-break/profile_pictures/1_1262624465.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directoryFile: /home/fancya/public_html/coffee-break/Sources/Profile-Pictures.php
Line: 198 
   Forum-Designer
94.196.131.134   
    Today at 05:01:05 PM
0f530c4a8ce67ec7a83eb79a4ed21f6a
Type of error: General 
http://www.fancya-chat.com/coffee-break/index.php?action=profile;area=pictures;u=1;add22: rename(/home/fancya/public_html/coffee-break/profile_pictures/tmp_1_thumb,/home/fancya/public_html/coffee-break/profile_pictures/1_1262624465_thumb.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directoryFile: /home/fancya/public_html/coffee-break/Sources/Profile-Pictures.php
Line: 195 

lines 195 to 198
195 is blank btw


   

198   if (!$allowed_add)
      fatal_error($txt['profile_pictures_add_not'], false);


home/fancya/public_html/coffee-break/profile_pictures/tmp_1_thumb,/home/fancya/public_html/coffee-break/profile_pictures/
??????????

Title: Re: Ultimate Profile
Post by: Yağız... on January 04, 2010, 12:24:42 PM
Do you have a folder named profile_pictures at FTP?
Title: Re: Ultimate Profile
Post by: blokey on January 04, 2010, 12:38:36 PM
I have a ftp folder in my root? public_ftp

this did not have the folder so I put it in
Still same prob though?

should there be an ftp folder elsewhere?
Title: Re: Ultimate Profile
Post by: Yağız... on January 04, 2010, 12:40:33 PM
profile_pictures should be in the SMF folder.
Title: Re: Ultimate Profile
Post by: andris11 on January 04, 2010, 12:44:11 PM
Quote from: Yağız... on January 04, 2010, 11:30:54 AM
@blokey; Is there any other errors in Profile-Pictures.php file?

@Enders; You can only add buddies from profile pages of users, not from the list page.

@andris11; Try attached files.


Its not good now I dont have button...(cant see ultimate profile in pofile edit)
Title: Re: Ultimate Profile
Post by: blokey on January 04, 2010, 12:50:10 PM
yes profile_pictures is in smf root
Title: Re: Ultimate Profile
Post by: Yağız... on January 04, 2010, 01:55:27 PM
Quote from: andris11 on January 04, 2010, 12:44:11 PM
Its not good now I dont have button...(cant see ultimate profile in pofile edit)
I thought you wanted to uninstall the mod, no?

Quote from: blokey on January 04, 2010, 12:50:10 PM
yes profile_pictures is in smf root
Any pictures in it?
Title: Re: Ultimate Profile
Post by: blokey on January 04, 2010, 02:04:26 PM
Unfortunately no
Title: Re: Ultimate Profile
Post by: andris11 on January 04, 2010, 03:26:20 PM
Quote from: Yağız... on January 04, 2010, 01:55:27 PM
Quote from: andris11 on January 04, 2010, 12:44:11 PM
Its not good now I dont have button...(cant see ultimate profile in pofile edit)
I thought you wanted to uninstall the mod, no?

Quote from: blokey on January 04, 2010, 12:50:10 PM
yes profile_pictures is in smf root
Any pictures in it?


nooo i just wanted to check why it s not working properly( i check uninstall, i could see whats not good) I want to do it :)
Title: Re: Ultimate Profile
Post by: live627 on January 04, 2010, 04:31:43 PM
Hello Andris,

Do you have any other mods installed? Have you installed other mods AFTER this one?

What did you do when you accepted the two files from Yagiz? Did you make backups?
Title: Re: Ultimate Profile
Post by: andris11 on January 05, 2010, 10:16:41 AM
Quote from: andris11 on January 03, 2010, 04:18:25 PM
I have a great problem with Ultimate Profile. I wrote to the 2 img whats wrong, please check it out. Attached 2 pic and the 2 file profile.php and managepermissions.php


PLEASE HELP ME!

Check out my previous post.:) It's there but you can check how its "work"
Title: Re: Ultimate Profile
Post by: blokey on January 05, 2010, 03:06:10 PM
I still do not understand why the error log shows this

rename(/home/fancya/public_html/coffee-break/profile_pictures/tmp_1_thumb,/home/fancya/public_html/coffee-break/profile_pictures/

Title: Re: Ultimate Profile
Post by: Smoki1988 on January 05, 2010, 06:01:46 PM
I tried to install it in 1.11 but i got in Profile.php test failed..shall i do all the changes by hand???i downloaded the 0.9 version..i would like to have this mod..ty
Title: Re: Ultimate Profile
Post by: gbsothere on January 05, 2010, 06:33:20 PM
Quote from: Smoki1988 on January 05, 2010, 06:01:46 PM
I tried to install it in 1.11 but i got in Profile.php test failed..shall i do all the changes by hand???i downloaded the 0.9 version..i would like to have this mod..ty


If your Profile.php has been edited by other mods, you can pull it from your server onto your desktop.  Then upload a fresh Profile.php from your SMF installation zip and continue with installing Ultimate Profile.  When you have a successful installation, place Ultimate Profile's manual edits in the Profile.php you have pulled from your server (the one you saved to your desktop) and reupload it (so that your other mods will continue to function properly, as well as Ultimate Profile). 

:)
Title: Re: Ultimate Profile
Post by: ~DS~ on January 05, 2010, 06:57:54 PM
 Does it work for RC2?
Title: Re: Ultimate Profile
Post by: gbsothere on January 05, 2010, 07:25:02 PM
Quote from: Dismal Shadow on January 05, 2010, 06:57:54 PM
Does it work for RC2?


It does.   :)

http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006 (http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006)


Title: Re: Ultimate Profile
Post by: ~DS~ on January 06, 2010, 03:19:12 AM
Quote from: gbsothere on January 05, 2010, 07:25:02 PM
Quote from: Dismal Shadow on January 05, 2010, 06:57:54 PM
Does it work for RC2?


It does.   :)

http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006 (http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006)
Thanks, it works...but is there no smiley emoticons or BBcodes in the comment?
Title: Re: Ultimate Profile
Post by: AshleyL on January 06, 2010, 04:47:16 AM
Hello all, I am a new member and a fairly competent user of SMF. However I have run into a problem utilizing the UPM and SMF 1.1.11.

Quote1.     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 successful
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 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 read somewhere a Manual Modification is necessary, I hope I could gain a direction on how to fix this problem as I am very excited about this Mod.
Title: Re: Ultimate Profile
Post by: blokey on January 06, 2010, 07:35:21 AM
It appears were not going anywhere,, have uninstalled it....
Thanks for your help anyway


John
Title: Re: Ultimate Profile
Post by: gbsothere on January 06, 2010, 08:49:56 AM
Quote from: AshleyL on January 06, 2010, 04:47:16 AM
Hello all, I am a new member and a fairly competent user of SMF. However I have run into a problem utilizing the UPM and SMF 1.1.11.

Quote1.     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 successful
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 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 read somewhere a Manual Modification is necessary, I hope I could gain a direction on how to fix this problem as I am very excited about this Mod.


A manual modification isn't always necessary, but it appears, in your case, that some other mod may have edited your index.php.  This doesn't always cause failed tests, but, in your case, I would drag that file from my server (as I've indicated a few posts back to another poster) and save it onto your desktop.  Then I would upload a fresh index.php from my SMF installation zip and proceed with the installation.  Once you have a successful installation of Ultimate Profile, then go to the mod's page and using the parsing instructions for the ultimate_profile_0-9.zip, (using the pull-down to find the instructions for 1.1.11) place the edits in the index.php you previously saved to your desktop.  Re-upload it to your forum's root so that any other mod, in addition to Ultimate Profile, can continue to function as it should.

:)
Title: Re: Ultimate Profile
Post by: gbsothere on January 06, 2010, 08:54:58 AM
Quote from: Dismal Shadow on January 06, 2010, 03:19:12 AM
Thanks, it works...but is there no smiley emoticons or BBcodes in the comment?



I actually don't have smileys or BBC in the comments section of either my 1.1.11 version or 2.x version.  There never have been.  Placing manual tags will work, but there are no clickable smileys or tags there.  If anyone else has them, I'd like to hear about that.


Title: Re: Ultimate Profile
Post by: ~DS~ on January 06, 2010, 10:13:44 AM
Quote from: gbsothere on January 06, 2010, 08:54:58 AM
Quote from: Dismal Shadow on January 06, 2010, 03:19:12 AM
Thanks, it works...but is there no smiley emoticons or BBcodes in the comment?



I actually don't have smileys or BBC in the comments section of either my 1.1.11 version or 2.x version.  There never have been.  Placing manual tags will work, but there are no clickable smileys or tags there.  If anyone else has them, I'd like to hear about that.
It would be a great addition.
Title: Re: Ultimate Profile
Post by: gbsothere on January 06, 2010, 10:18:38 AM
Quote from: Dismal Shadow on January 06, 2010, 10:13:44 AMIt would be a great addition.


I do agree.   :)
Title: Re: Ultimate Profile
Post by: andris11 on January 06, 2010, 01:29:42 PM
Quote from: andris11 on January 03, 2010, 04:18:25 PM
I have a great problem with Ultimate Profile. I wrote to the 2 img whats wrong, please check it out. Attached 2 pic and the 2 file profile.php and managepermissions.php


PLEASE HELP ME!

Please...:)
Title: Re: Ultimate Profile
Post by: nadrojcote on January 06, 2010, 02:48:50 PM
Would there be any way to add a column to the members list to add as buddy?
Title: Re: Ultimate Profile
Post by: KensonPlays on January 06, 2010, 03:13:49 PM
Quote from: C4G-TK on December 29, 2009, 12:28:04 AM
Quote from: Kcmartz on December 28, 2009, 10:59:23 PM
Quote from: C4G-TK on December 27, 2009, 01:06:24 PM
Not to be a pain, but does anyone have a site up using this?  I would really like to see it.  Tried to use the PREVIEW button on original post, but I get the dreaded 404 Error  LOL.

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

Thanks Kcmartz!

No Problem!
Title: Re: Ultimate Profile
Post by: Xarcell on January 06, 2010, 10:26:21 PM
@ Yağız...

I just wanted to say thanks. I'm been using your updated version(for RC2) for some time now and it works great.
Title: Re: Ultimate Profile
Post by: andris11 on January 07, 2010, 09:33:37 AM
Quote from: Yağız... on December 27, 2009, 12:48:21 PM
Here, is the new release of Ultimate Profile for SMF 2.0 RC2 users! This package contains some bugfixes and a database update if you upgraded your forum from SMF 1.1.x, and had installed Ultimate Profile. This database update converts all uppercased column names to lowercase(thanks to ChristmasIsPerplexing a.k.a quiteperplexed for the testing :) ).

If you have installed an older version of Ultimate Profile, uninstall it and install this one.

And, please report any bugs via this thread! :)


@mohd7590; you don't need to install it on other themes, except if you have Profile.template.php file in your theme. But for that, you can use "install in other themes" option.

Good thanks for it
Title: Re: Ultimate Profile
Post by: andris11 on January 07, 2010, 01:35:03 PM
I installed the mod and it's running with my account(IM admin) I can see ultimate profile in profiles so i have that tab. But a simple user cant see so he cant modify his own profile...

Anyway i ticked everything in admin panel so i enabled it for everyone but it doesnt work.. what's wrong?
Title: Re: Ultimate Profile
Post by: Yağız... on January 07, 2010, 01:42:33 PM
Go to Admin > Members > Permissions > Regular Members and enable the permission for Ultimate Profile
Title: Re: Ultimate Profile
Post by: DragonDF on January 07, 2010, 02:04:16 PM
Hello

I am trying to install this mod for 3 days, but unhappily, I have not a good luck.

Maybe a directory permition or something like is not allowing to install correctly.

I am using RC2 version. I thought could be this version, the problem. But I read here that other people could do it with the same version.

See image in Attach.
Title: Re: Ultimate Profile
Post by: ~DS~ on January 07, 2010, 02:05:43 PM
Quote from: DragonDF on January 07, 2010, 02:04:16 PM
Hello

I am trying to install this mod for 3 days, but unhappily, I have not a good luck.

Maybe a directory permition or something like is not allowing to install correctly.

I am using RC2 version. I thought could be this version, the problem. But I read here that other people could do it with the same version.


See image in Attach.
Have you tried installing it manual?
Title: Re: Ultimate Profile
Post by: DragonDF on January 07, 2010, 02:52:13 PM
Quote from: Dismal Shadow on January 07, 2010, 02:05:43 PM
Quote from: DragonDF on January 07, 2010, 02:04:16 PM
Hello

I am trying to install this mod for 3 days, but unhappily, I have not a good luck.

Maybe a directory permition or something like is not allowing to install correctly.

I am using RC2 version. I thought could be this version, the problem. But I read here that other people could do it with the same version.
Have you tried installing it manual?

See image in Attach.

Is there any answer here?
Title: Re: Ultimate Profile
Post by: Yağız... on January 07, 2010, 02:54:12 PM
He said:
QuoteHave you tried installing it manual?
Title: Re: Ultimate Profile
Post by: ~DS~ on January 07, 2010, 03:09:38 PM
Quote from: Yağız... on January 07, 2010, 02:54:12 PM
He said:
QuoteHave you tried installing it manual?
Yes thank you, stupid quote system...
Title: Re: Ultimate Profile
Post by: triforceguy11 on January 07, 2010, 04:16:26 PM
Hi,

Please could someone tell me how to sett a background image for it, I've tried this code but it just doesn't seem to work?

<style>
body {
background-color: #000000;
background-image: "http://asiaaudiovisualexc09muhammaddeltaradea.files.wordpress.com/2009/07/zelda_ocarina_of_time_005.jpg";
}
</style


I tried it in dreamweaver and it seemed to work.

Thanks
Leon J. Fletcher

EDIT:

Never mind, I found out how.

Just for those who would like to know, it's the following
<style>
body {
background-color:  #000000;
        background-image: url(http://asiaaudiovisualexc09muhammaddeltaradea.files.wordpress.com/2009/07/zelda_ocarina_of_time_005.jpg);
}
</style>
Title: Re: Ultimate Profile
Post by: DragonDF on January 07, 2010, 04:38:15 PM
Quote from: Dismal Shadow on January 07, 2010, 03:09:38 PM
Quote from: Yağız... on January 07, 2010, 02:54:12 PM
He said:
QuoteHave you tried installing it manual?
Yes thank you, stupid quote system...


No, not yet.

I will test it later.

But one thing: when we will download the mod, it has only version RC1 like option.

:)
Title: Re: Ultimate Profile
Post by: triforceguy11 on January 07, 2010, 05:08:06 PM
I don't know if this will help but I've written a small customization tutorial, link is in the attachment.

Thanks
Leon

BTW the link to the FAQ doesn't work for me
Title: Re: Ultimate Profile
Post by: DragonDF on January 07, 2010, 05:43:12 PM
Quote from: triforceguy11 on January 07, 2010, 05:08:06 PM
I don't know if this will help but I've written a small customization tutorial, link is in the attachment.

Thanks
Leon

BTW the link to the FAQ doesn't work for me


Thanks, I am in your tutorial.
But I will not have time to do it now.

Maybe later. But I think your tutorial is about to change layout, isn't it?
I will read better later.

>)
Title: Re: Ultimate Profile
Post by: nadrojcote on January 08, 2010, 12:08:13 PM
Quote from: nadrojcote on January 06, 2010, 02:48:50 PM
Would there be any way to add a column to the members list to add as buddy?
any one have any ideas?
Title: Re: Ultimate Profile
Post by: Yağız... on January 08, 2010, 12:20:18 PM
Your SMF Version?
Title: Re: Ultimate Profile
Post by: nadrojcote on January 08, 2010, 05:56:57 PM
2.0 rc2 using a custom theme
Title: Re: Ultimate Profile
Post by: Yağız... on January 08, 2010, 07:35:14 PM
Find in ./Sources/MemberList.php:
loadTemplate('MemberList');
Add after:
loadLanguage('UltimateProfile');
loadLanguage('Profile');


Find in ./Themes/default/MemberList.template.php:
<td class="windowbg" align="', $context['right_to_left'] ? 'right' : 'left', '">', $member['link'], '</td>
Replace with:
<td class="windowbg" align="', $context['right_to_left'] ? 'right' : 'left', '">', $member['link'];
if (!$member['is_buddy'] && $member['id'] != $context['user']['id'])
echo '
<a href="', $scripturl, '?action=buddies;sa=add;u=', $member['id'], ';sesc=', $context['session_id'], '" onclick="javascript:return confirm(\'', $txt['buddy_explanation']  ,'\')">[', $txt['buddy_add'], ']</a>';
echo '</td>
Title: Re: Ultimate Profile
Post by: ~DS~ on January 09, 2010, 01:51:31 PM
Got a error somewhere in the:

lang_index+Modifications_english_default.php

Continue editing Modifications.english.php

I looked here, it seem correct.

$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.';


?>
Title: Re: Ultimate Profile
Post by: Yağız... on January 09, 2010, 03:05:50 PM
Look into ./cache/lang_index+Modifications_english_default.php
Title: Re: Ultimate Profile
Post by: bigwillnola on January 09, 2010, 03:45:19 PM
Does anyone have the ultimate.profile.template with the custom fields code in it? I'm not sure what to add from custom fields to show up in the ultimate profile.
Title: Re: Ultimate Profile
Post by: Azrael1 on January 09, 2010, 06:04:09 PM
when i install ultimateprofile, then will not be imported the buddies you had add befor the ultimateprofil was installed. The Buddyliste under UP is empty, but befor there were lot of buddies inside.

in the database "smf_members" the row "buddy_list" will filled with ' at the beginning and after adding a new buddy. it look like: ''1,2,3,'4'',5'

i use smf 2 rc2.0
Title: Re: Ultimate Profile
Post by: machmanx on January 10, 2010, 04:45:23 PM
A lot of ppl been saying that it works for SMF 2.0 RC2, but have they tried it on the Curve theme?  The basic stuff works, but if I want to add a background to my profile, then the background shows up behind the entire theme.  Does anyone have a working screenshot of a background image working in Curve or other custom themes that are NOT based off of Core?

And has anyone attempted advanced customizations?  That tutorial link only applies to Core theme for the background pic, not the Curve theme :(
Title: Re: Ultimate Profile
Post by: C4G-TK on January 10, 2010, 05:02:04 PM
I am using it on RC2, but I don't allow the customizations.
I'm a control freak, so like things to look uniform.. lol

But otherwise, everything working great!
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 05:03:47 PM
Quote from: machmanx on January 10, 2010, 04:45:23 PM
A lot of ppl been saying that it works for SMF 2.0 RC2, but have they tried it on the Curve theme?  The basic stuff works, but if I want to add a background to my profile, then the background shows up behind the entire theme.  Does anyone have a working screenshot of a background image working in Curve or other custom themes that are NOT based off of Core?

And has anyone attempted advanced customizations?  That tutorial link only applies to Core theme for the background pic, not the Curve theme :(

I've said this numerous times, I doubt it will change anytime soon. I even offered to pay for it. It's not the CSS customization done by people in their profiles, it's how UP looks for a background on a theme like Curve. It doesn't work properly.

Good luck finding help.  ::)
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 05:05:40 PM
Quote from: C4G-TK on January 10, 2010, 05:02:04 PM
I am using it on RC2, but I don't allow the customizations.
I'm a control freak, so like things to look uniform.. lol

But otherwise, everything working great!
If your worried about hacks, UP's pretty secure.

I've had a few of my PHP coding friends attempt exploits and all the ones they tried failed.
Title: Re: Ultimate Profile
Post by: C4G-TK on January 10, 2010, 05:19:21 PM
Quote from: LC on January 10, 2010, 05:05:40 PM
Quote from: C4G-TK on January 10, 2010, 05:02:04 PM
I am using it on RC2, but I don't allow the customizations.
I'm a control freak, so like things to look uniform.. lol

But otherwise, everything working great!
If your worried about hacks, UP's pretty secure.

I've had a few of my PHP coding friends attempt exploits and all the ones they tried failed.

No, not about the hacks or exploits.. more about uniformity
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 05:35:50 PM
Quote from: C4G-TK on January 10, 2010, 05:19:21 PM
Quote from: LC on January 10, 2010, 05:05:40 PM
Quote from: C4G-TK on January 10, 2010, 05:02:04 PM
I am using it on RC2, but I don't allow the customizations.
I'm a control freak, so like things to look uniform.. lol

But otherwise, everything working great!
If your worried about hacks, UP's pretty secure.

I've had a few of my PHP coding friends attempt exploits and all the ones they tried failed.

No, not about the hacks or exploits.. more about uniformity
Ah. Well if that's what works for your site. :) 
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 05:49:01 PM
I really can't understand what you are saying... You want to add an image to background of the site or background of the profile?
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 05:53:01 PM
Quote from: Yağız... on January 10, 2010, 05:49:01 PM
I really can't understand what you are saying... You want to add an image to background of the site or background of the profile?
Profile. It doesn't work with Curve or any theme that has a "table". Feel free to look at my profile as an example.
http://ladychaosdnb.com/index.php?action=profile;u=1

I even made another thread about it, which a few support/customizers mentioned it was an issue with UP and not the CSS in the profile. I have the link to that thread as well if you want it.
http://www.simplemachines.org/community/index.php?topic=353482.0

I would gladly donate (paypal) to have this fixed. I am willing to pay up to $75 dollars.
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 05:55:30 PM
Can you show me a working example of that(for example on SMF 1.1)?
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 06:01:55 PM
Quote from: Yağız... on January 10, 2010, 05:55:30 PM
Can you show me a working example of that(for example on SMF 1.1)?
On 1.1.10 When I had it, I used the cargo theme. If you read that thread I linked, you can see what I am talking about. If you want a temp account on my site, I will gladly provide, so you can look and see what exactly happens when someone adds CSS/HTML in their customization area. Curve's theme will override the background added, it will only show up on the sides of the profile and not where the theme is.

It's happened with any theme that is not considered "tableless" and this had happened to me when I was using 1.1.10.

I even mentioned it in here, the support page, but no one seemed to understand what I meant.
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 06:09:38 PM
Was it working on Cargo theme? If yes, can you send me a code for that I can try it on my site?
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 06:20:30 PM
Quote from: Yağız... on January 10, 2010, 06:09:38 PM
Was it working on Cargo theme? If yes, can you send me a code for that I can try it on my site?
No, it didn't work on Cargo, I had to remove the table images from the theme and make the background transparent in order for people to see the full backgrounds in the profiles. If you want the edited style.css of that theme for the changes I made, I will try to find it for you or show you what I did.

I used the "Siyah inci" theme when I first installed this mod and the backgrounds in the profiles worked great.  http://custom.simplemachines.org/themes/index.php?lemma=1405

You could use one of the dziner's free themes (since they work the same way as cargo for the most part) and try to add a profile background in it. Here is one that works similar to cargo. http://custom.simplemachines.org/themes/index.php?lemma=749



Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 06:34:02 PM
I got it, finally :) Will try to fix it but it'll be really hard... Maybe impossible.
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 06:38:39 PM
Quote from: Yağız... on January 10, 2010, 06:34:02 PM
I got it, finally :) Will try to fix it but it'll be really hard... Maybe impossible.

Well if you want a donation to help pay for your efforts, let me know and I will gladly do so.  ;)

Here's a tip from Antechinus, I don't know if it will help you or not.

Quote from: Antechinus on December 22, 2009, 05:34:47 PM
Ok, I know what the problem is with the Dziner themes. Bikken uses an extra background div in some of his themes. This isn't actually necessary with the standard layout and graphics. He only includes it to give an extra styling hook if people want to modify the look of the theme. Because the UP mod is looking for the body class, and because that sits behind the extra div, the personal backgrounds are hidden.

The trick, as you found out, is to set the extra div to no background. Something similar should work with Curve. I haven't checked out the RC2 version of this mod yet but my earlier advice stands: get the author to take a look at it. The fix should be very easy and he will need to sort it for current and future versions of 2.0..
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 06:55:28 PM
(http://i46.tinypic.com/e00cqt.jpg) (http://i46.tinypic.com/e00cqt.jpg)
(click on the picture to view full size)
Well, I know, it looks a little(?) ugly, but I just could do that for now. If you want the codes, I'll post them and no need for donation :)
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 06:58:24 PM
Quote from: Yağız... on January 10, 2010, 06:55:28 PM
(http://i46.tinypic.com/e00cqt.jpg) (http://i46.tinypic.com/e00cqt.jpg)
(click on the picture to view full size)
Well, I know, it looks a little(?) ugly, but I just could do that for now. If you want the codes, I'll post them and no need for donation :)

Oh wow.... that is awesome!  ;D

Yes please post the codes. Hehe.

You have to also tell me what you did! lol
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 07:00:16 PM
I just added background: transparent to divs. And I think It won't work on IE6(couldn't try).
body { background: url(http://i203.photobucket.com/albums/aa252/LadyChaos_photos/back-1.gif); }
#header { background: transparent }
#header div.frame { background: transparent }
#content_section { background: transparent }
#content_section div.frame { background: transparent }
#footer_section { background: transparent }
#footer_section div.frame { background: transparent }
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 07:12:06 PM
Quote from: Yağız... on January 10, 2010, 07:00:16 PM
I just added background: transparent to divs. And I think It won't work on IE6(couldn't try).
body { background: url(http://i203.photobucket.com/albums/aa252/LadyChaos_photos/back-1.gif); }
#header { background: transparent }
#header div.frame { background: transparent }
#content_section { background: transparent }
#content_section div.frame { background: transparent }
#footer_section { background: transparent }
#footer_section div.frame { background: transparent }

Did you put that in the Profile's css? or the Theme's css?

Looks like profile, but I am not sure.
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 07:13:04 PM
In Profile > Ultimate Profile > Customization
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 07:16:29 PM
Quote from: Yağız... on January 10, 2010, 07:13:04 PM
In Profile > Ultimate Profile > Customization
Ok, I will put that in the customization.

If any of my users are still using IE6, they are silly. But I will warn them nontheless.

You have no idea how happy this has made me. I've been searching for an answer for so long.

You sure you don't want a donation? lol

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

Here is the link to my updated profile. Looks pretty cool I think.  ;D
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 07:25:31 PM
I don't know, lol :P Let me to think about :P
Title: Re: Ultimate Profile
Post by: ~DS~ on January 10, 2010, 07:42:02 PM
Quote from: LC on January 10, 2010, 07:16:29 PM
Quote from: Yağız... on January 10, 2010, 07:13:04 PM
In Profile > Ultimate Profile > Customization
Ok, I will put that in the customization.

If any of my users are still using IE6, they are silly. But I will warn them nontheless.

You have no idea how happy this has made me. I've been searching for an answer for so long.

You sure you don't want a donation? lol

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

Here is the link to my updated profile. Looks pretty cool I think.  ;D
Look sweet, however their avatar aren't showing.
http://ladychaosdnb.com/index.php?action=dlattach;attach=163;type=avatar
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 07:44:32 PM
Quote from: Yağız... on January 10, 2010, 07:25:31 PM
I don't know, lol :P Let me to think about :P
From Antechinus:
As a suggestion use background: none; instead of background: transparent; and see if that sorts IE6 too.

I wonder if anyone has IE6, I can't find a copy of that version to test that.
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 07:46:05 PM
Quote from: Dismal Shadow on January 10, 2010, 07:42:02 PM
Quote from: LC on January 10, 2010, 07:16:29 PM
Quote from: Yağız... on January 10, 2010, 07:13:04 PM
In Profile > Ultimate Profile > Customization
Ok, I will put that in the customization.

If any of my users are still using IE6, they are silly. But I will warn them nontheless.

You have no idea how happy this has made me. I've been searching for an answer for so long.

You sure you don't want a donation? lol

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

Here is the link to my updated profile. Looks pretty cool I think.  ;D
Look sweet, however their avatar aren't showing.
http://ladychaosdnb.com/index.php?action=dlattach;attach=163;type=avatar
I know. I couldn't figure out what happened there. Avatars directory is writable, and if you go to the person's profile, the avatar shows up.

No idea what that is.
Title: Re: Ultimate Profile
Post by: ~DS~ on January 10, 2010, 07:48:33 PM
Is the images in the image folder?
Title: Re: Ultimate Profile
Post by: Antechinus on January 10, 2010, 07:53:35 PM
Just noting that it does work in IE6 anyway. If you need IE6 for testing you can get a standalone version for XP here ( http://tredosoft.com/Multiple_IE ) but it wont run on Vista or 7.

You can also use IETester, which is pretty good and will run on Vista but can be a bit crashy. http://www.my-debugbar.com/wiki/IETester/HomePage
Title: Re: Ultimate Profile
Post by: Yağız... on January 10, 2010, 07:55:27 PM
Okay, than this will be included in the new release :)
Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 08:13:59 PM
Quote from: Dismal Shadow on January 10, 2010, 07:48:33 PM
Is the images in the image folder?
Yes, but those avatars that aren't showing up are from external urls.



Title: Re: Ultimate Profile
Post by: LC on January 10, 2010, 08:16:45 PM
Quote from: Antechinus on January 10, 2010, 07:53:35 PM
Just noting that it does work in IE6 anyway. If you need IE6 for testing you can get a standalone version for XP here ( http://tredosoft.com/Multiple_IE ) but it wont run on Vista or 7.

You can also use IETester, which is pretty good and will run on Vista but can be a bit crashy. http://www.my-debugbar.com/wiki/IETester/HomePage
Awesome!

Quote from: Yağız... on January 10, 2010, 07:55:27 PM
Okay, than this will be included in the new release :)
Yagiz, thank you so much.


Thanks to both of you.  :)

Title: Re: Ultimate Profile
Post by: eg208 on January 11, 2010, 04:38:05 AM
How about integrate with Aeva Media for picture, is this possible?
Title: Re: Ultimate Profile
Post by: ~DS~ on January 11, 2010, 04:44:18 AM
When I click "profile"...it will load for a few secs in delay...
Title: Re: Ultimate Profile
Post by: Neverhurry on January 12, 2010, 09:54:00 AM
Hi, after I install this mod, i found out that i can not edit my buddy list any more.

After I uninstall this mod, i found out that i can again edit my buddy list. How come? Too strange!

Please help!
Title: Re: Ultimate Profile
Post by: Xarcell on January 12, 2010, 11:44:05 AM
Quote from: bigwillnola on January 09, 2010, 03:45:19 PM
Does anyone have the ultimate.profile.template with the custom fields code in it? I'm not sure what to add from custom fields to show up in the ultimate profile.

Yes, it works for me. I have about 13 custom fields...
Title: Re: Ultimate Profile
Post by: Yağız... on January 12, 2010, 12:43:22 PM
Quote from: neverhurry on January 12, 2010, 09:54:00 AM
Hi, after I install this mod, i found out that i can not edit my buddy list any more.

After I uninstall this mod, i found out that i can again edit my buddy list. How come? Too strange!

Please help!
Your SMF version?
Title: Re: Ultimate Profile
Post by: Neverhurry on January 12, 2010, 02:26:58 PM
Quote from: Yağız... on January 12, 2010, 12:43:22 PM
Quote from: neverhurry on January 12, 2010, 09:54:00 AM
Hi, after I install this mod, i found out that i can not edit my buddy list any more.

After I uninstall this mod, i found out that i can again edit my buddy list. How come? Too strange!

Please help!
Your SMF version?
Sorry, that is SMF 2.0 RC2!

Title: Re: Ultimate Profile
Post by: Yağız... on January 12, 2010, 02:43:21 PM
Quote from: neverhurry on January 12, 2010, 02:26:58 PM
Quote from: Yağız... on January 12, 2010, 12:43:22 PM
Quote from: neverhurry on January 12, 2010, 09:54:00 AM
Hi, after I install this mod, i found out that i can not edit my buddy list any more.

After I uninstall this mod, i found out that i can again edit my buddy list. How come? Too strange!

Please help!
Your SMF version?
Sorry, that is SMF 2.0 RC2!


There is no migration tool for SMF 2.0 Rc2 atm, but will try to update soon.
Title: Re: Ultimate Profile
Post by: Neverhurry on January 12, 2010, 04:09:12 PM
Quote from: Yağız... on January 12, 2010, 02:43:21 PM
Quote from: neverhurry on January 12, 2010, 02:26:58 PM
Quote from: Yağız... on January 12, 2010, 12:43:22 PM
Quote from: neverhurry on January 12, 2010, 09:54:00 AM
Hi, after I install this mod, i found out that i can not edit my buddy list any more.

After I uninstall this mod, i found out that i can again edit my buddy list. How come? Too strange!

Please help!
Your SMF version?
Sorry, that is SMF 2.0 RC2!


There is no migration tool for SMF 2.0 Rc2 atm, but will try to update soon.

But i download the zip file for RC2 here in this thread. Why? Was it an unofficial release?

Anyway, thanks for great mod, will wait for the rc2 update.
Title: Re: Ultimate Profile
Post by: ~DS~ on January 12, 2010, 04:17:57 PM
Quote from: neverhurry on January 12, 2010, 04:09:12 PM
Quote from: Yağız... on January 12, 2010, 02:43:21 PM
Quote from: neverhurry on January 12, 2010, 02:26:58 PM
Quote from: Yağız... on January 12, 2010, 12:43:22 PM
Quote from: neverhurry on January 12, 2010, 09:54:00 AM
Hi, after I install this mod, i found out that i can not edit my buddy list any more.

After I uninstall this mod, i found out that i can again edit my buddy list. How come? Too strange!

Please help!
Your SMF version?
Sorry, that is SMF 2.0 RC2!


There is no migration tool for SMF 2.0 Rc2 atm, but will try to update soon.

But i download the zip file for RC2 here in this thread. Why? Was it an unofficial release?

Anyway, thanks for great mod, will wait for the rc2 update.
That's why it's unofficial, use at your own risk.
Title: Re: Ultimate Profile
Post by: Yağız... on January 12, 2010, 04:43:19 PM
It's official, don't worry :) It's not an issue. UP doesn't convert old buddies to new ones. There is a migration tool for buddies, which is not compatible with SMF 2.0 RC2 yet. ;)
Title: Re: Ultimate Profile
Post by: fairytears on January 12, 2010, 05:58:59 PM
Is there any way to display the user's awards in a box under the "My media" box? I use the Simple awards mod. Any help would be greatly appreciated  :)
Title: Re: Ultimate Profile
Post by: Yağız... on January 12, 2010, 06:18:58 PM
Sure! :) What is your SMF version?
Title: Re: Ultimate Profile
Post by: rd on January 12, 2010, 07:46:11 PM
This is a bit off topic but how do you make a percentage bar with html or BBC?

The one in Dismal Shadow's sig?

This mod is working great for my site. Thanks :)
Title: Re: Ultimate Profile
Post by: fairytears on January 12, 2010, 11:16:39 PM
Yay!!!! My version is 1.1.11

Thank you!!!!
Title: Re: Ultimate Profile
Post by: Neverhurry on January 13, 2010, 04:18:22 AM
Quote from: Yağız... on January 12, 2010, 04:43:19 PM
It's official, don't worry :) It's not an issue. UP doesn't convert old buddies to new ones. There is a migration tool for buddies, which is not compatible with SMF 2.0 RC2 yet. ;)

is it any way to make buddy list? I want to try UP very much!!!
Title: Re: Ultimate Profile
Post by: rd on January 13, 2010, 04:41:53 PM
The new mod still doesn't show customization in my site. Meaning, When I add CSS to the curve theme the background as not shown right.

Do you want a testing password?
Title: Re: Ultimate Profile
Post by: gbsothere on January 13, 2010, 04:51:32 PM
Here's a rookie question, Yagiz (or anyone who wants to jump in), but I'm messing around today and it's an opportunity to learn.

For SMF 1.1.11, Default theme....   would I check out the Profile.template.php or one of Ultimate profile's included templates if I wanted to make the avatars that appear in the buddy section clickable to that person's profile?

Not urgent; I'm just playing around.   :)
Title: Re: Ultimate Profile
Post by: Paul Cull on January 13, 2010, 08:11:34 PM
Hi, does any one have the Brazilian language translation for the 2.0 mod yet?

Alguém tem a versão 2.0 traduzida para português brasileiro?

Paul
Title: Re: Ultimate Profile
Post by: Yağız... on January 14, 2010, 01:46:29 PM
Let's begin! :)
Quote from: fairytears on January 12, 2010, 05:58:59 PM
Is there any way to display the user's awards in a box under the "My media" box? I use the Simple awards mod. Any help would be greatly appreciated  :)
Find in ./Sources/Profile.php:
// Prepare the buddy list.
Add before:
// Get all the users "awards"...
$request = db_query("
SELECT a.ID_AWARD, a.title, a.ID_MEMBER, a.memberName as backupName, m.realName, a.ID_AWARDED_MEMBER, a.givenDate, a.fileName
FROM ({$db_prefix}awards AS a, {$db_prefix}members as m)
WHERE a.ID_MEMBER = m.ID_MEMBER AND a.ID_AWARDED_MEMBER = ".$context['member']['id']."
ORDER BY RAND()
LIMIT 6", __FILE__, __LINE__);
$awards = array();
while ($row = mysql_fetch_assoc($request))
{
$awards[$row['ID_AWARD']] = $row;
}
mysql_free_result($request);

// Setup the context for each award.
$context['awards'] = $awards;


Find in ./Themes/default/UltimateProfile.template.php:
/*
// This section is optional. You can paste code and display fields from Custom Profile fields mod.

Add before:
echo '
<br />
<table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
<tr>
<td class="windowbg">
<table style="width: 99%; margin-left: auto; margin-right: auto;">
<tr>';

if (!empty($context['awards'])) {
$i = 1;
global $boardurl;
foreach ($context['awards'] as $award) {
$i = $i + 1;
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=awards"><img align="middle" src="', $boardurl, '/awards/', stripslashes($award['fileName']), '" alt="', stripslashes($award['title']), '" title="', stripslashes($award['title']), '"/></a>
</td>';

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

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

If you want to increase the limit, change LIMIT 6 to LIMIT x(x = how many items you want to display).

Quote from: neverhurry on January 13, 2010, 04:18:22 AM
Quote from: Yağız... on January 12, 2010, 04:43:19 PM
It's official, don't worry :) It's not an issue. UP doesn't convert old buddies to new ones. There is a migration tool for buddies, which is not compatible with SMF 2.0 RC2 yet. ;)

is it any way to make buddy list? I want to try UP very much!!!
There is some bugs in the script, so I can't release it yet.
Quote from: mohd7590 on January 13, 2010, 04:41:53 PM
The new mod still doesn't show customization in my site. Meaning, When I add CSS to the curve theme the background as not shown right.

Do you want a testing password?
Try this codes:
http://www.simplemachines.org/community/index.php?topic=298641.msg2448125#msg2448125

Quote from: gbsothere on January 13, 2010, 04:51:32 PM
Here's a rookie question, Yagiz (or anyone who wants to jump in), but I'm messing around today and it's an opportunity to learn.

For SMF 1.1.11, Default theme....   would I check out the Profile.template.php or one of Ultimate profile's included templates if I wanted to make the avatars that appear in the buddy section clickable to that person's profile?

Not urgent; I'm just playing around.   :)
Find in ./Themes/default/UltimateProfile.template.php:
', $data['avatar_image'],'
Replace with:
<a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">', $data['avatar_image'],'</a>

If I didn't reply someones' question, please repost it! :)
Title: Re: Ultimate Profile
Post by: gbsothere on January 14, 2010, 02:09:06 PM
Quote from: Yağız... on January 14, 2010, 01:46:29 PMFind in ./Themes/default/UltimateProfile.template.php:
', $data['avatar_image'],'
Replace with:
<a href="', $scripturl , '?action=profile;u=', $data['ID_MEMBER'] , '">', $data['avatar_image'],'</a>



Thanks, Yagiz, works beautifully.   :)
Title: Re: Ultimate Profile
Post by: fairytears on January 14, 2010, 05:56:09 PM
Thank you so much Yagiz!!!!!

My users are going to love this!!!


Title: Re: Ultimate Profile
Post by: DragonDF on January 14, 2010, 06:24:35 PM
Quote from: Paul Cull on January 13, 2010, 08:11:34 PM
Hi, does any one have the Brazilian language translation for the 2.0 mod yet?

Alguém tem a versão 2.0 traduzida para português brasileiro?

Paul


Good question, Paul.

Boa pergunta. No aguardo, também.

Confesso que qualquer português serve, porque podemos ajustar a diferença.

Deveria estar mais pró-ativo em realizar a tradução.. mas ando muito sem tempo ultimamente.

:(
Title: Re: Ultimate Profile
Post by: Yağız... on January 14, 2010, 06:28:56 PM
There is no differences in the langauge strings. So, if you had a translation for Brazilian language for SMF 1.x, you can use it for SMF 2.x too.
Title: Re: Ultimate Profile
Post by: ʟink on January 14, 2010, 11:01:05 PM
In my settings, I have all avatars uploaded to a specific directory instead of uploading to the attachments folder. Unfortunately, this breaks image links on the profile page for people who have uploaded avatars.
http://whatninja.com/index.php?action=profile;u=1
On that page, all of the users that have no avatar appearing, with the exception of tmcgaha, have uploaded avatars. Is there a workaround to this? And thanks for producing the mod, I love it and so do several of my users. :)
Title: Re: Ultimate Profile
Post by: bockonocode on January 15, 2010, 11:23:40 AM
Hi,

I have problem with this mod. i have installed it manually, and when i try to see somenone`s profile, i got this error:

''Table 'zezanje_smf1.smf_profile_comments' doesn't exist
File: /home/zezanje/public_html/forum/Sources/Profile.php
Line: 1354''


A friend told me that i dont have an ''smf_profile_comments'' table.

What should i do now? i really want to make this mod work for me...

thanks in advance, and sorry about my bad english :)
Title: Re: Ultimate Profile
Post by: KensonPlays on January 15, 2010, 11:56:58 AM
How do I make it so you can see the sections slightly??
Title: Re: Ultimate Profile
Post by: smldmr on January 15, 2010, 05:51:29 PM
Quote from: bockonocode on January 15, 2010, 11:23:40 AM
Hi,

What should i do now? i really want to make this mod work for me...

thanks in advance, and sorry about my bad english :)

You must execute the database.php. It is in the package file.
Title: Re: Ultimate Profile
Post by: bockonocode on January 15, 2010, 08:26:08 PM
Quote from: smldmr on January 15, 2010, 05:51:29 PM
You must execute the database.php. It is in the package file.

I tried to. but then i got this error:

Notice: Undefined variable: smcFunc in /home/zezanje/public_html/forum/database.php on line 12

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/zezanje/public_html/forum/database.php on line 12

Fatal error: Call to undefined function db_extend() in /home/zezanje/public_html/forum/database.php on line 13


:-\
Title: Re: Ultimate Profile
Post by: kind on January 16, 2010, 05:34:06 AM
hi, i got a problem, i cant see the section for edit de customized profile, some help? i use this in smf 2.0rc2
Title: Re: Ultimate Profile
Post by: Yağız... on January 16, 2010, 07:09:41 AM
Quote from: ʟink on January 14, 2010, 11:01:05 PM
In my settings, I have all avatars uploaded to a specific directory instead of uploading to the attachments folder. Unfortunately, this breaks image links on the profile page for people who have uploaded avatars.
http://whatninja.com/index.php?action=profile;u=1
On that page, all of the users that have no avatar appearing, with the exception of tmcgaha, have uploaded avatars. Is there a workaround to this? And thanks for producing the mod, I love it and so do several of my users. :)
That may be a bug. I'll try to fix it for the next release.

Quote from: Kcmartz on January 15, 2010, 11:56:58 AM
How do I make it so you can see the sections slightly??
http://www.simplemachines.org/community/index.php?topic=298641.msg2448125#msg2448125

Quote from: bockonocode on January 15, 2010, 08:26:08 PM
Quote from: smldmr on January 15, 2010, 05:51:29 PM
You must execute the database.php. It is in the package file.

I tried to. but then i got this error:

Notice: Undefined variable: smcFunc in /home/zezanje/public_html/forum/database.php on line 12

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/zezanje/public_html/forum/database.php on line 12

Fatal error: Call to undefined function db_extend() in /home/zezanje/public_html/forum/database.php on line 13


:-\
What is your SMF version?

Quote from: kind on January 16, 2010, 05:34:06 AM
hi, i got a problem, i cant see the section for edit de customized profile, some help? i use this in smf 2.0rc2
You or your users?
Title: Re: Ultimate Profile
Post by: bockonocode on January 16, 2010, 07:13:52 AM
Quote from: Yağız... on January 16, 2010, 07:09:41 AM
What is your SMF version?

sorry. my smf version is 1.1.11
Title: Re: Ultimate Profile
Post by: shumilica on January 16, 2010, 08:12:17 AM
Thanks Yağız for all the effort you make maintaining this mod!
Did you find a solution to the avatars that are posted to the forum (but doesn't use the default directory and calling. look here: http://www.simplemachines.org/community/index.php?topic=293441.0 - first in the list).

Thanks!
SMF 2 RC2, of course
Title: Re: Ultimate Profile
Post by: Yağız... on January 16, 2010, 08:14:52 AM
Quote from: bockonocode on January 16, 2010, 07:13:52 AM
Quote from: Yağız... on January 16, 2010, 07:09:41 AM
What is your SMF version?

sorry. my smf version is 1.1.11
Try to use this one:
http://custom.simplemachines.org/mods/index.php?action=download;mod=1675;id=88604


Quote from: shumilica on January 16, 2010, 08:12:17 AM
Thanks Yağız for all the effort you make maintaining this mod!
Did you find a solution to the avatars that are posted to the forum (but doesn't use the default directory and calling. look here: http://www.simplemachines.org/community/index.php?topic=293441.0 - first in the list).

Thanks!
SMF 2 RC2, of course
I'll fix it for the next release.
Title: Re: Ultimate Profile
Post by: bockonocode on January 16, 2010, 08:26:29 AM
thanks a million! works now!  ;D ;D ;D

Title: Re: Ultimate Profile
Post by: kind on January 16, 2010, 11:34:53 AM
QuoteCita de: kind en Hoy a las 05:34:06

    hi, i got a problem, i cant see the section for edit de customized profile, some help? i use this in smf 2.0rc2

You or your users?

me and my users, nobody can see it
Title: Re: Ultimate Profile
Post by: Yağız... on January 16, 2010, 12:55:11 PM
Go to Admin > Permissions > Regular Members and check Edit ultimate profile.
Title: Re: Ultimate Profile
Post by: Neverhurry on January 16, 2010, 04:57:57 PM
Hi Yağız...,

i tried in smf 2.0 rc2 the profile picture page doesn't support support chinese language, is it a way to fix it? Many thanks.
Title: Re: Ultimate Profile
Post by: Yağız... on January 16, 2010, 05:44:12 PM
How and where exactly it doesn't support?
Title: Re: Ultimate Profile
Post by: Neverhurry on January 16, 2010, 05:54:57 PM
Quote from: Yağız... on January 16, 2010, 05:44:12 PM
How and where exactly it doesn't support?

he profile picture page doesn't support the picture file name and description in Chinese, nor does it support the comments in Chinese. Thanks!

I attached a pic showing the normal chinese charactors can not be displayed (a lot of question marks "????????????????????").
Title: Re: Ultimate Profile
Post by: kind on January 16, 2010, 10:19:34 PM
Quote from: Yağız... on January 16, 2010, 12:55:11 PM
Go to Admin > Permissions > Regular Members and check Edit ultimate profile.

The permissions have been set and nothing happend, still not working.
Title: Re: Ultimate Profile
Post by: Enders on January 17, 2010, 01:38:06 AM
There seems to be an issue with buddies on the who's online list. It shows that I only have 1 buddy online when really I have 5 buddies online at that time..

Also, in the profile.... it only shows some buddies... there's no link for "show more buddies"
Title: Re: Ultimate Profile
Post by: machmanx on January 17, 2010, 02:35:09 AM
Quote from: Yağız... on January 10, 2010, 07:00:16 PM
I just added background: transparent to divs. And I think It won't work on IE6(couldn't try).
body { background: url(http://i203.photobucket.com/albums/aa252/LadyChaos_photos/back-1.gif); }
#header { background: transparent }
#header div.frame { background: transparent }
#content_section { background: transparent }
#content_section div.frame { background: transparent }
#footer_section { background: transparent }
#footer_section div.frame { background: transparent }


Well, this certainly helped for Curve based themes, which is one step in the right direction.  Thanks.  But the above doesn't work with themes made by Dzinerstudio and Crip.  How do I get those to show a background properly?  Also, I have a shoutbox, but is there a way I can prevent the Ultimate Profile changes from changing the shoutbox as well?  All these would REALLY help me out.
Title: Re: Ultimate Profile
Post by: alblove on January 17, 2010, 08:42:00 AM
I upgradet smf to v 2.0 rc2 and reinstalled latest UP version. in the coments section uploaded avatars are hiden it show only avatar selected in the list or avatars i chose by URL.
How can i fix this PLS ???
Title: Re: Ultimate Profile
Post by: alblove on January 17, 2010, 09:43:09 AM
also my byddy list is not shown correctly:
http://www.alblove.com/profile/?area=buddies;u=1
Title: Re: Ultimate Profile
Post by: Chas Large on January 17, 2010, 12:05:10 PM
Quote from: alblove on January 17, 2010, 08:42:00 AM
I upgradet smf to v 2.0 rc2 and reinstalled latest UP version. in the coments section uploaded avatars are hiden it show only avatar selected in the list or avatars i chose by URL.
How can i fix this PLS ???
I too have this problem. Uploaded Avatars of buddies do not show but linked and supplied via forum avatars are seen correctly.
Title: Re: Ultimate Profile
Post by: Paul Cull on January 18, 2010, 07:31:02 AM
Hi,

I have added a Brazilian portuguese file to zip and uploaded it, but when I try to install it get the message that it cannot find the file:

7.  Executar modificação     ./Themes/default/languages/Modifications.english.php     Sucesso
8.    Executar modificação    ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php    Ignorar o arquivo
9.    Executar modificação    ./Themes/default/languages/Modifications.brazilian_portuguese.utf8.php    Arquivo não encontrado

even though it appears when I list the zip files contents:

19 Themes/default/languages/UltimateProfile.brazilian_portuguese.utf8.php (7736 bytes)
20 Themes/default/languages/UltimateProfile.english.php (7116 bytes)
21 Themes/default/languages/UltimateProfile.serbian_cyrillic-utf8.php (9870 bytes)

Do I need to edit some other file in the package to tell the installer that it includes the Brazilian portuguese file?

Thanks for your help

Paul

Title: Re: Ultimate Profile
Post by: Boricua012 on January 18, 2010, 10:04:00 PM
I have just upgraded my website to SMF 2.0 RC2. Is there any chance that this mod will be upgraded as well? :o
Title: Re: Ultimate Profile
Post by: Enders on January 18, 2010, 10:07:11 PM
Quote from: Boricua012 on January 18, 2010, 10:04:00 PM
I have just upgraded my website to SMF 2.0 RC2. Is there any chance that this mod will be upgraded as well? :o

http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240
Title: Re: Ultimate Profile
Post by: Boricua012 on January 18, 2010, 10:15:30 PM
Quote from: Enders on January 18, 2010, 10:07:11 PM
Quote from: Boricua012 on January 18, 2010, 10:04:00 PM
I have just upgraded my website to SMF 2.0 RC2. Is there any chance that this mod will be upgraded as well? :o

http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240

Thank you  :D!
Title: Re: Ultimate Profile
Post by: ~DS~ on January 18, 2010, 10:16:55 PM
Ummmm...there are 2 of the same zip name.
Title: Re: Ultimate Profile
Post by: PyroZeroX on January 19, 2010, 03:34:47 PM
Quote from: kind on January 16, 2010, 10:19:34 PM
Quote from: Yağız... on January 16, 2010, 12:55:11 PM
Go to Admin > Permissions > Regular Members and check Edit ultimate profile.

The permissions have been set and nothing happend, still not working.
I'm having the same issue.
Both permissions have been set:
- Moderate
-- Edit Ultimate Profile
- Own Profile
--- Edit Ultiamte Profile

I think only the own one needs to be set though.
Regardless, the item from the drop down is missing for you to access the editor for the profile.
I have top level access which by default has all permissions set to "Yes" and I can't find it.

Any ideas?
Title: Re: Ultimate Profile
Post by: DragonDF on January 21, 2010, 09:15:28 AM
Hello People,

Let me ask you something...

I have not a good luck when I tryed to install the RC2 version from Ultimate Profile.

It installs well... but when you try to see a profile... ERROR.

In attachment 3 images in BRAZILIAN portuguese.

Tks!
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 09:49:03 AM
Quote from: neverhurry on January 16, 2010, 05:54:57 PM
he profile picture page doesn't support the picture file name and description in Chinese, nor does it support the comments in Chinese. Thanks!

I attached a pic showing the normal chinese charactors can not be displayed (a lot of question marks "????????????????????").
What is your database type? And are you using UTF-8?

Quote from: Enders on January 17, 2010, 01:38:06 AM
There seems to be an issue with buddies on the who's online list. It shows that I only have 1 buddy online when really I have 5 buddies online at that time..

Also, in the profile.... it only shows some buddies... there's no link for "show more buddies"
Should be a bug, noted.

Quote from: machmanx on January 17, 2010, 02:35:09 AM
Well, this certainly helped for Curve based themes, which is one step in the right direction.  Thanks.  But the above doesn't work with themes made by Dzinerstudio and Crip.  How do I get those to show a background properly?  Also, I have a shoutbox, but is there a way I can prevent the Ultimate Profile changes from changing the shoutbox as well?  All these would REALLY help me out.
Just send me theme links, I'll give you the codes that you need.

Quote from: Paul Cull on January 18, 2010, 07:31:02 AM
Hi,

I have added a Brazilian portuguese file to zip and uploaded it, but when I try to install it get the message that it cannot find the file:

7.  Executar modificação      ./Themes/default/languages/Modifications.english.php      Sucesso
8.     Executar modificação     ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php     Ignorar o arquivo
9.     Executar modificação     ./Themes/default/languages/Modifications.brazilian_portuguese.utf8.php     Arquivo não encontrado

even though it appears when I list the zip files contents:

19 Themes/default/languages/UltimateProfile.brazilian_portuguese.utf8.php (7736 bytes)
20 Themes/default/languages/UltimateProfile.english.php (7116 bytes)
21 Themes/default/languages/UltimateProfile.serbian_cyrillic-utf8.php (9870 bytes)

Do I need to edit some other file in the package to tell the installer that it includes the Brazilian portuguese file?

Thanks for your help

Paul


Remove .utf8 from file extensions. Or if you are using UTF-8, replace the "." with a "-".
Quote from: Dismal Shadow on January 18, 2010, 10:16:55 PM
Ummmm...there are 2 of the same zip name.
Where?

Quote from: DragonDF on January 21, 2010, 09:15:28 AM
Hello People,

Let me ask you something...

I have not a good luck when I tryed to install the RC2 version from Ultimate Profile.

It installs well... but when you try to see a profile... ERROR.

In attachment 3 images in BRAZILIAN portuguese.

Tks!
Remove one of the template_customized functions in ./Themes/default/Profile.template.php.


And finally, for the avatar and permission bug, they'll be fixed in the new version.



I'm tired :o :)
Title: Re: Ultimate Profile
Post by: DragonDF on January 21, 2010, 10:21:26 AM

Quote from: DragonDF on January 21, 2010, 09:15:28 AM
Hello People,

Let me ask you something...

I have not a good luck when I tryed to install the RC2 version from Ultimate Profile.

It installs well... but when you try to see a profile... ERROR.

In attachment 3 images in BRAZILIAN portuguese.

Tks!
Remove one of the template_customized functions in ./Themes/default/Profile.template.php.


And finally, for the avatar and permission bug, they'll be fixed in the new version.



I'm tired :o :)
[/quote]

Sorry to say that.. but something wrong happened.

The link I am trying to acess the profile is: http://bodytuning.com.br/forum/index.php?action=profile;u=4


Fatal error: Cannot redeclare template_report_profile() (previously declared in /home/bodytuning/bodytuning.com.br/forum/Sources/Load.php(2094) : eval()'d code:3093) in /home/bodytuning/bodytuning.com.br/forum/Sources/Load.php(2094) : eval()'d code on line 3362


In Profile.template.php file I commented from line 2913

---
// Template for profile specific options - about me, interests, customization...
/*function template_customized()
{
---

to line 3089
---
      <form name="spell_form" id="spell_form" method="post" accept-charset="', $context['character_set'], '" target="spellWindow" action="', $scripturl, '?action=spellcheck"><input type="hidden" name="spellstring" value="" /></form>';
}
*/
---


There is another function like this in the line 3180

--
// Template for profile specific options - about me, interests, customization...
function template_customized()
{
--

I don't know if there is difference in comment one or the other.

I am not using default template in forum webpage, but "untitle1". Maybe this can give any difference in code, too.

Tks.

:)
Tks!
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 11:06:08 AM
Attach the file to your post please.
Title: Re: Ultimate Profile
Post by: DragonDF on January 21, 2010, 01:56:17 PM
Quote from: Yağız... on January 21, 2010, 11:06:08 AM
Attach the file to your post please.

Sorry...
In attachment.
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 02:22:17 PM
Try attached file :)
Title: Re: Ultimate Profile
Post by: Neverhurry on January 21, 2010, 03:36:53 PM
Quote from: Yağız... on January 21, 2010, 09:49:03 AM
Quote from: neverhurry on January 16, 2010, 05:54:57 PM
he profile picture page doesn't support the picture file name and description in Chinese, nor does it support the comments in Chinese. Thanks!

I attached a pic showing the normal chinese charactors can not be displayed (a lot of question marks "????????????????????").
What is your database type? And are you using UTF-8?
i don't know my database type, where can i find it?
Yes, I am using UTF-8.

Strangely, the chinese text inside "About me" and "My interests" are correct.

Another thing i found out that after one comments he can not edit it nor delete it.

So far, thanks.

Title: Re: Ultimate Profile
Post by: machmanx on January 21, 2010, 03:43:25 PM
Quote from: Yağız... on January 21, 2010, 09:49:03 AM

Quote from: machmanx on January 17, 2010, 02:35:09 AM
Well, this certainly helped for Curve based themes, which is one step in the right direction.  Thanks.  But the above doesn't work with themes made by Dzinerstudio and Crip.  How do I get those to show a background properly?  Also, I have a shoutbox, but is there a way I can prevent the Ultimate Profile changes from changing the shoutbox as well?  All these would REALLY help me out.
Just send me theme links, I'll give you the codes that you need.


Don't worry, I figured it out.  I added more transparency lines based on your post.  I got like 90% of all my themes transparent the way I want.  Now I have small issues with 2 themes that I'm trying to solve.

Heh, after doing the above, I realize that it's not Ultimate Profile's fault for not being able to show a background properly, it's the themes themselves.  Different themes are written differently, and they need to be compensated based on how the index.css file is coded.  So really, there is no universal fix for this unless all theme makers started writing their themes based on one standard, which ain't gonna happen  :P

More fun for me  O:)  I'll ask help later if I need it.
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 04:00:20 PM
Yeah, that's what I'm worried about... Everyone won't be able to do that alone :/ I think I should write something just for that.
Title: Re: Ultimate Profile
Post by: DragonDF on January 21, 2010, 04:05:18 PM
Quote from: Yağız... on January 21, 2010, 02:22:17 PM
Try attached file :)

Hello Yagiz,

Thanks for your help.

The profile link is working.. http://bodytuning.com.br/forum/index.php?action=profile;u=4

but... when I (like Admin) try to Manage a user profile  CHANGE PROFILE > ULTIMATE PROFILE (you can see in image in attachment) It gives the ERROR:

Fatal error: Cannot redeclare customized() (previously declared in /home/bodytuning/bodytuning.com.br/forum/Sources/Profile-Modify.php:1622) in /home/bodytuning/bodytuning.com.br/forum/Sources/Profile-Modify.php on line 1759


THIS ERROR COMES LIKE ADMIN OR USER:
http://bodytuning.com.br/forum/index.php?action=profile;area=pictures;u=4

Fatal error: Cannot redeclare customized() (previously declared in /home/bodytuning/bodytuning.com.br/forum/Sources/Profile-Modify.php:1622) in /home/bodytuning/bodytuning.com.br/forum/Sources/Profile-Modify.php on line 1759



THANKS, AGAIN.

Very useful help.

:)

Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 04:15:06 PM
Attach your ./Sources/Profile-Modify.php.
Title: Re: Ultimate Profile
Post by: DragonDF on January 21, 2010, 05:18:46 PM
Quote from: Yağız... on January 21, 2010, 04:15:06 PM
Attach your ./Sources/Profile-Modify.php.

In attach.


tks
Title: Re: Ultimate Profile
Post by: ~DS~ on January 21, 2010, 05:20:49 PM
Is there going to be any updates?
Title: Re: Ultimate Profile
Post by: alblove on January 21, 2010, 05:23:56 PM
hey  Yağız... do you know why in profile comments and  buddies,  uploades avatar are hidden ??
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 05:26:50 PM
Quote from: DragonDF on January 21, 2010, 05:18:46 PM
Quote from: Yağız... on January 21, 2010, 04:15:06 PM
Attach your ./Sources/Profile-Modify.php.

In attach.


tks
Try attached :)

Quote from: Dismal Shadow on January 21, 2010, 05:20:49 PM
Is there going to be any updates?
I hope to release a new package in coming weeks.

Quote from: alblove on January 21, 2010, 05:23:56 PM
hey  Yağız... do you know why in profile comments and  buddies,  uploades avatar are hidden ??
It should be a bug. Do you have a custom avatar directory or you are using attachments directory?
Title: Re: Ultimate Profile
Post by: alblove on January 21, 2010, 05:43:14 PM
uploaded avatars are in site.com/avatars
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 05:45:18 PM
OK, thanks :) It'll be fixed in the next release.
Title: Re: Ultimate Profile
Post by: alblove on January 21, 2010, 05:46:41 PM
look my site, my avatar is uloaded and in comments is hiden, but if i select an avatar from the defoults is shown.
http://www.alblove.com/index.php?action=profile;u=1

tnx
Title: Re: Ultimate Profile
Post by: Yağız... on January 21, 2010, 06:35:39 PM
Found the bug :) Thanks again ^^
Title: Re: Ultimate Profile
Post by: DragonDF on January 22, 2010, 09:10:55 AM
Quote from: Yağız... on January 21, 2010, 05:26:50 PM
Quote from: DragonDF on January 21, 2010, 05:18:46 PM
Quote from: Yağız... on January 21, 2010, 04:15:06 PM
Attach your ./Sources/Profile-Modify.php.

In attach.


tks
Try attached :)


Thanks.
It looks working well. I will test more later.

I would like to ask you 2 more things:

1st: how can I translate it to brazilian portuguese? Is there any tutorial showing steps? After I translate I can put them here to other people. Maybe it can come in next version of Ultimate Profile.

2nd: one thing that I liked to see was the use of a system from bodybuilding com  where people can register like a user and insert photos, get friends, etc. Things like we can see here in  Ultimate Profile. But there, the USER CAN insert data from workout exercise, weight during the time he is training, can see charts about his gains, etc.

They call Bodyspace:
http://bodyspace.bodybuilding.com/

So, I thought to try to do something near that with AEVA MEDIA (gallery) + ULTIMATE PROFILE.

So, they have integration between FORUM + GALLERY + PROFILE. There, they use for this: vBulletin+photopost+photopost plugin.

You can see a example profile here: http://bodyspace.bodybuilding.com/31233/


THE BIG QUESTION: is this possible to ADJUST in ULTIMATE PROFILE?
Maybe.. create modules where people can insert new data like:
Body Stats
Lifting Stats
Goal
Members that inspire (or are friends)
Videos
...


IS THIS POSSIBLE USING ULTIMATE PROFILE?

We are using: FORUM (smf rc2) + aeva media (gallery) + ultimate profile (profile adjusts)



Thanks again, specially to Yagiz.


:)
Title: Re: Ultimate Profile
Post by: Enders on January 22, 2010, 09:42:20 AM
I have a suggestion.... you should be able to add buddies in profile > buddies/ignore list .... It's kind of annoying that you have to go to other people's profile to add them.
Title: Re: Ultimate Profile
Post by: DragonDF on January 22, 2010, 12:11:11 PM
Quote from: Enders on January 22, 2010, 09:42:20 AM
I have a suggestion.... you should be able to add buddies in profile > buddies/ignore list .... It's kind of annoying that you have to go to other people's profile to add them.

Hello Enders,

Thanks for your suggestion.

Let me see if I undestood it.

By default any one has a profile and CAN ADD FRIENDS in it, right?

You suggest to do what?
For example: only A FRIED (ADDED PERSON) CAN SEE images from that person? Is this?

Is there any configuration to do it or I will need to adjust it in php files?


Tks!
Title: Re: Ultimate Profile
Post by: Yağız... on January 22, 2010, 12:16:25 PM
@DragonDF;
It's possible, but as I'm really busy with my real life right now, I can't do it...

@Enders;
I didn't want to edit Developers' codes, but I think it's needed :) I'll try to include this in the new release.
Title: Re: Ultimate Profile
Post by: Enders on January 22, 2010, 05:25:31 PM
Quote from: DragonDF on January 22, 2010, 12:11:11 PM
Quote from: Enders on January 22, 2010, 09:42:20 AM
I have a suggestion.... you should be able to add buddies in profile > buddies/ignore list .... It's kind of annoying that you have to go to other people's profile to add them.

Hello Enders,

Thanks for your suggestion.

Let me see if I undestood it.

By default any one has a profile and CAN ADD FRIENDS in it, right?

You suggest to do what?
For example: only A FRIED (ADDED PERSON) CAN SEE images from that person? Is this?

Is there any configuration to do it or I will need to adjust it in php files?


Tks!

I suggest adding the normal way of adding buddies. If you fresh install smf .... the buddy system has a form where you enter a user's name and click add...

Title: Re: Ultimate Profile
Post by: Achilles. on January 23, 2010, 01:13:22 PM
Hi, I would like to ask if is there a Ultimate Profile that is compatible with SMF 2.0 RC2? Could you please update the Mod's site for this one. And also, is it still updated with bug free and everything. Thanks!
Title: Re: Ultimate Profile
Post by: PyroZeroX on January 23, 2010, 06:08:43 PM
Quote from: PyroZeroX on January 19, 2010, 03:34:47 PM
Quote from: kind on January 16, 2010, 10:19:34 PM
Quote from: Yağız... on January 16, 2010, 12:55:11 PM
Go to Admin > Permissions > Regular Members and check Edit ultimate profile.

The permissions have been set and nothing happend, still not working.
I'm having the same issue.
Both permissions have been set:
- Moderate
-- Edit Ultimate Profile
- Own Profile
--- Edit Ultiamte Profile

I think only the own one needs to be set though.
Regardless, the item from the drop down is missing for you to access the editor for the profile.
I have top level access which by default has all permissions set to "Yes" and I can't find it.

Any ideas?
Hi guys,

Still having this issue and I'm not sure how to resolve it.
Any ideas?
Title: Re: Ultimate Profile
Post by: Yağız... on January 23, 2010, 06:12:03 PM
Quote from: Achilles. on January 23, 2010, 01:13:22 PM
Hi, I would like to ask if is there a Ultimate Profile that is compatible with SMF 2.0 RC2? Could you please update the Mod's site for this one. And also, is it still updated with bug free and everything. Thanks!
Latest version for SMF 2.0 RC2:
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006

Quote from: PyroZeroX on January 23, 2010, 06:08:43 PM
Hi guys,

Still having this issue and I'm not sure how to resolve it.
Any ideas?
I'm trying to find why this happens.
Title: Re: Ultimate Profile
Post by: char39 on January 23, 2010, 07:34:58 PM
Can someone please tell me where I change how many buddies show on profiles?
Title: Re: Ultimate Profile
Post by: Yağız... on January 23, 2010, 07:42:59 PM
Find in ./Sources/Profile.php:
ORDER BY position ASC, time_updated DESC
LIMIT 0, 6', __FILE__, __LINE__);

Replace 6 with the number that you want.
Title: Re: Ultimate Profile
Post by: Achilles. on January 24, 2010, 01:41:11 AM
Thanks, however does Ultimate Profile for SMF 2.0 RC2 is bug free and workable? Do you have any sample sites that works on SMF 2.0 RC2? Thanks. ;D
Title: Re: Ultimate Profile
Post by: LC on January 24, 2010, 01:42:49 AM
Mine is a good example. Click the link on my sig.

The only bug that I know of is the buddy list not showing external avatars, but Yagiz is working on that.
Title: Re: Ultimate Profile
Post by: Achilles. on January 24, 2010, 01:50:07 AM
Quote from: LC on January 24, 2010, 01:42:49 AM
Mine is a good example. Click the link on my sig.

The only bug that I know of is the buddy list not showing external avatars, but Yagiz is working on that.

Thanks, some of the boxes overlaps the main screen, is that just on the theme and the big images? Also, this is the latest one for SMF 2.0 RC2, http://www.simplemachines.org/community/index.php?topic=298641.msg2380240#msg2380240 , right?
Title: Re: Ultimate Profile
Post by: Yağız... on January 24, 2010, 05:59:05 AM
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006
This is the latest.
Title: Re: Ultimate Profile
Post by: Reliquary on January 26, 2010, 03:41:24 PM
ok ... howdy!   ;D

Little bit of a problem installing the mod. I'm using SMF 1.1.11 with a custom theme based off the Babylon theme. I attempted to install the mod via Admin, but it kicked back an error about a possible conflict with another mod ... namely in the ModSettings.php.   So I went through a manual install via the parse on the download page, but when I attempt to access the Profile (my own), I get the following error:

"Fatal error: Cannot redeclare customized() (previously declared in D:\Hosting\xxxxxxx\html\Sources\Profile.php:2741) in D:\Hosting\xxxxxxx\html\Sources\Profile.php on line 3034"

I went through the profile.php and did find duplicates of "function LoadThemeOptions($memID)"  on the specified lines ... removed one, saved, uploaded and tried again, but it keeps throwing the Fatal Error, just with different lines referenced.

I've attached the profile.php as it was before I started hacking at it.   :-\

Any advice would be greatly appreciated.

Cheers!
Title: Re: Ultimate Profile
Post by: aLi-YK on January 26, 2010, 04:59:51 PM
How do you think was the menu I made for friends as a convenience to the beautiful bay is normally stopped gerektini I think


(http://www.simplemachines.org/community/index.php?action=dlattach;topic=271806.0;attach=132686;image)
Title: Re: Ultimate Profile
Post by: alblove on January 26, 2010, 08:42:39 PM
Any idea how ti fix this two prob
Picture list - http://www.alblove.com/index.php?action=profile;area=pictures;u=1;album=0
Buddy list - http://www.alblove.com/index.php?action=profile;area=buddies;u=1
Title: Re: Ultimate Profile
Post by: Achilles. on January 27, 2010, 10:58:32 AM
I've uploaded U.P. for SMF 2.0 RC2. And how can I add buddies? Seemed can't.... And also, I think there are bugs on the comment page? (Refer to the image below)

How could I fix this?

(http://img39.imageshack.us/img39/3563/bugcjr.jpg) (http://img39.imageshack.us/i/bugcjr.jpg/)
Title: Re: Ultimate Profile
Post by: Achilles. on January 27, 2010, 11:06:37 PM
Anyone? :)
Title: Re: Ultimate Profile
Post by: LC on January 28, 2010, 10:10:34 PM
Looks like the code was added more then once, is there anything showing up on the error logs?
Title: Re: Ultimate Profile
Post by: Achilles. on January 29, 2010, 01:04:34 AM
Quote from: LC on January 28, 2010, 10:10:34 PM
Looks like the code was added more then once, is there anything showing up on the error logs?

How can I fix this? I've searched the Error Log, but nothing. Thanks!

When I try to uninstall U.P. I got this error:

10.   Execute Modification   ./Sources/Admin.php   Test failed
11.   Replace   ./Sources/Admin.php   Test failed
Title: Re: Ultimate Profile
Post by: panetolikos6 on January 29, 2010, 06:16:04 PM
Hello there!

Thank you all for this great mod! I have installed it and translated in greek and it works just fine. Only one problem and one request:

The problem is that I use greek  utf-8 and when someone posts a comment under a profile the letters are replaced with a question mark. What should I do?

The request is for a button on the menu that links to the buddies list. I hope that it can be done in the future.

Thank you all!
Title: Re: Ultimate Profile
Post by: panetolikos6 on January 30, 2010, 07:52:54 AM
One more question. When someone makes a comment on your profile, can you reply in the same field? Not on his/her profile.
Title: Re: Ultimate Profile
Post by: Chas Large on January 30, 2010, 11:30:35 AM
Quote from: panetolikos6 on January 29, 2010, 06:16:04 PM
Hello there!

...
The request is for a button on the menu that links to the buddies list. I hope that it can be done in the future.

Thank you all!
Depending on which version of SMF you are using, you can add buttons or tabs to the main menu by following either of these tutorials.

SMF 1.1.nn    http://docs.simplemachines.org/index.php?topic=564

SMF 2.0         http://www.simplemachines.org/community/index.php?topic=261880.0
Title: Re: Ultimate Profile
Post by: Achilles. on January 30, 2010, 11:36:50 AM
Quote from: Achilles. on January 29, 2010, 01:04:34 AM
Quote from: LC on January 28, 2010, 10:10:34 PM
Looks like the code was added more then once, is there anything showing up on the error logs?

How can I fix this? I've searched the Error Log, but nothing. Thanks!

When I try to uninstall U.P. I got this error:

10.   Execute Modification   ./Sources/Admin.php   Test failed
11.   Replace   ./Sources/Admin.php   Test failed
Title: Re: Ultimate Profile
Post by: JulesW on January 30, 2010, 11:48:04 AM
QuoteHow can I fix this? I've searched the Error Log, but nothing. Thanks!

When I try to uninstall U.P. I got this error:

10.   Execute Modification   ./Sources/Admin.php   Test failed
11.   Replace   ./Sources/Admin.php   Test failed

You will have to check the files on the server that are modified by this mod, and check whether there are double pieces of code.
Title: Re: Ultimate Profile
Post by: Achilles. on January 30, 2010, 11:49:36 AM
Quote from: JulesW on January 30, 2010, 11:48:04 AM
QuoteHow can I fix this? I've searched the Error Log, but nothing. Thanks!

When I try to uninstall U.P. I got this error:

10.   Execute Modification   ./Sources/Admin.php   Test failed
11.   Replace   ./Sources/Admin.php   Test failed

You will have to check the files on the server that are modified by this mod, and check whether there are double pieces of code.

Where could I possibly check those? I'm new to codes. :D Could you please tell me exaltly what am I looking for?
Title: Re: Ultimate Profile
Post by: JulesW on January 30, 2010, 11:55:01 AM
go here (http://custom.simplemachines.org/mods/index.php?mod=1675), @ right side of page: click manual install instructions for: make sure you select your version of SMF. click parse. voila, all the code that is changed by this mod. Check the files on your server for these bits of code.
Title: Re: Ultimate Profile
Post by: JulesW on January 30, 2010, 12:05:14 PM
the files are on the server. You can access them through FTP or ask the admin. Delete all parts of the code thats in the files twice. or if you want to completely get rid of the mod delete all the code you find that's related to this mod
Title: Re: Ultimate Profile
Post by: Achilles. on January 30, 2010, 12:06:16 PM
Quote from: JulesW on January 30, 2010, 12:05:14 PM
the files are on the server. You can access them through FTP or ask the admin. Delete all parts of the code thats in the files twice. or if you want to completely get rid of the mod delete all the code you find that's related to this mod

Thanks, I guess I'll ask my Admin to do it. Btw, will it remove if I uninstall the mod even if it test failed? thanks
Title: Re: Ultimate Profile
Post by: JulesW on January 30, 2010, 12:08:28 PM
It'll delete/change only the parts of code in the files that pass the test. Also if code is in the files twice, it'll delete it only once.
Title: Re: Ultimate Profile
Post by: Achilles. on January 30, 2010, 12:10:51 PM
Quote from: JulesW on January 30, 2010, 12:08:28 PM
It'll delete/change only the parts of code in the files that pass the test. Also if code is in the files twice, it'll delete it only once.

Ayt, thanks! But how could it possibly "doubled" the files? When I installed it once? Or the version I downloaded has a bug?
Title: Re: Ultimate Profile
Post by: JulesW on January 30, 2010, 12:19:07 PM
Installed twice or installed, removed, with errors and installed again...
Title: Re: Ultimate Profile
Post by: Achilles. on January 30, 2010, 12:22:22 PM
Quote from: JulesW on January 30, 2010, 12:19:07 PM
Installed twice or installed, removed, with errors and installed again...

Thanks so much!
Title: Re: Ultimate Profile
Post by: Achilles. on January 31, 2010, 12:56:01 PM
The problem still exists. He checked it on the server files --> everything seems fine, no doubled installation or anything but yea, its still broken giving these:

Test Failed when I try to uninstall it....
10.   Execute Modification   ./Sources/Admin.php   Test failed
   1.   Replace   ./Sources/Admin.php   Test failed

And, the comment box seemed bugged (??)
(http://img39.imageshack.us/img39/3563/bugcjr.jpg)

Any help?
Title: Re: Ultimate Profile
Post by: JulesW on January 31, 2010, 01:02:46 PM
My advice:

Remove all!! the code manually, and see if profile page works again. (or restore backup files that you have from before you installed this mod) Than reinstall the mod if you still want to.
Title: Re: Ultimate Profile
Post by: Achilles. on January 31, 2010, 01:09:51 PM
Quote from: JulesW on January 31, 2010, 01:02:46 PM
My advice:

Remove all!! the code manually, and see if profile page works again. (or restore backup files that you have from before you installed this mod) Than reinstall the mod if you still want to.

thanks, but if I install it again, it might still not work? Probably its with the theme of my forum? Anyway, thanks. I'd rather not have this mod if it will destroy the forum's page. ;D thanks! =]
Title: Re: Ultimate Profile
Post by: JulesW on January 31, 2010, 01:11:05 PM
If you install it without errors it should work. However if you use a custom theme, you might need to edit these files manually...
Title: Re: Ultimate Profile
Post by: Achilles. on January 31, 2010, 01:14:03 PM
Quote from: JulesW on January 31, 2010, 01:11:05 PM
If you install it without errors it should work. However if you use a custom theme, you might need to edit these files manually...

When I installed it before, it didn't error. All tests went well. Regarding the custom theme: I am using Anecdota By Crip. But when I tried uninstalling it because of the comment errors, it doesn't want to.


Probably it conflicts the other mod?
1.   Proxy Blocker    1.1.4     [ Uninstall ] [ List Files ] [ Delete ]
2.   Auto Lock Old Topics    1.3     [ Uninstall ] [ List Files ] [ Delete ]
3.   Pretty URLs    1.0RC     [ Uninstall ] [ List Files ] [ Delete ]
4.   Caps_Lock_Detection_on_Login    1.1.0.1     [ Uninstall ] [ List Files ] [ Delete ]
5.   Team Page    3.5     [ Uninstall ] [ List Files ] [ Delete ]
6.   Force Topic Read On Login Mod    2.1     [ Uninstall ] [ List Files ] [ Delete ]
7.   Menu Order    0.1     [ Uninstall ] [ List Files ] [ Delete ]
8.   Ultimate Profile    0.9     [ Uninstall ] [ List Files ] [ Delete ]
9.   Login Security    1.0.2     [ Uninstall ] [ List Files ] [ Delete ]

And I used this: http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006 latest Ultimate Profile for SMF 2.0 RC2. According to Yagiz, that is the latest. ;D
Title: Re: Ultimate Profile
Post by: JulesW on January 31, 2010, 01:18:36 PM
could be a conflict with other mods, Did you install any f them after you installed this one?
Title: Re: Ultimate Profile
Post by: Achilles. on January 31, 2010, 01:20:59 PM
Quote from: JulesW on January 31, 2010, 01:18:36 PM
could be a conflict with other mods, Did you install any f them after you installed this one?

I'm not sure.. I checked the logs but I don't know where to check it. lol

But checked the mods one by one and I also error at Force Topic Read On Log-In:

2.   Execute Modification   ./Sources/ManageSettings.php   Test failed
   1.   Replace   ./Sources/ManageSettings.php   Test failed
Title: Re: Ultimate Profile
Post by: DragonDF on January 31, 2010, 01:47:04 PM
Quote from: DragonDF on January 22, 2010, 09:10:55 AM
Quote from: Yağız... on January 21, 2010, 05:26:50 PM
Quote from: DragonDF on January 21, 2010, 05:18:46 PM
Quote from: Yağız... on January 21, 2010, 04:15:06 PM
Attach your ./Sources/Profile-Modify.php.

In attach.


tks
Try attached :)


Thanks.
It looks working well. I will test more later.

I would like to ask you 2 more things:

1st: how can I translate it to brazilian portuguese? Is there any tutorial showing steps? After I translate I can put them here to other people. Maybe it can come in next version of Ultimate Profile.

2nd: one thing that I liked to see was the use of a system from bodybuilding com  where people can register like a user and insert photos, get friends, etc. Things like we can see here in  Ultimate Profile. But there, the USER CAN insert data from workout exercise, weight during the time he is training, can see charts about his gains, etc.

They call Bodyspace:
http://bodyspace.bodybuilding.com/

So, I thought to try to do something near that with AEVA MEDIA (gallery) + ULTIMATE PROFILE.

So, they have integration between FORUM + GALLERY + PROFILE. There, they use for this: vBulletin+photopost+photopost plugin.

You can see a example profile here: http://bodyspace.bodybuilding.com/31233/


THE BIG QUESTION: is this possible to ADJUST in ULTIMATE PROFILE?
Maybe.. create modules where people can insert new data like:
Body Stats
Lifting Stats
Goal
Members that inspire (or are friends)
Videos
...


IS THIS POSSIBLE USING ULTIMATE PROFILE?

We are using: FORUM (smf rc2) + aeva media (gallery) + ultimate profile (profile adjusts)



Thanks again, specially to Yagiz.


:)



Quote@DragonDF;
It's possible, but as I'm really busy with my real life right now, I can't do it...

Hello Yagiz,

No problem.
Could you, at least give me a direction about what are the most important files that I have to change?

I think this is a very good project and this mod will work very well in this project.


I am very busy too.  :)
But I need, at least, to try... eheheh.

Thanks!

Title: Re: Ultimate Profile
Post by: JulesW on January 31, 2010, 02:03:42 PM
QuoteBut checked the mods one by one and I also error at Force Topic Read On Log-In:

2.   Execute Modification   ./Sources/ManageSettings.php   Test failed
   1.   Replace   ./Sources/ManageSettings.php   Test failed

That mod does not change admin.php so that should not cause the uninstall error for Ultimate profile mod. can you check why it can't uninstall? Or attach file, so I can check for you?
Title: Re: Ultimate Profile
Post by: Articuno on January 31, 2010, 02:16:00 PM
QuoteUnknown column 'com.time' in 'field list'
File: /forum/Sources/Profile.php
Line: 1471

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.11, 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.

Someone posted this earlier on in the topic and the response was "read the FAQ" which now leads to a 404 page.... anyone know how to solve this problem?
Title: Re: Ultimate Profile
Post by: JulesW on January 31, 2010, 02:22:07 PM
QuoteSomeone posted this earlier on in the topic and the response was "read the FAQ" which now leads to a 404 page.... anyone know how to solve this problem?

Click (http://www.simplemachines.org/community/index.php?topic=298641.msg2430651#msg2430651)
Title: Re: Ultimate Profile
Post by: Articuno on January 31, 2010, 02:28:34 PM
That file completely didn't work.

Fatal error: Call to undefined function: db_extend() in /forum/Packages/temp/database.php on line 12

My problem is with Profile.php and not Profile-view.php.
Title: Re: Ultimate Profile
Post by: Achilles. on February 01, 2010, 01:01:32 AM
Quote from: JulesW on January 31, 2010, 02:03:42 PM
QuoteBut checked the mods one by one and I also error at Force Topic Read On Log-In:

2.   Execute Modification   ./Sources/ManageSettings.php   Test failed
   1.   Replace   ./Sources/ManageSettings.php   Test failed

That mod does not change admin.php so that should not cause the uninstall error for Ultimate profile mod. can you check why it can't uninstall? Or attach file, so I can check for you?

I have to ask the admin to give me the files. Anyway, I asked him to delete it. =] Thanks! I might be back when I install it again. =]
Title: Re: Ultimate Profile
Post by: Articuno on February 01, 2010, 01:40:25 PM
Lol i think I fixed my problem, I just deleted com.time from
Quote
$request = db_query('SELECT com.ID_COMMENT, com.ID_MEMBER, com.comment, com.time, mem.realName, mem.showOnline, IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType, mem.avatar

since I don't actually know what it does yet.. ahh well! If anyone can tell me what it does and whether it's important I'd be grateful LOL

Edit: Well I found out what it was, just removed the time stamp from when comments are posted and that solved the issue.
Title: Re: Ultimate Profile
Post by: JovanT on February 01, 2010, 02:26:39 PM
Column "time" holds information when the comments are posted. It's not crucial but it is important. To resolve your problem, you should install table_fix package. Search this topic for more info.
Title: Re: Ultimate Profile
Post by: psynx on February 03, 2010, 01:22:17 AM
the preview page on the demo link is not working.

i want to see what it would look like,...give me the demo link please. the one that should work.
Title: Re: Ultimate Profile
Post by: [unplugged] on February 03, 2010, 08:48:04 AM
Quote from: JulesW on January 31, 2010, 02:22:07 PM
QuoteSomeone posted this earlier on in the topic and the response was "read the FAQ" which now leads to a 404 page.... anyone know how to solve this problem?

Click (http://www.simplemachines.org/community/index.php?topic=298641.msg2430651#msg2430651)

Thanks for the link. Solved the 'unknown column' issue.
Title: Re: Ultimate Profile
Post by: JovanT on February 03, 2010, 09:51:51 AM
Ultimate Profile now has official support for SMF 2.0 RC2. The code is based on Yağız's unofficial version. I would like to say thanks for his big effort.

The newest version is 0.9.1 and it includes one new feature: user's are now able to select amount of buddies displayed on their profiles. Also, admins can easily change profile's layout and arrange blocks of information to better suit their forums. They just need to change one small part of UltimateProfile.template.php.


And as for the 1.1.x version, update is still not available. I will release it in a week or two.
Title: Re: Ultimate Profile
Post by: Yağız... on February 03, 2010, 09:55:39 AM
Quote from: JovanT on February 03, 2010, 09:51:51 AM
Ultimate Profile now has official support for SMF 2.0 RC2. The code is based on Yağız's unofficial version. I would like to say thanks for his big effort.

The newest version is 0.9.1 and it includes one new feature: user's are now able to select amount of buddies displayed on their profiles. Also, admins can easily change profile's layout and arrange blocks of information to better suit their forums. They just need to change one small part of UltimateProfile.template.php.


And as for the 1.1.x version, update is still not available. I will release it in a week or two.
Finally, you are here, lol :P Great update! Like the new blocks! Thank you too Jovan :)
Title: Re: Ultimate Profile
Post by: Hoodie on February 03, 2010, 01:07:12 PM
Quote from: Articuno on February 01, 2010, 01:40:25 PM
Lol i think I fixed my problem, I just deleted com.time from
Quote
$request = db_query('SELECT com.ID_COMMENT, com.ID_MEMBER, com.comment, com.time, mem.realName, mem.showOnline, IFNULL(lo.logTime, 0) AS isOnline, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH, a.filename, a.attachmentType, mem.avatar

since I don't actually know what it does yet.. ahh well! If anyone can tell me what it does and whether it's important I'd be grateful LOL

Edit: Well I found out what it was, just removed the time stamp from when comments are posted and that solved the issue.

Have the same problem..  Just deleted it out until we get a fix..
Title: Re: Ultimate Profile
Post by: Am' on February 03, 2010, 01:08:18 PM
demo ? screenshot ?
Title: Re: Ultimate Profile
Post by: Chas Large on February 03, 2010, 01:40:53 PM
Hi Jovan,

Thanks for the update. I have installed it on my SMF 2.0 RC2 and it is working, however I have to report two issues.

1. Members who have uploaded avatars do not show their avatar in the buddy list, as previously reported.
2. The permission Edit ultimate profile (Used to enable/disable the use of Ultimate Profile by members), does not appear to work. I have a test forum and whether this is enabled or not the regular members can always edit ultimate profile.

In an earlier version, you could FORCE members to use ultimate profile but I can no longer find this option, has it been removed?
Title: Re: Ultimate Profile
Post by: winloze99 on February 03, 2010, 02:22:24 PM
I belive there is a bug in Ultimate Profile.
When i go to a users profile and then click Profile Pictures.
I get the link to Add Picture.
I want this to be only for Profile owner, not for every user.

I hope this can be fixed.
Title: Re: Ultimate Profile
Post by: Chas Large on February 03, 2010, 02:38:10 PM
Quote from: winloze99 on February 03, 2010, 02:22:24 PM
I belive there is a bug in Ultimate Profile.
When i go to a users profile and then click Profile Pictures.
I get the link to Add Picture.
I want this to be only for Profile owner, not for every user.

I hope this can be fixed.
I can confirm this. If the setting Show my pictures only to buddies and admins is checked it has no effect, all members can see the pictures in that profile even if they are not buddies.

[EDIT] Further testing reveals that checking Only buddies can view my Ultimate Profile does prevent the viewing of the Ultimate Profile BUT the Profile Pictures can still be seen by all members.
Title: Re: Ultimate Profile
Post by: Chas Large on February 03, 2010, 02:52:32 PM
Quote from: Chas Large on February 03, 2010, 02:38:10 PM
Quote from: winloze99 on February 03, 2010, 02:22:24 PM
I belive there is a bug in Ultimate Profile.
When i go to a users profile and then click Profile Pictures.
I get the link to Add Picture.
I want this to be only for Profile owner, not for every user.

I hope this can be fixed.
I can confirm this. If the setting Show my pictures only to buddies and admins is checked it has no effect, all members can see the pictures in that profile even if they are not buddies.

[EDIT] Further testing reveals that checking Only buddies can view my Ultimate Profile does prevent the viewing of the Ultimate Profile BUT the Profile Pictures can still be seen by all members.

Ah, I have discovered that enabling Edit ultimate profile in the Members Permission, gives all members the right to view Ultimate Profile details and Pictures even if the profile is set to hide from non-buddies. Disabling this option sets the correct permissions so non-buddies cannot see the UP or the Pictures only buddies can if these are set in the UP.

The setting Edit ultimate profile in members permissions is effectively giving admin rights to regular members and should be either removed or changed to it's original function of forcing the use of UP for all members which I believe it was.

Hope this helps all.
Title: Re: Ultimate Profile
Post by: JovanT on February 03, 2010, 03:04:56 PM
I did some testing and found a cause for these problems. SMF 2.0 has different permission settings than 1.1.x. You have two "modes": simple and classic (simple is default). When you're in simple mode and enable "Edit ultimate profile" permission, you will allow your users to edit everyone's ultimate profiles. If you switch to classic mode, you can choose do you want to allow them to edit just their own or any profile.

Quote1. Members who have uploaded avatars do not show their avatar in the buddy list, as previously reported.
I can't reproduce this on my testing forum. Can you give me more details?

QuoteIn an earlier version, you could FORCE members to use ultimate profile but I can no longer find this option, has it been removed?
This options is still present. You can enable Ultimate Profile for all members in your admin panel.
Title: Re: Ultimate Profile
Post by: LC on February 03, 2010, 03:08:08 PM
Quote from: JovanT on February 03, 2010, 03:04:56 PM
I did some testing and found a cause for these problems. SMF 2.0 has different permission settings than 1.1.x. You have two "modes": simple and classic (simple is default). When you're in simple mode and enable "Edit ultimate profile" permission, you will allow your users to edit everyone's ultimate profiles. If you switch to classic mode, you can choose do you want to allow them to edit just their own or any profile.

Quote1. Members who have uploaded avatars do not show their avatar in the buddy list, as previously reported.
I can't reproduce this on my testing forum. Can you give me more details?

http://ladychaosdnb.com/index.php?action=profile;u=23 -  example of failed avatars in buddy list.

http://ladychaosdnb.com/index.php?action=dlattach;attach=118;type=avatar (link of failed image)

When you click on any avatars that have been uploaded or stored externally, they will not show. Avatars from the server will, however.

Title: Re: Ultimate Profile
Post by: Stigmartyr on February 03, 2010, 04:15:17 PM
I found a bug with this in RC2: when I try to make a comment on a profile it goes to a blank page and no comment is posted.  Its like it dies on the submit button.  Any suggestions?
Title: Re: Ultimate Profile
Post by: Chas Large on February 03, 2010, 04:21:28 PM
Quote from: JovanT on February 03, 2010, 03:04:56 PM
I did some testing and found a cause for these problems. SMF 2.0 has different permission settings than 1.1.x. You have two "modes": simple and classic (simple is default). When you're in simple mode and enable "Edit ultimate profile" permission, you will allow your users to edit everyone's ultimate profiles. If you switch to classic mode, you can choose do you want to allow them to edit just their own or any profile.

Quote1. Members who have uploaded avatars do not show their avatar in the buddy list, as previously reported.
I can't reproduce this on my testing forum. Can you give me more details?

QuoteIn an earlier version, you could FORCE members to use ultimate profile but I can no longer find this option, has it been removed?
This options is still present. You can enable Ultimate Profile for all members in your admin panel.
Jovan, thank you for the explanation. I have found the setting now in Admin > Modifications. I had forgotten where to find it. ;) This overrides the Members permission and makes UP the default which members can edit their own but they cannot edit other members UP.

If you join my test forum (it is set to Admin Authorisation) you can see the Buddy Avatar issue on my profile (Hal9000).

http://www.fiftyplusforum.co.uk/devtestf/index.php
Title: Re: Ultimate Profile
Post by: winloze99 on February 03, 2010, 04:35:32 PM
I just managed to fix this problem by changing some code in the theme.

Now can Owner of profile and buddys to Owner add pictures.

Fell free to ask for what i did, and i will post the changes in here.
Title: Re: Ultimate Profile
Post by: winloze99 on February 03, 2010, 05:03:34 PM
Quote1. Members who have uploaded avatars do not show their avatar in the buddy list, as previously reported.
I can't reproduce this on my testing forum. Can you give me more details?
[/quote]

I have tried to use Avatar from server, Upload Avatar and Avatar from url.
And i dont get this problem, the Avatars is showing on Buddy list.
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 03, 2010, 05:42:59 PM
Is there anything (file permissions) etc that would stop me (an admin) from posting a comment on the ultimate profile page.  When I click the submit button it just goes to a blank page (server 500 error).
Title: Re: Ultimate Profile
Post by: trlxpro on February 04, 2010, 01:28:39 AM
have 1.1.11

custom template - immortalzgaming.com/forums

doing a manual install through cs3 Dreamweaver

in Sources/Profile.php after editing, I get the following messege

" the documents current encoding can not correctly save all of the characters within the document. You may want to change to UTF-8 or an encoding that supports the special characters in this document"

will not let me save anyway..

may i ask whats my issue, an how to fix it to use U.P on my site?

thanks  ;)
Title: Re: Ultimate Profile
Post by: Chas Large on February 04, 2010, 04:03:33 AM
I do all my manual edits via a plain text editor (Notepad2 in Windows) and upload via FTP (Mozilla). That way no extraneous coding is introduced (unless I make a mistake). Dreamweaver and other web programs tend to add their own bits of code, especially to the header and this may be the cause of your problem?
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 04, 2010, 04:18:37 AM
Quote from: Chas Large on February 04, 2010, 04:03:33 AM
I do all my manual edits via a plain text editor (Notepad2 in Windows) and upload via FTP (Mozilla). That way no extraneous coding is introduced (unless I make a mistake). Dreamweaver and other web programs tend to add their own bits of code, especially to the header and this may be the cause of your problem?

I installed via package manager.  It was working on my preproduction site and all I did was copied binaries over to production.  Both are pointing to the same db.
Title: Re: Ultimate Profile
Post by: Chas Large on February 04, 2010, 06:36:04 AM
Quote from: Stigmartyr on February 04, 2010, 04:18:37 AM
Quote from: Chas Large on February 04, 2010, 04:03:33 AM
I do all my manual edits via a plain text editor (Notepad2 in Windows) and upload via FTP (Mozilla). That way no extraneous coding is introduced (unless I make a mistake). Dreamweaver and other web programs tend to add their own bits of code, especially to the header and this may be the cause of your problem?

I installed via package manager.  It was working on my preproduction site and all I did was copied binaries over to production.  Both are pointing to the same db.
I was referring to:
Quote from: trlxpro on February 04, 2010, 01:28:39 AM
have 1.1.11

custom template - immortalzgaming.com/forums

doing a manual install through cs3 Dreamweaver

in Sources/Profile.php after editing, I get the following messege

" the documents current encoding can not correctly save all of the characters within the document. You may want to change to UTF-8 or an encoding that supports the special characters in this document"

will not let me save anyway..

may i ask whats my issue, an how to fix it to use U.P on my site?

thanks  ;)
Title: Re: Ultimate Profile
Post by: [unplugged] on February 04, 2010, 06:55:26 AM
I am loving this mod. Made a few small tweaks to the layout and BAM!

demo account (http://www.empireofthesun.net/forum/index.php?action=profile;u=69) for anyone interested.

Thanks for the U-P!
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 04, 2010, 06:59:57 AM
Quote from: SunKing on February 04, 2010, 06:55:26 AM
I am loving this mod. Made a few small tweaks to the layout and BAM!

demo account (http://www.empireofthesun.net/forum/index.php?action=profile;u=69) for anyone interested.

Thanks for the U-P!

Your demo broke my browser :(  I saw a flash player at the top right?




Also - I still cannot post comments (even as admin).  Goes to blank page and I get a 500 error on clicking submit. :(
Title: Re: Ultimate Profile
Post by: [unplugged] on February 04, 2010, 07:07:55 AM
Wow, you have a fragile browser. I can set up the ability to post comments on that account so you can try if you want. I'll turn off the MediaBox up top. ;)

Title: Re: Ultimate Profile
Post by: JovanT on February 04, 2010, 02:07:03 PM
@Chas Large
I've registered on your test forum. Please approve my account so I can see the problem with avatars.

@SunKing
Guest users can't see profiles on your forum.

@Stigmartyr
Can you provide me link and the demo account for your forum? The error you are experiencing is very strange.
Title: Re: Ultimate Profile
Post by: LC on February 04, 2010, 02:49:21 PM
I has problem with avatars too. :P
Title: Re: Ultimate Profile
Post by: Chas Large on February 04, 2010, 03:19:32 PM
Quote from: JovanT on February 04, 2010, 02:07:03 PM
@Chas Large
I've registered on your test forum. Please approve my account so I can see the problem with avatars.
:snip:
I have accepted you and sent a PM.
Title: Re: Ultimate Profile
Post by: [unplugged] on February 04, 2010, 03:20:37 PM
Quote from: JovanT on February 04, 2010, 02:07:03 PM
@SunKing
Guest users can't see profiles on your forum.

That was the reason for the test account. ;)
Title: Re: Ultimate Profile
Post by: d3ptzz on February 05, 2010, 02:00:32 AM
I've installed this packages in SMF 1.1.11 and then there was an error.

only administrator that have permission to view and edit ultimate profil. I've set the permission for regular member to edit their "own ultimate profile", but there is nothing happen. all member, except admin, have no permission to edit or view the ultimate profile.

what i should do?

my forum is: forum.elins.org

thanks
Title: Re: Ultimate Profile
Post by: puhastus on February 05, 2010, 05:31:55 AM
Did someone figure out how to integrate Member Awards to Ultimate Profile?

Please tell me how!!!

I use ultimate profile and member awards... i also made a table specially for member awards for profile. I would very much like to make it so that table would show member awards like it does in posts (list with small images).

What code should i add to that table?
Title: Re: Ultimate Profile
Post by: Harvesttime on February 09, 2010, 02:21:38 AM
Thanks much for a fine mod.  I have read and re-read many posts concerning buddies on the old buddy list missing after installing this mod.

I have recently upgraded to 1.1.11, at that time all was well with the SMF buddy list.  Once I installed UP, I lost all user's previous buddies.   I understand how it works, and that UP just thinks the previous buddies are are in fact already buddies and does not allow the option of adding but..

My problem is the fix I read for this is always a broken link.  I beleive it was called migrate_buddies.php.

Can you please provide this so I can fix my buddy problem?

If not  can you please tell me how to completely wipe the buddy lists to start over.
Thank you so much  :)

Title: Re: Ultimate Profile
Post by: [unplugged] on February 09, 2010, 03:58:57 AM
Quote from: puhastus on February 05, 2010, 05:31:55 AM
Did someone figure out how to integrate Member Awards to Ultimate Profile?

It's fairly easy to add blocks to Ultimate Profile. I don't use use Member Awards, and quickly grew tired of trying to find a version of the mod that the SMF parser would parse. If you provide the code you use to display the awards, I'll set it up in a block for you (that you can move around like any of the other blocks). I have already successfully added Profile Visitors mod to a block (though I have been told that this used to be a standard block). I have also added Google Member Map to a block.

Profiles are not viewable by guests, but if you are interested, you can click here (http://www.empireofthesun.net/forum/index.php?action=profile;u=69). (username:test   password:tester123)
Title: Re: Ultimate Profile
Post by: Paracelsus on February 09, 2010, 08:02:34 AM
Quote from: SunKing on February 09, 2010, 03:58:57 AM
Quote from: puhastus on February 05, 2010, 05:31:55 AM
Did someone figure out how to integrate Member Awards to Ultimate Profile?

It's fairly easy to add blocks to Ultimate Profile.

Is there a "generic code" that can be used?
Title: Re: Ultimate Profile
Post by: [unplugged] on February 09, 2010, 08:39:09 AM
I just copied an existing block from UP and replaced parts of the code with my own. Then I named the block a unique name and included it in the array at the top of the UltimateProfile.template.php. I can give you an example block if you need.
Title: Re: Ultimate Profile
Post by: Boricua012 on February 09, 2010, 02:12:21 PM
How do i enable Ultimate Profile in the admin panel? I can't find any setting for on SMF 2.0 RC2
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 09, 2010, 02:45:24 PM
My users and myself (admin) still can't post comments without a 500 error...
Title: Re: Ultimate Profile
Post by: [unplugged] on February 09, 2010, 07:43:43 PM
@Boricua012
Admin > Configurations > Modification Settings

At least that is where it's located for SMF2.

@Stigmartyr
Can you attach your UltimateProfile.template.php?
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 09, 2010, 08:45:44 PM
Quote from: SunKing on February 09, 2010, 07:43:43 PM
@Boricua012
Admin > Configurations > Modification Settings

At least that is where it's located for SMF2.

@Stigmartyr
Can you attach your UltimateProfile.template.php?

Done.  Thank you much.
Title: Re: Ultimate Profile
Post by: [unplugged] on February 09, 2010, 09:34:37 PM
That file actually looks fine and works like it should when I upload it to my test site. I registered on your site so I could poke around a little bit and see if I could figure out what was going on there. The only thing that stands out at all is that it may have to do with the edits in your Profile-Modify.php Profile-Actions.php. Can you check the UP edits in that file and verify that they are there and correct please?
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 09, 2010, 09:49:04 PM
Quote from: SunKing on February 09, 2010, 09:34:37 PM
That file actually looks fine and works like it should when I upload it to my test site. I registered on your site so I could poke around a little bit and see if I could figure out what was going on there. The only thing that stands out at all is that it may have to do with the edits in your Profile-Modify.php. Can you check the UP edits in that file and verify that they are there and correct please?

ok - I just went back through and checked my sources/profile-modify.php (attached below).  Looks good.  Emptied the cache and same error.
Title: Re: Ultimate Profile
Post by: [unplugged] on February 09, 2010, 10:07:14 PM
I apologize, but I mistyped the filename.  O:)

I meant your Profile-Actions.php. Sorry about that.
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 09, 2010, 10:18:09 PM
Quote from: SunKing on February 09, 2010, 10:07:14 PM
I apologize, but I mistyped the filename.  O:)

I meant your Profile-Actions.php. Sorry about that.

It looks good as far as edits..  Here it is attached.  I'm combing through the files now, again.
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 09, 2010, 10:58:23 PM
Do you think it might have anything to do with the way the submit (save) button handles the comment?

On my beta site where everything works, I click 'save' and a comment is posted.  On my production site, using the same files, it goes to : "index.php?action=profile;area=comment;u=2;add"

Is this wrong?  On the beta site where it's working it just saves.  The URL always looks like: "index.php?action=profile;u=1"
Title: Re: Ultimate Profile
Post by: lethal1320.com on February 10, 2010, 12:00:12 AM
I installed this on my site (SMF 2.0 RC2), It is working flawless. Thanks a bunch!

SunKing, Your link locks up IE8.

Stigmartyr, You are a registered member on the site www.lethal1320.com log in and check it out. If you need any help let me know I can give a hand.
Title: Re: Ultimate Profile
Post by: Mick. on February 10, 2010, 12:31:10 AM
Quote from: lethal1320.com on February 10, 2010, 12:00:12 AM
I installed this on my site (SMF 2.0 RC2), It is working flawless. Thanks a bunch!

SunKing, Your link locks up IE8.

Stigmartyr, You are a registered member on the site www.lethal1320.com log in and check it out. If you need any help let me know I can give a hand.

I knew your name form somewhere...lol  you registered on my site not too long ago.

Yes, the UP installed for me pretty good but im not using it yet.  Dont know what to make off it.
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 10, 2010, 12:41:28 AM
Quote from: lethal1320.com on February 10, 2010, 12:00:12 AM
I installed this on my site (SMF 2.0 RC2), It is working flawless. Thanks a bunch!

SunKing, Your link locks up IE8.

Stigmartyr, You are a registered member on the site www.lethal1320.com log in and check it out. If you need any help let me know I can give a hand.

Signed up Lethal.  I have sunking helping too.  This is really driving me nuts.  So far as I can tell I can't find any differences between my working site and my non-working site.  Argggghh
Title: Re: Ultimate Profile
Post by: [unplugged] on February 10, 2010, 06:11:14 PM
@Stigmartyr
I have yet to find any differences between your two sites either, and everything seems to be set the same as on my site. What about the encoding? Is one site UTF8 and not the other?

(Also, I have tracked down that IE problem and removed the code causing the issue.)
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 10, 2010, 06:14:38 PM
Quote from: SunKing on February 10, 2010, 06:11:14 PM
@Stigmartyr
I have yet to find any differences between your two sites either, and everything seems to be set the same as on my site. What about the encoding? Is one site UTF8 and not the other?

(Also, I have tracked down that IE problem and removed the code causing the issue.)

Do you mean am I using English vs English UTF8?  I'm using just: English
Title: Re: Ultimate Profile
Post by: [unplugged] on February 11, 2010, 02:24:42 PM
Quote from: Stigmartyr on February 10, 2010, 06:14:38 PM
Quote from: SunKing on February 10, 2010, 06:11:14 PM
@Stigmartyr
I have yet to find any differences between your two sites either, and everything seems to be set the same as on my site. What about the encoding? Is one site UTF8 and not the other?

(Also, I have tracked down that IE problem and removed the code causing the issue.)

Do you mean am I using English vs English UTF8?  I'm using just: English
If both of your sites are exact duplicates, then I am truly at a loss (not giving up, just trying to figure where to look next).
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 11, 2010, 02:54:55 PM
Quote from: SunKing on February 11, 2010, 02:24:42 PM
Quote from: Stigmartyr on February 10, 2010, 06:14:38 PM
Quote from: SunKing on February 10, 2010, 06:11:14 PM
@Stigmartyr
I have yet to find any differences between your two sites either, and everything seems to be set the same as on my site. What about the encoding? Is one site UTF8 and not the other?

(Also, I have tracked down that IE problem and removed the code causing the issue.)

Do you mean am I using English vs English UTF8?  I'm using just: English
If both of your sites are exact duplicates, then I am truly at a loss (not giving up, just trying to figure where to look next).

There are two items that show in the error logs show when I try to comment on profile and profile picture:

http://stangnation.com/index.php?action=profile;area=pictures;u=649;comment=869

8: Undefined index: profile_buddies_show

File: /var/www/vhosts/stangnation.com/httpdocs/Sources/Profile.php
Line: 143

When I click the line error it shows: ==>143:   'label' => $txt['profile_buddies_show'],

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

http://stangnation.com/index.php?action=profile;area=pictures;u=649;comment=869

8: Undefined index: profile_pictures_show

File: /var/www/vhosts/stangnation.com/httpdocs/Sources/Profile.php
Line: 132

When I click the error it shows: ==>132:      'label' => $txt['profile_pictures_show'],



..I don't know if this helps?
Title: Re: Ultimate Profile
Post by: [unplugged] on February 11, 2010, 03:22:28 PM
Are $txt['profile_buddies_show'] and $txt['profile_pictures_show'] both in your UltimateProfile.english.php? In mine those strings are on lines 58 and 59.
Title: Re: Ultimate Profile
Post by: kherezae on February 11, 2010, 04:27:41 PM
Hi,

I have this mod and the Subaccounts (http://custom.simplemachines.org/mods/index.php?mod=2264) mod both installed, and they both seem to work flawlessly but have a bit of interference with one another.  I've fixed part of it, but I'm having trouble fixing the other part.

I can't get the subaccounts to show up in a user's profile if they're using Ultimate Profile.  Their total posts including those made on subaccounts show up, but not a list of their subaccounts.  I copied and pasted both lines of code from the profile template, so theoretically it should work; I'm not sure what's missing.

The site is: synthetic-truth.net

The working bit of code (and the surrounding code for reference):
if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>', $txt['profile_posts'], ': </strong></dt>
<dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';
if (isset($context['member']['subaccounts_posts']))
echo '
<dt><strong>', $txt['subaccount_posts'], '</strong></dt>
<dd>', $context['member']['subaccounts_posts'], ' (', $context['member']['subaccounts_posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';

echo '
<dt><strong>', $txt['position'], ': </strong></dt>
<dd>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</dd>


The bit that isn't working (and surrounding code for reference):
if (!empty($context['member']['blurb']))
echo '
<dt><strong>', $txt['personal_text'], ': </strong></dt>
<dd>', $context['member']['blurb'], '</dd>';

if (!empty($context['member']['subaccounts']) && !empty($modSettings['subaccountsShowInProfile']))
echo '
<dt><strong>', $txt['subaccounts'], ': </strong></dt>
<dd><a href="', $scripturl, '?action=profile;u=', implode('</a>, <a href="' . $scripturl . '?action=profile;u=', array_map(create_function('$id,$account', 'return $id . \'">\' . $account[\'name\'];'), array_keys($context['member']['subaccounts']), $context['member']['subaccounts'])), '</a></dd>';

if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>', $txt['profile_posts'], ': </strong></dt>
<dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';



Any idea what's wrong?  I appreciate any help you can give!
Title: Re: Ultimate Profile
Post by: Sakae on February 11, 2010, 05:12:23 PM
Hi, thanks for creating this MOD!

It's awesome!! Working very well on my SMF 2.0 RC2!
Title: Re: Ultimate Profile
Post by: Stigmartyr on February 11, 2010, 06:25:21 PM
Quote from: SunKing on February 11, 2010, 03:22:28 PM
Are $txt['profile_buddies_show'] and $txt['profile_pictures_show'] both in your UltimateProfile.english.php? In mine those strings are on lines 58 and 59.

Quote from: SunKing on February 11, 2010, 03:22:28 PM
Are $txt['profile_buddies_show'] and $txt['profile_pictures_show'] both in your UltimateProfile.english.php? In mine those strings are on lines 58 and 59.

Thanks SunKing - JovanT also PM'd me to suggest the same thing after you posted this.  I over wrote that file with the one from the package, and confirmed the entries were there.  The errors I posted went away, but it's still not working :( I even cleared the cache a few times. 

I don't see any errors now related to this mod, but it's still giving me a server 500 error.  Perhaps I could make one of both of you temp admins to look at the errors.  There are some FB connect and chat errors that don't make sense and I'm ignoring them because they show up regardless whether I'm in a profile or making a comment.

Server 500 error seems to indicate something with the database maybe?  As if the file can't write to it?  What's odd is that I can edit/update ultimate profile's other fields...

wierdest error ever.. :P
Title: Re: Ultimate Profile
Post by: [unplugged] on February 11, 2010, 06:38:00 PM
It may help to get to the bottom of the problem.  ;D
Title: Re: Ultimate Profile
Post by: puhastus on February 12, 2010, 04:20:35 AM
Quote from: SunKing on February 09, 2010, 08:39:09 AM
I just copied an existing block from UP and replaced parts of the code with my own. Then I named the block a unique name and included it in the array at the top of the UltimateProfile.template.php. I can give you an example block if you need.

Yes please :P send it to: [email protected]
Title: Re: Ultimate Profile
Post by: Neverhurry on February 12, 2010, 05:56:54 PM
Hi, I tried very hard but I had no luck to solve this problem:

http://www.simplemachines.org/community/index.php?topic=298641.msg2458169#msg2458169

pls, anybody and advise what should I do? thanks.
Title: Re: Ultimate Profile
Post by: JovanT on February 13, 2010, 05:30:52 AM
Quote from: neverhurry on February 12, 2010, 05:56:54 PM
Hi, I tried very hard but I had no luck to solve this problem:

http://www.simplemachines.org/community/index.php?topic=298641.msg2458169#msg2458169

pls, anybody and advise what should I do? thanks.

Hi! It's probably encoding issue. Do you use UTF-8? If so, you should change Ultimate Profile tables to have utf-8 encoding. If you have phpMyAdmin, it is very easy task. You just need to run a few queries.
Title: Re: Ultimate Profile
Post by: digit on February 13, 2010, 08:19:40 AM
Does anyone have a way to show those with customized profiles?  A directory - or search results page of those with customized profiles would be cool.  Thanks.
Title: Re: Ultimate Profile
Post by: Neverhurry on February 13, 2010, 04:38:24 PM
Quote from: JovanT on February 13, 2010, 05:30:52 AM
Quote from: neverhurry on February 12, 2010, 05:56:54 PM
Hi, I tried very hard but I had no luck to solve this problem:

http://www.simplemachines.org/community/index.php?topic=298641.msg2458169#msg2458169

pls, anybody and advise what should I do? thanks.

Hi! It's probably encoding issue. Do you use UTF-8? If so, you should change Ultimate Profile tables to have utf-8 encoding. If you have phpMyAdmin, it is very easy task. You just need to run a few queries.

JovanT, you hit the point. Solved!!! Thank you thank you man!
Title: Re: Ultimate Profile
Post by: toothmkr57 on February 13, 2010, 06:50:12 PM
Hello, I am trying to uninstall Ultimate Profile and I am getting this error

4.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test failed

Any reason this would happen?
Title: Re: Ultimate Profile
Post by: [unplugged] on February 13, 2010, 07:04:04 PM
The code it is looking for is either slightly different than it expected, or doesn't exist at all. In either case, you can ignore that warning with NO ill effects. It is only the language strings for the mod.
Title: Re: Ultimate Profile
Post by: toothmkr57 on February 13, 2010, 07:05:47 PM
Thanks a bunch!
Title: Re: Ultimate Profile
Post by: [unplugged] on February 13, 2010, 07:08:05 PM
Glad I could help.
Title: Re: Ultimate Profile
Post by: Neverhurry on February 14, 2010, 05:16:26 PM
Some members told me that they can not see "add new buddy" button on some of the member profiles, they say they have added those members as buddies, then after I installed the Ultimate profile, they can not see the "add new buddy" button on those members profiles. How strange!

Then I uninstalled "Ultimate Profile", after that when they enter the edit buddy list area, they got a error like this:

An Error Has Occurred!
Wrong value type sent to the database. Array of integers expected. (buddy_list)


can anybody advise me what sould i do, it is very frustrating!!! thanks in advance (pls help, because profile is so important part of my forum).
Title: Re: Ultimate Profile
Post by: LC on February 14, 2010, 05:20:28 PM
Quote from: LC on February 04, 2010, 02:49:21 PM
I has problem with avatars too. :P
Bump in hopes of an update. External avatars are not shown in buddy display listing.
Title: Re: Ultimate Profile
Post by: kherezae on February 17, 2010, 01:42:03 PM
QuoteHi,

I have this mod and the Subaccounts (http://custom.simplemachines.org/mods/index.php?mod=2264) mod both installed, and they both seem to work flawlessly but have a bit of interference with one another.  I've fixed part of it, but I'm having trouble fixing the other part.

I can't get the subaccounts to show up in a user's profile if they're using Ultimate Profile.  Their total posts including those made on subaccounts show up, but not a list of their subaccounts.  I copied and pasted both lines of code from the profile template, so theoretically it should work; I'm not sure what's missing.

The site is: synthetic-truth.net

The working bit of code (and the surrounding code for reference):
if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>', $txt['profile_posts'], ': </strong></dt>
<dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';
if (isset($context['member']['subaccounts_posts']))
echo '
<dt><strong>', $txt['subaccount_posts'], '</strong></dt>
<dd>', $context['member']['subaccounts_posts'], ' (', $context['member']['subaccounts_posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';

echo '
<dt><strong>', $txt['position'], ': </strong></dt>
<dd>', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</dd>


The bit that isn't working (and surrounding code for reference):
if (!empty($context['member']['blurb']))
echo '
<dt><strong>', $txt['personal_text'], ': </strong></dt>
<dd>', $context['member']['blurb'], '</dd>';

if (!empty($context['member']['subaccounts']) && !empty($modSettings['subaccountsShowInProfile']))
echo '
<dt><strong>', $txt['subaccounts'], ': </strong></dt>
<dd><a href="', $scripturl, '?action=profile;u=', implode('</a>, <a href="' . $scripturl . '?action=profile;u=', array_map(create_function('$id,$account', 'return $id . \'">\' . $account[\'name\'];'), array_keys($context['member']['subaccounts']), $context['member']['subaccounts'])), '</a></dd>';

if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>', $txt['profile_posts'], ': </strong></dt>
<dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';


And my installed mods:

QuoteSubAccounts Mod   1.0.0
2.   Internal_Links_Use_Same_Window   1.2
3.   Justify BBCode   2.3
4.   Spoiler BBCode   1.1.1
5.   YouTube BBCode   2.6
6.   Remove Reply Prefix   1.0
7.   Default_Membergroup   1.0.0.3
8.   SimplePortal   2.3.1
9.   Bakers Dozen Pages   1.2
10.   Ultimate Profile


Any idea what's wrong?  I appreciate any help you can give!

Sorry to be a bother!  I appreciate your help!
Title: Re: Ultimate Profile
Post by: Suranyi on February 18, 2010, 05:19:21 AM
Just installed it.

Went to view a profile, got an error;


Fatal error: Cannot redeclare template_customized() (previously declared in /home/suranyi/public_html/smf/Sources/Load.php(2173) : eval()'d code:2927) in /home/suranyi/public_html/smf/Sources/Load.php(2173) : eval()'d code on line 3374

from http://seruvagaming.com/smf/index.php?action=profile;u=98 (http://seruvagaming.com/smf/index.php?action=profile;u=98)

I've searched the load.php file, it doesn't go to line 3374 :S nor does it have a template_customized() anywhere in the file.

Any ideas?
Title: Re: Ultimate Profile
Post by: [unplugged] on February 18, 2010, 05:26:14 AM
eval()'d means it's not directly in the Load.php, but a file being called from Load.php.

The error itself means you have installed the mod twice. The function you are looking for will be found in Profile.template.php (twice). Remove one of the function instances and that will take care of that issue.
Title: Re: Ultimate Profile
Post by: Suranyi on February 18, 2010, 05:43:45 AM
Thankyou that helped that problem, but now I have another >.<

Could you please visit the profile to see it http://seruvagaming.com/smf/index.php?action=profile;u=98

(not spam I just haven't accumulated 10 posts)
Title: Re: Ultimate Profile
Post by: [unplugged] on February 18, 2010, 11:50:59 AM
I get the following error when visiting that link:

unexpected $end in .../Sources/Profile-View.php on line 2512

You are missing a } somewhere in that file (a function hasn't been closed).


Title: Re: Ultimate Profile
Post by: Suranyi on February 18, 2010, 08:07:10 PM
After getting help yet again another problem pops up.


Fatal error: Cannot redeclare buddies() (previously declared in /home/suranyi/public_html/smf/Sources/Profile-View.php:401) in /home/suranyi/public_html/smf/Sources/Profile-View.php on line 2512

Is there some way I can download a default profile-view.php file, or something similar? This is such a pain >.<
Title: Re: Ultimate Profile
Post by: Suranyi on February 19, 2010, 04:46:01 AM
Never mind fixed, re-downloading the files from the original installation and uploading them fixed the problem :)

I then re-installed the new Ultimate Profile and works like a charm.
Title: Re: Ultimate Profile
Post by: anakmacan on February 21, 2010, 03:56:18 AM
Are there functions for profile rating, photo rating, and buddy only album in this mod ? Bcoz i really want a page for "Most Rated Male/Female Profile" for my forum... how much does it cost to customize it that way ?
Title: Re: Ultimate Profile
Post by: qtime on February 21, 2010, 09:57:09 AM
Which version do I need for smf 1.1.11?
Title: Re: Ultimate Profile
Post by: [unplugged] on February 21, 2010, 10:03:51 AM
The very first one in the list.

http://custom.simplemachines.org/mods/index.php?action=download;mod=1675;id=88604
Title: Re: Ultimate Profile
Post by: qtime on February 21, 2010, 10:05:18 AM
thanks for the fast reply!
Title: Re: Ultimate Profile
Post by: [unplugged] on February 21, 2010, 10:12:01 AM
Thanks for the fast thanks!  ;D
Title: Ultimate Profile language issue
Post by: rhksweorg on February 21, 2010, 05:33:08 PM
Hello

I just installed the Ultimate Profile (ultimate_profile_0-9.zip) on our forum (SMF 1.1.11 ) and it works great in English. However the default language is Swedish and menues etc does not show up in that language.

How do I go about to translate it to Swedish or to make it show in English with my language pack?

Henrik
www.rhkswe.org


Title: Re: Ultimate Profile
Post by: anakmacan on February 24, 2010, 09:22:12 PM
-Nevermind ive made a post in "mod request" (http://www.simplemachines.org/community/index.php?topic=367150.0) section-  ;)


But i want to ask.. how do i delete "ABOUT ME" and "INTEREST" sections from the ultimate profile ? Because my 2.0 custom profile field's enough for it..
And how to make my custom profile field inside a block (like about me/interest block) ?
Title: Re: Ultimate Profile
Post by: Azrael1 on February 25, 2010, 11:56:10 AM
hello,

how i can let open the contact information like icq numer oder msn memberadress in a new window? When i click actually on these links they are open in the same window.

Title: Re: Ultimate Profile
Post by: distante on February 25, 2010, 01:03:41 PM
I just install the mod  into my RC2 forum, but attributes of style like:

<style>
body{
background: url(http://img690.imageshack.us/img690/7195/abstractf.jpg) fixed;
font-family: Georgia;
}

td.titlebg th, td.titlebg {
background: url(http://i36.tinypic.com/iyk51e.jpg) repeat-x;
text-transform:capitalize;
}

#mainarea{
background-color: transparent;
border:0px;
}

#wrapper{
background-color: transparent;
border:0px;
}

.catbg{
background: #0D1925;
border: 1px solid #ccc;
padding: 15px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

.bordercolor{
background-color: transparent;
border:0px;
}

.windowbg2{
/*background-color: transparent;*/
}

#footer{background: transparent;}
#header{background: transparent;}
#logo{background: transparent;}

input, button:hover{
background:#0F1D2A;
color:#FFF;
border:solid 1px #DEDEDE;
font-weight:bold;
height:30px;
line-height:29px;
margin-bottom:14px;
width:191px;
}

.catbg3{background: transparent;border:none;}
.bordercolor{background: transparent;border:none;}
</style>

This Doesn't work anymore, In my RC1.2 forum was all right.

I can't make the default background transparent Any ideas ? :-\
Title: Re: Ultimate Profile
Post by: Yağız... on February 25, 2010, 01:48:43 PM
Remove style tags.
Title: Re: Ultimate Profile
Post by: distante on February 25, 2010, 03:39:35 PM
Nope.

It shows the code look:

(http://img2.pict.com/ea/1c/dc/2958435/0/300/perfil2520de2520distante.png) (http://img2.pict.com/ea/1c/dc/2958435/0/perfil2520de2520distante.png)
Title: Re: Ultimate Profile
Post by: Yağız... on February 25, 2010, 03:49:49 PM
Try that:

Remove from ./Themes/default/UltimateProfile.template.php
// 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 -->

';


Find in ./Sources/Profile-View.php
// Output user's customization code.
Add below this line:
// Output user's customization code.
if (($modSettings['profile_allow_customize'] == 1) && (!empty($context['member']['options']['css'])))
$context['html_headers'] .= '
<style type="text/css">
' . un_htmlspecialchars(@$context['member']['options']['css']) . '
</style>';
Title: Re: Ultimate Profile
Post by: distante on February 25, 2010, 04:02:50 PM
Nop again.

I did the changes but I can't remove the header and/or the background color. :-\
Title: Re: Ultimate Profile
Post by: Yağız... on February 25, 2010, 04:39:13 PM
body{
background: url(http://img690.imageshack.us/img690/7195/abstractf.jpg) fixed;
font-family: Georgia;
}
#body-top { background: transparent; }
#mainbody { background: transparent; }
Title: Re: Ultimate Profile
Post by: distante on February 25, 2010, 04:52:53 PM
Oh yeah, that works! I supposed I have to study a little more css! Thank you  Yağız...
Title: Re: Ultimate Profile
Post by: beltazar on February 27, 2010, 05:59:54 AM
I have this in error log

http://www.ladangtuhan.com/komunitas/index.php?pretty;action=profile8:
Undefined variable: field
File: /home/ldgtuhan/public_html/komunitas/Themes/default/UltimateProfile.template.php
Line: 328


Title: Re: Ultimate Profile
Post by: navjotjsingh on March 04, 2010, 12:00:30 AM
Quote from: SunKing on February 09, 2010, 03:58:57 AM
Quote from: puhastus on February 05, 2010, 05:31:55 AM
Did someone figure out how to integrate Member Awards to Ultimate Profile?

It's fairly easy to add blocks to Ultimate Profile. I don't use use Member Awards, and quickly grew tired of trying to find a version of the mod that the SMF parser would parse. If you provide the code you use to display the awards, I'll set it up in a block for you (that you can move around like any of the other blocks). I have already successfully added Profile Visitors mod to a block (though I have been told that this used to be a standard block). I have also added Google Member Map to a block.

Profiles are not viewable by guests, but if you are interested, you can click here (http://www.empireofthesun.net/forum/index.php?action=profile;u=69). (username:test   password:tester123)


Can you pls share ur code to create custom blocks in this mod? I have setup few custom fields which I want to display in that block only. Pls help.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 04, 2010, 03:32:51 AM
Open UltimateProfile.template.php and at the bottom, just before the ?> add a new function like this:

function up_block_myblockname() {

YOUR CODE GOES HERE

}

The myblockname needs to be any unique name you choose, and is the part that will be added to the top section of the UltimateProfile.php like:

$column_layout = array(

'top' => array(

),

'left' => array(

'summary',

'user_info',

'pictures',

'contact',

'write_comment',

'show_comments',


),

'right' => array(

'other_info',

'buddies',

'about_me',

'interests',

'media',

'membermap',

'visitors',

),

'bottom' => array(


'myblockname',
),

);

myblockname can of course be placed into any block you would like it to be displayed in.
Title: Re: Ultimate Profile
Post by: beltazar on March 04, 2010, 03:34:01 AM
I got this in error log

http://www.ladangtuhan.com/komunitas/index.php?action=profile
8: Undefined variable: field
File: /home/ldgtuhan/public_html/komunitas/Themes/default/UltimateProfile.template.php
Line: 328



Title: Re: Ultimate Profile
Post by: [unplugged] on March 04, 2010, 03:42:26 AM
Can you attach that file please?
Title: Re: Ultimate Profile
Post by: beltazar on March 04, 2010, 04:03:05 AM
here it is
Title: Re: Ultimate Profile
Post by: [unplugged] on March 04, 2010, 04:24:42 AM
Try this one. I just tried it on my test site and received no errors in the log.
Title: Re: Ultimate Profile
Post by: beltazar on March 04, 2010, 06:53:37 AM
thx sunking. it seems fix the error
Title: Re: Ultimate Profile
Post by: [unplugged] on March 04, 2010, 06:57:43 AM
Glad you have it sorted.
Title: Re: Ultimate Profile
Post by: coendeurloo on March 05, 2010, 05:21:15 AM
I tried to find how to install this for a custom theme like Dilbermc, but I just can't get it to work. It installs fine but it doesn't show the extra options, just a clear space in the profile. I've edited the theme's modification.dutch.php (as it is a dutch forum), but it doesn't make a difference...what to do?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 05, 2010, 08:21:18 AM
;) My mother was born in Geleen.

Does that theme have its own profile.template.php? If it does, then you'll need to manually add the edits to that file as well.
Title: Re: Ultimate Profile
Post by: Skinnymojo on March 06, 2010, 01:47:10 AM
Glad to see this mod available for RC 2.0. Just installed it here (http://www.skinnymojo.com/mojoforum/). Works (almost) the way I remember from 1.1.11. However, on the profiles themselves, where there would normally be a member's name/link under their avatar, there is nothing. It's a minor thing, and something I'm sure that's easily fixed, but my PHP knowledge (what little there is to speak of) won't cut it. Any ideas?
Title: Re: Ultimate Profile
Post by: Smartflight on March 06, 2010, 06:33:30 AM
The idea is awesome.

However, after uninstalling Profile Comments, and installing this mod, I get this error on clicking on "Profile"

QuoteDatabase Error

Unknown column 'com.time' in 'field list'
File: /home/ruppi/public_html/Sources/Profile-View.php
Line: 283

Any idea how to solve this?
I'm on SMF 2 RC 2 with Simple Portal 2.3.1
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 04:28:16 PM
I get this error on profiles:
Unknown column 'com.time' in 'field list'
File: /home/othforum/public_html/Sources/Profile-View.php
Line: 257
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 07:47:45 PM
@Skinnymojo
If you mean on the profile summary page, the username is off to the right and not directly underneath it. I could look at moving some code around for you if you'd like to have it underneath.

@Smartflight and PatrickPriest
It looks like both of you have uninstalled Profile Comments and that the uninstall did not remove everything as it should have. Attach your Profile-View.php here and I will try to clean out the leftover code for you.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 08:13:32 PM
thank you for your help.

i did uninstall Profile Comments.

Question... will all the comments from Profile Comments show up in this new Mod... or will they all be deleted?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 08:30:35 PM
@PatrickPriest

That's odd. I do not see any code in there that has been left from Profile Comments. As far as wanting to know if Ultimate Profile will display existing comments, I honestly do not know as I did not have profile comments before installing Ultimate Profile.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 08:40:39 PM
So what do you think the problem might be now?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 08:52:56 PM
Well, I just uploaded your file to my test site and I do not receive that error. Are you sure you've attached the Profile-View.php as it is on your site currently?
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 08:57:16 PM
maybe i grabbed the wrong one.  let's try this one.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 09:34:44 PM
That is the correct file.  ;) All of the code in it actually looks like it's supposed to when compared to my file. I again uploaded your file to my test site and it works. Can you go into your database and verify that the three tables for the profile stuff are there and have the correct prefix (typically smf_)? They should look something like smf_profile_albums, smf_profile_comments, and smf_profile_pictures.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 09:47:06 PM
They are all there.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 09:57:40 PM
Hmm. Does the table structure for smf_profile_comments look like this:

(http://img37.imageshack.us/img37/2050/screenshot1qe.png) (http://img37.imageshack.us/i/screenshot1qe.png/)
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 10:06:52 PM
(http://www.othforums.com/dbstructure.jpg)
the "time" one is missing.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 10:10:48 PM
Aha. And that would 100% explain the error you are getting then. Now at least, we know the cause. Let me dig around a bit and see if I can find a solution.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 10:14:43 PM
Yeah when I saw that, I was like "there is the problem!".  Hopefully a solution will come quick. :)
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 10:26:56 PM
Inside the mod package is a file called database.php. Upload the database.php to your forum's root folder (the same folder containing the SSI.php) and then navigate to it in your browser. It probably won't have any dialog saying it's complete, but it should add the needed columns to the tables.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 10:31:24 PM
Didn't work.
Title: Re: Ultimate Profile
Post by: gbsothere on March 06, 2010, 10:45:49 PM
Just mentioning this to Patrick on my way to bed....   

There is a "table fix" attachment at the bottom of the post linked below and, within that post, instructions on how to use it, which might help.  It is for version 2.0 rc2.  If you're running 1.1.x, I'll attach one for that.  (But the one on this link is the 2.0 rc2 version.)

http://www.simplemachines.org/community/index.php?topic=298641.msg2430651#msg2430651 (http://www.simplemachines.org/community/index.php?topic=298641.msg2430651#msg2430651)

If it does not help, something I have found helpful with this error on my test forum is to upload the upgrade files (that are in the folder of your version of SMF) to your forum's root and point your browser to upgrade.php.  This has corrected the error for me, when the table fix did not.  Worth a try.  Remove those upgrade files from your server, when you're done.

Goodnight and good luck.   :)
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 10:50:09 PM
OK. You need to run this SQL query:

ALTER TABLE `smf_profile_comments` ADD `time`  int(11) NOT NULL AFTER `approved`;

If you use PHPMyAdmin, highlight the appropriate database and then click on the SQL tab. In the textbox, copy/paste the above code exactly as you see it. smf_ needs to be the same as your prefix for your site.

EDIT:  :o There also seems to be a fix for it already set up as pointed out by gbsothere, which seems to do the same thing.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 06, 2010, 11:19:28 PM
PERFECT!!!  It worked.  Thank you for your help guys!
Title: Re: Ultimate Profile
Post by: [unplugged] on March 06, 2010, 11:35:30 PM
(Finally.) Glad it is working for you now. Hopefully, that will also fix Smartflight's issue.
Title: Re: Ultimate Profile
Post by: Skinnymojo on March 07, 2010, 01:28:04 AM
Quote from: SunKing on March 06, 2010, 07:47:45 PM
@Skinnymojo
If you mean on the profile summary page, the username is off to the right and not directly underneath it. I could look at moving some code around for you if you'd like to have it underneath.

I appreciate you getting back with me. What I did instead was uninstalled the theme that was causing the problem (I had altered some of the header), and reinstalled it. Works fantastically now. Thank you, so glad to see it finally available for 2.0.

One quick, mostly unimportant query; on the profile page itself, is it possible to make (for the profile page ONLY) the main divs transparent (or whatever would be necessary) so that the users' backgrounds would become more visible? As it stands currently (using both the default theme, and the MyWay theme), the background is hardly visible, just a couple strips to the left and the right. Like I said, not really a big deal, but if it's fixable (by me, of course), I'd like to know, if it's no trouble.
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 07, 2010, 02:00:56 AM
Ok so...

Now that I have it working, 1 problem and 1 question...

Every comment that existed before I installed the mod (comments from the mod "Profile Comments") have a post date of "December 31, 1969, 08:00:00 PM"... all of them.

Also... are the members able to edit/delete their own comments they post?

Any help would be greatly appreciated.
Title: Re: Ultimate Profile
Post by: Neverhurry on March 07, 2010, 04:00:57 AM
Hi, I installed the latest version of this mod (3.2.2010) for smf 2.0 rc2, but I can not comment anymore, when I write a comment and click save it opens an empty page, the url turns "../index.php?action=profile;area=comment;u=239;add", can anybody with more experience of this mod give me some help? Thanks!
Title: Re: Ultimate Profile
Post by: [unplugged] on March 07, 2010, 06:49:10 AM
Neverhurry, another member here (Stigmartyr) was having the exact same issue. I just went back and read through all of those posts again, but cannot see where the solution was posted. I cannot remember exactly what was done, but I will see if I can find it.
Title: Re: Ultimate Profile
Post by: Neverhurry on March 09, 2010, 06:03:03 AM
Quote from: SunKing on March 07, 2010, 06:49:10 AM
Neverhurry, another member here (Stigmartyr) was having the exact same issue. I just went back and read through all of those posts again, but cannot see where the solution was posted. I cannot remember exactly what was done, but I will see if I can find it.

SunKing, thank you very much.
Will you consider write yourown profile mod? Many people will need it and will of course support you.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 09, 2010, 08:17:43 AM
I would much rather leave the hard work to the professionals :D but I love tweaking and rearranging code to take it one step further. I am still searching for that fix BTW.
Title: Re: Ultimate Profile
Post by: Yağız... on March 09, 2010, 12:43:43 PM
There should be something that Jovan has forgot to add / delete with his new version. I'll try to look into that.
Title: Re: Ultimate Profile
Post by: Paul Cull on March 09, 2010, 06:03:50 PM
Does this version work with RC3... anyone tried it yet?
Title: Re: Ultimate Profile
Post by: lc62003 on March 09, 2010, 07:14:44 PM
Quote from: Paul Cull on March 09, 2010, 06:03:50 PM
Does this version work with RC3... anyone tried it yet?


Yep.   ;)
Title: Re: Ultimate Profile
Post by: anakmacan on March 09, 2010, 08:32:50 PM
The comment section is awful, look : http://www.loners-club.com/profile/NowImHere/
Title: Re: Ultimate Profile
Post by: lc62003 on March 09, 2010, 08:58:39 PM
Could be wrong, but that looks as though the mod and theme disagree.   :-\   I have this on two RC3 forums now with UP and they're fine.   ;)
Title: Re: Ultimate Profile
Post by: gbsothere on March 09, 2010, 09:16:55 PM
Quote from: lc62003 on March 09, 2010, 08:58:39 PM
Could be wrong, but that looks as though the mod and theme disagree.   :-\   I have this on two RC3 forums now with UP and they're fine.   ;)



That's what I was thinking.  One way to tell is for anakmacan to switch over to Curve and see how it looks then.
Title: Re: Ultimate Profile
Post by: anakmacan on March 09, 2010, 09:36:04 PM
Well, you guys are right :/ i have no clue why that could happen... any idea which file i could try to fix ? style.css or what ? ..
Title: Re: Ultimate Profile
Post by: gbsothere on March 09, 2010, 09:39:41 PM
Quote from: anakmacan on March 09, 2010, 09:36:04 PM
Well, you guys are right :/ i have no clue why that could happen... any idea which file i could try to fix ? style.css or what ? ..


If it worked before this last upgrade and isn't working now, you may want to look at your theme's Profile.template.php and make sure UP's edits are there.  Use the parsing instructions found on the mod's page.  (The ones for RC2.)     :)
Title: Re: Ultimate Profile
Post by: anakmacan on March 09, 2010, 09:41:28 PM
cool.. thx a lot ^^
eeeeee, the baby's cute btw <3
Title: Re: Ultimate Profile
Post by: gbsothere on March 09, 2010, 09:42:28 PM
Quote from: anakmacan on March 09, 2010, 09:41:28 PM
cool.. thx a lot ^^
eeeeee, the baby's cute btw <3


Thanks!  Her name's Eliza and she loves her Pappy.  *grin*
Title: Re: Ultimate Profile
Post by: anakmacan on March 09, 2010, 09:49:18 PM
Oh no, it's not in the theme folder. There're only boardindex.template.php, display.template.php, index.template.php, index.php, messageindex.template.php, main.js, menu.js, mootools, js, theme_info.xml.

Im gonna check UP edit in template parser page and see what were changed.
Title: Re: Ultimate Profile
Post by: gbsothere on March 09, 2010, 09:56:48 PM
If your custom mod doesn't have a Profile.template.php file, it will rollback and use the default theme's (Curve) template file (or it should).  Pull Curve's Profile.template.php from your server and check that for the edits. 

:)
Title: Re: Ultimate Profile
Post by: anakmacan on March 09, 2010, 10:14:58 PM
ive checked profile.template.php but the comment codes are comment form codes only to add comment (or not the comment itself), i could be wrong though!
I think this is the one that i must fix (ultimateprofile.template.php) , but i have no idea *lol*

// Only show comments if they have made some!
if (!empty($context['comments'])) {
echo '
<div id="forumposts">
<h3 class="catbg">
<span class="left"></span>
', $txt['profile_comments'] ,'
</h3>';

foreach ($context['comments'] as $comment) {
echo '
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<div class="poster">
<h4><a href="', $scripturl ,'?action=profile;u=', $comment['author']['id_member'] ,'">', $comment['author']['real_name'] ,'</a></h4>
<ul class="reset smalltext">
<li class="avatar" style="overflow: auto;">', $comment['author']['avatar'] ,'</li>
<li>', $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>' : '', '</li>
</ul>
</div>
<div class="postarea">
<div class="flow_hidden">
<div class="keyinfo">
<h5>', $comment['time'] ,'</h5>
</div>
</div>
<div class="post">
<div class="inner">', $comment['body'], '</div>
</div>
<div class="moderatorbar">
<div class="smalltext reportlinks">';

if ($context['can_delete'])
echo '
<a onclick="javascript:return confirm(\'' . $txt['profile_comment_delete_confirm'] . '\')" href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
if ($context['user']['is_owner'])
echo '
&nbsp;&nbsp;&nbsp;<a href="', $comment['reply'], '">', $txt['profile_comment_reply'] ,'</a>';

echo '
</div>
</div>
</div>
</div>
<span class="botslice"><span></span></span>
</div>
<hr class="post_separator" />';
}

echo '
</div>';
} else
echo '
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content" style="text-align: center;">', $txt['profile_comment_no'] ,'</div>
<span class="botslice"><span></span></span>
</div>';

// Show more page numbers.
echo '
<div class="pagesection">
<div class="pagelinks align_left">
', $txt['pages'], ': ', $context['page_index'], '
</div>
</div>';

return true;
} else
return false;
}
Title: Re: Ultimate Profile
Post by: gbsothere on March 09, 2010, 10:17:02 PM
If you'll attach your Profile.template.php here, I'll take a look at it before I shuffle off to bed.   :)
Title: Re: Ultimate Profile
Post by: gbsothere on March 09, 2010, 10:34:11 PM
*leaving a note for anakmacan*

I'm heading off for the evening, but, if you can't get it sorted, do leave your Profile.template.php file here and someone will come along who will be glad to check it for you.  If that file is okay, then they'll point you in the right direction.

;)

Goodnight.

Title: Re: Ultimate Profile
Post by: anakmacan on March 09, 2010, 10:36:00 PM
*THank youuu* give a kiss for eliza from me \(^x^)/

Title: Re: Ultimate Profile
Post by: heinandar on March 10, 2010, 01:14:02 AM
Quote from: anakmacan on March 09, 2010, 10:36:00 PM
*THank youuu* give a kiss for eliza from me \(^x^)/
Hi anakmacan

I would like to suggest to add following code to yourthemes/css/index.css
.poster h4, .poster ul
{
padding: 0;
margin: 0 1em 0 1.5em;
}
.poster h4
{
margin: 0.2em 0 0.4em 1.1em;
font-size: 120%;
}
.poster h4, .poster h4 a
{
color: #c06002;
}
.poster ul ul
{
margin: 0.3em 1em 0 0;
padding: 0;
}
.poster ul ul li
{
display: inline;
}
.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul
{
margin-top: 0.5em;
}
.poster li.warning
{
line-height: 1.2em;
padding-top: 1em;
}
.poster li.warning a img
{
vertical-align: bottom;
padding: 0 0.2em;
}


you can trick for your themes ( vbulletin style poster area) with plyaing above code.
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 07:06:32 AM
Quote from: anakmacan on March 09, 2010, 10:36:00 PM
*THank youuu* give a kiss for eliza from me \(^x^)/



anakmacan, your Profile.template.php file is fine, and, in the light of day, of course, it would be.  It dawns on me, now, that you said UP did work on Curve; just not on your custom theme.  The code that heinandar suggests just may be all that you need. 

If not, then if your custom theme has a Modifications.english.php file in its language folder, make sure that UP's edits are in it. 

Good luck with it.   :)


Edit to say:  Of course heinanadar's suggestion is in the right direction.  Another look at your link shows that the function is there; it's the appearance of it that's off.  (I hope I actually wake up, this morning.)  *grin*
Title: Re: Ultimate Profile
Post by: Paul Cull on March 10, 2010, 02:08:26 PM
I´m sure I´ve seen this mentioned somewhere here in the forum, but can't find the answer... I´ve just added UP to my rc3 board, and activated it as default for all new users. However, the "Ultimate Profile" menu isnt appearing on the "Modify Profile" menu for either new or existing members.

I've checked that this happens in both English and Portuguese language settings.

Any suggestions?

Edit: I thought it was something to do with my using a custom theme, but my two admin accounts - which probably already had UP activated - have the UP menu showing up fine.
Title: Re: Ultimate Profile
Post by: JovanT on March 10, 2010, 02:58:47 PM
You should set permissions for Ultimate Profile.


Also, I will release RC3 version of Ultimate Profile in a few days. It will include a few bug-fixes so, stay tuned.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 10, 2010, 03:14:58 PM
Looking forward to it. It installed flawlessly to my RC3, btw. Lots of mods and a very custom theme.
Title: Re: Ultimate Profile
Post by: Paul Cull on March 10, 2010, 04:22:41 PM
Thanks for the quickly reply Jovan... sorry but I can't find out just what you mean by setting permissions for Ultimate Profile... is this some SMF admin option that I am missing?
Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 04:29:58 PM
Can someone explain a little something to me.  I'm new to using cPanel and coding php.  I've figured a little out so far. 

Anyways, I added this Ultimate Profile Package to my forum, installed and applied Mod just fine, no errors.  But I don't see the option anywhere.  Not my adminCP or on profile pages :(

I'm on SMF 1.1.11 , I used the ( ultimate_profile_0-9.zip ) version.

Are there further steps I'm suppose to take?  Please take into account, I'm new to this. 
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 04:31:19 PM
Quote from: Paul Cull on March 10, 2010, 04:22:41 PM
Thanks for the quickly reply Jovan... sorry but I can't find out just what you mean by setting permissions for Ultimate Profile... is this some SMF admin option that I am missing?



He means going into each membergroups' permissions and, under Member Profiles, allowing them to Edit Ultimate Profile.

:)
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 04:36:28 PM
Quote from: hcfwesker on March 10, 2010, 04:29:58 PM
Can someone explain a little something to me.  I'm new to using cPanel and coding php.  I've figured a little out so far. 

Anyways, I added this Ultimate Profile Package to my forum, installed and applied Mod just fine, no errors.  But I don't see the option anywhere.  Not my adminCP or on profile pages :(

I'm on SMF 1.1.11 , I used the ( ultimate_profile_0-9.zip ) version.

Are there further steps I'm suppose to take?  Please take into account, I'm new to this.



Hi!

Under Features and Options (in your forum's Admin area) click on the Ultimate Profile tab and check to Enable Ultimate Profile.  There are other checkboxes there, as well, such as allow pictures, media box, etc. that you may want to check.  Then go into each membergroup's permissions and check under Member Profiles to allow them to Edit Ultimate Profile. 

:)
Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 05:44:53 PM
That's the problem, it doesn't even appear in the admin center.   I installed it succesfully on the forum.  But I have a test forum, where an admin went through and manually added each edit in each php file, the admin option popped up, as well as the option in member's profiles, but the actual profile page is displaying a small error box.

DATABASE ERROR:
Unknown column 'com.time' in 'field list'
File: /home/hcf/public_html/Sources/Profile.php
Line: 1389

I looked through and had no idea what the error could be in the file.

Alos, that's just for my test forum.  I still have yet to get any options to appear on my main forum :(

Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 05:48:41 PM
Quote from: hcfwesker on March 10, 2010, 05:44:53 PM
That's the problem, it doesn't even appear in the admin center.   I installed it succesfully on the forum.  But I have a test forum, where I just went through and manually added each edit in each php file, the admin option popped up, as well as the option in member's profiles, but the actual profile page is displaying a small error box.

DATABASE ERROR:
Unknown column 'com.time' in 'field list'
File: /home/hcf/public_html/Sources/Profile.php
Line: 1389

I looked through and had no idea what the error could be in the file.

Alos, that's just for my test forum.  I still have yet to get any options to appear on my main forum :(



For that error, hcfwesker, download the attached table_fix.zip and just install it via your package manager, then see if it clears up the error.

Also, please attach the ModSettings.php from your server. 

:)
Title: Re: Ultimate Profile
Post by: Paul Cull on March 10, 2010, 06:00:21 PM
Thanks gbsothere... I mustn't have had enough Brazilian coffee today (or maybe too much!) - do you mean the  * Administration Center »    * Membergroups » * Edit Membergroups options? Under the various member categories (newbie etc).. I dont see anything there about Member profiles.

Or should I be looking somewhere else?

I´m using 2.0 RC3.

Once again, thanks for the help.

Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 06:10:08 PM
Quote from: Paul Cull on March 10, 2010, 06:00:21 PM
Thanks gbsothere... I mustn't have had enough Brazilian coffee today (or maybe too much!) - do you mean the  * Administration Center »    * Membergroups » * Edit Membergroups options? Under the various member categories (newbie etc).. I dont see anything there about Member profiles.

Or should I be looking somewhere else?

I´m using 2.0 RC3.

Once again, thanks for the help.



Hi, Paul!

I could use some Brazilian coffee, right about now.   ;)


Just click on your Admin tab and then scroll down to Permissions (in the Members section).  Then you can click on the names of each membergroup (such as Regular Members) and under the Member Profiles section check "Edit Ultimate Profile".



EDIT:  Paul, if you've not seen this yet, I'm editing to say that I said "scroll down to Permissions" because I keep my RC2 test board Admin center in the "old view".  You may also just click the Members tab, then General Permissions and then proceed from there.

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 06:15:42 PM
The table file worked.  Don't know how you knew to do that.  Brilliant.  At least now I can test to see how all it's features work.

but now there's the issue of getting it on the actual site :(

The package was installed successfully, but no options are appearing anywhere.

Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 06:24:57 PM
Quote from: hcfwesker on March 10, 2010, 06:15:42 PM
The table file worked.  Don't know how you knew to do that.  Brilliant.  At least now I can test to see how all it's features work.

but now there's the issue of getting it on the actual site :(

The package was installed successfully, but no options are appearing anywhere.



Could you pull your ModSettings.php file from your server and attach it here and let me know what other mods you have installed?
Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 06:53:30 PM
Mod Name   Version   
1.   YouTube BBCode   2.5.1     [ Uninstall ] [ List Files ] [ Delete ]
2.   Remove SMF Logo   1.301     [ Uninstall ] [ List Files ] [ Delete ]
3.   cbi, 1.0   1.0a     [ Uninstall ] [ List Files ] [ Delete ]
4.   Member Awards   1.1.2     [ Uninstall ] [ List Files ] [ Delete ]
5.   Global Headers Footers   2.0     [ Uninstall ] [ List Files ] [ Delete ]
6.   Member Color Link   3.0.8     [ Uninstall ] [ List Files ] [ Delete ]
7.   Ultimate Profile   0.9     [ Uninstall ] [ List Files ] [ Delete ]
8.   Custom Profile Fields Improved   1.5     [ Uninstall ] [ List Files ] [ Delete ]

Those are the Packages I have installed so far, ones marked in red don't work.

I'll attach my ModSettings.php file.

Thank You for your help so far.   I'm planning a conversion from proboards, and already tested successfully, but I want to have SMF ready before the actual move.  but all I have ever worked on before was proboards :(



 
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 06:54:59 PM
Give me just a second and I'll stare at it and see if I can see any errors.   :)
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 07:03:55 PM
I did see one thing in the wrong place, hcfwesker, and changed it.  Upload the one attached below to your smf Sources directory and then click on your Admin tab, then on the left, under Configurations, click on Features and Options and see if you see an Ultimate Profile tab over to one side (where you see Basic Features, Layout and Options, etc.). 

Title: Re: Ultimate Profile
Post by: Paul Cull on March 10, 2010, 07:12:50 PM
Awesome, that worked... thanks so much!
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 07:14:34 PM
Quote from: Paul Cull on March 10, 2010, 07:12:50 PM
Awesome, that worked... thanks so much!


(http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 07:31:10 PM
Still nothing.  I did forget to mention, that I can see where the option is suppose to go under the modify profile page.  You can't see the link for the option, but the space for the option is there.

But, yeah, still no option in the admincp. 

I'm wondering if I should delete my forum, re-install SMF, and just start everything over?

Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 07:32:18 PM
Quote from: hcfwesker on March 10, 2010, 07:31:10 PM
Still nothing.  I did forget to mention, that I can see where the option is suppose to go under the modify profile page.  You can't see the link for the option, but the space for the option is there.

But, yeah, still no option in the admincp. 

I'm wondering if I should delete my forum, re-install SMF, and just start everything over?


What language is your forum set to?  Also, are you using a custom theme?

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 07:38:19 PM
I would assume English, and yes, I have a custom theme i added, but modified some touches, but only in the css template.  The theme was Absado ; that i added.

I'm going to send you a PM, after a bit, bud.
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 07:41:36 PM
Quote from: hcfwesker on March 10, 2010, 07:38:19 PM
I would assume English, and yes, I have a custom theme i added, but modified some touches, but only in the css template.  The theme was Absado ; that i added.

I'm going to send you a PM, after a bit, bud.


If you go to Admin, Server Settings and look at Default Forum Language, that's where you'll find that setting for language.

Using a custom theme, your Profile.template.php for that theme will have to be manually edited with Ultimate Profile's parsing instructions and, if your theme has a language file (Modifications.english.php) that will have to be edited, as well.  If it does not have these files, it should roll back to Default's, but if it does, you'll have to edit.

Change your forum over to the Default theme and see if Ultimate Profile shows up, then?

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 08:00:37 PM
Default language is English-Utf8

I'll see about editing the file's from the parsing instructions from the MOD.

I switched to default, and still nothing. 

I'll report back after I edit the corresponding files.
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 08:02:55 PM
Quote from: hcfwesker on March 10, 2010, 08:00:37 PM
Default language is English-Utf8

I'll see about editing the file's from the parsing instructions from the MOD.

I switched to default, and still nothing. 

I'll report back after I edit the corresponding files.



Either change your forum language to just English, or copy the contents of your Modifications.english.php (from your server) and save it as Modifications.english-utf8.php and upload it to your theme's language folder (and also to Default's language folder, in case you switch back to it at some later time). 

Try that, in addition to parsing your theme's Profile.template.php.


:)
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 08:57:19 PM
*leaving note for hcfwesker*

I just logged into your forum with the log in details you gave me and changed your language setting to plain English, just to see how this affected things.  With the setting changed, Ultimate Profile appears in Features and Options and is enabled.  (You will still need to go to Permissions and to each membergroup (i.e., Regular Members, etc.) and under Member Profiles, check "Edit Ultimate Profile" in order for your members to use it.

You can either set your language back to English-Utf8 and follow the suggestion in my previous post or leave it at that setting, but your theme's Profile.template.php will still need to be parsed (if your theme has that file).  This is probably the problem with some of your other mods not working.

:)

*heading off for supper*

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 09:04:07 PM
Bro.  I'm fixing to start crying :D

I made those edits like you said, and finally, BOTH custom profile fields and the ultimate profile options appeared on my site.  :)

I am in debt to you, bud.  And, my offer still stand :P

Thanx so much, bro!  I'll be keeping in contact :)

EDIT:::

Awwww, it was you :D  I thought I did something right,  LMAO  :D

A million thanx, bud :)





Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 09:07:09 PM
Quote from: hcfwesker on March 10, 2010, 09:04:07 PM
Bro.  I'm fixing to start crying :D

I made those edits like you said, and finally, BOTH custom profile fields and the ultimate profile options appeared on my site.  :)

I am in debt to you, bud.  And, my offer still stand :P

Thanx so much, bro!  I'll be keeping in contact :)



Note that I did change your language setting in your Admin panel, so you may want to change it back. 

The thing is, hcfwesker, that if you want to use English-Utf8, then you'll need to have that file Modifications.english-utf8.php in your theme's language folder and if you're going to use a custom theme, always manually add the mod's edits to any template file that the mod calls for that your theme also uses.  If your theme doesn't have it, then it will roll back to Default, so that will be okay, but always edit for your theme, if you have those template files that the mod calls for.

All of your other mods will probably work, if you do this.   :)

Good luck with your new SMF forum!  (http://whereitestmystuff.com/images/thumb.gif)
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 09:12:09 PM
Quote from: hcfwesker on March 10, 2010, 09:04:07 PM
EDIT:::

Awwww, it was you :D  I thought I did something right,  LMAO  :D

A million thanx, bud :)



*laughing*

No, if you did what I suggested below, you'd be safe to change the language back to Utf8, so good job. 

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 09:21:51 PM
Dude, me and my co-admin are on cloud 9 right now after your help. 

But, i seen the "custom profile" in the adminCP, then when I just went back it disappeared.  I know this is not the place for support on that.  But it was there, then i cam here to reply, and went back, and it was gone.  :(

Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 09:29:19 PM
Quote from: hcfwesker on March 10, 2010, 09:21:51 PM
Dude, me and my co-admin are on cloud 9 right now after your help. 

But, i seen the "custom profile" in the adminCP, then when I just went back it disappeared.  I know this is not the place for support on that.  But it was there, then i cam here to reply, and went back, and it was gone.  :(



Let me log back in and take a look at it.

EDIT:  I see it, but your forum language is also still at English (not utf8).  We may be "passing each other" making changes, but, for now, I can see it just fine.  Force a refresh and check again.

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 09:54:11 PM
I didn't mess with anything once everything showed up.  It's like it vanished out of nowhere :D

Maybe I'll make the changes to both the english.php & english-utf8 files if that'll help?

What's a Force Refresh, or mean just refresing the page?  Cause it's still not showing for me.
Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 09:55:49 PM
Quote from: hcfwesker on March 10, 2010, 09:54:11 PM
I didn't mess with anything once everything showed up.  It's like it vanished out of nowhere :D

Maybe I'll make the changes to both the english.php & english-utf8 files if that'll help?

What's a Force Refresh, or mean just refresing the page?  Cause it's still not showing for me.


It's that site you PMd me, right?  (I know you have several).

Title: Re: Ultimate Profile
Post by: hcfwesker on March 10, 2010, 10:02:40 PM
Man, I'm not used to this fast response time, lol.  Usually on proboards you wait about 2days for a reply :D

Yes.  The site i PM'd you with the log in details.

Title: Re: Ultimate Profile
Post by: gbsothere on March 10, 2010, 10:04:13 PM
Quote from: hcfwesker on March 10, 2010, 10:02:40 PM
Man, I'm not used to this fast response time, lol.  Usually on proboards you wait about 2days for a reply :D

Yes.  The site i PM'd you with the log in details.


Well, tell you what....   I'm logged into your site right now, the "brawl" site, so let's just move this over to PMs there (on your site) and I'll walk you through it.   That way, we won't be chasing each other all over the Internet.

:D
Title: Re: Ultimate Profile
Post by: anakmacan on March 10, 2010, 11:59:26 PM
Heinander : -Edit- oops, it's still messed up.
but thanks anyway..

Title: Re: Ultimate Profile
Post by: anakmacan on March 11, 2010, 03:23:39 AM
Problem's solved *hopefully* Turns out that my theme's not for rc2 but it's for 2.0rc1... so i just copy rc1 comment codes and paste them into my ultimateprofile.templpte.php.
Title: Re: Ultimate Profile
Post by: meko me on March 11, 2010, 09:34:05 AM
update fr RC3 please :)
Title: Re: Ultimate Profile
Post by: [unplugged] on March 11, 2010, 09:45:13 AM
It installed just fine to RC3 if you used the Advanced link at the bottom right of the list of installed mods. Change it to say SMF 2.0 RC3 and then install the mod. Works perfectly.
Title: Re: Ultimate Profile
Post by: shojikun on March 11, 2010, 10:39:30 AM
just wondering how to add buddies?
Title: Re: Ultimate Profile
Post by: hcfwesker on March 11, 2010, 01:21:39 PM
Quotejust wondering how to add buddies?
In the admin area on the forum, you'll have to goto Features & Options, under "basic features" ; select the box to Enable buddy lists.

Once enabled ... on a member's profile page, under the Heading "Contact Me"  there should be a link 

[Add To Buddy List]

^ click that.
Title: Re: Ultimate Profile
Post by: xmathewx75 on March 11, 2010, 06:57:23 PM
oi have this xfire mod and its not showing in the ultmate profile :( can you please tall how to make the ultimate porfile take mods in it? so my xfire work on it
Title: Re: Ultimate Profile
Post by: xmathewx75 on March 12, 2010, 09:10:45 AM
please?
Title: Re: Ultimate Profile
Post by: Yağız... on March 12, 2010, 11:56:08 AM
Which Xfire mod are you using?
Title: Re: Ultimate Profile
Post by: xmathewx75 on March 12, 2010, 12:39:19 PM
im useing this Xfire Mod (http://custom.simplemachines.org/mods/index.php?mod=1161) and im useing verion 1.1.11 and Theme (http://custom.simplemachines.org/themes/index.php?lemma=804)
Title: Re: Ultimate Profile
Post by: LC on March 12, 2010, 07:41:52 PM

I kept getting errors while trying to install this on rc3..  :-\


http://.com/index.php?action=admin;area=packages;sa=install2;package=ultimate_profile-0-9-1_20rc2.zip;pid=02: opendir(/home/site/Packages/temp/profile_pictures) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directoryFile: /home/site/Sources/Subs-Package.php
Line: 1662
   
http:///index.php?action=admin;area=packages;sa=install2;package=ultimate_profile-0-9-1_20rc2.zip;pid=02: opendir(/home/site/Packages/temp/Themes) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directoryFile: /home/site/Sources/Subs-Package.php
Line: 1662
   


http://.com/index.php?action=admin;area=packages;sa=install2;package=ultimate_profile-0-9-1_20rc2.zip;pid=02: opendir(/home/site/Packages/temp/Sources) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directoryFile: /home/site/Sources/Subs-Package.php
Line: 1662
Title: Re: Ultimate Profile
Post by: Jesus Friends on March 13, 2010, 01:45:33 AM
It's a wonderful work man .... thank you
I'd just added the arabic file for the mod ...

Here is the Modifications.arabic-utf8.php addition

Quote//Start Ultimate Profile Mod
$txt['ultimate_profile'] = 'الصفحة الشخصية';
$txt['permissionname_edit_ultimate_profile'] = 'تعديل الصفحة الشخصية';
$txt['permissionname_edit_ultimate_profile_own'] = 'صفحته فقط';
$txt['permissionname_edit_ultimate_profile_any'] = 'أية صفحة';
$txt['permissionhelp_edit_ultimate_profile'] = 'هذه الصفحة تسمح للعضو بتعديل الصفحة الشخصية';
$txt['cannot_edit_ultimate_profile_own'] = 'ليست لديك الصلاحية بتعديل صفحتك الشخصية';
$txt['cannot_edit_ultimate_profile_any'] = 'ليست لديك الصلاحية بتعديل صفحة شخصية أخرى';

and the attached file is UltimateProfile.arabic-utf8.php

But I have a question about editing the direction to (rtl) for the block which contains the basic profile details at the preview page such as name, posts, date of registration, last login ...

Please Help ..
Greetings,
Title: Ultimate Profile - Configuration button
Post by: jay.clark on March 14, 2010, 12:57:58 PM
Need some help, I think this is probably something to do with language files, however I am a bit skittish about changing stuff I don't really understand.

I run a number of public service systems, recently I upgraded them to RC2, and things seemed to go pretty well.

However on one of them I cannot see the configuration button for Ultimate Profile, and on another I can see it, they are both pretty much the same.

On the system where I cannot see the configuration button I do see that Ultimate profile seems to be active but users cannot make changes to the content, and the admin account cannot configure the settings for the mod.

(http://www.exreps.com/News/images/Ultimate.jpg)

I am running 2.0 RC2 on both sites, the site that I am having problems with was upgraded from 1.11, the site with no problems was a fresh 2.0 RC2 install.

Mods on the problem site are:
1.  Ultimate Profile      0.9.1     
2.     SMF Links     2.1.2.1     
3.     Stop Spammer     2.3.7     
4.     SMF Gallery Lite     2.0.12     
5.     SimplePortal     2.3.1     
6.     Ad Managment     2.3.6.1     

jayr


Title: Re: Ultimate Profile - Configuration button
Post by: Skinnymojo on March 14, 2010, 02:59:34 PM
Quote from: jay.clark on March 14, 2010, 12:57:58 PM
Need some help, I think this is probably something to do with language files, however I am a bit skittish about changing stuff I don't really understand.


jayr

Have you tried uninstalling/reinstalling UP for the uncooperative site?
Title: Re: Ultimate Profile
Post by: perplexed on March 14, 2010, 03:04:07 PM
The profile fields referred to in your screenshots refer to the profile fields that are part of 2.0.  The settings for Ultimate profile are under Modification settings which is in the list on the left hand side just after themes
Title: Re: Ultimate Profile - Configuration button
Post by: jay.clark on March 14, 2010, 05:17:47 PM
Quote from: Skinnymojo on March 14, 2010, 02:59:34 PM
Have you tried uninstalling/reinstalling UP for the uncooperative site?

Yeah, I tried the uninstall/reinstall a couple of times, also noticed that there was an update to Ultimate Profile available so I got that, uninstalled the 0.9, deleted it and put in the 0.9.1 and no change

jayr
Title: Re: Ultimate Profile
Post by: jay.clark on March 14, 2010, 05:31:50 PM
Quote from: perplexed on March 14, 2010, 03:04:07 PM
The profile fields referred to in your screenshots refer to the profile fields that are part of 2.0.  The settings for Ultimate profile are under Modification settings which is in the list on the left hand side just after themes

It might be that there is a problem with the SMF install, you are right that the missing choice on the menu relates to the standard SMF profiles, however when Ultimate Profile gets installed there are some additional choices added to it which let me set up custom fields in the profile.

Since the base choice is missing does this mean I have to go back and tweak the SMF install some more?

I kinda suspect that I do.

Doing the upgrade from 1.11 to 2.0 RC2 does not bring in the curve template that comes with 2.0 and I suspect that the problems that I had before were related to not having the right default template to start with after the upgrade.

I tried to find somewhere to download the generic curve template and was not terribly successful.

jayr
Title: Re: Ultimate Profile
Post by: perplexed on March 14, 2010, 05:39:07 PM
the curve template is the new 2.0 default theme, so you should have it with the upgrade.  I had some issues with one of my forums where it did install but not with the word "curve".  I would uninstall your mods, reupload the files for the upgrade again and I think from memory you might have to run the upgrade again, sorry it was a few months back for me.  Back up your database beforehand of course.  Then make sure everything is working as it should before you install any mods or additional themes. 
Title: Re: Ultimate Profile
Post by: ~DS~ on March 15, 2010, 05:04:28 PM
Since this was updated to RC3 in the Mod site, what's the changelogs?
Title: Re: Ultimate Profile
Post by: diamondred123 on March 15, 2010, 05:16:17 PM
i want it, but i want some images to preview, if you have some then send me on message
Title: Re: Ultimate Profile
Post by: Chas Large on March 15, 2010, 05:36:33 PM
I had to reinstall my mods following an upgrade to SMF 2.0 RC3 and the current mod for either RC2 or RC3. does not have the fix in it for the display of buddies avatars in the UP buddies area. This only applies to avatars which buddies have uploaded to their own profile, URL linked or SMF supplied avatars show OK.

Just in case anyone else has this problem, here is the fix.

In profile-view.php

find two instances of:
attachmentType

change them both to:
attachment_type
Title: Re: Ultimate Profile
Post by: PatrickPriest on March 16, 2010, 05:38:27 PM
Is there a way to add a feature to Report Comments to Moderators?
Title: Re: Ultimate Profile
Post by: JovanT on March 16, 2010, 07:05:20 PM
Quote from: Dismal Shadow on March 15, 2010, 05:04:28 PM
Since this was updated to RC3 in the Mod site, what's the changelogs?
- fixed issue with avatars not showing in user's buddy list
- better support for custom fields
- two new language strings for better understanding of simple permissions
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 16, 2010, 08:33:26 PM
just installed the version for RC3. Everything seems to work fine but I have a problem adding comment to members profile.

When I add a comment it stop on a white page and just hangs there, even refresh wont take me back to the profile. I have to go back and the post comment does not take.

Screen shot attached
Title: Re: Ultimate Profile
Post by: rlh2006 on March 16, 2010, 08:56:04 PM
1up Forum is running RC1.2. We tried to do an upgrade to RC3, but one of the problems was that ALL of the user's profiles reset. In other words, each user would have to re customize their profile again. Of course, I could personally spend two or three agonizing days doing it one as the admin ---is there some way to preserve the user's custom profiles when we upgrade? Help.

As one person has commented to me about this problem,

         "Only problem as I said before will be the preservation of the current data in
         mods like ultimate profile. I have a very bad feeling that there will be no way
         to preserve the data but we will see."

What solution is there to this? Please. This is just about the only thing holding us up from upgrading to RC3.
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 16, 2010, 09:08:52 PM
I have upgraded MANY times since 8.5 and have NEVER lost any data. I dont believe that it drops any table in the database when you uninstall, then reinstall to a current version.
Title: Re: Ultimate Profile
Post by: rlh2006 on March 16, 2010, 09:37:12 PM
Quote from: mrtrc266 on March 16, 2010, 09:08:52 PM
I have upgraded MANY times since 8.5 and have NEVER lost any data. I dont believe that it drops any table in the database when you uninstall, then reinstall to a current version.

Okay then. We shall c how it goes. All I am waiting on now is the build of a custom theme. Hopefully all will go well sometime next week. Then I will return to this thread and post what happened, good or bad.
Title: Re: Ultimate Profile
Post by: JovanT on March 17, 2010, 10:50:46 AM
Quote from: mrtrc266 on March 16, 2010, 08:33:26 PM
just installed the version for RC3. Everything seems to work fine but I have a problem adding comment to members profile.

When I add a comment it stop on a white page and just hangs there, even refresh wont take me back to the profile. I have to go back and the post comment does not take.

Screen shot attached

Do you have AEVA mod installed?
Title: Re: Ultimate Profile
Post by: LC on March 17, 2010, 06:35:23 PM
Mod works ok on my RC3 forum except for the fact that it won't render CSS customization.  ???

Perhaps it did not change a file where it should have. If someone could point me in the right direction, I would be grateful.

All permissions are set, no difference. No errors in the log either.

Title: Re: Ultimate Profile
Post by: mrtrc266 on March 18, 2010, 01:18:32 AM
Quote from: JovanT on March 17, 2010, 10:50:46 AM
Quote from: mrtrc266 on March 16, 2010, 08:33:26 PM
just installed the version for RC3. Everything seems to work fine but I have a problem adding comment to members profile.

When I add a comment it stop on a white page and just hangs there, even refresh wont take me back to the profile. I have to go back and the post comment does not take.

Screen shot attached

Do you have AEVA mod installed?

As a matter of fact I do
Title: Re: Ultimate Profile
Post by: Cruiser57 on March 18, 2010, 08:04:17 AM
Hello,
The 0.9-Version works fine to me, except a little Problem...
In the Media-Field of my Ultimate-Profile,  I try to add a Flash-Video with a own player from the HP.
Looks like that:
   <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
      <param name="movie" value="player.swf" />
      <param name="allowfullscreen" value="true" />
      <param name="allowscriptaccess" value="always" />
      <param name="flashvars" value="file=video.flv&image=preview.jpg" />
      <embed
         type="application/x-shockwave-flash"
         id="player2"
         name="player2"
         src="player.swf"
         width="400"
         height="315"
         allowscriptaccess="always"
         allowfullscreen="true"
         flashvars="file=video.flv&image=preview.jpg"
      />
   </object>

Well, the Media-Box  changes the "&"  to  "&amp;"  and also the Class-Id gets a denied: after the " for each time, I save the Profile...
Looks classid="denied:denied:denic:clsid:D2   after 3 save


That doesn't bother the Firefox,  but makes the Script unusable to the Internet-Explorer. (The object works fine, if directly used in HTML-Pages)
(The Media-Box looses also some JAVA-Script commands ?!?!?)

Is the any workaround or solution for that ?

Thanks for any hint,
Tom
Title: Re: Ultimate Profile
Post by: [unplugged] on March 18, 2010, 09:37:32 AM
I have installed this on RC3 with no problems at all. The CSS works as expected. I used

<style>
body {background:red;}
</style>

just as a test and it works fine. Also, comments work fine for me and I have Aeva installed. Just thought I would point these out in hopes of helping to keep a great mod great.
Title: Re: Ultimate Profile
Post by: Chas Large on March 18, 2010, 01:09:04 PM
Hi JovanT,

I have just updated an SMF 2 RC-2 forum with the mod file ultimate_profile-0-9-1_20rc2.zip from the mod site downloaded today. I uninstalled 0-9 that was working OK before then installed this new version.

Here are some interesting problems with this.

1. The fix for Buddies Uploaded Avatars is not in that file, they are still not showing. Search of the newly updated profile.view.php file shows there are still two instances of  "attachmentType" present. Manually editing them fixes it.

2. The profile fields are now extending to the right of the forum as seen in the attachment. Is there some change that has been made in 0-9-1 that has caused this problem

Title: Re: Ultimate Profile
Post by: JovanT on March 18, 2010, 02:28:04 PM
Quote from: mrtrc266 on March 18, 2010, 01:18:32 AM
Quote from: JovanT on March 17, 2010, 10:50:46 AM
Do you have AEVA mod installed?
As a matter of fact I do
One user also had this problem - blank page on posting comments. It occurs both on profile and picture comments. The solution was to comment (surround with /* and  */) or delete parts that are calling AEVA's functions. I tried to reproduce this problem with the newest AEVA media modification but I had no luck - everything working great. Please upgrade AEVA and see if that helps. If that doesn't work, just comment out AEVA parts located in Profile-Actions.php and Profile-Pictures.php. If you can't find it, let me know and I will help you.


Quote from: LC on March 17, 2010, 06:35:23 PM
Mod works ok on my RC3 forum except for the fact that it won't render CSS customization.  ???
Can you paste example of your CSS code here? As SunKing said, you have to enclose your CSS with <style> and </style> tags.


Quote from: Cruiser57 on March 18, 2010, 08:04:17 AM
Hello,
The 0.9-Version works fine to me, except a little Problem...
In the Media-Field of my Ultimate-Profile,  I try to add a Flash-Video with a own player from the HP.

Well, the Media-Box  changes the "&"  to  "&amp;"  and also the Class-Id gets a denied: after the " for each time, I save the Profile...
Looks classid="denied:denied:denic:clsid:D2   after 3 save


Is the any workaround or solution for that ?
Ultimate Profile uses htmLawed (http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed) to filter any potentially malicious HTML codes. Also, JavaScript isn't allowed for security reasons. This embed code probably uses some tags/attributes that are not white-listed. I guess this class can be changed to accept those.


@Chas Large
The file ultimate_profile-0-9-1_20rc2.zip is old and is not updated. The version that contains fixes I've listed above is ultimate_profile-0-9-1_20rc3.zip. If you are using older version, you will have to fix those bugs manually.
HTML in UltimateProfile.template.php is cleaned up in 0.9.1. However, the problems you are experiencing are strange. Are those present on every profile?
Title: Re: Ultimate Profile
Post by: Chas Large on March 18, 2010, 05:12:43 PM
Quote from: JovanT on March 18, 2010, 02:28:04 PM
.. snipped..
@Chas Large
The file ultimate_profile-0-9-1_20rc2.zip is old and is not updated. The version that contains fixes I've listed above is ultimate_profile-0-9-1_20rc3.zip. If you are using older version, you will have to fix those bugs manually.
HTML in UltimateProfile.template.php is cleaned up in 0.9.1. However, the problems you are experiencing are strange. Are those present on every profile?
OK, understood. Have replaced the two instances and buddies avatars are OK now. The problem with the extending profile is only present with members who have many images in their profile pictures. As you can see on the attachment, several of the images are repeated and this seems to be why the width is extended. Members with 6 or more images suffer from this problem. It's not present in the RC-3 profiles, tested in another test forum.
Title: Re: Ultimate Profile
Post by: Chas Large on March 18, 2010, 06:10:57 PM
Quote from: Chas Large on March 18, 2010, 05:12:43 PM
Quote from: JovanT on March 18, 2010, 02:28:04 PM
.. snipped..
@Chas Large
The file ultimate_profile-0-9-1_20rc2.zip is old and is not updated. The version that contains fixes I've listed above is ultimate_profile-0-9-1_20rc3.zip. If you are using older version, you will have to fix those bugs manually.
HTML in UltimateProfile.template.php is cleaned up in 0.9.1. However, the problems you are experiencing are strange. Are those present on every profile?
OK, understood. Have replaced the two instances and buddies avatars are OK now. The problem with the extending profile is only present with members who have many images in their profile pictures. As you can see on the attachment, several of the images are repeated and this seems to be why the width is extended. Members with 6 or more images suffer from this problem. It's not present in the RC-3 profiles, tested in another test forum.
Right, problem solved. When I uninstalled 0.9 and installed 0.9.1 the previous install could not have been completed correctly, despite the message to say it was, as a lot of the code was still there. I followed the manual install instructions, found all the code in the profile.view.php, removed it and then added the code as it should be. All is now well.
Title: Re: Ultimate Profile
Post by: LC on March 18, 2010, 07:35:01 PM
Quote from: JovanT on March 18, 2010, 02:28:04 PM

Quote from: LC on March 17, 2010, 06:35:23 PM
Mod works ok on my RC3 forum except for the fact that it won't render CSS customization.  ???
Can you paste example of your CSS code here? As SunKing said, you have to enclose your CSS with <style> and </style> tags.
Quote from: SunKing on March 18, 2010, 09:37:32 AM
I have installed this on RC3 with no problems at all. The CSS works as expected. I used

<style>
body {background:red;}
</style>

just as a test and it works fine. Also, comments work fine for me and I have Aeva installed. Just thought I would point these out in hopes of helping to keep a great mod great.
Yea, that worked, adding the style tags that is. The only reason I didn't have them in there before is because a previous version of this mod automatically rendered the style tags.
Title: Re: Ultimate Profile
Post by: Cruiser57 on March 19, 2010, 01:56:34 AM
Quote from: JovanT on March 18, 2010, 02:28:04 PM

Quote from: Cruiser57 on March 18, 2010, 08:04:17 AM
Hello,
The 0.9-Version works fine to me, except a little Problem...
In the Media-Field of my Ultimate-Profile,  I try to add a Flash-Video with a own player from the HP.

Well, the Media-Box  changes the "&"  to  "&amp;"  and also the Class-Id gets a denied: after the " for each time, I save the Profile...
Looks classid="denied:denied:denic:clsid:D2   after 3 save


Is the any workaround or solution for that ?

Ultimate Profile uses htmLawed (http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed) to filter any potentially malicious HTML codes. Also, JavaScript isn't allowed for security reasons. This embed code probably uses some tags/attributes that are not white-listed. I guess this class can be changed to accept those.

That looks interesting. At least I now understand what happens.  I took a look a the Source, but I don't understand (or did'nt) find the Place, where to White-List it.

By now I found out about the &amp...  but I don't understand the White-Listing for clsid ?!?!

Thanks for any hint...

Tom
Title: Re: Ultimate Profile
Post by: mrtrc266 on March 19, 2010, 09:57:18 AM
Quote from: JovanT on March 18, 2010, 02:28:04 PM
Quote from: mrtrc266 on March 18, 2010, 01:18:32 AM
Quote from: JovanT on March 17, 2010, 10:50:46 AM
Do you have AEVA mod installed?
As a matter of fact I do
One user also had this problem - blank page on posting comments. It occurs both on profile and picture comments. The solution was to comment (surround with /* and  */) or delete parts that are calling AEVA's functions. I tried to reproduce this problem with the newest AEVA media modification but I had no luck - everything working great. Please upgrade AEVA and see if that helps. If that doesn't work, just comment out AEVA parts located in Profile-Actions.php and Profile-Pictures.php. If you can't find it, let me know and I will help you.

I'm using AEVA 1.1a and I commented out in the files that you mentioned and still get the same error. Thank you for your help on this.

Scratch that, it really helps if I save the file before I upload it LMAO! Thanks for you help.

BTW is any feature for functionality lost by commenting those out?
Title: Re: Ultimate Profile
Post by: JovanT on March 19, 2010, 10:05:22 AM
Yes, AEVA won't work in your comments.


Today, I finally released UP 0.9.1 for SMF 1.1.x. Features are same as in 2.0RC3 version. Enjoy! ;)
Title: Re: Ultimate Profile
Post by: ~DS~ on March 20, 2010, 10:02:18 AM
Ummm...The "Add Comment" should be under the "Comment"
Title: Re: Ultimate Profile
Post by: [unplugged] on March 20, 2010, 10:23:56 AM
I agree it's a bit awkward. Here's what I did to change it.

Remove completely: function up_block_write_comment() {

global $txt, $context, $scripturl;



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

echo '



<div id="up_write_comment">

<script type="text/javascript">

function comment() {

document.getElementById("comment").style.display = "block";

}

</script>



<h3 class="catbg" style="width: 65%; margin: auto; padding: auto;">

<span class="left"></span>

<a href="javascript:void(0);" onclick="comment()">', $txt['profile_comment_add'] ,'</a>

</h3>

<div class="windowbg2" id="comment" style="width: 65%; margin: auto; padding: auto; display: none;">

<span class="topslice"><span></span></span>

<div class="content">

<form action="', $scripturl ,'?action=profile;area=comment;u=', $context['member']['id'] ,';add" method="post">

', $txt['profile_comment'] ,'<br />

<textarea class="editor" cols="50" rows="4" name="comment"></textarea><br />

<br />

<input type="submit" value="', $txt['save'] ,'" class="input_button" />

<input type="hidden" name="sc" value="', $context['session_id'], '" />

</form>

</div>

<span class="botslice"><span></span></span>

</div>

</div>';



return true;

} else

return false;

}


Then, find: function up_block_show_comments() {

global $txt, $context, $settings, $scripturl;



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



// Only show comments if they have made some!

if (!empty($context['comments'])) {

echo '

<div id="forumposts">

<h3 class="catbg">

<span class="left"></span>

', $txt['profile_comments'] ,'

</h3>';



foreach ($context['comments'] as $comment) {

echo '

<div class="windowbg">

<span class="topslice"><span></span></span>

<div class="content">

<div class="poster">

<h4><a href="', $scripturl ,'?action=profile;u=', $comment['author']['id_member'] ,'">', $comment['author']['real_name'] ,'</a></h4>

<ul class="reset smalltext">

<li class="avatar" style="overflow: auto;">', $comment['author']['avatar'] ,'</li>

<li>', $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>' : '', '</li>

</ul>

</div>

<div class="postarea">

<div class="flow_hidden">

<div class="keyinfo">

<h5>', $comment['time'] ,'</h5>

</div>

</div>

<div class="post">

<div class="inner">', $comment['body'], '</div>

</div>

<div class="moderatorbar">

<div class="smalltext reportlinks">';



if ($context['can_delete'])

echo '

<a onclick="javascript:return confirm(\'' . $txt['profile_comment_delete_confirm'] . '\')" href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';

if ($context['user']['is_owner'])

echo '

&nbsp;&nbsp;&nbsp;<a href="', $comment['reply'], '">', $txt['profile_comment_reply'] ,'</a>';



echo '

</div>

</div>

</div>

</div>

<span class="botslice"><span></span></span>

</div>

<hr class="post_separator" />';

}



echo '

</div>';

} else

echo '

<div class="windowbg2">

<span class="topslice"><span></span></span>

<div class="content" style="text-align: center;">', $txt['profile_comment_no'] ,'</div>

<span class="botslice"><span></span></span>

</div>';



// Show more page numbers.

echo '

<div class="pagesection">

<div class="pagelinks align_left">

', $txt['pages'], ': ', $context['page_index'], '

</div>

</div>';



return true;

} else

return false;

}


and replace with: function up_block_show_comments() {
global $txt, $context, $settings, $scripturl;

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

// Only show comments if they have made some!
if (!empty($context['comments'])) {
echo '
<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>
<div id="forumposts">
<h3 class="catbg">
<span class="left"></span>
', $txt['profile_comments'];

echo '
<a href="javascript:void(0);" onclick="comment()" style="float:right;">', $txt['profile_comment_add'] ,'</a>';

echo '
</h3>';

// Add comment box
if (@$context['member']['options']['comments_disable'] != 1) {
echo '
<div class="windowbg2" id="comment" style="width: 100%; margin: auto; padding: auto; display: none;">
<span class="topslice"><span></span></span>
<div class="content">
<form action="', $scripturl ,'?action=profile;area=comment;u=', $context['member']['id'] ,';add" method="post">
', $txt['profile_comment'] ,'<br />
<textarea class="editor" cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="', $txt['save'] ,'" class="input_button" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>';
}

foreach ($context['comments'] as $comment) {
echo '
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<div class="poster">
<h4><a href="', $scripturl ,'?action=profile;u=', $comment['author']['id_member'] ,'">', $comment['author']['real_name'] ,'</a></h4>
<ul class="reset smalltext">
<li class="avatar" style="overflow: auto;">', $comment['author']['avatar'] ,'</li>
<li>', $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>' : '', '</li>
</ul>
</div>
<div class="postarea">
<div class="flow_hidden">
<div class="keyinfo">
<h5>', $comment['time'] ,'</h5>
</div>
</div>
<div class="post">
<div class="inner">', $comment['body'], '</div>
</div>
<div class="moderatorbar">
<div class="smalltext reportlinks">';

if ($context['can_delete'])
echo '
<a onclick="javascript:return confirm(\'' . $txt['profile_comment_delete_confirm'] . '\')" href="', $comment['delete'], '">', $txt['profile_comment_delete'] ,'</a>';
if ($context['user']['is_owner'])
echo '
&nbsp;&nbsp;&nbsp;<a href="', $comment['reply'], '">', $txt['profile_comment_reply'] ,'</a>';

echo '
</div>
</div>
</div>
</div>
<span class="botslice"><span></span></span>
</div>
<hr class="post_separator" />';
}

echo '
</div>';
} else
echo '
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content" style="text-align: center;">', $txt['profile_comment_no'] ,'</div>
<span class="botslice"><span></span></span>
</div>';

// Show more page numbers.
echo '
<div class="pagesection">
<div class="pagelinks align_left">
', $txt['pages'], ': ', $context['page_index'], '
</div>
</div>';

return true;
} else
return false;
}


which moves the Add comment to the titlebar of the comment section like this:

(http://img694.imageshack.us/img694/7783/screenshot1xp.png) (http://img694.imageshack.us/i/screenshot1xp.png/)
Title: Re: Ultimate Profile
Post by: ~DS~ on March 20, 2010, 10:32:09 AM
Located?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 20, 2010, 10:36:11 AM
 :o

UltimateProfile.template.php

I sort of left out that part, didn't I...
Title: Re: Ultimate Profile
Post by: ~DS~ on March 20, 2010, 11:09:21 AM
Quote from: SunKing on March 20, 2010, 10:36:11 AM
:o

UltimateProfile.template.php

I sort of left out that part, didn't I...
Yup. Anyway, it worked, but I meant under the comments.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 20, 2010, 11:12:02 AM
Quote from: SunKing on March 20, 2010, 10:23:56 AM
I agree it's a bit awkward. Here's what I did to change it.

I never said it was to place it under the comments, I was simply offering an alternative because I too found it awkward. ;)
Title: Re: Ultimate Profile
Post by: ~DS~ on March 20, 2010, 11:21:59 AM
Quote from: SunKing on March 20, 2010, 11:12:02 AM
Quote from: SunKing on March 20, 2010, 10:23:56 AM
I agree it's a bit awkward. Here's what I did to change it.

I never said it was to place it under the comments, I was simply offering an alternative because I too found it awkward. ;)
Lol, so is another code that put under the comments?

PS: why am i seeing this
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »
:o
What the heck? You came from the future?  :P
Title: Re: Ultimate Profile
Post by: [unplugged] on March 20, 2010, 11:35:39 AM
If you just want to move the Add comment that you already have to beneath the Comments, all you have to do is move the block name in the array at the top of the UltimateProfile.template.php.

Change the 'bottom' => array(

'write_comment',

'show_comments',

),


to

'bottom' => array(

'show_comment',

'write_comments',

),
Title: Re: Ultimate Profile
Post by: ~DS~ on March 20, 2010, 11:46:26 AM
Quote from: SunKing on March 20, 2010, 11:35:39 AM
If you just want to move the Add comment that you already have to beneath the Comments, all you have to do is move the block name in the array at the top of the UltimateProfile.template.php.

Change the 'bottom' => array(

'write_comment',

'show_comments',

),



to

'bottom' => array(

'show_comment',

'write_comments',

),

Ugh...That doesn't move at all...
Title: Re: Ultimate Profile
Post by: Neverhurry on March 20, 2010, 06:25:09 PM
Hi, I uninstalled the older version and installed the latest version for smf2 RC3, the comment funtcion works, but I can't find the "add buddy" button. Where is it now? thanks!
Title: Re: Ultimate Profile
Post by: Stef001 on March 21, 2010, 07:19:27 AM
Quote from: Neverhurry on March 20, 2010, 06:25:09 PM
Hi, I uninstalled the older version and installed the latest version for smf2 RC3, the comment funtcion works, but I can't find the "add buddy" button. Where is it now? thanks!

I have the same.
Have anyone any idea?

Stef.
Title: Re: Ultimate Profile
Post by: rghb on March 21, 2010, 10:49:59 AM
Quote from: Cruiser57 on March 19, 2010, 01:56:18 PM
Hello...
P.S.: If anyone is interested, I can offer a German Tranlation.

sorry for offtopic ...

Hi Cruiser

Where i can download the german translation?

Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 11:11:36 AM
Hey guys, I have a problem. When I access any profile, it gives me the following code above the theme at the top

function get_extension($filename) { return substr(strrchr($filename, '.'), 1); } function is_buddy($memID, $buddyID) { global $smcFunc, $buddy_list, $modSettings; // When buddy list if off, everybody is your friend ;) if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0') return true; if (!is_array($buddy_list)) { $request = $smcFunc['db_query']('', ' SELECT buddy_list FROM {db_prefix}members WHERE id_member = {int:id_member}', array( 'id_member' => $memID, ) ); list($buddy_list) = $smcFunc['db_fetch_row']($request); $buddy_list = explode(',', $buddy_list); } if (in_array($buddyID, $buddy_list)) return true; else return false; }



What is it? How can I fix?
Title: Re: Ultimate Profile
Post by: Yağız... on March 21, 2010, 11:15:22 AM
Quote from: rock91 on March 21, 2010, 11:11:36 AM
Hey guys, I have a problem. When I access any profile, it gives me the following code above the theme at the top

function get_extension($filename) { return substr(strrchr($filename, '.'), 1); } function is_buddy($memID, $buddyID) { global $smcFunc, $buddy_list, $modSettings; // When buddy list if off, everybody is your friend ;) if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0') return true; if (!is_array($buddy_list)) { $request = $smcFunc['db_query']('', ' SELECT buddy_list FROM {db_prefix}members WHERE id_member = {int:id_member}', array( 'id_member' => $memID, ) ); list($buddy_list) = $smcFunc['db_fetch_row']($request); $buddy_list = explode(',', $buddy_list); } if (in_array($buddyID, $buddy_list)) return true; else return false; }



What is it? How can I fix?
Search for ?> and delete the codes after this.
Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 11:20:14 AM
Quote from: Yağız... on March 21, 2010, 11:15:22 AM
Quote from: rock91 on March 21, 2010, 11:11:36 AM
Hey guys, I have a problem. When I access any profile, it gives me the following code above the theme at the top

function get_extension($filename) { return substr(strrchr($filename, '.'), 1); } function is_buddy($memID, $buddyID) { global $smcFunc, $buddy_list, $modSettings; // When buddy list if off, everybody is your friend ;) if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0') return true; if (!is_array($buddy_list)) { $request = $smcFunc['db_query']('', ' SELECT buddy_list FROM {db_prefix}members WHERE id_member = {int:id_member}', array( 'id_member' => $memID, ) ); list($buddy_list) = $smcFunc['db_fetch_row']($request); $buddy_list = explode(',', $buddy_list); } if (in_array($buddyID, $buddy_list)) return true; else return false; }



What is it? How can I fix?
Search for ?> and delete the codes after this.

Which file is it?
Title: Re: Ultimate Profile
Post by: Yağız... on March 21, 2010, 11:22:50 AM
Oops sorry :) Sources/Profile-View.php
Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 11:38:24 AM
Could you do it for me please ^_^"  ..I really don't want to mess up :\

Sorry if it's too much to ask :(
Title: Re: Ultimate Profile
Post by: Yağız... on March 21, 2010, 11:46:35 AM
Then it should be in Profile.php, sorry for that :)
Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 11:51:56 AM
Check it out. It's not there :-\
Title: Re: Ultimate Profile
Post by: Yağız... on March 21, 2010, 11:54:57 AM
Find, copy, delete this:
function get_extension($filename)
{
    return substr(strrchr($filename, '.'), 1);
}

function is_buddy($memID, $buddyID)
{
    global $smcFunc, $buddy_list, $modSettings;
   
    // When buddy list if off, everybody is your friend ;)
    if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0')
        return true;
   
    if (!is_array($buddy_list)) {
        $request = $smcFunc['db_query']('', '
            SELECT buddy_list
            FROM {db_prefix}members
            WHERE id_member = {int:id_member}',
            array(
                'id_member' => $memID,
            )
        );
        list($buddy_list) = $smcFunc['db_fetch_row']($request);
       
        $buddy_list = explode(',', $buddy_list);
    }
   
    if (in_array($buddyID, $buddy_list))
        return true;
    else
        return false;
}

And paste it before ?>
Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 11:59:06 AM
Quote from: Yağız... on March 21, 2010, 11:54:57 AM
Find, copy, delete this:
function get_extension($filename)
{
    return substr(strrchr($filename, '.'), 1);
}

function is_buddy($memID, $buddyID)
{
    global $smcFunc, $buddy_list, $modSettings;
   
    // When buddy list if off, everybody is your friend ;)
    if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0')
        return true;
   
    if (!is_array($buddy_list)) {
        $request = $smcFunc['db_query']('', '
            SELECT buddy_list
            FROM {db_prefix}members
            WHERE id_member = {int:id_member}',
            array(
                'id_member' => $memID,
            )
        );
        list($buddy_list) = $smcFunc['db_fetch_row']($request);
       
        $buddy_list = explode(',', $buddy_list);
    }
   
    if (in_array($buddyID, $buddy_list))
        return true;
    else
        return false;
}

And paste it below ?>

I deleted the code you gave me...is that it?
Title: Re: Ultimate Profile
Post by: Yağız... on March 21, 2010, 12:04:30 PM
Yeah, but don't forget to add it before ?>
Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 12:10:58 PM
Quote from: Yağız... on March 21, 2010, 12:04:30 PM
Yeah, but don't forget to add it below ?>
add it bellow?  Do you mean before? Because it was bellow :P  ...Now that I deleted that text, the text above is gone. Was that text important?

function get_extension($filename)
{
    return substr(strrchr($filename, '.'), 1);
}

function is_buddy($memID, $buddyID)
{
    global $smcFunc, $buddy_list, $modSettings;
   
    // When buddy list if off, everybody is your friend ;)
    if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0')
        return true;
   
    if (!is_array($buddy_list)) {
        $request = $smcFunc['db_query']('', '
            SELECT buddy_list
            FROM {db_prefix}members
            WHERE id_member = {int:id_member}',
            array(
                'id_member' => $memID,
            )
        );
        list($buddy_list) = $smcFunc['db_fetch_row']($request);
       
        $buddy_list = explode(',', $buddy_list);
    }
   
    if (in_array($buddyID, $buddy_list))
        return true;
    else
        return false;
}


I deleted that and now it's like this

$context['custom_fields'][] = array(
'name' => $row['field_name'],
'desc' => $row['field_desc'],
'type' => $row['field_type'],
'input_html' => $input_html,
'output_html' => $output_html,
'placement' => $row['placement'],
'colname' => $row['col_name'],
'value' => $value,
);
}
$smcFunc['db_free_result']($request);
}


// Signature Area BBCode Buttons start
// Needed for the editor and message icons.
require_once($sourcedir . '/Subs-Editor.php');
global $txt, $context, $settings;


// Now create the editor.
$editorOptions = array(
'id' =>  'signature',
'value' => '',
        'height' => '175px',
'width' => '90%',

);
create_control_richedit($editorOptions);

// Store the ID.
$context['post_box_name'] = $editorOptions['id'];
// Signature Area BBCode Buttons end
?>
Title: Re: Ultimate Profile
Post by: Yağız... on March 21, 2010, 12:13:01 PM
Yeah it's important. And yes, it's before not below, sorry lol :P
Title: Re: Ultimate Profile
Post by: rock91 on March 21, 2010, 12:20:47 PM
Fixed ^_^  ..thank you
and now I am your sex slave XD
Title: Re: Ultimate Profile
Post by: Cruiser57 on March 21, 2010, 03:19:00 PM
Hello...

shortly again...  can you give me a Hint, how to modify the htmLAWED  for using the Class-Id für Flash-Video's ?
It  gets a denied: after the " for each time, I save the Profile...
Looks classid="denied:denied:denied:clsid:D2   after 3 save.

I read the Manual, an also looked the Forum there, but I don't understand how to White-List the clsid.
(The full script ist postet a few posts earlier).

What I did: I asked the same question at the htmLAWED-Forum (http://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=439#p439 (http://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=439#p439)).

They wrote me to place the $config-variable...

htmLawed, by default and as of current build, does not permit the scheme/protocol 'clsid' of the 'classid' attribute. If the 'object' element/tag is being let through but not the 'classid' attribute value, all you have to do is allow the 'clsid' scheme for 'classid' by changing the $config parameter 'schemes'. E.g.,

// Configure htmLawed
$config=array('schemes'=>'classid:clsid; href: aim, feed, file, http...', ...);
// Run htmLawed on input
$out = htmLawed($in, $config...);

$config is set in the code that calls htmLawed. htmLawed itself does not need to be modified.


As I understood this, the variable must be place in Ultimate Profile ?  (Sorry, I'm not really good in PHP)
In which File / Position must the variable placed ?

And for Testing:  Can you tell me, in which SQL-Table the Ultimate-Profile is saved ?

Thanks in Advance

Tom

P.S.: If anyone is interested, I can offer a German Tranlation.
Title: Re: Ultimate Profile
Post by: LC on March 22, 2010, 03:54:09 AM
Quote from: rock91 on March 21, 2010, 12:20:47 PM
Fixed ^_^  ..thank you
and now I am your sex slave XD
Awkward...  :o
Title: Re: Ultimate Profile
Post by: wilsy on March 22, 2010, 05:55:57 AM
Are there any blocks available for UP and SMF 2.0 RC3?

I'm thinking 'recent' and 'random'
Title: Re: Ultimate Profile
Post by: hcfwesker on March 23, 2010, 01:13:02 AM
I'm using this, along with the custom profile field MOD on SMF 1.1.11  , and, I understand the 2 can cancel parts out on each other.

The custom profile fields are not showing in the ultimate profiles (member's profile pages).  Exactly what file do I need to edit so I can add the custom profile field portions on  the profile summary page?

Thank You.

Title: Re: Ultimate Profile
Post by: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?
Title: Re: Ultimate Profile
Post by: Yağız... on March 23, 2010, 06:54:05 AM
Quote from: wilsy on March 22, 2010, 05:55:57 AM
Are there any blocks available for UP and SMF 2.0 RC3?

I'm thinking 'recent' and 'random'
What blocks?

Quote from: hcfwesker on March 23, 2010, 01:13:02 AM
I'm using this, along with the custom profile field MOD on SMF 1.1.11  , and, I understand the 2 can cancel parts out on each other.

The custom profile fields are not showing in the ultimate profiles (member's profile pages).  Exactly what file do I need to edit so I can add the custom profile field portions on  the profile summary page?

Thank You.
Find and uncomment (remove // ) in ./Themes/default/UltimateProfile.template.php:
//'custom_fields',
Find:
// PASTE YOUR CODE HERE
Replace with:
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();


Quote from: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?
Can you give me a link for that I can download it?
Title: Re: Ultimate Profile
Post by: distante on March 23, 2010, 08:21:14 AM
Quote from: Yağız... on March 23, 2010, 06:54:05 AM
Quote from: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?
Can you give me a link for that I can download it?

Here : http://custom.simplemachines.org/mods/index.php?mod=65
;) thank you
Title: Re: Ultimate Profile
Post by: wilsy on March 23, 2010, 10:32:23 AM
Quote from: Yağız... on March 23, 2010, 06:54:05 AM
Quote from: wilsy on March 22, 2010, 05:55:57 AM
Are there any blocks available for UP and SMF 2.0 RC3?

I'm thinking 'recent' and 'random'
What blocks?


Blocks for use in Simplepportal or Tinyportal which will show the last XX profile photos or a random XX profile photos on the portal page of the site?
Title: Re: Ultimate Profile
Post by: Yağız... on March 23, 2010, 11:27:40 AM
Quote from: distante on March 23, 2010, 08:21:14 AM
Here : http://custom.simplemachines.org/mods/index.php?mod=65
;) thank you
I forgot to ask: what's your SMF version?


Quote from: wilsy on March 23, 2010, 10:32:23 AM
Quote from: Yağız... on March 23, 2010, 06:54:05 AM
Quote from: wilsy on March 22, 2010, 05:55:57 AM
Are there any blocks available for UP and SMF 2.0 RC3?

I'm thinking 'recent' and 'random'
What blocks?


Blocks for use in Simplepportal or Tinyportal which will show the last XX profile photos or a random XX profile photos on the portal page of the site?
Add this into a PHP Block:
    global $db_type, $modSettings, $smcFunc, $context, $scripturl, $sourcedir, $txt, $memberContext;
   
    // Profile pictures.
    if ($modSettings['profile_enable_pictures'] == 1)
    {
   
        require_once($sourcedir . '/Profile.php');
       
        // Stupid differences... MySQL uses RAND(), SQLite and PostgreSQL RANDOM()
        if ($db_type == 'mysql')
            $rand = 'RAND()';
        else
            $rand = 'RANDOM()';
       
        $request = $smcFunc['db_query']('', '
            SELECT id_picture, time, title, filename, id_member
            FROM {db_prefix}profile_pictures
            ORDER BY ' . $rand . '
            LIMIT 3',
            array(
            )
        );
        while ($picture = $smcFunc['db_fetch_assoc']($request))
        {
            loadMemberContext($picture['id_member'], true);
            $context['pictures'][] = array(
                'ID_PICTURE' => $picture['id_picture'],
                'member' => &$memberContext[$picture['id_member']],
                'title' => $picture['title'],
                'url' => $scripturl . '?action=profile;area=pictures;u=' . $picture['id_member'] . ';view=' . $picture['id_picture'],
                'thumb' => $modSettings['profile_pictures_url'] . '/' . $picture['id_member'] . '_' . $picture['time'] . '_thumb.' . get_extension ($picture['filename']),
                'time' => timeformat($picture['time']),
            );
        }
   
        if (!empty($context['pictures']))
        {
    echo '
    <table class="sp_auto_align">';
            foreach ($context['pictures'] as $picture)
            {
                echo '
        <tr>
            <td>
                <div class="sp_image smalltext">
                    <a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" /></a><br />
                    ', $picture['title'], '<br />
                    ', $txt['posted_by'], ': ', $picture['member']['link'], '
                </div>
            </td>
        </tr>';
            }
    echo '
    </table>';
        }
    }


It will show random 3 images from everyone. Note that everyone can see every picture, there is no permission added.
Title: Re: Ultimate Profile
Post by: samozin on March 23, 2010, 12:25:19 PM
 hello every  one

after i coverted my forum to smf 2 and used portamx i got aprob with  making titles for php blocks i think its abug
iam using rtl language

any way iam here not for that iam  just wondering why those codes for ultimate profile  not working on smf 2 i think it needs update

http://www.sleepy-arcade.info/index.php?topic=170.0

my ultimate profile is on 0.9 version i think
any body  can help ? i think this is avery important request for many webmasters

sorry for my bad english
Title: Re: Ultimate Profile
Post by: Yağız... on March 23, 2010, 12:41:45 PM
Quote from: samozin on March 23, 2010, 12:25:19 PM
hello every  one

after i coverted my forum to smf 2 and used portamx i got aprob with  making titles for php blocks i think its abug
iam using rtl language

any way iam here not for that iam  just wondering why those codes for ultimate profile  not working on smf 2 i think it needs update

http://www.sleepy-arcade.info/index.php?topic=170.0

my ultimate profile is on 0.9 version i think
any body  can help ? i think this is avery important request for many webmasters

sorry for my bad english

Everything from SMF 1.x versions won't work on SMF 2.x. Try asking wdm2005.
Title: Re: Ultimate Profile
Post by: distante on March 23, 2010, 05:06:19 PM
Quote from: Yağız... on March 23, 2010, 11:27:40 AM
Quote from: distante on March 23, 2010, 08:21:14 AM
Here : http://custom.simplemachines.org/mods/index.php?mod=65
;) thank you
I forgot to ask: what's your SMF version?


RC2 :P regards!
Title: Re: Ultimate Profile
Post by: hcfwesker on March 23, 2010, 09:10:33 PM
Quote from: Yağız... on March 23, 2010, 06:54:05 AM
Quote from: hcfwesker on March 23, 2010, 01:13:02 AM
I'm using this, along with the custom profile field MOD on SMF 1.1.11  , and, I understand the 2 can cancel parts out on each other.

The custom profile fields are not showing in the ultimate profiles (member's profile pages).  Exactly what file do I need to edit so I can add the custom profile field portions on  the profile summary page?

Thank You.
Find and uncomment (remove // ) in ./Themes/default/UltimateProfile.template.php:
//'custom_fields',
Find:
// PASTE YOUR CODE HERE
Replace with:
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();



I understand where to paste the code in the last bit of instructions, and have tried different methods from how you explained, but I was confused a bit, sorry, bud.

Find and uncomment (remove // ) in ./Themes/default/UltimateProfile.template.php:
//'custom_fields',

^^ It was that part I didn't understand what to do.

The closest I found to that was
// Remeber to uncomment this section first!

But I wasn't sure exactly what to do.  Sorry, again, I've only been working on SMF for about 2 weeks.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 23, 2010, 09:33:15 PM
Find //'custom_fields', and change it to 'custom_fields',. (You're just removing the two slashes from in front of that line -- "uncommenting").

And welcome to SMF btw.
Title: Re: Ultimate Profile
Post by: hcfwesker on March 23, 2010, 10:18:27 PM
Quote from: SunKing on March 23, 2010, 09:33:15 PM
Find //'custom_fields', and change it to 'custom_fields',. (You're just removing the two slashes from in front of that line -- "uncommenting").

And welcome to SMF btw.

Thanx, bud.  Just made the conversion from being stuck on Proboards for almost 2 years.  And I'm loving SMF, so far. :)

I understand completely what you're saying now.  But I have yet to find that phrase in that file.  Closest to anything related to the Custom Profile field is this portion below.

I'm also going to attach my ./Themes/default/UltimateProfile.template.php  file, so maybe someone can see that I'm not finding that phrase.

// 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>';

if (!empty($context['profile_areas']))
Title: Re: Ultimate Profile
Post by: [unplugged] on March 23, 2010, 10:32:41 PM
You have .9 of the mod. You need to download and install the .9.1 version of the mod. Then you'll see the code Yağız was referring to. ;)
Title: Re: Ultimate Profile
Post by: hcfwesker on March 23, 2010, 10:58:23 PM
Ok, do i have to uninstall the previous MOD.  Cause when i click to unintsall it, I'm getting erros in 2 files, which I'm sure those were just some editing I did on my part.

Will members lose all their content they already filled out under their U-Profile?  Like buddies, pictures, and media?

I just downloaded this MOD less than 2 weeks ago, and you're saying there's already been an update :(

I couldn't just replace the new 0.9.1 UltimateProfile.php file over the old one :(


EDIT .....

That's exactly what I did, and it worked.  I even got to move the custom profile info where I wanted it on the profile summary page :)

There's still a few problems, like getting rid of the custom profile titles from diplaying, I just want the info the member's fill out to display.




Title: Re: Ultimate Profile
Post by: TAB004 on March 24, 2010, 02:27:31 AM
I would like to be able to uninstall.
Title: Re: Ultimate Profile
Post by: rebornishard on March 25, 2010, 01:11:12 AM
Quote from: TAB004 on March 24, 2010, 02:27:31 AM
I would like to be able to uninstall.
me to
my profil page becoming mess
because smf trader already there  :'(
Title: Re: Ultimate Profile
Post by: Evilcyber on March 27, 2010, 10:13:47 AM
We recently migrated with our forum to another server and in the process reinstalled the forum from scratch. After installing Ultimate Profile we moved the contents of profile_pictures to the same folder at the new host.

The problem now is that all pictures that have been uploaded before the move will show up, but no new ones will be created. The software downloads the new image, but then can't create a renamed image and thumb in profile_pictures.

The error shown is this

2: rename(profile_pictures/tmp_3_thumb,profile_pictures/3_1269697436.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/bitsy/public_html/Sources/ProfilePictures.php
Line: 175

I already tried setting the folder to 777, 775 and 755, but it won't help.

Any help would be much appreciated!
Title: Re: Ultimate Profile
Post by: distante on March 27, 2010, 07:31:09 PM
Quote from: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?

In a RC2 forum
Title: Re: Ultimate Profile
Post by: Yağız... on March 27, 2010, 08:18:33 PM
Quote from: distante on March 27, 2010, 07:31:09 PM
Quote from: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?

In a RC2 forum
Find in ./Sources/Profile-View.php:
// Are there things we don't show?
Add before:
// Show users' items on their profile
$result = $smcFunc['db_query']('', '
SELECT it.image, it.name
FROM {db_prefix}shop_inventory AS inv
LEFT JOIN {db_prefix}shop_items AS it ON (it.id = inv.itemid)
WHERE inv.ownerid = {int:id}',
array(
'id' => $memID,
)
);
$context['up_shop_inventory'] = array();
while ($row = $smcFunc['db_fetch_assoc']($result))
{
global $boardurl;
$context['up_shop_inventory'][] = array(
'image' => '<img src="' . $boardurl . '/Sources/shop/item_images/' . $row['image'] . '" alt="' . $row['name'] . '"  alt="' . $row['name'] . '" width="' . $modSettings['shopImageWidth'] . '" height="' . $modSettings['shopImageHeight'] . '" />',
'name' => $row['name'],
);
}
$smcFunc['db_free_result']($result);


Find in ./Themes/default/UltimateProfile.template.php:
'buddies',
Add after:
'inventory',

Find:
function up_block_pictures() {
Add before:
function up_block_inventory() {
global $settings, $txt, $context, $scripturl, $modSettings;

if (!empty($context['up_shop_inventory'])) {
echo '
<div id="up_shop_inventory">
<h3 class="catbg">
<span class="left"></span>
My Inventory
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<table width="100%">
<tr>';

if (!empty($context['up_shop_inventory'])) {
$i = 1;
foreach ($context['up_shop_inventory'] as $item) {
$i = $i + 1;
echo '
<td align="center" valign="top" style="clear: both;">
', $item['image'], '<br />
', $item['name'], '
</td>';

if ($i == 4)
echo '
</tr>
<tr>';
}
}
else
echo '
<td>I do not have any items on my inventory.</td>';

echo '
</tr>
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';
return true;
} else
return false;
}


Quote from: Evilcyber on March 27, 2010, 10:13:47 AM
We recently migrated with our forum to another server and in the process reinstalled the forum from scratch. After installing Ultimate Profile we moved the contents of profile_pictures to the same folder at the new host.

The problem now is that all pictures that have been uploaded before the move will show up, but no new ones will be created. The software downloads the new image, but then can't create a renamed image and thumb in profile_pictures.

The error shown is this

2: rename(profile_pictures/tmp_3_thumb,profile_pictures/3_1269697436.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/bitsy/public_html/Sources/ProfilePictures.php
Line: 175

I already tried setting the folder to 777, 775 and 755, but it won't help.

Any help would be much appreciated!
Check these settings if they are correct:
Admin > Modification Settings > Ultimate Profile > Pictures path and Pictures URL
Title: Re: Ultimate Profile
Post by: Hitakashi on March 27, 2010, 08:48:16 PM
Does anyone know if the SMF 2 RC3 version of this works? and what does it looks like if it does.
Title: Re: Ultimate Profile
Post by: Yağız... on March 27, 2010, 08:52:47 PM
Quote from: Hitakashi on March 27, 2010, 08:48:16 PM
Does anyone know if the SMF 2 RC3 version of this works? and what does it looks like if it does.
It works. It looks like a new profile page :P
Title: Re: Ultimate Profile
Post by: [-Trogan-] on March 27, 2010, 11:17:06 PM
How can I make this modification compatible with the     Custom Profile Field Mod version 3.20

Please help
Title: Re: Ultimate Profile
Post by: Evilcyber on March 28, 2010, 10:07:42 AM
Quote from: Yağız... on March 27, 2010, 08:18:33 PM
Check these settings if they are correct:
Admin > Modification Settings > Ultimate Profile > Pictures path and Pictures URL

Well, previously uploaded pictures show, so I assume the paths are correct.

When I try to upload a new image it will create an entry for it in the profile, but there is no image, only the name I entered.
Title: Re: Ultimate Profile
Post by: Yağız... on March 28, 2010, 10:13:20 AM
Quote from: [-Trogan-] on March 27, 2010, 11:17:06 PM
How can I make this modification compatible with the     Custom Profile Field Mod version 3.20

Please help
http://www.simplemachines.org/community/index.php?topic=298641.msg2551471#msg2551471

Quote from: Evilcyber on March 28, 2010, 10:07:42 AM
Quote from: Yağız... on March 27, 2010, 08:18:33 PM
Check these settings if they are correct:
Admin > Modification Settings > Ultimate Profile > Pictures path and Pictures URL

Well, previously uploaded pictures show, so I assume the paths are correct.

When I try to upload a new image it will create an entry for it in the profile, but there is no image, only the name I entered.
Check Pictures Path.
Title: Re: Ultimate Profile
Post by: [-Trogan-] on March 28, 2010, 10:19:38 AM
Quote from: [-Trogan-] on March 27, 2010, 11:17:06 PM
How can I make this modification compatible with the     Custom Profile Field Mod version 3.20

Please help
Title: Re: Ultimate Profile
Post by: Yağız... on March 28, 2010, 10:25:22 AM
Answered in my previous post ;)
Title: Re: Ultimate Profile
Post by: Evilcyber on March 28, 2010, 10:32:41 AM
Quote from: Yağız... on March 28, 2010, 10:13:20 AM
Check Pictures Path.

I tried all possible versions of the pictures path.
Title: Re: Ultimate Profile
Post by: [-Trogan-] on March 28, 2010, 01:59:08 PM
Quote from: Yağız... on March 28, 2010, 10:25:22 AM
Answered in my previous post ;)
Now what about another problem I just now had......
Getting the modification "Personalpad" to work with it.

How would I get so to happen?
Title: Re: Ultimate Profile
Post by: Hitakashi on March 28, 2010, 02:25:59 PM
http://img691.imageshack.us/img691/1919/smf.png (http://img691.imageshack.us/img691/1919/smf.png)

well is it supposed to look like that? lol
Title: Re: Ultimate Profile
Post by: Yağız... on March 28, 2010, 02:38:59 PM
Quote from: Evilcyber on March 28, 2010, 10:32:41 AM
Quote from: Yağız... on March 28, 2010, 10:13:20 AM
Check Pictures Path.

I tried all possible versions of the pictures path.
Then it can be a problem with the server ... I don't know too much about uploading, sorry ...

Quote from: [-Trogan-] on March 28, 2010, 01:59:08 PM
Quote from: Yağız... on March 28, 2010, 10:25:22 AM
Answered in my previous post ;)
Now what about another problem I just now had......
Getting the modification "Personalpad" to work with it.

How would I get so to happen?
Link to mod please?

Quote from: Hitakashi on March 28, 2010, 02:25:59 PM
http://img691.imageshack.us/img691/1919/smf.png (http://img691.imageshack.us/img691/1919/smf.png)

well is it supposed to look like that? lol
(http://i43.tinypic.com/2lngz8w.jpg)
(ignore "My Inventory")
Title: Re: Ultimate Profile
Post by: [unplugged] on March 28, 2010, 02:52:14 PM
Quote from: Hitakashi on March 28, 2010, 02:25:59 PM
http://img691.imageshack.us/img691/1919/smf.png (http://img691.imageshack.us/img691/1919/smf.png)

well is it supposed to look like that? lol

It doesn't appear to have been enabled yet.

Go to Profile > Modify Profile > Ultimate Profile and check the Enable Ultimate Profile? box.
Title: Re: Ultimate Profile
Post by: [-Trogan-] on March 28, 2010, 03:21:40 PM
Quote from: Yağız... on March 28, 2010, 02:38:59 PM
Quote from: [-Trogan-] on March 28, 2010, 01:59:08 PM
Quote from: Yağız... on March 28, 2010, 10:25:22 AM
Answered in my previous post ;)
Now what about another problem I just now had......
Getting the modification "Personalpad" to work with it.

How would I get so to happen?
Link to mod please?


http://custom.simplemachines.org/mods/index.php?mod=788 (http://custom.simplemachines.org/mods/index.php?mod=788)
Title: Re: Ultimate Profile
Post by: Hitakashi on March 28, 2010, 10:47:06 PM
Quote from: SunKing on March 28, 2010, 02:52:14 PM
Quote from: Hitakashi on March 28, 2010, 02:25:59 PM
http://img691.imageshack.us/img691/1919/smf.png (http://img691.imageshack.us/img691/1919/smf.png)

well is it supposed to look like that? lol

It doesn't appear to have been enabled yet.

Go to Profile > Modify Profile > Ultimate Profile and check the Enable Ultimate Profile? box.

Nope its not there
Title: Re: Ultimate Profile
Post by: rebornishard on March 29, 2010, 04:43:20 AM
sir please answer me,
i installed it but after that i can't use smf trader system anymore :(
can i use it again ?
Title: Re: Ultimate Profile
Post by: Yağız... on March 29, 2010, 06:58:52 AM
Quote from: [-Trogan-] on March 28, 2010, 03:21:40 PM
http://custom.simplemachines.org/mods/index.php?mod=788 (http://custom.simplemachines.org/mods/index.php?mod=788)

Find in ./Themes/default/UltimateProfile.php:
      'other_info',
Add after:
      'personalpad',
Find:?>
Add before:function up_block_personalpad() {

   // Member Notepad
   global $scripturl, $txt, $context;
   
   if ($context['show_pad']) {
   echo '
      <div id="up_personalpad">
         <h3 class="catbg">
            <span class="left"></span>
            ' . $txt['mempad_title'] . '
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">
               <form method="post" action="', $scripturl, '?action=savepad">
                  <textarea rows="5" name="txtnotes" col="500">', $context['pad_notes'], '</textarea><br />
                  <input type="hidden" name="id" value="', $context['member']['id'], '">
                  <input type="submit" value="', $txt['mempad_save'], '" name="cmdnotes" class="button_submit" />
               </form><br />
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
      return true;
   } else
      return false;
   // End Member Notepad

}


Quote from: Hitakashi on March 28, 2010, 10:47:06 PM
Nope its not there
What is your SMF version?

Quote from: rebornishard on March 29, 2010, 04:43:20 AM
sir please answer me,
i installed it but after that i can't use smf trader system anymore :(
can i use it again ?
You want to integrate SMF Trader System with Ultimate Profile? If yes, download link please :)
Title: Re: Ultimate Profile
Post by: [-Trogan-] on March 29, 2010, 08:43:47 AM
Quote from: Yağız... on March 29, 2010, 06:58:52 AM
Quote from: [-Trogan-] on March 28, 2010, 03:21:40 PM
http://custom.simplemachines.org/mods/index.php?mod=788 (http://custom.simplemachines.org/mods/index.php?mod=788)

Find in ./Themes/default/UltimateProfile.php:
      'other_info',
Add after:
      'personalpad',
Find:?>
Add before:function up_block_personalpad() {

   // Member Notepad
   global $scripturl, $txt, $context;
   
   if ($context['show_pad']) {
   echo '
      <div id="up_personalpad">
         <h3 class="catbg">
            <span class="left"></span>
            ' . $txt['mempad_title'] . '
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">
               <form method="post" action="', $scripturl, '?action=savepad">
                  <textarea rows="5" name="txtnotes" col="500">', $context['pad_notes'], '</textarea><br />
                  <input type="hidden" name="id" value="', $context['member']['id'], '">
                  <input type="submit" value="', $txt['mempad_save'], '" name="cmdnotes" class="button_submit" />
               </form><br />
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
      return true;
   } else
      return false;
   // End Member Notepad

}


Thanks m8 it worked just fine.
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 09:12:54 AM
I was reading the installation guide and I got stuck here...

database.php
This file should be able to execute standalone.
helper.php
This file should be able to execute standalone.

What's standalone? How do I know if they can? If not, what should I do?

Help please D:
Title: Re: Ultimate Profile
Post by: Yağız... on March 29, 2010, 09:18:19 AM
Upload them to your forum folder, and run them (like: http://www.mysite.com/database.php).
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 09:59:35 AM
Quote from: Yağız... on March 29, 2010, 09:18:19 AM
Upload them to your forum folder, and run them (like: http://www.mysite.com/database.php).

Upload what? o.o
Sorry, I'm a noob... need more info D:
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 11:57:20 AM
Welcome to SMF cloddy.

Upload the database.php and the helper.php to your forum's root folder (the same folder as where the SSI.php is). Then navigate your browser to each file like:

http://www.yoursite.not/forum/database.php
Title: Re: Ultimate Profile
Post by: rebornishard on March 29, 2010, 03:29:46 PM
everyone ignoring me :(
i just want to know how to uninstall ultimate profile 0.9.1
please help
Title: Re: Ultimate Profile
Post by: Yağız... on March 29, 2010, 03:40:08 PM
Quote from: rebornishard on March 29, 2010, 03:29:46 PM
everyone ignoring me :(
i just want to know how to uninstall ultimate profile 0.9.1
please help
Go to Admin > Packages, find Ultimate Profile > Click on [Uninstall]
Title: Re: Ultimate Profile
Post by: rebornishard on March 29, 2010, 04:22:31 PM
Quote from: Yağız... on March 29, 2010, 03:40:08 PM
Quote from: rebornishard on March 29, 2010, 03:29:46 PM
everyone ignoring me :(
i just want to know how to uninstall ultimate profile 0.9.1
please help
Go to Admin > Packages, find Ultimate Profile > Click on [Uninstall]
but how if there is no uninstall ?
(http://www.mediafire.com/imgbnc.php/ccca38bdfc35e3d644b52559f569ecb15g.jpg)
Title: Re: Ultimate Profile
Post by: Yağız... on March 29, 2010, 04:28:38 PM
What is your SMF version?
Title: Re: Ultimate Profile
Post by: rebornishard on March 29, 2010, 04:32:56 PM
i using smf 1.1.11 and using theme : Anecdota by Crip
another information needed ?
Title: Re: Ultimate Profile
Post by: Yağız... on March 29, 2010, 04:35:24 PM
Can you try to add ;version_emulate=1.1.10 when you are on Packages page?
Title: Re: Ultimate Profile
Post by: rebornishard on March 29, 2010, 04:37:20 PM
Quote from: Yağız... on March 29, 2010, 04:35:24 PM
Can you try to add ;version_emulate=1.1.10 when you are on Packages page?
yes i will try, how to do it ?
thanks
Title: Re: Ultimate Profile
Post by: Yağız... on March 29, 2010, 04:45:01 PM
Add ;version_emulate=1.1.10 at the end of the url (on the adress bar) when you are on Packages page.
Title: Re: Ultimate Profile
Post by: rebornishard on March 29, 2010, 04:50:14 PM
1.1.10 not work but ;version_emulate=1.1.9 work
now i will try to uninstall ;)
btw thanks a lot :D
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 05:37:06 PM
Mine looks like this when I follow those instructions:

(http://i251.photobucket.com/albums/gg308/wynnyelle/profile.png)

I can't see where "Ultimate Profile" is an option.
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 05:53:02 PM
Quote from: SunKing on March 29, 2010, 11:57:20 AM
Welcome to SMF cloddy.

Upload the database.php and the helper.php to your forum's root folder (the same folder as where the SSI.php is). Then navigate your browser to each file like:

http://www.yoursite.not/forum/database.php

Thxxxxx a lottttttttt, It worked :D

Btw, could it be that I am the only one able to activate it? Normal users don't seem to be able to choose the ultimate profile option :S
How do I fix it?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 06:10:29 PM
Make sure you have set the permissions for your members to use (edit) their ultimate profile in SMF's permissions system.
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 06:57:00 PM
Is there a way to make it the default condition for a profile?

...I still can't find where to set this on my site anyway :P Help would be appreciated. I apologise, but I am a newbie at this.
Title: Re: Ultimate Profile
Post by: Hitakashi on March 29, 2010, 07:24:23 PM
I with Groovystar helping her with this but its totally not anywhere on the board not in the ACP nothing
SMF is SMF 2 RC3
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 07:44:28 PM
I DID find it listed in the Packages, with a green light, so it was uploaded to the site. {Should I get a screencap of that too?}
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 08:02:12 PM
Quote from: SunKing on March 29, 2010, 06:10:29 PM
Make sure you have set the permissions for your members to use (edit) their ultimate profile in SMF's permissions system.

I can't seem to find that option...

And I have this empty table:

(http://img197.imageshack.us/img197/8720/profp.png) (http://img197.imageshack.us/i/profp.png/)

Maybe that's where the permissions should be?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 08:32:13 PM
In Admin > Permissions > {the membergroup you want to add the permission to}

(http://img59.imageshack.us/img59/5344/screenshotmr.png) (http://img59.imageshack.us/i/screenshotmr.png/)
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 08:41:41 PM
This is what I got:

(http://i251.photobucket.com/albums/gg308/wynnyelle/profiles2.png)

I'm stuck. I can't find it.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 08:44:16 PM
See Regular Members? Toward the end of that is Modify. Click Modify and you'll see a screen similar to what I posted above.
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 08:50:46 PM
Quote from: SunKing on March 29, 2010, 08:44:16 PM
See Regular Members? Toward the end of that is Modify. Click Modify and you'll see a screen similar to what I posted above.

I found the option to enable it... However... Take a look:

http://yfrog.com/eidibujofep

There's no text D:
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 09:00:39 PM
I see all this:

(http://i251.photobucket.com/albums/gg308/wynnyelle/profiles5.png)



(http://i251.photobucket.com/albums/gg308/wynnyelle/profiles4.png)



(http://i251.photobucket.com/albums/gg308/wynnyelle/profiles3.png)

Still stuck here.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 09:04:17 PM
No text is probably due to you using a custom theme. You'll need to copy the following lines into the Modifications.english.php in the language folder of your custom theme:
$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.';


I there is no Modifications.english.php in your custom theme's language folder, then just copy the entire file from the default theme's language folder.
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 09:06:51 PM
thanks! Here's what it said when I opened it


<?php
// Version: 2.0 RC3; Settings

// Important! Before editing these language files please read the text at the top of index.english.php.

global $settings;

$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.gif';
$txt['theme_description'] = 'A mixture of green and blue colours that gives your forum a very calm, foresty ambience.<br /><br />Author: A&auml;ron van Geffen.';

?>



I changed it to this.

<?php
// Version: 2.0 RC3; Settings

// Important! Before editing these language files please read the text at the top of index.english.php.

global $settings;

$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.gif';
$txt['theme_description'] = 'A mixture of green and blue colours that gives your forum a very calm, foresty ambience.<br /><br />Author: A&auml;ron van Geffen.';

?>


$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.';



do I reupload it now?
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 09:09:33 PM
@Groovystar
I believe what you are looking for is just below where the last pic cuts off, just below "Choose a custom title for themselves." Can you post a screenshot of the next 10 or so lines?  ;D

The post about the language strings was directed at cloddy, but you type too quick.  :P

EDIT: Also @Groovystar
You would need those strings above the ?> or you'd get parse errors.
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 09:26:54 PM
Quote from: SunKing on March 29, 2010, 09:04:17 PM
No text is probably due to you using a custom theme. You'll need to copy the following lines into the Modifications.english.php in the language folder of your custom theme:
$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.';


I there is no Modifications.english.php in your custom theme's language folder, then just copy the entire file from the default theme's language folder.

What if there's not even a language folder? xD

Sorry >.<
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 09:32:08 PM
Then I guess it would be calling from the default. Are those strings in the default Modifications.english.php? If they are in that file, you'll need to create a language folder in your custom theme and then copy that file to it.
Title: Re: Ultimate Profile
Post by: wynnyelle on March 29, 2010, 09:32:25 PM
Will do, I can shift the code around, would it be good to re upload then?

And the screencaps are posted in reverse order. I just pasted them in there, I can go flip them. Everything on that page was capped.

Lol...I have been told I type too fast :P
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 09:36:46 PM
@Groovystar
I have PM'd you.
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 09:38:09 PM
Quote from: SunKing on March 29, 2010, 09:32:08 PM
Then I guess it would be calling from the default. Are those strings in the default Modifications.english.php? If they are in that file, you'll need to create a language folder in your custom theme and then copy that file to it.

I've done it... It still doesn't work D:
What's more, I've changed the theme to the default one, and it's the same D:
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 09:58:35 PM
@cloddy
Can you post or PM a link to your site?
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 10:03:34 PM
Quote from: SunKing on March 29, 2010, 09:58:35 PM
@cloddy
Can you post or PM a link to your site?

No problem:

http://www.abilyn-realm.com.ar/Foros/index.php?action=forum

Hope you don't mind the language ^^UUUU
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 10:25:44 PM
@cloddy
Everything looks to be in place from what I can tell. I have sent a PM.
Title: Re: Ultimate Profile
Post by: cloddy on March 29, 2010, 10:48:12 PM
Quote from: SunKing on March 29, 2010, 10:25:44 PM
@cloddy
Everything looks to be in place from what I can tell. I have sent a PM.

Thx, I've answered it
Title: Re: Ultimate Profile
Post by: [unplugged] on March 29, 2010, 11:01:37 PM
Apparently, I was also having a slight language string issue with my current theme at my site. There is a "Enable ultimate profile for all members" checkbox under Admin > Configuration > Modification Settings > Ultimate Profile. There are a few other settings there as well.
Title: Re: Ultimate Profile
Post by: Scaala on March 30, 2010, 03:39:14 AM
I seem to be having a similar problem where I don't have an uninstall button available.  I am using the mod on SMF 2.0RC3, however.  I attempted the emulation solution specifically as listed above...

Quote from: Yağız... on March 29, 2010, 04:35:24 PM
Add ;version_emulate=1.1.10 when you are on Packages page?

...also with trying 1.1.9, but this had no success.  It might be this isn't directly operable on SMF2, but I don't know if so.

...Does applying the ultimate profile to all members disable the uninstall option?  And disabling that option allow for it again?  That's the only relevant change I can think of, since I think I was unable to uninstall the mod originally...

Cheers.
Title: Re: Ultimate Profile
Post by: [unplugged] on March 30, 2010, 12:31:14 PM
If you are using SMF2, then you can simply click on the Advanced link located in the lower right corner of the package managers list of mods. That will bring up a text field where you can enter which version you would like to emulate. I believe using "RC2" instead of "RC3" was how to get it working.
Title: Re: Ultimate Profile
Post by: wynnyelle on March 30, 2010, 01:04:59 PM
I still don't got this working. Just like yesterday and nothing is changed.
Title: Re: Ultimate Profile
Post by: Bugo on March 31, 2010, 08:37:42 AM
In SMF 1.1.11 doesn't work (images don't loading to profile) — it's bad :(
And replace lines <install for="1.1 - 1.2"> to <install for="1.1 - 1.99.99"> in file package-info.xml

In SMF 2.0 RC3: in file package-info.xml replace lines: <install for="2.0 RC3"> to <install for="2.0 - 2.99.99"> and <uninstall for="2.0 RC2"> to <uninstall for="2.0 - 2.99.99">
Title: Re: Ultimate Profile
Post by: Evilcyber on March 31, 2010, 08:58:48 AM
Quote from: Yağız... on March 28, 2010, 02:38:59 PM
Quote from: Evilcyber on March 28, 2010, 10:32:41 AM
Quote from: Yağız... on March 28, 2010, 10:13:20 AM
Check Pictures Path.

I tried all possible versions of the pictures path.
Then it can be a problem with the server ... I don't know too much about uploading, sorry ...

And what problem with the server could that be?
Title: Re: Ultimate Profile
Post by: JovanT on March 31, 2010, 12:21:06 PM
Quote from: Evilcyber on March 31, 2010, 08:58:48 AM
And what problem with the server could that be?
You should set permissions of your "profile_pictures" folder to 0777. Also, the "Pictures path" and "Pictures URL" in Ultimate Profile settings should be correct. What values should you use?

For "Pictures path": /path/to/your/forum/profile_pictures
For "Pictures URL": http://www.yourforumaddress.com/profile_pictures

If you don't know path to your forum, take a look at "SMF Directory" setting under "Server Settings" in Administration center.




And for all users that want to uninstall Ultimate Profile, important notice:

There's one small bug in Ultimate Profile's uninstall instructions - version settings are wrong. I've fixed that bug and reuploaded packages, for both 1.1.x and 2.0RC3 version. Please download appropriate version (http://custom.simplemachines.org/mods/index.php?mod=1675) and replace it with the current one in your Packages directory. After that, you will be able to uninstall this modification. I'm really sorry for the inconvenience this may caused.
Title: Re: Ultimate Profile
Post by: Scaala on March 31, 2010, 09:15:11 PM
Quote from: SunKing on March 30, 2010, 12:31:14 PM
If you are using SMF2, then you can simply click on the Advanced link located in the lower right corner of the package managers list of mods. That will bring up a text field where you can enter which version you would like to emulate. I believe using "RC2" instead of "RC3" was how to get it working.

Aye, looks like that allows for uninstallation.  I think I'll leave it, though, until the next update - when more than the uninstallation error is fixed. :)
Title: Re: Ultimate Profile
Post by: alblove on April 01, 2010, 10:17:29 AM
i have a problem ...

http://www.alblove.com/profiles/alblove-u1.html

Maybe resizing buddis avatar can resolve this problem, how can i do that ?
Title: Re: Ultimate Profile
Post by: Evilcyber on April 01, 2010, 12:06:58 PM
Quote from: JovanT on March 31, 2010, 12:21:06 PM
You should set permissions of your "profile_pictures" folder to 0777. Also, the "Pictures path" and "Pictures URL" in Ultimate Profile settings should be correct. What values should you use?

For "Pictures path": /path/to/your/forum/profile_pictures
For "Pictures URL": http://www.yourforumaddress.com/profile_pictures

If you don't know path to your forum, take a look at "SMF Directory" setting under "Server Settings" in Administration center.

Jovan, I have checked all that. The path you see below is the exact location of the forum as given in server settings. And profile_pictures does reside in public_html, but it still gives this error message:

2: rename(/home/bitsy/public_html/profile_pictures/tmp_3_thumb,/home/bitsy/public_html/profile_pictures/3_1270137302.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/bitsy/public_html/Sources/ProfilePictures.php
Line: 175

I also made sure that the folder is set to 777. And if the path was wrong, why would previously uploaded pictures show?

Edit: I found it! It was the gd module missing from our Apache / PHP compilation.
Title: Re: Ultimate Profile
Post by: oldguest on April 02, 2010, 05:36:37 AM
Hi
I have a problem with my smf version 1.11.
The mod i have installed is ultimate profile.
But in my error log, i get this message.
2: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments
Fil: Themes/default/ProfilePictures.template.php (pictures_view sub template - eval?)
Line 201
I have pasted a copy of line 201 from the file ProfilePictures.template.php here.
', $txt[139], ': ', $context['page_index'], '
What can i do, so it works.
Best regards
Noeyes

Title: Re: Ultimate Profile
Post by: Siirist on April 02, 2010, 05:56:33 PM
Hello,

Installed this 2 days ago on SMF ver 2.0RC1 without a problem.
Now want to un-install all mods (including this one) and themes due to problems on forum. :-[

An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!
Please contact the mod author for more information.

Solution?

Thanks in advance.

Be Well,
Cloud 8)
Title: Re: Ultimate Profile
Post by: butchs on April 02, 2010, 10:05:56 PM
I uploaded the RC3 version and now I get the attached.  I can not uninstall either?
:o
Title: Re: Ultimate Profile
Post by: [unplugged] on April 02, 2010, 10:43:06 PM
Quote from: SunKing on March 30, 2010, 12:31:14 PM
If you are using SMF2, then you can simply click on the Advanced link located in the lower right corner of the package managers list of mods. That will bring up a text field where you can enter which version you would like to emulate. I believe using "RC2" instead of "RC3" was how to get it working.
Title: Re: Ultimate Profile
Post by: butchs on April 03, 2010, 03:41:46 AM
The problem is that the install says RC3 and the uninstall says RC2.  So it will install on RC3 but will not uninstall unless you edit "package-info.xml", re-zip and manually download the new zip file into your SMF package folder.  :-[
Title: Re: Ultimate Profile
Post by: Siirist on April 03, 2010, 07:55:56 AM
Quote from: butchs on April 03, 2010, 03:41:46 AM
The problem is that the install says RC3 and the uninstall says RC2.  So it will install on RC3 but will not uninstall unless you edit "package-info.xml", re-zip and manually download the new zip file into your SMF package folder.  :-[

butchs,

Thanks for info about how to un-install. As it turned out, we had more than 5 mods that would not un-install, so we ran SMF 2.0RC3 Upgrade and it removed ALL mods. Which is what we wanted.

Thanks again,
Cloud 8)
Title: Re: Ultimate Profile
Post by: lc62003 on April 03, 2010, 10:26:10 AM
I'm getting this error:

8: Undefined index: profile_buddies_show
Apply Filter: Only show the errors from this file
File: /forum/Sources/Profile.php
Line: 134


I saw someone earlier in this thread having the same issue, but didn't see the solution.   :)
Title: Re: Ultimate Profile
Post by: oldguest on April 05, 2010, 12:14:00 AM
Hello
I use smf 1.11 and ultimate profile.
I have a problem, i get this error message in my forum, and i can't find any solution.
2: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments
Fil: my domain/Themes/default/ProfilePictures.template.php (pictures_view sub template - eval?)
Linie: 201
I have attached the file here.
Best regards
Noeyes
Title: Re: Ultimate Profile
Post by: TurtleKicker on April 05, 2010, 01:45:29 PM
Is there a FAQ somewhere on how to use the "Customization" field to customize your profile with HTML/CSS? Not clear on the syntax to use.

I tried using the search function to search the 98 pages on this thread but to no avail.
Title: Re: Ultimate Profile
Post by: alx79bb on April 05, 2010, 02:25:20 PM
Hey man Love this mod as well as all of my users.  ;D
Had a quick question: Is there a way for the current user to see the theme of the member whose profile you are looking at? I would love to see it in the next version. Or is there a way I can adjust this in the current version?
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 06, 2010, 11:40:28 AM
I like ultimate, but I dont see a way to add a buddie  :'( First I think I made a mistake and so I install it on a fresh 2.0RC3 forum without any mod

With ultimate no way to add buddie, without its going. For better understand my crazy english I attach the screen pic.

Anybody any idea?

Title: Re: Ultimate Profile
Post by: Neverhurry on April 07, 2010, 04:17:44 PM
Quote from: ProfDrDenis on April 06, 2010, 11:40:28 AM
I like ultimate, but I dont see a way to add a buddie  :'( First I think I made a mistake and so I install it on a fresh 2.0RC3 forum without any mod

With ultimate no way to add buddie, without its going. For better understand my crazy english I attach the screen pic.

Anybody any idea?

I had the same problem...  :(  that is why i don't use this mod, though it is very useful.
Title: Re: Ultimate Profile
Post by: keytor69 on April 09, 2010, 09:05:25 AM
I have just installed a New copy of 2.0 RC3 and then installed Ultimate Profile 2.0 RC3 but when I go to modification settings > Ultimate profile . all I can see are the variables, nothing to tell me what the tickboxes do or paths change. All I see is 2 tick boxes, 4 text boxes, a drop down box and then another 2 tickboxes.
Title: Re: Ultimate Profile
Post by: Scratching my Head on April 09, 2010, 12:16:41 PM
You are using a custom theme, right?

You'll have to modify: /Themes/default/languages/Modifications.english.php

Go here:  http://custom.simplemachines.org/mods/index.php?mod=1675

Look for: Manual Install Instructions for SMF    (on the right hand side)

Then look for the changes you need to do.

Title: Re: Ultimate Profile
Post by: TurtleKicker on April 09, 2010, 12:18:16 PM
I did notice an issue that if you have buddies already using the standard SMF buddy system, upon installing Ultimate Profile they will not appear as UP buddies, but you will not be able to add them either. I had to manually go into the database via phpMyAdmin and clean out the old buddy data, then I was able to add buddies in UP simply by going to their profile.

Could still use help on my question from the previous page. ;)
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 09, 2010, 03:00:13 PM
@ Scratching my Head

you talk with me? To change the language file is the first way what I do. But look the pics this not the point

@ Sremick

I dont have any buddie. The point is no way to add a buddie, see the pics
Title: Re: Ultimate Profile
Post by: Scratching my Head on April 09, 2010, 03:05:18 PM
Quote from: Scratching my Head on April 09, 2010, 12:16:41 PM
You are using a custom theme, right?

You'll have to modify: /Themes/default/languages/Modifications.english.php

Go here:  http://custom.simplemachines.org/mods/index.php?mod=1675

Look for: Manual Install Instructions for SMF    (on the right hand side)

Then look for the changes you need to do.



Quote from: ProfDrDenis on April 09, 2010, 03:00:13 PM
@ Scratching my Head

you talk with me?

Nope. Talking with keytor69:

Quote from: keytor69 on April 09, 2010, 09:05:25 AM
I have just installed a New copy of 2.0 RC3 and then installed Ultimate Profile 2.0 RC3 but when I go to modification settings > Ultimate profile . all I can see are the variables, nothing to tell me what the tickboxes do or paths change. All I see is 2 tick boxes, 4 text boxes, a drop down box and then another 2 tickboxes.


But there is solution for buddy problem.
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 09, 2010, 03:19:35 PM
sorry i think its my english  :'(

I hope anybody can help with the buddy problem
Title: Re: Ultimate Profile
Post by: gbsothere on April 09, 2010, 05:25:09 PM
Quote from: ProfDrDenis on April 09, 2010, 03:19:35 PM
sorry i think its my english  :'(

I hope anybody can help with the buddy problem


ProfDrDenis, I'm not sure about your version, but I would think that it would be similar to 2.0 RC1.2.  If that's the case, then have you first gone to admin--->configuration----> features and options----> general and made sure that "enable buddy lists" is checked?  You must do that first.  Then, you just click on a member's name and in his or her profile find the "Add To Buddy List" link and click that.  That member will be sent a PM announcing that you wish to add him or her and if he or she approves then each of you will appear on the other's buddy list.  You might wish to create a newbie test account and then, using your admin account, go to that "newbie's" user name, then profile and click that link.  Then log in with the newbie account and see if you have a PM announcing that you (the admin) wishes to add the newbie to your buddy list.  As the newbie, click the link in your PM, then approve the request. The admin should then show up in the newbie's buddy list, and if you log back in as the admin, the newbie should show up in the admin's buddy list.

Have you tried all this?   :)
Title: Re: Ultimate Profile
Post by: lc62003 on April 09, 2010, 07:36:54 PM
That all works for me.  Just getting errors.   :-\
Title: Re: Ultimate Profile
Post by: Scratching my Head on April 09, 2010, 10:09:55 PM
There's a work-around for the buddy problem, I had the same thing happen on my forum, but the development
website is down, and no telling when it will be back up. It has a FAQ and it's very useful.

All we can do is wait for the mod author to pop back in here. He'll be back. He's a good guy.

Search this topic for this problem. It's archived somewhere.
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 10, 2010, 06:04:49 AM
Quote from: gbsothere on April 09, 2010, 05:25:09 PM
Have you tried all this?   :)

my version is 2.0RC3 and I had done. But this is not the point, look my pics. The buddie option is not there
Title: Re: Ultimate Profile
Post by: gbsothere on April 10, 2010, 08:27:16 AM
Quote from: ProfDrDenis on April 10, 2010, 06:04:49 AM
Quote from: gbsothere on April 09, 2010, 05:25:09 PM
Have you tried all this?   :)

my version is 2.0RC3 and I had done. But this is not the point, look my pics. The buddie option is not there


Forgive my misunderstanding;  I just made an assumption that you hadn't enabled Buddy Lists in your Features settings (which would cause the option not to be present).  I'm sorry I couldn't help.  I'm sure JovanT or Yagiz (or someone else) will check this thread soon and will be able to assist.

:)
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 10, 2010, 10:58:38 AM
no problem life goes on but better with this mod  ;D
Title: Re: Ultimate Profile
Post by: Yağız... on April 10, 2010, 11:07:15 AM
Sorry for the late answers. I can't answer every question poster here, sorry for that :) (if I missed any question, please re-post them)

For adding buddy issue, add your buddies from members' profile page.

For old SMF buddies, there is a migration tool but I can't find it. You can search in this and the old topics. (only for SMF 1.1.x, doesn't work on SMF 2.x)
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 10, 2010, 11:56:20 AM
Quote from: Yağız... on April 10, 2010, 11:07:15 AM
For adding buddy issue, add your buddies from members' profile page.

ok, this is working. But is this the correct way?
Title: Re: Ultimate Profile
Post by: Yağız... on April 10, 2010, 12:15:59 PM
Quote from: ProfDrDenis on April 10, 2010, 11:56:20 AM
Quote from: Yağız... on April 10, 2010, 11:07:15 AM
For adding buddy issue, add your buddies from members' profile page.

ok, this is working. But is this the correct way?
Yes :)
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 10, 2010, 04:27:45 PM
Quote from: Yağız... on April 10, 2010, 12:15:59 PM
Yes :)

you cant change?

In a normal profil without Ultimate you add a buddie very simpel. I think, I hope for you its a small deal to put this inside the mod. Or?
Title: Re: Ultimate Profile
Post by: Yağız... on April 10, 2010, 06:55:23 PM
Quote from: ProfDrDenis on April 10, 2010, 04:27:45 PM
Quote from: Yağız... on April 10, 2010, 12:15:59 PM
Yes :)

you cant change?

In a normal profil without Ultimate you add a buddie very simpel. I think, I hope for you its a small deal to put this inside the mod. Or?
Yes, I shall remove it. Because when you add buddies from there, it doesn't add to _buddies table. But maybe I can restore it :)
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 11, 2010, 04:59:20 AM
yeah, let us know. Thanks
Title: Re: Ultimate Profile
Post by: SuperZambezi on April 12, 2010, 09:58:46 PM
How can I increase the number of buddys that show up on the profile? There is currently 6.

And is it possible to make the avatar sizes smaller? Thanks.
Title: Re: Ultimate Profile
Post by: Yağız... on April 12, 2010, 10:05:31 PM
Quote from: SuperZambezi on April 12, 2010, 09:58:46 PM
How can I increase the number of buddys that show up on the profile? There is currently 6.

And is it possible to make the avatar sizes smaller? Thanks.
Admin > Modification Settings > Ultimate Profile > Number of buddies shown on profile
Title: Re: Ultimate Profile
Post by: SuperZambezi on April 12, 2010, 10:18:39 PM
I don't seem to have that option. These are the only options present :

Enable ultimate profile for all members   
Enable uploading of pictures   
Pictures path   
Pictures URL   
Number of allowed pictures
Width of uploaded pictures
Allow profile customization   
Allow media box
Title: Re: Ultimate Profile
Post by: Yağız... on April 12, 2010, 10:20:53 PM
You should be using a lower version then. Which version are you using? And your SMF version?
Title: Re: Ultimate Profile
Post by: TheListener on April 12, 2010, 10:30:11 PM
On the new forum I have two mods which show in the normal profile but not the ultimate profile.

Is there a way to add the code to the mod?

The mods are Next Post Level and Referrals Mod.

Am using 2.0 RC3

The forum can be seen at www.mkaware.co.uk
Title: Re: Ultimate Profile
Post by: mrtrc266 on April 12, 2010, 10:36:43 PM
Quote from: Brack1 on April 12, 2010, 10:30:11 PM
On the new forum I have two mods which show in the normal profile but not the ultimate profile.

Is there a way to add the code to the mod?

The mods are Next Post Level and Referrals Mod.

Am using 2.0 RC3

The forum can be seen at www.mkaware.co.uk

For the referrals Mod
http://www.simplemachines.org/community/index.php?topic=226191.msg2561965#msg2561965
Title: Re: Ultimate Profile
Post by: distante on April 13, 2010, 09:37:24 AM
Quote from: Yağız... on March 27, 2010, 08:18:33 PM
Quote from: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?


In a RC2 forum
Find in ./Sources/Profile-View.php:
// Are there things we don't show?
Add before:
   // Show users' items on their profile
   $result = $smcFunc['db_query']('', '
      SELECT it.image, it.name
      FROM {db_prefix}shop_inventory AS inv
         LEFT JOIN {db_prefix}shop_items AS it ON (it.id = inv.itemid)
      WHERE inv.ownerid = {int:id}',
      array(
         'id' => $memID,
      )
   );
   $context['up_shop_inventory'] = array();
   while ($row = $smcFunc['db_fetch_assoc']($result))
   {
      global $boardurl;
      $context['up_shop_inventory'][] = array(
         'image' => '<img src="' . $boardurl . '/Sources/shop/item_images/' . $row['image'] . '" alt="' . $row['name'] . '"  alt="' . $row['name'] . '" width="' . $modSettings['shopImageWidth'] . '" height="' . $modSettings['shopImageHeight'] . '" />',
         'name' => $row['name'],
      );
   }
   $smcFunc['db_free_result']($result);


Find in ./Themes/default/UltimateProfile.template.php:
      'buddies',
Add after:
      'inventory',

Find:
function up_block_pictures() {
Add before:
function up_block_inventory() {
   global $settings, $txt, $context, $scripturl, $modSettings;
   
   if (!empty($context['up_shop_inventory'])) {
      echo '
      <div id="up_shop_inventory">
         <h3 class="catbg">
            <span class="left"></span>
            My Inventory
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">
               <table width="100%">
                  <tr>';
               
         if (!empty($context['up_shop_inventory'])) {
            $i = 1;
            foreach ($context['up_shop_inventory'] as $item) {
               $i = $i + 1;
               echo '
                     <td align="center" valign="top" style="clear: both;">
                        ', $item['image'], '<br />
                        ', $item['name'], '
                     </td>';
                     
                  if ($i == 4)
                     echo '
                  </tr>
                  <tr>';
            }
         }
         else
               echo '
                     <td>I do not have any items on my inventory.</td>';
         
               echo '
                  </tr>
               </table>
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
      return true;
   } else
      return false;
}



Sorry, I was "unplugged" a little time, this work perfect! Thank you a lot.

The only bad thing is That I can't see my own Inventory in my Profile  :P

There's any way to do this? If not, it's no problem.

Regards and Thank you again  ;)
Title: Re: Ultimate Profile
Post by: Yağız... on April 13, 2010, 09:50:39 AM
Quote from: Brack1 on April 12, 2010, 10:30:11 PM
On the new forum I have two mods which show in the normal profile but not the ultimate profile.

Is there a way to add the code to the mod?

The mods are Next Post Level and Referrals Mod.

Am using 2.0 RC3

The forum can be seen at www.mkaware.co.uk
Find in ./Themes/default/UltimateProfile.template.php
if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt><strong>', $txt['location'], ':</strong></dt>
<dd>', $context['member']['location'], '</dd>';

Add after:
if(!empty($context['member']['next_post_level']))
echo '
<dt>', $txt['nextpostlevel_next'], '</dt>
<dd>', $context['member']['next_post_level'], '</dd>';

// Add the referral/referred user information to the profile summary
echo '
<dt>', $txt['referrals_referrals'], '</dt>
<dd>
', $context['member']['referrals_no'], '  ';

// Show in dropdown username 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 '
</dd>
<dt>', $txt['referrals_referrals_hits'], '</dd>
<dd>', $context['member']['referrals_hits'], '</dd>';

if (!empty($context['member']['referred_by'])){
echo '
<dt>', $txt['referrals_referred_by'], '</dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}

// Remove the # on the next line to make the link appear for the profile's owner ONLY!
# if ($context['user']['id'] == $context['member']['id'])
echo '
<dt>', $txt['referrals_link'], '</dt>
<dd>
<input type="text" onselect="this.select()" id="referral_link" value="', $scripturl, '?action=register;referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
</dd>';


Quote from: distante on April 13, 2010, 09:37:24 AM
Quote from: Yağız... on March 27, 2010, 08:18:33 PM
Quote from: distante on March 23, 2010, 01:34:49 AM
Anyone know how to put the list of "items" bought using SMF SHOP ?


In a RC2 forum
Find in ./Sources/Profile-View.php:
// Are there things we don't show?
Add before:
   // Show users' items on their profile
   $result = $smcFunc['db_query']('', '
      SELECT it.image, it.name
      FROM {db_prefix}shop_inventory AS inv
         LEFT JOIN {db_prefix}shop_items AS it ON (it.id = inv.itemid)
      WHERE inv.ownerid = {int:id}',
      array(
         'id' => $memID,
      )
   );
   $context['up_shop_inventory'] = array();
   while ($row = $smcFunc['db_fetch_assoc']($result))
   {
      global $boardurl;
      $context['up_shop_inventory'][] = array(
         'image' => '<img src="' . $boardurl . '/Sources/shop/item_images/' . $row['image'] . '" alt="' . $row['name'] . '"  alt="' . $row['name'] . '" width="' . $modSettings['shopImageWidth'] . '" height="' . $modSettings['shopImageHeight'] . '" />',
         'name' => $row['name'],
      );
   }
   $smcFunc['db_free_result']($result);


Find in ./Themes/default/UltimateProfile.template.php:
      'buddies',
Add after:
      'inventory',

Find:
function up_block_pictures() {
Add before:
function up_block_inventory() {
   global $settings, $txt, $context, $scripturl, $modSettings;
   
   if (!empty($context['up_shop_inventory'])) {
      echo '
      <div id="up_shop_inventory">
         <h3 class="catbg">
            <span class="left"></span>
            My Inventory
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">
               <table width="100%">
                  <tr>';
               
         if (!empty($context['up_shop_inventory'])) {
            $i = 1;
            foreach ($context['up_shop_inventory'] as $item) {
               $i = $i + 1;
               echo '
                     <td align="center" valign="top" style="clear: both;">
                        ', $item['image'], '<br />
                        ', $item['name'], '
                     </td>';
                     
                  if ($i == 4)
                     echo '
                  </tr>
                  <tr>';
            }
         }
         else
               echo '
                     <td>I do not have any items on my inventory.</td>';
         
               echo '
                  </tr>
               </table>
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
      return true;
   } else
      return false;
}



Sorry, I was "unplugged" a little time, this work perfect! Thank you a lot.

The only bad thing is That I can't see my own Inventory in my Profile  :P

There's any way to do this? If not, it's no problem.

Regards and Thank you again  ;)

Any errors on the error log?
Title: Re: Ultimate Profile
Post by: distante on April 13, 2010, 10:03:54 AM
Quote from: Yağız... on April 13, 2010, 09:50:39 AM

Sorry, I was "unplugged" a little time, this work perfect! Thank you a lot.

The only bad thing is That I can't see my own Inventory in my Profile  :P

There's any way to do this? If not, it's no problem.

Regards and Thank you again  ;)

Any errors on the error log?


No, no, I already find the "error". I was testing in a itemless user. Sorry my bad! (http://www.ninjasreview.com/forum/images/smilies/icon_stupid.gif)




I saw a previous post about put the Simple award system in The Ultimate Profile, but it was for 1.1.11, there's a way to do this for SMF 2? ( link to mod http://custom.simplemachines.org/mods/index.php?mod=539)

Thank you Yağız...  ;D
Title: Re: Ultimate Profile
Post by: Yağız... on April 13, 2010, 10:16:51 AM
Find this in ./Sources/Profile-View.php:
// Prepare the buddy list.
Add before:
// Get all the users "awards"...
$request = $smcFunc['db_query']('', '
SELECT a.ID_AWARD, a.title, a.ID_MEMBER, a.memberName as backupName, m.real_name, a.ID_AWARDED_MEMBER, a.givenDate, a.fileName
FROM ({db_prefix}awards AS a, {db_prefix}members as m)
WHERE a.ID_MEMBER = m.id_member
AND a.ID_AWARDED_MEMBER = {int:user}
ORDER BY RAND()
LIMIT 6',
array(
'user' => $memID,
)
);
$awards = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
{
$awards[$row['ID_AWARD']] = $row;
}
$smcFunc['db_free_result']($request);

// Setup the context for each award.
$context['awards'] = $awards;


Find in ./Themes/default/UltimateProfile.template.php:
'other_info',
Add after:
'awards',
Find:
?>
Add before:
function up_block_awards() {
global $settings, $txt, $context, $scripturl;

if (!empty($context['awards'])) {
echo '
<div id="up_shop_awards">
<h3 class="catbg">
<span class="left"></span>
My Awards
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<table style="width: 99%; margin-left: auto; margin-right: auto;">
<tr>';

$i = 1;
global $boardurl;
foreach ($context['awards'] as $award) {
$i = $i + 1;
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=awards"><img align="middle" src="', $boardurl, '/awards/', stripslashes($award['fileName']), '" alt="', stripslashes($award['title']), '" title="', stripslashes($award['title']), '"/></a>
</td>';

if ($i == 4)
echo '
</tr>
<tr>';
}
echo '
</tr>
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';
return true;
} else
return false;
}


I didn't try, let me know if you have an error.
Title: Re: Ultimate Profile
Post by: distante on April 13, 2010, 10:29:49 AM
Works all fine, without any error in the log!!

The only thing is that you put

function up_block_awards() {
   global $settings, $txt, $context, $scripturl;
   
   if (!empty($context['awards'])) {
      echo '
      <div id="up_shop_inventory">
         <h3 class="catbg">
            <span class="left"></span>
            My Inventory
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">
               <table style="width: 99%; margin-left: auto; margin-right: auto;">
                  <tr>';
           
               $i = 1;
               global $boardurl;
               foreach ($context['awards'] as $award) {
                     $i = $i + 1;
                     echo '
                     <td align="center" valign="top" style="clear: both;">
                        <a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=awards"><img align="middle" src="', $boardurl, '/awards/', stripslashes($award['fileName']), '" alt="', stripslashes($award['title']), '" title="', stripslashes($award['title']), '"/></a>
                     </td>';
                 
                  if ($i == 4)
                     echo '
                     </tr>
                     <tr>';
               }
            echo '
                  </tr>
               </table>
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
      return true;
   } else
      return false;
}


I change "My inventory" But I don't know if I have to change "<div id="up_shop_inventory">" too  :P
Title: Re: Ultimate Profile
Post by: Yağız... on April 13, 2010, 10:32:41 AM
Ah, yes, I copied the codes from it, forgot to change :) Thanks :) Yes you have to change it too.
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 13, 2010, 11:58:11 AM
news to put Buddys inside?
Title: Re: Ultimate Profile
Post by: Yağız... on April 13, 2010, 12:03:02 PM
Quote from: ProfDrDenis on April 13, 2010, 11:58:11 AM
news to put Buddys inside?
I'm working on it :)
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 13, 2010, 01:54:13 PM
you are wonderful
Title: Re: Ultimate Profile
Post by: gbsothere on April 13, 2010, 03:06:12 PM
Quote from: SuperZambezi on April 12, 2010, 09:58:46 PM
How can I increase the number of buddys that show up on the profile? There is currently 6.

And is it possible to make the avatar sizes smaller? Thanks.



Looking at your other post, it sounds as if your SMF version is 1.1.x?  If so, to increase the number of buddies, refer to this link:

http://www.simplemachines.org/community/index.php?topic=298641.msg1975107#msg1975107 (http://www.simplemachines.org/community/index.php?topic=298641.msg1975107#msg1975107)


To change avatar sizes, refer to this link:

http://www.simplemachines.org/community/index.php?topic=298641.msg2161667#msg2161667 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161667#msg2161667)

(And this comment following that link about the avatar sizes might be of interest to you, if you find your avatars appear distorted by the size restriction):

http://www.simplemachines.org/community/index.php?topic=298641.msg2161702#msg2161702 (http://www.simplemachines.org/community/index.php?topic=298641.msg2161702#msg2161702)
Title: Re: Ultimate Profile
Post by: Liam. on April 13, 2010, 03:27:58 PM
Now if you could put the new SMF Social Network mod (basically a FaceBook Wall), inside UP, that'd be great :)
Title: Re: Ultimate Profile
Post by: Dzonny on April 16, 2010, 04:25:47 PM
Is there a way to have utf-8 characters like - Č,Š,Ć on profile?
I cant find a way to fix them, i got just ? for this characters now.

Regards.
Title: Re: Ultimate Profile
Post by: Yağız... on April 16, 2010, 04:37:01 PM
Run this query on phpMyAdmin:
ALTER TABLE ' . $db_prefix . 'profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE ' . $db_prefix . 'profile_comments CHANGE comment comment TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

ALTER TABLE ' . $db_prefix . 'profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE title title TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE description description TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE filename filename TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

ALTER TABLE ' . $db_prefix . 'picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE ' . $db_prefix . 'picture_comments CHANGE comment comment TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

ALTER TABLE ' . $db_prefix . 'profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE ' . $db_prefix . 'profile_albums CHANGE title title TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

Don't forget to replace ' . $db_prefix . ' with your prefix.
Title: Re: Ultimate Profile
Post by: Dzonny on April 16, 2010, 05:45:09 PM
Ok replaced prefix but have this error:
Quote
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"comment" "comment" TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL' at line 1

Inserted code:
   ALTER TABLE pn_1462104_profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE pn_1462104_profile_comments CHANGE "comment" "comment" TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   
   ALTER TABLE pn_1462104_profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE pn_1462104_profile_pictures CHANGE "title" "title" TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   ALTER TABLE pn_1462104_profile_pictures CHANGE "description" "description" TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   ALTER TABLE pn_1462104_profile_pictures CHANGE "filename" "filename" TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   
   ALTER TABLE pn_1462104_picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE pn_1462104_picture_comments CHANGE "comment" "comment" TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   
   ALTER TABLE pn_1462104_profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE pn_1462104_profile_albums CHANGE "title" "title" TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
Title: Re: Ultimate Profile
Post by: Yağız... on April 16, 2010, 06:05:29 PM
Try this:
   ALTER TABLE ' . $db_prefix . 'profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE ' . $db_prefix . 'profile_comments CHANGE comment comment TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   
   ALTER TABLE ' . $db_prefix . 'profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE title title TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE description description TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE filename filename TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   
   ALTER TABLE ' . $db_prefix . 'picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE ' . $db_prefix . 'picture_comments CHANGE comment comment TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
   
   ALTER TABLE ' . $db_prefix . 'profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
   ALTER TABLE ' . $db_prefix . 'profile_albums CHANGE title title TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
Title: Re: Ultimate Profile
Post by: Dzonny on April 17, 2010, 07:58:11 AM
Ok, thanks that was runned successfuly, but stull i cant see utf-8 characters. Please see attached image of what i mean.
Title: Re: Ultimate Profile
Post by: Yağız... on April 17, 2010, 08:43:25 AM
Ah that's not a problem with database :) It's a problem with UP's language file. What is your language?
Title: Re: Ultimate Profile
Post by: Dzonny on April 17, 2010, 08:45:58 AM
Im using serbian-latin utf8 language pack.
Its working fine, but cant display utf-8 characters in profile. :/
Title: Re: Ultimate Profile
Post by: Yağız... on April 17, 2010, 09:22:59 AM
Ask Jovan, he's better with Serbian than me :)
Title: Re: Ultimate Profile
Post by: parvaz on April 18, 2010, 01:37:57 PM
Awsome mod! My members love it! I translated it to persian. Now the profile section of each member is no longer a forgotten place (it was very boring before).
I had an idea...well lets call it a question: Is it possible to add a drag & drop extension to this wonderful mod, so that each member would be able to organize and costumize the arrangement of the different blocks on the profile page? something like the costumization extension of simpleportal using db for users by which any member can costumize the arrangement of the blocks. some peaople like their media box on the top, some not; some like to have their comments just under their user info. it would be a great extension for this awsome mod.
Title: Re: Ultimate Profile
Post by: Nola5712 on April 19, 2010, 11:53:40 AM
ok i'm a total newb to smf (and website design in general) and i'm not sure if this is the right place to ask this, but i've searched and searched on this and can't find anything, so forgive me. 

i like ultimate profile and i have it set up and it works great, but herein lies the problem:  using the default core 1.1.11 theme, i can set a background for my profile and it is completely visible, but when i change themes, the majority of them will not allow for the entire background image on any given profile to be shown.  is this something that i can change within a new theme? or is it something i would just have to deal with if i chose to change from the default theme?

thanks in advance for your help
Title: Re: Ultimate Profile
Post by: LC on April 20, 2010, 04:26:18 AM
Quote from: Nola5712 on April 19, 2010, 11:53:40 AM
ok i'm a total newb to smf (and website design in general) and i'm not sure if this is the right place to ask this, but i've searched and searched on this and can't find anything, so forgive me. 

i like ultimate profile and i have it set up and it works great, but herein lies the problem:  using the default core 1.1.11 theme, i can set a background for my profile and it is completely visible, but when i change themes, the majority of them will not allow for the entire background image on any given profile to be shown.  is this something that i can change within a new theme? or is it something i would just have to deal with if i chose to change from the default theme?

thanks in advance for your help

Please see this post. http://www.simplemachines.org/community/index.php?topic=298641.msg2448125#msg2448125 

Had the same issue when I used 1.1.11

Hope it works for you.
Title: Re: Ultimate Profile
Post by: Nola5712 on April 20, 2010, 11:38:22 AM
Thanks LC for responding, i appreciate it a lot seeing as this problem is beginning to annoy me.  after looking at the thread that you linked up here, i tried pasting that code into my own ultimate profile customization box.  (right? there's nowhere else to put the code correct?)  and it still didn't work.  i did notice from reading that thread tho, that if i choose a theme that DOESN'T run off of tables, this issue would no longer be an issue correct?  i would love to get this resolved, if ANYONE has any help to offer that would be great, because i REALLY don't want to revert to the default theme.  Anyone else having the same problem (which i doubt since i'm using such an outdated version of SMF) should take note that the BZ v2 theme DOES allow for the ultimate profile mod to work correctly, i just don't like that theme very much.  Any other help i can get would be greatly appreciated.  Thanks.
Title: Re: Ultimate Profile
Post by: TheListener on April 20, 2010, 12:05:19 PM
Only just this couple of minutes found the edits for adding the next post snd refferals mods to the ultimate profile.

Thanks
Title: Re: Ultimate Profile
Post by: Yağız... on April 20, 2010, 12:23:57 PM
Quote from: parvaz on April 18, 2010, 01:37:57 PM
Awsome mod! My members love it! I translated it to persian. Now the profile section of each member is no longer a forgotten place (it was very boring before).
I had an idea...well lets call it a question: Is it possible to add a drag & drop extension to this wonderful mod, so that each member would be able to organize and costumize the arrangement of the different blocks on the profile page? something like the costumization extension of simpleportal using db for users by which any member can costumize the arrangement of the blocks. some peaople like their media box on the top, some not; some like to have their comments just under their user info. it would be a great extension for this awsome mod.

I'll post this to Jovan, maybe he can do this in next versions :) Thank you.

Quote from: Nola5712 on April 19, 2010, 11:53:40 AM
ok i'm a total newb to smf (and website design in general) and i'm not sure if this is the right place to ask this, but i've searched and searched on this and can't find anything, so forgive me. 

i like ultimate profile and i have it set up and it works great, but herein lies the problem:  using the default core 1.1.11 theme, i can set a background for my profile and it is completely visible, but when i change themes, the majority of them will not allow for the entire background image on any given profile to be shown.  is this something that i can change within a new theme? or is it something i would just have to deal with if i chose to change from the default theme?

thanks in advance for your help
Which theme are you using?

Quote from: Brack1 on April 20, 2010, 12:05:19 PM
Only just this couple of minutes found the edits for adding the next post snd refferals mods to the ultimate profile.

Thanks
Glad to hear that :)
Title: Re: Ultimate Profile
Post by: TheListener on April 20, 2010, 12:29:45 PM
Seems I have spoken too soon.


Apply Filter: Only show the error messages of this URL
http://xxxxxxxxxxxxxxxxxxx/index.php?action=profile;area=summary;u=1
Apply Filter: Only show the errors with the same message
8: Undefined variable: scripturl
Apply Filter: Only show the errors from this file
File:xxxxxxxxxxxxxxxxxxThemes/default/UltimateProfile.template.php

Line: 246
241:              // Remove the # on the next line to make the link appear for the profile's owner ONLY!
242:             # if ($context['user']['id'] == $context['member']['id'])
243:             echo '
244:                      <dt>', $txt['referrals_link'], '</dt>
245:                      <dd>
==>246:                         <input type="text" onselect="this.select()" id="referral_link" value="', $scripturl, '?action=register;referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
247:                      </dd>';

Attachment supplied
Title: Re: Ultimate Profile
Post by: Yağız... on April 20, 2010, 12:31:00 PM
Add $scripturl to the global list of the referal mods' function.
Title: Re: Ultimate Profile
Post by: TheListener on April 20, 2010, 12:35:49 PM
Er ya gonna have to show me where to look bud.

:-[
Title: Re: Ultimate Profile
Post by: Yağız... on April 20, 2010, 12:41:59 PM
 :) There is global $txt etc. in function up_block_referals function. Just add $scripturl in the list.
Title: Re: Ultimate Profile
Post by: TheListener on April 20, 2010, 12:49:41 PM
?

  ???
Title: Re: Ultimate Profile
Post by: Nola5712 on April 20, 2010, 12:55:52 PM
QuoteWhich theme are you using?

Yagiz, thanks for responding, i'm using the Cerberus theme for now. 

I also have a plan B to use the Beyaz inci theme which allows the ultimate profiles to be seen in their entirety.  the only problem with THIS theme is i cannot figure out how to add a button for flashchat or smf arcade.  i realize this is probably not the right place to ask about adding functional buttons. 

if you have an answer regarding the Cerberus theme, or a proper place to ask about adding buttons to the Beyaz theme, i would greatly appreciate it.  thanks in advance.  :)
Title: Re: Ultimate Profile
Post by: Yağız... on April 20, 2010, 01:05:28 PM
Quote from: Brack1 on April 20, 2010, 12:49:41 PM
?

  ???
Nevermind, find this in ./Themes/default/UltimateProfile.template.php:
function up_block_user_info() {
global $settings, $txt, $context;

Replace with:
function up_block_user_info() {
global $settings, $txt, $context, $scripturl;


Quote from: Nola5712 on April 20, 2010, 12:55:52 PM
QuoteWhich theme are you using?

Yagiz, thanks for responding, i'm using the Cerberus theme for now. 

I also have a plan B to use the Beyaz inci theme which allows the ultimate profiles to be seen in their entirety.  the only problem with THIS theme is i cannot figure out how to add a button for flashchat or smf arcade.  i realize this is probably not the right place to ask about adding functional buttons. 

if you have an answer regarding the Cerberus theme, or a proper place to ask about adding buttons to the Beyaz theme, i would greatly appreciate it.  thanks in advance.  :)
I can't find your theme on the theme site :(
Title: Re: Ultimate Profile
Post by: Nola5712 on April 20, 2010, 01:10:42 PM
QuoteI can't find your theme on the theme site :(

yagiz, again thanks for responding, but i think i'm gonna abandon the cerberus theme and go with the Beyaz inci theme.  i've managed to add a functional forum button, but still lack the chat and arcade buttons;  if you could point me in the right direction regarding where i should ask these questions, i'd really appreciate it :)
Title: Re: Ultimate Profile
Post by: TheListener on April 20, 2010, 01:13:58 PM
Nola it depends which chat and arcade you use.

Yaguz the edit worked.

Thanks bud
Title: Re: Ultimate Profile
Post by: Nola5712 on April 20, 2010, 01:17:00 PM
QuoteNola it depends which chat and arcade you use.

brack thanks for responding, i'm using flashchat 4.7.12 and smf arcade 2.0.18.  i managed to get the buttons working on the cerberus theme, but like i said, i think i'm going to use the Beyaz inci theme instead so i have to start the whole process over again :(
Title: Re: Ultimate Profile
Post by: TheListener on April 20, 2010, 08:37:18 PM
 :-[

Yaguz I will try and make this the last edit to the mod.

The mod I want to include this time is the 'Topic Count In Profile' mod

Preferably below the post count.

Title: Re: Ultimate Profile
Post by: Yağız... on April 21, 2010, 02:51:39 AM
Find:
if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>', $txt['profile_posts'], ': </strong></dt>
<dd>', $context['member']['posts'], ' (', $context['member']['posts_per_day'], ' ', $txt['posts_per_day'], ')</dd>';

Add below:
if ($context['tcip_enabled'] && $context['tcip_show_topic_count'])
echo '
<dt><strong>', $txt['profile_topics_started'], ': </strong></dt>
<dd>', $context['member']['topics'], ' (', $context['member']['topics_per_day'], ' ', $txt['posts_per_day'], ')</dd>';
if ($context['tcip_enabled'] && $context['tcip_show_participated_count'])
echo '
<dt><strong>', $txt['profile_topics_participated'], ': </strong></dt>
<dd>', $context['member']['topic_count'], '</dd>';
Title: Re: Ultimate Profile
Post by: ProfDrDenis on April 21, 2010, 05:07:32 AM
Any news with the Buddy problems?
Title: Re: Ultimate Profile
Post by: Taija299 on April 21, 2010, 07:08:30 PM
I just installed this and I'm loving it.

Thanks!
Title: Re: Ultimate Profile
Post by: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?
Title: Re: Ultimate Profile
Post by: rd on April 21, 2010, 10:14:09 PM
Try uninstalling and then reinstalling.
Title: Re: Ultimate Profile
Post by: MATTEK on April 21, 2010, 10:41:10 PM
Quote from: Royalduke on April 21, 2010, 10:14:09 PM
Try uninstalling and then reinstalling.

I have a couple times already.  :'(
Title: Re: Ultimate Profile
Post by: rd on April 21, 2010, 10:47:15 PM
Check your error logs.
Title: Re: Ultimate Profile
Post by: MATTEK on April 22, 2010, 12:53:54 AM
Quote from: Royalduke on April 21, 2010, 10:47:15 PM
Check your error logs.

Nothing.
Title: Re: Ultimate Profile
Post by: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?
Title: Re: Ultimate Profile
Post by: wynnyelle on April 22, 2010, 12:18:50 PM
Does anyone know how I add a custom field to ultimate profile?

I run a roleplaying game and want to add a "My Characters" section. I bet people would really love that.
Title: Re: Ultimate Profile
Post by: MATTEK on April 22, 2010, 12:35:41 PM
Installed manually and through package manager and still when I try to comment on th profile and/or pictures it simply loads a blank white page and does not save the post. Any ideas?
Title: Re: Ultimate Profile
Post by: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: ProfDrDenis on April 21, 2010, 05:07:32 AM
Any news with the Buddy problems?
Still on my to-do list but I'm busy with RL these days ...

Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Quote from: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?
Check Ultimate Profile settings.

Quote from: Groovystar on April 22, 2010, 12:18:50 PM
Does anyone know how I add a custom field to ultimate profile?

I run a roleplaying game and want to add a "My Characters" section. I bet people would really love that.
What is your SMF version?
Title: Re: Ultimate Profile
Post by: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
Title: Re: Ultimate Profile
Post by: Spasm on April 23, 2010, 12:02:18 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM

Quote from: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?


Check Ultimate Profile settings.


I did.  Everything is enabled and the path & directories are all correct.  I even tried changing folder permissions to 777... No luck.
Title: Re: Ultimate Profile
Post by: Yağız... on April 23, 2010, 12:20:12 PM
Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?

Quote from: Spasm on April 23, 2010, 12:02:18 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM

Quote from: Spasm on April 22, 2010, 09:48:14 AM
Installed fine, but pictures don't show up.  They upload fine and are in the folders when I view from ftp.  They are enabled for anyone to view, but they don't show up on the profile.  Any help?


Check Ultimate Profile settings.


I did.  Everything is enabled and the path & directories are all correct.  I even tried changing folder permissions to 777... No luck.
Can I have a link to a profile with pictures and a demo account please?
Title: Re: Ultimate Profile
Post by: MATTEK on April 23, 2010, 02:59:25 PM
Quote from: Yağız... on April 23, 2010, 12:20:12 PM
Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?

I'll attach as soon as I get home. Also...I might add that a new member recently signed up and I tested a comment on his page, and it worked. When I tried it on other accounts that were registered before the mod was installed, it loaded the same blank white page.
Title: Re: Ultimate Profile
Post by: wynnyelle on April 23, 2010, 09:37:36 PM
My version is 1.1.11.

If you need any other info let me know. Thanks!
Title: Re: Ultimate Profile
Post by: Yağız... on April 24, 2010, 02:45:00 PM
Install this mod: http://custom.simplemachines.org/mods/index.php?mod=319
Then find this in ./Themes/default/UltimateProfile.template.php:
//'custom_fields',
Replace with:
'custom_fields',

Find:
function up_block_custom_fields() {
// This section is optional. You can paste code and display fields from Custom Profile Fields mod.

echo '
<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>';

return true;
}

Replace with:
function up_block_custom_fields() {
// This section is optional. You can paste code and display fields from Custom Profile Fields mod.

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


global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();
// Can they add this member as a buddy?


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

return true;
}
Title: Re: Ultimate Profile
Post by: wynnyelle on April 24, 2010, 10:53:23 PM
i installed it and everything and it isn't working. it lets me create a new field then enable that field and save that field and that field never shows up on anyoens profiles.
Title: Re: Ultimate Profile
Post by: Afro on April 25, 2010, 06:45:57 AM
Is there a way for the admin to enable the "ULTIMATE PROFILE" for all members by default without them gong to do that from their profiles ?

edit
Ok seen it.
Title: Re: Ultimate Profile
Post by: MATTEK on April 25, 2010, 02:38:34 PM
Quote from: Yağız... on April 24, 2010, 02:45:00 PM
Install this mod: http://custom.simplemachines.org/mods/index.php?mod=319
Then find this in ./Themes/default/UltimateProfile.template.php:
//'custom_fields',
Replace with:
'custom_fields',

Find:
function up_block_custom_fields() {
// This section is optional. You can paste code and display fields from Custom Profile Fields mod.

echo '
<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>';

return true;
}

Replace with:
function up_block_custom_fields() {
// This section is optional. You can paste code and display fields from Custom Profile Fields mod.

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


global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();
// Can they add this member as a buddy?


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

return true;
}


I'm assuming this was for me?
Title: Re: Ultimate Profile
Post by: Yağız... on April 25, 2010, 03:04:44 PM
Quote from: Groovystar on April 24, 2010, 10:53:23 PM
i installed it and everything and it isn't working. it lets me create a new field then enable that field and save that field and that field never shows up on anyoens profiles.
I'm going to try it :)

Edit:
Undo your changes, and try that:
Find in ./Themes/default/UltimateProfile.template.php:
<td>', $context['member']['last_login'], '</td>
</tr>

Add after:
';
global $sourcedir;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldsProfile();
// Can they add this member as a buddy?
echo '



Quote from: MATTEK on April 25, 2010, 02:38:34 PM
I'm assuming this was for me?
Nope, it was for Groovystar :)
Title: Re: Ultimate Profile
Post by: wynnyelle on April 25, 2010, 08:49:50 PM
HCF helped me get it working, but the problem is, that we can't get the custom fields' titled to go OVER the field not to the left of it. It makes the fields skinny and they don't match the  others. Is there a way to fix this? It doesn't look good and people have such limited space.
Title: Re: Ultimate Profile
Post by: MATTEK on April 26, 2010, 01:26:32 AM
Quote from: Yağız... on April 23, 2010, 12:20:12 PM
Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?
here dude
Title: Re: Ultimate Profile
Post by: Yağız... on April 26, 2010, 12:31:20 PM
Quote from: Groovystar on April 25, 2010, 08:49:50 PM
HCF helped me get it working, but the problem is, that we can't get the custom fields' titled to go OVER the field not to the left of it. It makes the fields skinny and they don't match the  others. Is there a way to fix this? It doesn't look good and people have such limited space.
Can I have a screenshot of the error please?

Quote from: MATTEK on April 26, 2010, 01:26:32 AM
Quote from: Yağız... on April 23, 2010, 12:20:12 PM
Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?
here dude
Weird thing ... Do you have any installed mods other than UP?
Title: Re: Ultimate Profile
Post by: MATTEK on April 26, 2010, 01:05:26 PM
Quote from: Yağız... on April 26, 2010, 12:31:20 PM
Quote from: Groovystar on April 25, 2010, 08:49:50 PM
HCF helped me get it working, but the problem is, that we can't get the custom fields' titled to go OVER the field not to the left of it. It makes the fields skinny and they don't match the  others. Is there a way to fix this? It doesn't look good and people have such limited space.
Can I have a screenshot of the error please?

Quote from: MATTEK on April 26, 2010, 01:26:32 AM
Quote from: Yağız... on April 23, 2010, 12:20:12 PM
Quote from: MATTEK on April 22, 2010, 01:45:16 PM
Quote from: Yağız... on April 22, 2010, 01:38:19 PM
Quote from: MATTEK on April 21, 2010, 09:36:00 PM
So far I only have 1 issue. When I submit a comment on a members page it goes to this link

http://www.the-ush.com/index.php?action=profile;area=comment;u=5;add

Blank. Anyone know how to fix?

I'll look into that, should be an error with the mod, but I don't know why.

Thanks dude.
That's really weird ... Can you attach your ./Sources/Profile-Actions.php and ./Sources/Profile.php files please?
here dude
Weird thing ... Do you have any installed mods other than UP?

Yes.  Quite a few of them. However I've already gone through, uninstalled them and installed only the UP with the same result.
Title: Re: Ultimate Profile
Post by: Yağız... on April 26, 2010, 01:17:53 PM
Hmm, can you see the comment section on anyones' profile?
Title: Re: Ultimate Profile
Post by: MATTEK on April 26, 2010, 01:32:21 PM
I can see the comment section, yes, but when I submit the comment it directs me to a blank page and stop loading. The comment doesn't submit. However, people who have registered to my forum after the mod was installed are able to have comments posted on their profile. Everyone whop was registered before the mod was installed receives this issue.
Title: Re: Ultimate Profile
Post by: Yağız... on April 26, 2010, 01:36:39 PM
Do those members have any buddies?
Title: Re: Ultimate Profile
Post by: MATTEK on April 26, 2010, 01:38:45 PM
Quote from: Yağız... on April 26, 2010, 01:36:39 PM
Do those members have any buddies?
No. None have buddies. I should also note that only one of the new members have actually activated their ultimate profile. So I've only been able to test it once with the new members.
Title: Re: Ultimate Profile
Post by: chadon on April 26, 2010, 02:31:54 PM
I also noticed this bug on my forum. When I post a message to a member with no buddies, the message is submitted with no problem but for members with buddies, I get a blank page.
Title: Re: Ultimate Profile
Post by: MATTEK on April 26, 2010, 03:28:43 PM
Quote from: chadon on April 26, 2010, 02:31:54 PM
I also noticed this bug on my forum. When I post a message to a member with no buddies, the message is submitted with no problem but for members with buddies, I get a blank page.

That's probably what I'm experiencing as well.

EDIT: nevermind. I posted on a member page with no buddies and I still got the blank page. It's people who registered before the mod was installed that get the blank page.
Title: Ultimate Profile
Post by: matthew_s on April 27, 2010, 01:03:24 AM
I want to translate this mode to Persian . is creating a UltimateProfile.persian-utf8.php file and translating all the variables enough for doing this ?
Thank you
Title: Re: Ultimate Profile
Post by: fairytears on April 27, 2010, 12:41:25 PM
Is there a way to limit image sizes that people post in the comments box?
Thank you :)
Title: Re: Ultimate Profile
Post by: Yağız... on April 27, 2010, 01:12:52 PM
@chadon and @MATTEK; can I have a screenshot from phpMyAdmin (_members table)? The SS should contain a member's (which has this problem) buddy_list column.

Quote from: matthew_s on April 27, 2010, 01:03:24 AM
I want to translate this mode to Persian . is creating a UltimateProfile.persian-utf8.php file and translating all the variables enough for doing this ?
Thank you
Nope, you should translate Modifications.english.php strings too.

Quote from: fairytears on April 27, 2010, 12:41:25 PM
Is there a way to limit image sizes that people post in the comments box?
Thank you :)
What is your SMF version?
Title: Re: Ultimate Profile
Post by: chadon on April 27, 2010, 01:58:13 PM
Quote from: Yağız... on April 27, 2010, 01:12:52 PM
@chadon and @MATTEK; can I have a screenshot from phpMyAdmin (_members table)? The SS should contain a member's (which has this problem) buddy_list column.

I don't think there is a need to do a screenshot as there is not much information in this field but here is what I have for one of the member's profile page showing this error.
Quote'694'
Title: Re: Ultimate Profile
Post by: Yağız... on April 27, 2010, 02:26:06 PM
Can you delete and retry?
Title: Re: Ultimate Profile
Post by: MATTEK on April 27, 2010, 02:28:01 PM
Quote from: Yağız... on April 27, 2010, 02:26:06 PM
Can you delete and retry?

I've done that about 5 times. And I wont be able to get you a screen shot until tonight.

Title: Re: Ultimate Profile
Post by: chadon on April 27, 2010, 03:02:11 PM
Sorry, I checked from a different place and the buddy_list field had the following content:
Quote'694',1102
I tried to delete the '694' value, submitted another comment, had a blank page and checked the field again and it stayed with the following content: 1102

694 and 1102 are the id's for that members' buddys' accounts. Even with the 694 value deleted from phpMyadmin, it still shows as the member #694 being a buddy in his profile page.
I don't understand why but I hope you do. ;D
Title: Re: Ultimate Profile
Post by: Yağız... on April 27, 2010, 03:41:28 PM
That's an annoying bug with UP that I'm trying to fix :) Can you delete 1102 too and then retry please? :)
Title: Re: Ultimate Profile
Post by: chadon on April 27, 2010, 03:46:57 PM
I deleted 1102 and had an empty field but I still have a blank page when I post a comment in his page. :(
Title: Re: Ultimate Profile
Post by: MATTEK on April 27, 2010, 03:49:24 PM
Yagiz I'm going to re upload the large upgrade package this weekend. I'll let you know if I still have the issue when I'm done.
Title: Re: Ultimate Profile
Post by: Yağız... on April 27, 2010, 03:53:32 PM
Quote from: chadon on April 27, 2010, 03:46:57 PM
I deleted 1102 and had an empty field but I still have a blank page when I post a comment in his page. :(
Does everyone allowed to comment on the members' page? (Profile > Ultimate Profile)

Quote from: MATTEK on April 27, 2010, 03:49:24 PM
Yagiz I'm going to re upload the large upgrade package this weekend. I'll let you know if I still have the issue when I'm done.
I don't think that it's not a problem with files but, if you want to do it, why not? :P
Title: Re: Ultimate Profile
Post by: chadon on April 27, 2010, 04:39:44 PM
QuoteDoes everyone allowed to comment on the members' page? (Profile >   Ultimate Profile)

I am not sure what you mean, I can't find these settings in my RC3 forum but as an administrator, I have all the permissions and no one reported this bug before I upgraded the forum to the RC3 version.
Title: Re: Ultimate Profile
Post by: MATTEK on April 27, 2010, 04:45:57 PM
Quote from: Yağız... on April 27, 2010, 03:53:32 PM
Quote from: chadon on April 27, 2010, 03:46:57 PM
I deleted 1102 and had an empty field but I still have a blank page when I post a comment in his page. :(
Does everyone allowed to comment on the members' page? (Profile > Ultimate Profile)

Quote from: MATTEK on April 27, 2010, 03:49:24 PM
Yagiz I'm going to re upload the large upgrade package this weekend. I'll let you know if I still have the issue when I'm done.
I don't think that it's not a problem with files but, if you want to do it, why not? :P

Well I'm not doing it until Monday morning so if you can come up with a fix for me by then I'll probably hold off.
Title: Re: Ultimate Profile
Post by: fairytears on April 27, 2010, 06:45:12 PM
 
Quote from: fairytears on April 27, 2010, 12:41:25 PM
Is there a way to limit image sizes that people post in the comments box?
Thank you :)
What is your SMF version?
[/quote]

Thank you Yagiz! my version is SMF 1.1.11
Title: Re: Ultimate Profile
Post by: DawnsWebDesigns on April 28, 2010, 01:50:44 AM
I got just a couple of problems.  I'm using SMF 1.1.11.  The profile pics aren't working & neither is the buddy list.  I uploaded a profile pic but can't see it & also can't delete it.  And I only had one buddy to test that feature with...she don't show up on "my buddies" but if you click on my buddies she shows up.  Do I have to have 3 or 6 before they'll appear on the list?

Thanks for any help. :)
Title: Re: Ultimate Profile
Post by: wynnyelle on April 30, 2010, 03:50:24 PM
I need to disable only ONE field in the ultimate profile, that is the age field. We have a lot of minors and I want to keep the place as age-ambiguous and non-revealing of minors' ages as possible. But I don't want to break the whole ultimate profile in order to do it. So is there a way to just remove the age field and leave the rest looking fine {and not like something's missing}?
Title: Re: Ultimate Profile
Post by: Outdoor-Fishing on May 03, 2010, 03:29:16 AM
Is there a "how-to" on how we can use the html and css to customize the look and feel of the profile? For example, how would I add an album? Any specific codes?
Title: Re: Ultimate Profile
Post by: Yağız... on May 03, 2010, 03:55:41 AM
Quote from: chadon on April 27, 2010, 04:39:44 PM
QuoteDoes everyone allowed to comment on the members' page? (Profile >   Ultimate Profile)

I am not sure what you mean, I can't find these settings in my RC3 forum but as an administrator, I have all the permissions and no one reported this bug before I upgraded the forum to the RC3 version.
Can you attach your ./Sources/Profile.php please?

Quote from: MATTEK on April 27, 2010, 04:45:57 PM
Quote from: Yağız... on April 27, 2010, 03:53:32 PM
Quote from: chadon on April 27, 2010, 03:46:57 PM
I deleted 1102 and had an empty field but I still have a blank page when I post a comment in his page. :(
Does everyone allowed to comment on the members' page? (Profile > Ultimate Profile)

Quote from: MATTEK on April 27, 2010, 03:49:24 PM
Yagiz I'm going to re upload the large upgrade package this weekend. I'll let you know if I still have the issue when I'm done.
I don't think that it's not a problem with files but, if you want to do it, why not? :P

Well I'm not doing it until Monday morning so if you can come up with a fix for me by then I'll probably hold off.
I tried this on 6 live forums, and I don't have this problem ...

Quote from: fairytears on April 27, 2010, 06:45:12 PM
Thank you Yagiz! my version is SMF 1.1.11
Find in ./Sources/Profile.php:
$context['comments'][] = array(
Add before:
$row['comment'] = str_replace('[img]', '[img width=100 height=100]', $row['comment']);
Replace 100 with the values you want.

Quote from: DawnsWebDesigns on April 28, 2010, 01:50:44 AM
I got just a couple of problems.  I'm using SMF 1.1.11.  The profile pics aren't working & neither is the buddy list.  I uploaded a profile pic but can't see it & also can't delete it.  And I only had one buddy to test that feature with...she don't show up on "my buddies" but if you click on my buddies she shows up.  Do I have to have 3 or 6 before they'll appear on the list?

Thanks for any help. :)
This should be a bug with UP. Try to run migrate buddies script.

Quote from: Groovystar on April 30, 2010, 03:50:24 PM
I need to disable only ONE field in the ultimate profile, that is the age field. We have a lot of minors and I want to keep the place as age-ambiguous and non-revealing of minors' ages as possible. But I don't want to break the whole ultimate profile in order to do it. So is there a way to just remove the age field and leave the rest looking fine {and not like something's missing}?
What is your SMF version?

Quote from: Outdoor-Fishing on May 03, 2010, 03:29:16 AM
Is there a "how-to" on how we can use the html and css to customize the look and feel of the profile? For example, how would I add an album? Any specific codes?
Not yet :) You can add albums by going Show Pictures and click Add Album icon in your profile.
Title: Re: Ultimate Profile
Post by: chadon on May 03, 2010, 07:14:04 AM
Hi Yağız.
Here is my Profile.php file
Title: Re: Ultimate Profile
Post by: parvaz on May 03, 2010, 12:12:00 PM
Using a curve based theme, would it be possible to change the entire background and not just the edges of the profie page?
And when yes, does anybody know how?

Thanks for this great mod and the support
Title: Re: Ultimate Profile
Post by: luismanson on May 03, 2010, 01:09:41 PM
does it have a per group option to enable it?
Title: Re: Ultimate Profile
Post by: MATTEK on May 03, 2010, 04:36:33 PM
Yagiz I've even reinstalled RC3 and I have the same exact issue.
Title: Re: Ultimate Profile
Post by: fairytears on May 04, 2010, 12:22:21 AM
Thank you Yagiz!! You're awesome  8)
Title: Re: Ultimate Profile
Post by: !RFAN on May 04, 2010, 03:33:57 AM
how to change my profile using css.. i am talking about edit box of this mod which enables a member change background etc... can anybody show me an example..thnX
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 04, 2010, 01:34:03 PM
Quote from: amigozone on May 04, 2010, 03:33:57 AM
how to change my profile using css.. i am talking about edit box of this mod which enables a member change background etc... can anybody show me an example..thnX

Users can customize their own profile to their liking, just enter in some HTML and or CSS code and you're all set.

Profile/Ultimate Profile/Customization: (The description for that block is)
QuoteCustomization:
Here you can add some HTML and CSS to customize look & feel of your profile.

This might help too http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help (http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help)
Title: Re: Ultimate Profile
Post by: Rattler on May 04, 2010, 03:45:31 PM
Quote from: mrtrc266 on May 04, 2010, 01:34:03 PM
Users can customize their own profile to their liking, just enter in some HTML and or CSS code and you're all set.

Profile/Ultimate Profile/Customization: (The description for that block is)
QuoteCustomization:
Here you can add some HTML and CSS to customize look & feel of your profile.

Well, I haven´t got it working yet on my profile, the html tags get removed.

I entered, e.g.:
<html>
<body style="background-color:yellow">
</body>
</html>


The result was.... nothing. Checked back all the entered code had disappeared.

So,  guide or how-to might be in order indeed.

Apart from this, thanks for this great mod, finally the profile area becomes as active as the rest of the forum nd is not longer a dead spot! GJ, my users are excited!

Installed with a few mod induced manual edits of mod-settings w/o any problems in 1.1.11, runs s advertised without major problems.

Some things, though, I find could use some tweaking/enhancement as I find them not fully intuitive, here a few ideas on how to make the experience even better:

- Inbuilt Avatar Sizing for buddies, either admin or user controlled without needing to tweak the code manually
- Direct deleting of pictures over/under the thumb w/o having to go through the comment view
- Indicator for # of comments over/under/in the thumbnails
- A slightly better help documentation, e.g. a Help icon besides each field with an example (e.g. for customization or media embedding), it took us ages to find out how the buddy thing worked, as it is straight opposite to the normal profile "Add buddy" list method
- Aeva integrtion (auto embedding for vids),  my users hve forgotten that embedding code even exists and swarmed me with quesions...

All in all, great stuff, where can I donate?

Thanks,

Rattler
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 04, 2010, 04:13:01 PM
There's no need for the <html> or <body> tags. Simply enter some actual html and css code. From that link I posted earlier just take that whole code and insert it in the Customize box and see what happens.

Take a look at my profile here http://monsters-mansion.com/index.php?action=profile;u=1 (http://monsters-mansion.com/index.php?action=profile;u=1)
This is the code I have in there.
<style>
/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of the Title Section Boxes */*/
/* if you have your own bars you\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'d like to use, type it\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s URL in the ( ) or if you want */
/* a solid color, add it\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s hexadecimal code just after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   background: url() #63121B;
}

/* Color control for Main Section Boxes / Table Backgrounds*/
.windowbg
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
   background: transparent;
   border: solid 0x #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
   background: transparent;
   border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
        color: #ff0000;
}


/* Background color control for the right side of the Comments box */
/* The part where the actual comments are*/
.windowbg2
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
   background: #ffffff;
   color: red;
   border: solid 1px #777000;
   font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
   background: #ff0000;
   color: #000000;
   padding: 1px;
   font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
   color: #4BFD50;
   font-size: 100%;
   font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a:font
{
   color: #1FD924;
   text-decoration: none;
}
a:hover
{
   color: #FF0000;
   text-decoration: overline underline;

}
</style>



<p style="text-align: center;">
<img src="http://linktoyourimage.jpg"/></p>
<p style="text-align: center;">
<img id="fullSizedImage26" src="http://i216.photobucket.com/albums/cc92/mrtrc266/Web%20Site/DeathChair.jpg?t=1220843105" alt="image" /></p>
Title: Re: Ultimate Profile
Post by: luismanson on May 04, 2010, 09:14:41 PM
can this be enabled on a group by group basis? or it is enabled for all users only?
Title: Re: Ultimate Profile
Post by: MATTEK on May 04, 2010, 09:23:26 PM
Quote from: luismanson on May 04, 2010, 09:14:41 PM
can this be enabled on a group by group basis? or it is enabled for all users only?

You can set customer permissions under member groups and fiddle with the UP options.
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 04, 2010, 09:23:44 PM
Quote from: luismanson on May 04, 2010, 09:14:41 PM
can this be enabled on a group by group basis? or it is enabled for all users only?

Any member group that you give permissions to "Edit ultimate profile" will have the ability to do this.
Title: Re: Ultimate Profile
Post by: MATTEK on May 05, 2010, 01:35:29 AM
So has anyone else experienced the "only new registrations may post profile comments" anomaly yet?
Title: Re: Ultimate Profile
Post by: wynnyelle on May 05, 2010, 01:58:36 AM
My SMF version is 1.1.11

Only thing I want to remove is the age field. And not just have a hole there afterwards XD
Title: Re: Ultimate Profile
Post by: Rattler on May 05, 2010, 05:39:09 AM
Thanks, mrtrc266!

Now got at least some stuff working (1.1.11, I made a test profile mixing the mentioned template and a bit from your profile), but somehow it seems a lot of the tags call on the original theme CSS and do not show any effect, whatever you put in there. Is there a specific UltimateProfile CSS? Could not find one, but maybe I am blind

To see what I mean, look at my test profile (http://www.warandtactics.com/smf/profile/?u=12):
- I could not find a wy to change font color in the "about me" or Interest fields
- normal links remain blue as in the normal Theme CSS (but the hover works), whatever color I set them (as you can see in the code they are currently set to lime green, just to see an effect)
- bkgnd color entered for the footer, header, mid section etc. has no effect
- title bars I can color but not ovewrite in style

Check:

<style>

/* =================== */
/* The Main Controls */
/* =================== */

/* Below is the Main Background IMG */
/* Place your image URL in the ( )   */
/* or if you want a solid color, add it's */
/* hexadecimal code just after the ( )  */
/* example; background: url( ) #ff0000; */

body
{
background: url(http://www.warandtactics.com/Images/br_bg1.jpg) #000000;
}

/* Color control for top of page*/
/* set as transparent to see background image */
/* or if you want a solid color, */
/* add it's hexadecimal code */
#topframe
{
background: url() transparent;
}

/* This controls the area just below the NAV Buttons */
/* make transparent to see Background Image*/
#linktree
{
background: transparent;
}

/* Color control for middle of page*/
/* set as transparent to see background image */
/* or if you want a solid color, */
/* add it's hexadecimal code */
#bodyarea2
{
background: transparent;
}

/* Color control for bottom of page*/
/* set as transparent to see background image */
/* or if you want a solid color, */
/* add it's hexadecimal code */
#footer
{
padding-bottom: 50px;
background: #333333
}

/* Background Line Image for the left and right */
/* side of the page. If you'd like to use your own */
/* place your Line's image URL in the ( ) or */
/* you could just leave it blank */

#leftframe
{
background: url() repeat-y;
height: inherit;
padding-left: 18px;
}

#rightframe
{
background: url() top right repeat-y;
padding-right: 18px;
height: inherit;
}

/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of */
/* the Main Section Boxes */
/* if you have your own bars you'd like to use, type */
/* it's URL in the ( ) or if you want */
/* a solid color, add it's hexadecimal code just */
/* after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212
}

/* Color control for Main Section Boxes */
.windowbg
{
   background: url() #4D4D4D;
   border: outset 5px #6C1212
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
background: url() transparent;
border: solid 0px #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
background: url() transparent;
border: solid 1px #ff0000;
}

/* Your Signature Field */
.signature
{
  color: #333333;
}


/* Background color control for the right side */
/* of the Comments box */
.windowbg2
{
background: url() #B3B3B3;
border: solid 1px #333333;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
background: #ffffff;
color: black;
border: solid 1px #777000;
font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
background: #F2F2D9;
color: #000000;
padding: 1px;
font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
color: #DB8400;
font-size: 100.01%;
font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a
{
color: #00FF66;
text-decoration: none;
}
a:hover
{
color: #CC3333;
text-decoration: underline;
}

/* ========================= */
/* Extra Controls (optional) */
/*   add your own code below */
/* ========================= */

/* This is a font size and color control */
/* you can add to your text */
/* Anything below this line is not connected */
/*   to the default profile */
.big {
  font-size: 20px;
  color: #DB8400;
}

</style>

<p style="text-align: center;">
<img id="fullSizedImage26" src="http://www.warandtactics.com/Images/rattlerprf.jpg" alt="image" /></p>


I like the idea of provide my users with  fixed template they can modify, but irst I have to understand how to make it work properly.

Thnks for your help, ny comments appreciated.

Rattler

Quote from: mrtrc266 on May 04, 2010, 04:13:01 PM
There's no need for the <html> or <body> tags. Simply enter some actual html and css code. From that link I posted earlier just take that whole code and insert it in the Customize box and see what happens.

Take a look at my profile here http://monsters-mansion.com/index.php?action=profile;u=1 (http://monsters-mansion.com/index.php?action=profile;u=1)
This is the code I have in there.
<style>
/* ================== */
/* Section Box Controls */
/* ================== */

/* Color controls for the bar accross the top of the Title Section Boxes */*/
/* if you have your own bars you\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'d like to use, type it\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s URL in the ( ) or if you want */
/* a solid color, add it\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s hexadecimal code just after the ( ) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   background: url() #63121B;
}

/* Color control for Main Section Boxes / Table Backgrounds*/
.windowbg
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* Controls various tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.bordercolor
{
   background: transparent;
   border: solid 0x #ff0000;
}

/* Controls various inner tables in your profile */
/* to see which ones raise the  */
/* border to 3px */
.hrcolor
{
   background: transparent;
   border: solid 0px #ff0000;
}

/* Your Signature Field */
.signature
{
        color: #ff0000;
}


/* Background color control for the right side of the Comments box */
/* The part where the actual comments are*/
.windowbg2
{
   background: url() #1A1A1A;
   border: outset 5px #6C1212;
}

/* ======================== */
/* "Add a Comment" Box Controls */
/* ======================== */

/* Color control for the text field that comes up */
/* when a user clicks Add a Comment */
/* background controls the text box */
/* "color" controls the font color */
textarea
{
   background: #ffffff;
   color: red;
   border: solid 1px #777000;
   font-size: 100%;
}

/* Color control for the SEND button */
/* on the Add a Comment form */
/* background controls the button color */
/* "color" controls the font color */
input, button
{
   background: #ff0000;
   color: #000000;
   padding: 1px;
   font-size: 90%;
}

/* ==================== */
/* Font and Link Controls */
/* ==================== */

/* Color, Size, and Font style control for most text */
body, td, th , tr
{
   color: #4BFD50;
   font-size: 100%;
   font-family: tahoma, sans-serif;
}

/* Color control for standard URL links. */
a:font
{
   color: #1FD924;
   text-decoration: none;
}
a:hover
{
   color: #FF0000;
   text-decoration: overline underline;

}
</style>



<p style="text-align: center;">
<img src="http://linktoyourimage.jpg"/></p>
<p style="text-align: center;">
<img id="fullSizedImage26" src="http://i216.photobucket.com/albums/cc92/mrtrc266/Web%20Site/DeathChair.jpg?t=1220843105" alt="image" /></p>

Title: Re: Ultimate Profile
Post by: mrtrc266 on May 05, 2010, 10:39:55 AM
Mostly it inherits it's style from Themes/yourtheme/style.css Take a look in there to check out the elements that you want to control on your UP. Better yet using FireFox  (http://www.mozilla.com)with the Firebug  (https://addons.mozilla.org/en-US/firefox/addon/1843)Add-on you can simply right click on any portion of the page, hit "Inspect element" and it will show you exactly what the HTML and CSS for that spot is. It's a great tool for showing you what does what and will help you out tremendously as you venture deeper into SMF, or as SMF ventures deeper into you LOL.

EXAMPLE: Right clicking on the border of the table on your Summary will result in showing you this.
HTML
<td class="windowbg">
CSS
.windowbg {
background:url("") repeat scroll 0 0 #4D4D4D;
border:5px outset #6C1212;
}

Title: Re: Ultimate Profile
Post by: Rattler on May 05, 2010, 02:25:00 PM
NOTE: My keyboard has gone haywire, the "a" key either does not work or produce double or triple input - sometimes - , read with this in mind)

mrtrc266, much appreciated.

Actually I m using what you state. The problem is *not* knowing where the Theme (core) css is stored (I know and can/do modify), but how to override it (won´t change the forum layout for one profile even if as TechAdmin I can, others cnnot, aand we re working for our users methinks, want to present them with *one* html template to change for their gusto).

ny ides?

Just to bump:
QuoteIs there a specific UltimateProfile CSS? Could not find one, but maybe I am blind

Rttler
Title: Re: Ultimate Profile
Post by: alboking on May 05, 2010, 10:42:22 PM
Ok i need some help

i just installed The mod but im getting these error

   Unknown column 'com.time' in 'field list'
File: /vservers/masonry/htdocs/iforum/Sources/Profile-View.php
Line: 257

  SMF 2.0 RC3
Title: Re: Ultimate Profile
Post by: Scaala on May 07, 2010, 12:39:14 AM
I am using this mod on my forum and I like it a lot so far.  I just have two questions about modifying it.

I have been trying to disable the part of the ultimate profile which shows a user's buddies on their profile page.  (Setting this to zero would have been a nice option. ;) )  Anyway, I can't get it to go away no matter how much code I delete.  What should I be removing to disable this?

Also, I am using the Thank-O-Matic mod on my website.  One of its features is that it lists "thanks given" and "thanks received" on a user's profile page.  Before I installed the Ultimate Profile Mod, these two bullets appeared in a user's normal profile, but they didn't appear in any user's ultimate profile.  Can anyone suggest what files I should look at to bridge this gap?

Thanks.
Title: Re: Ultimate Profile
Post by: enCyde on May 09, 2010, 10:42:06 AM
Hi people. I really want this mod! I have been looking for this.. But when I install it I get errors :( can someone please help me

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 successful
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
5.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test failed
6.    Execute Modification    ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php    Skipping file
7.    Execute Modification    ./index.php    Test successful
8.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
9.    Execute Modification    ./Sources/Subs-Members.php    Test successful
10.    Extract Tree    ./Sources    
11.    Extract Tree    ./Themes    
12.    Extract Tree    ./profile_pictures    
13.    Execute Code    database.php
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 09, 2010, 11:46:42 AM
More than likely another Mod moved some code around so the UP can't find   what it's looking for.

Go to the Mods Home page select your version of SMF and click "Parse." It will show you exactly what edits the mod is trying to do.
Title: Re: Ultimate Profile
Post by: enCyde on May 09, 2010, 11:54:32 AM
Mods homepage? I can't find it...


thanks
Title: Re: Ultimate Profile
Post by: Arantor on May 09, 2010, 11:55:58 AM
Quote from: enCyde on May 09, 2010, 11:54:32 AM
Mods homepage? I can't find it...


thanks

http://custom.simplemachines.org/mods/index.php?mod=1675
Title: Re: Ultimate Profile
Post by: enCyde on May 09, 2010, 12:00:57 PM
AH, I'm just going to follow that and it will be fixed? find and replace
Title: Re: Ultimate Profile
Post by: mrtrc266 on May 09, 2010, 12:30:14 PM
Quote from: enCyde on May 09, 2010, 12:00:57 PM
AH, I'm just going to follow that and it will be fixed? find and replace

Yes, first back up of course. Proceed with the install (ignoring the failed tests). Then make the edits and save the changes.

Be sure use a text editor like Notepad++ or something other than your Windows Notepad,
Title: Re: Ultimate Profile
Post by: MATTEK on May 09, 2010, 01:38:47 PM
I'm still experiencing the SAME issue even after I've re uploaded all important directory files.

Problem: Only members who register AFTER the mod is install may post profile comments. Anyone who was already registered get's a blank page upon submit.

Yagiz says he's tried this on 6 forums and he could not replicate the issue.

Help! lol
Title: Re: Ultimate Profile
Post by: enCyde on May 10, 2010, 11:10:34 AM
Hi guys, I'm manual edit the code.

I need help to explain this.

Code
database.php
This file should be able to execute standalone.

File Operations

Move the included directory "Sources" to "the root directory".
Move the included directory "Themes" to "the root directory".
Move the included directory "profile_pictures" to "the root directory".
Title: Re: Ultimate Profile
Post by: Arantor on May 10, 2010, 01:14:22 PM
Code: open the zip file, take the database.php file and upload it to your forum, in to the forum main folder, where SSI.php is, then browse to it.

File Operations: upload the files it's telling you, to the place it's telling you to upload them to. E.g. upload the Sources folder to the main forum folder - so all the files in the zip's Sources/ area go to your forum's Sources/ folder.
Title: Re: Ultimate Profile
Post by: enCyde on May 10, 2010, 01:59:08 PM
okey. I think it worked I have no errors now in my error log, and i can see Ultimate profile in the profile menu, I added some text to test and enable the mod. But nothing is showing up on my profile. I have set all permissions enable. But nothing is showing up on my profile that i typed in the text boxes, "hobbys" et.c

please help.


thanks
Title: Re: Ultimate Profile
Post by: MATTEK on May 11, 2010, 07:08:30 PM
Quote from: MATTEK on May 09, 2010, 01:38:47 PM
I'm still experiencing the SAME issue even after I've re uploaded all important directory files. I'm stuck.

Problem: Only members who register AFTER the mod is install may post profile comments. Anyone who was already registered get's a blank page upon submit.

Yagiz says he's tried this on 6 forums and he could not replicate the issue.

Help! lol. Please.

I'm wondering if anyone has an idea of what may be causing this?
Title: Re: Ultimate Profile
Post by: Sakae on May 11, 2010, 10:54:20 PM
I'm having this same problem, Mattek.

Well, at least half of it, since I can't post any comment. Haven't tested with a new user yet.
Title: Re: Ultimate Profile
Post by: enCyde on May 12, 2010, 11:58:26 AM
anyone? scroll up for my post.

please help
Title: Re: Ultimate Profile
Post by: PatrickPriest on May 12, 2010, 05:03:08 PM
I checked my error logs and see this a lot on all different members:
Type of error: Undefined
8: Undefined variable: field
File: /.../.../.../Themes/default/UltimateProfile.template.php (summary2 sub template - eval?)
Line: 651

Running SMF 2.0 RC2

I'm unable to figure out what code is on Line 651.  Can someone help me correct this issue?
Title: Re: Ultimate Profile
Post by: GoldieFR on May 13, 2010, 09:19:05 AM
Quote from: alboking on May 05, 2010, 10:42:22 PM
Ok i need some help

i just installed The mod but im getting these error

   Unknown column 'com.time' in 'field list'
File: /vservers/masonry/htdocs/iforum/Sources/Profile-View.php
Line: 257

  SMF 2.0 RC3


same problem here, it looks like the tables haven't been updated correctly.

I went through this problem by deleting this value in my files (I supposed it was the time when the comment was written)
It worked and finally showed the ultimate profile.

But then I got the same error than Mattek

Quote from: MATTEK on May 09, 2010, 01:38:47 PM
I'm still experiencing the SAME issue even after I've re uploaded all important directory files.

Problem: Only members who register AFTER the mod is install may post profile comments. Anyone who was already registered get's a blank page upon submit.

Yagiz says he's tried this on 6 forums and he could not replicate the issue.

Help! lol

blank page after submission of comment.

which way too complicated for my basic knowledge.

So I unfortunately uninstalled it and I'm looking forward for any help.




Title: Re: Ultimate Profile
Post by: GoldieFR on May 14, 2010, 07:39:58 AM
hello,

here is the result of my investigation for this error :

Unknown column 'com.time' in 'field list'


in profile.view and profile.action
I just replaced com.time by com.date

in profile.view

find (line 283 for me)
com.time
replace
com.date


find (line 331 for me)
timeformat($row['time']),
replace
timeformat($row['date']),


in profile.action

find (line 119 for me)
$request = $smcFunc['db_insert']('normal', '{db_prefix}profile_comments',
    array(
     'id_member' => 'int',
     'comment' => 'string',
     'time' => 'int',
     'comment_member_id' => 'int',
    ),
    array(
     'id_member' => $context['user']['id'],
     'comment' => htmlspecialchars($_POST['comment']),
     'time' => time(),
     'comment_member_id' => $memID,
    ),
    array('id_comment')
  );


replace by

$request = $smcFunc['db_insert']('normal', '{db_prefix}profile_comments',
    array(
     'id_member' => 'int',
     'comment' => 'string',
     'date' => 'int',
     'comment_member_id' => 'int',
    ),
    array(
     'id_member' => $context['user']['id'],
     'comment' => htmlspecialchars($_POST['comment']),
     'date' => time(),
     'comment_member_id' => $memID,
    ),
    array('id_comment')
  );


that should enable the ultimate profile to show and give you the date of the comment.




Trouble is, for me, that I'm still having a blank page when I submit a comment but not for everyone though. :-\
Sometimes it works, sometimes it doesn't.

I set up ultimate profile for everyone, managed my permissions (edit its own profile), but still, it's not working all the time and I don't see any common point between them.

Is there any chance there could be a conflict with the Profile Comment mod ?






Title: Re: Ultimate Profile
Post by: mrtrc266 on May 14, 2010, 11:20:19 AM
Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
hello,

here is the result of my investigation for this error :

Unknown column 'com.time' in 'field list'

Have you tried this? Unknown column 'com.time' in 'field list' (http://www.simplemachines.org/community/index.php?topic=319482.msg2123268#msg2123268)     

Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
Is there any chance there could be a conflict with the Profile Comment mod ?

Looks like it might be possible that it will confilct w/ the Profile Comments mod

Ultimate Profile Database$smcFunc['db_create_table']('{db_prefix}profile_comments'

Profile Comments Database
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}profile_comments
Title: Re: Ultimate Profile
Post by: truhe on May 14, 2010, 12:56:06 PM
Hi, I installed SMF 1.1.11 and Ultimate Profile 0.9.1
Before I installed UP some members had buddies.
After I installed UP these buddies are not shown in the new buddy-list but they can't be added again.
How can i get them to the list ?
Title: Re: Ultimate Profile
Post by: enCyde on May 15, 2010, 07:47:18 AM
Quote from: enCyde on May 10, 2010, 01:59:08 PM
okey. I think it worked I have no errors now in my error log, and i can see Ultimate profile in the profile menu, I added some text to test and enable the mod. But nothing is showing up on my profile. I have set all permissions enable. But nothing is showing up on my profile that i typed in the text boxes, "hobbys" et.c

please help.


thanks


anyone know what is wrong? I really want this working... please
Title: Re: Ultimate Profile
Post by: GoldieFR on May 15, 2010, 10:35:01 AM
Quote from: mrtrc266 on May 14, 2010, 11:20:19 AM
Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
hello,

here is the result of my investigation for this error :

Unknown column 'com.time' in 'field list'

Have you tried this? Unknown column 'com.time' in 'field list' (http://www.simplemachines.org/community/index.php?topic=319482.msg2123268#msg2123268)     

Quote from: GoldieFR on May 14, 2010, 07:39:58 AM
Is there any chance there could be a conflict with the Profile Comment mod ?

Looks like it might be possible that it will confilct w/ the Profile Comments mod

Ultimate Profile Database$smcFunc['db_create_table']('{db_prefix}profile_comments'

Profile Comments Database
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}profile_comments

thanks for your help mrtrc266, it worked perfectly fine with the link you gave me :)


however I'm still having a blank page after submitting a comment, event though I uninstalled "Profile Comment".
I'll try to sort this out and find information about this.
But if anyone have any idea...


Title: Re: Ultimate Profile
Post by: Izzy180 on May 15, 2010, 02:15:39 PM
Just installed this mod on my 1.11 site and it's fantastic!

Love the gallery, buddy and customising of the whole thing. However I just have a quick question I am hoping can be done. The site I am using is one for a game site where people can have alot of Alt screenames

So is it possible to add more fields in the profile itself? Or custom fields? Tried other custom field mods but they dont seem to effect ultimate profile.

Can this be done?
Title: Re: Ultimate Profile
Post by: truhe on May 15, 2010, 05:13:00 PM
Quote from: truhe on May 14, 2010, 12:56:06 PM
Hi, I installed SMF 1.1.11 and Ultimate Profile 0.9.1
Before I installed UP some members had buddies.
After I installed UP these buddies are not shown in the new buddy-list but they can't be added again.
How can i get them to the list ?

these old buddies are in smf_members/buddy_list but not in smf_buddies.
I think they can't be added because they are already in smf_members/buddy_list. And they are not shown in Ultimate Profile because they are not in smf_buddies. Is tere a way to correct this ?
Title: Re: Ultimate Profile
Post by: GoldieFR on May 16, 2010, 05:51:54 AM
hello,

me again, trying to fix my ultimate profile comments.

looking into my error log, (just huge :o , I think I should have a look more often).
I've found this

Quote
Appliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?action=admin;area=logs;sa=errorlog;desc
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: pcomments_admin
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Admin.php
Ligne: 205

here what i got on line 205

'comment' => array( 'label' => $txt['pcomments_admin'], 'file' => 'ProfileComments2.php', 'function' => 'CommentsMain', 'custom_url' => $scripturl . '?action=admin;area=comment;sa=admin;sesc=' . $sc, 'icon' => 'server.gif', 'subsections' => array(), ),

I get this error each time I click anywhere on my admin panel.

******************

when I try to add a comment, I get those errors

QuoteAppliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1440

here is what I got on line 1440
'before' => '<div class="quoteheader"><div class="topslice_quote">' . $txt['quote_from'] . ': {author}</div></div><blockquote>'

Quote
Appliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1431

'before' => '<div class="quoteheader"><div class="topslice_quote"><a href="' . $scripturl . '?{link}">' . $txt['quote_from'] .


QuoteAppliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1417

'before' => '<div class="quoteheader"><div class="topslice_quote">' . $txt['quote_from'] . ': $1</div></div><blockquote>',


QuoteAppliquer le filtre: Afficher les messages d'erreurs pour cet URL seulement
http://www.forumdediscussion.org/index.php?pretty;action=profile&amp;area=comment;u=45;add
Appliquer le filtre: Montrer les erreurs qui ont un message identique
8: Undefined index: quote_from
Appliquer le filtre: Ne montrer que les erreurs provenant de ce fichier
Fichier: /homez.323/androidp/www/forumdediscussion.org/Sources/Subs.php
Ligne: 1410

'before' => '<div class="quoteheader"><div class="topslice_quote">' . $txt['quote_from'] . ': {author}</div></div><blockquote>'

All those are undefined vars.
I think I get what's wrong but I got no clue how to solve it.

If any good willing soul sees my message : please help or






























(http://www.bestcomedyonline.com/gallery/jeff-dunham/achmed-the-dead-terrorist/achmed-the-dead-terrorist-01.jpg)

Title: Re: Ultimate Profile
Post by: snyperthugs on May 20, 2010, 11:56:31 PM
The "My Buddies" part isnt working
Title: Re: Ultimate Profile
Post by: gbsothere on May 21, 2010, 08:12:29 AM
Quote from: truhe on May 15, 2010, 05:13:00 PM
Quote from: truhe on May 14, 2010, 12:56:06 PM
Hi, I installed SMF 1.1.11 and Ultimate Profile 0.9.1
Before I installed UP some members had buddies.
After I installed UP these buddies are not shown in the new buddy-list but they can't be added again.
How can i get them to the list ?

these old buddies are in smf_members/buddy_list but not in smf_buddies.
I think they can't be added because they are already in smf_members/buddy_list. And they are not shown in Ultimate Profile because they are not in smf_buddies. Is tere a way to correct this ?



truhe,  when I first installed this mod on my 1.1.11 forum (I think it was 1.1.19 at the time) I had this issue.  I'm sure there is a much easier fix than I used, but I browsed the smf_members table and deleted the buddies from the buddies_list column and posted an announcement for my members to issue new invitations.  This solved the problem.  In my case, my forum is a small(ish) private forum, so it was no big task for me to simply edit that column for each member but if your forum is too large for that, perhaps you'll want to write a query that will purge all members at once.  (I'm no good with queries, unfortunately.)  I do vaguely remember some sort of buddy tool being mentioned on this thread at one time, but I believe it was for 2.x.  There is a table fix for 1.x, but that didn't affect my buddy issue.

This solution is a bit drastic, I realize, but it did completely resolve the buddy issue on the 1.x forum (and I believe some of my members had begun to question their previous buddy invitations, anyway).  This gave them an "out".  *grin*   
Title: Re: Ultimate Profile
Post by: Yağız... on May 21, 2010, 11:18:08 AM
There is a script for migrating old SMF buddies to UP buddies, but only for SMF 1.1.x
Title: Re: Ultimate Profile
Post by: gbsothere on May 21, 2010, 01:09:10 PM
Quote from: Yağız... on May 21, 2010, 11:18:08 AM
There is a script for migrating old SMF buddies to UP buddies, but only for SMF 1.1.x




I thought there was, Yağız, but these old eyes of mine are letting me down.  I've stared at page after page, and I guess I'm just looking right through it.   Bits of me are wearing out.  *grin*


Title: Re: Ultimate Profile
Post by: Yağız... on May 21, 2010, 01:13:27 PM
Jovan removed the file from his server :/ I don't have it for SMF 1.1.x versions, but I should have it somewhere :)
Title: Re: Ultimate Profile
Post by: snyperthugs on May 21, 2010, 02:07:06 PM
OK Im having a few problems. The admin can add photos to their profile, but uses cannot, There is no Media sections, and the buddies sections doesn't work..... Anybody know what I can do to fix this?  Thanks in advance
Title: Re: Ultimate Profile
Post by: Yağız... on May 21, 2010, 02:14:35 PM
Quote from: snyperthugs on May 21, 2010, 02:07:06 PM
OK Im having a few problems. The admin can add photos to their profile, but uses cannot, There is no Media sections, and the buddies sections doesn't work..... Anybody know what I can do to fix this?  Thanks in advance
Did you enabled permission for normal users? (Admin > Permissions)
Title: Re: Ultimate Profile
Post by: snyperthugs on May 21, 2010, 02:23:00 PM
Quote from: Yağız... on May 21, 2010, 02:14:35 PM
Quote from: snyperthugs on May 21, 2010, 02:07:06 PM
OK Im having a few problems. The admin can add photos to their profile, but uses cannot, There is no Media sections, and the buddies sections doesn't work..... Anybody know what I can do to fix this?  Thanks in advance
Did you enabled permission for normal users? (Admin > Permissions)

Ok That fixed the Pictures part and thanks.  But the "MEDIA" and "BUDDIES" section still are not working
Title: Re: Ultimate Profile
Post by: Yağız... on May 21, 2010, 02:25:19 PM
You should enable them from Admin > Features And Options > Ultimate Profile.
Title: Re: Ultimate Profile
Post by: snyperthugs on May 21, 2010, 04:15:38 PM
Quote from: Yağız... on May 21, 2010, 02:25:19 PM
You should enable them from Admin > Features And Options > Ultimate Profile.

I did that but still doesn't show up .............. Anybody know what can be causing the "Media" part to not show? and the buddies to not work???
Title: Re: Ultimate Profile
Post by: truhe on May 22, 2010, 06:11:27 AM
Quote from: Yağız... on May 21, 2010, 01:13:27 PM
Jovan removed the file from his server :/ I don't have it for SMF 1.1.x versions, but I should have it somewhere :)
I'm glad to hear this. If you should find it it would be nice to post it here.
Title: Re: Ultimate Profile
Post by: enCyde on May 22, 2010, 10:27:58 AM
Quote from: enCyde on May 10, 2010, 01:59:08 PM
okey. I think it worked I have no errors now in my error log, and i can see Ultimate profile in the profile menu, I added some text to test and enable the mod. But nothing is showing up on my profile. I have set all permissions enable. But nothing is showing up on my profile that i typed in the text boxes, "hobbys" et.c

please help.


thanks

anyone?
Title: Re: Ultimate Profile
Post by: dannbass on May 23, 2010, 01:06:26 PM
I've been searching but couldn't find... is there a new version of the profile-redirect.php?
<?php
/*
* profile-redirect.php
* Version 1.0
* Tested on SMF 1.1.x
*
* Author: Jovan Turanjanin
*
* This file accepts member's username as input and redirect to appropriate profile page.
* If you want to use Display Name instead of a Username just replace memberName with the realName in the query below.
*/

require_once './SSI.php';


$username addslashes ($_GET['user']);
$sql db_query ('SELECT ID_MEMBER FROM ' $db_prefix 'members WHERE memberName = "' $username '"'__FILE____LINE__);

if (
mysql_num_rows ($sql) < 1)
fatal_error ('Unknown user.'false);

list (
$user_id) = mysql_fetch_row ($sql);

redirectexit ('action=profile;u=' $user_id);

?>

I still don't know my way into the $smcFunc to port this one to structure of 2.0
Thank you!
Title: Re: Ultimate Profile
Post by: Yağız... on May 23, 2010, 01:39:31 PM
<?php
/*
* profile-redirect.php
* Version 1.0
* Tested on SMF 1.1.x
*
* Author: Jovan Turanjanin
*
* This file accepts member's username as input and redirect to appropriate profile page.
* If you want to use Display Name instead of a Username just replace member_name with the real_name in the query below.
*/

require_once './SSI.php';


$username addslashes ($_GET['user']);
$sql $smcFunc['db_query']('''SELECT id_member FROM {db_prefix}members WHERE member_name = {string:name}', array( 'name' => $username, ) );

if (
$smcFunc['db_num_rows']($sql) < 1)
   
fatal_error ('Unknown user.'false);

list (
$user_id) = $smcFunc['db_num_rows']($sql);

redirectexit('action=profile;u=' $user_id);

?>
Title: Re: Ultimate Profile
Post by: dannbass on May 24, 2010, 11:35:20 AM
Thank you Yağız...!! I still need to try it out, but I really appreciate your quick reply!!
Title: Re: Ultimate Profile
Post by: ActivePatriot on May 24, 2010, 05:43:16 PM
Hello,

I'm trying to integrate Buy me a Drink into Ultimate Profile.
I would like to put the clickable buy me a drink image directly below the globe image for website in the contact section
What page/file do I edit to include this?
Title: Re: Ultimate Profile
Post by: Yağız... on May 24, 2010, 05:47:35 PM
Quote from: ActivePatriot on May 24, 2010, 05:43:16 PM
Hello,

I'm trying to integrate Buy me a Drink into Ultimate Profile.
I would like to put the clickable buy me a drink image directly below the globe image for website in the contact section
What page/file do I edit to include this?
Can you post the link to the mod page please?
Title: Re: Ultimate Profile
Post by: ActivePatriot on May 24, 2010, 06:01:53 PM
Quote from: Yağız... on May 24, 2010, 05:47:35 PM
Quote from: ActivePatriot on May 24, 2010, 05:43:16 PM
Hello,

I'm trying to integrate Buy me a Drink into Ultimate Profile.
I would like to put the clickable buy me a drink image directly below the globe image for website in the contact section
What page/file do I edit to include this?
Can you post the link to the mod page please?

Ultimate Profile:
http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

Buy Me a Drink:
http://custom.simplemachines.org/mods/index.php?mod=1750 (http://custom.simplemachines.org/mods/index.php?mod=1750)


My buy me a drink shows up in regular profile but not in ultimate profile like so:

Regular Profile (I still need to reformat because it overlaps, but at least it shows):
http://activepatriot.org/index.php?action=profile;u=5 (http://activepatriot.org/index.php?action=profile;u=5)

Ultimate Profile:
http://activepatriot.org/index.php?action=profile;u=1 (http://activepatriot.org/index.php?action=profile;u=1)

On this, I'd like it to show below the globe in the "Contact Me" area
Title: Re: Ultimate Profile
Post by: Izzy180 on May 25, 2010, 01:15:24 PM
I'm looking to do the same thing but with a different mod, namely the WoW name mod to create Alt names for characters in the UP.

Is it possible?
Title: Re: Ultimate Profile
Post by: Yağız... on May 25, 2010, 01:21:08 PM
Quote from: ActivePatriot on May 24, 2010, 06:01:53 PM
Quote from: Yağız... on May 24, 2010, 05:47:35 PM
Quote from: ActivePatriot on May 24, 2010, 05:43:16 PM
Hello,

I'm trying to integrate Buy me a Drink into Ultimate Profile.
I would like to put the clickable buy me a drink image directly below the globe image for website in the contact section
What page/file do I edit to include this?
Can you post the link to the mod page please?

Ultimate Profile:
http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)

Buy Me a Drink:
http://custom.simplemachines.org/mods/index.php?mod=1750 (http://custom.simplemachines.org/mods/index.php?mod=1750)


My buy me a drink shows up in regular profile but not in ultimate profile like so:

Regular Profile (I still need to reformat because it overlaps, but at least it shows):
http://activepatriot.org/index.php?action=profile;u=5 (http://activepatriot.org/index.php?action=profile;u=5)

Ultimate Profile:
http://activepatriot.org/index.php?action=profile;u=1 (http://activepatriot.org/index.php?action=profile;u=1)

On this, I'd like it to show below the globe in the "Contact Me" area
Forgot to ask, what is your SMF Version?

Quote from: Izzy180 on May 25, 2010, 01:15:24 PM
I'm looking to do the same thing but with a different mod, namely the WoW name mod to create Alt names for characters in the UP.

Is it possible?
Mod link and SMF version please.
Title: Re: Ultimate Profile
Post by: Izzy180 on May 25, 2010, 03:54:45 PM
The mod is here http://custom.simplemachines.org/mods/index.php?mod=282

My smf version is 1.1.11

I know it seems to only be for the RC but the mod does work in the normal forum part, just can't figure out how to get those 4 fields showing on the UP!
Title: Re: Ultimate Profile
Post by: ActivePatriot on May 25, 2010, 04:10:36 PM
Sorry, I forgot

SMF 2 RC3
Title: Re: Ultimate Profile
Post by: carsch on May 25, 2010, 10:56:50 PM
I love this mod.  I made changes to my profile on this and clicked the save, but it doesn't look like it's saving what I'm inputting.

Any ideas?

Edit, it's on 1.11
Title: Re: Ultimate Profile
Post by: enCyde on May 26, 2010, 02:01:29 AM
Quote from: carsch on May 25, 2010, 10:56:50 PM
I love this mod.  I made changes to my profile on this and clicked the save, but it doesn't look like it's saving what I'm inputting.

Any ideas?

Edit, it's on 1.11

I have the same problem! and I'm still waiting for help

:\
Title: Re: Ultimate Profile
Post by: MATTEK on May 26, 2010, 03:52:53 AM
Here you go Yagiz.
Title: Re: Ultimate Profile
Post by: enCyde on May 26, 2010, 11:19:52 AM
ah okey, I got it working and it's running okey! only one thing I've searched for the same problem but didn't really get an answer. I'ts about the buddy list. I've tested to add a buddy and he answered the request, but he don't show up on my buddy list. Any idea how to fix this?

cheers and thanks
Title: Request for a new box
Post by: Tearstar on May 27, 2010, 12:55:59 AM
I am fairly good with simple php hacking and such but I figured I would just regest either incorporating Member Awards Mod so that Ultimate Profile will display earned awards

Here is the mod page
http://custom.simplemachines.org/mods/index.php?mod=475

I'm using version for 2.0RC3
Title: Re: Ultimate Profile
Post by: Yağız... on May 28, 2010, 12:45:05 PM
Quote from: ActivePatriot on May 25, 2010, 04:10:36 PM
Sorry, I forgot

SMF 2 RC3
Find in ./Themes/default/UltimateProfile.template.php:
if (!isset($context['disabled_fields']['yim']) && !empty($context['member']['yim']['link']))
echo '
<dt><img src="http://opi.yahoo.com/online?u=', urlencode($context['member']['yim']['link_text']), '&amp;m=g&amp;t=0" alt="', $txt['yim'], '" /></dt>
<dd>', $context['member']['yim']['link_text'], '</dd>';

Add after:
if ($context['member']['buy_on'])
echo '
<dt><a href="', $scripturl, '?action=buyme;u=', $context['member']['id'], '" title="'.$txt['buy_description_icon'] . $context['member']['buy_type']. '"><img src="' . $settings['images_url'] . '/'.$context['member']['buy_icon'].'" alt="'.$txt['buy_description_icon'].$context['member']['buy_type'].'" border="0" /></a></dt>';


Quote from: Izzy180 on May 25, 2010, 03:54:45 PM
The mod is here http://custom.simplemachines.org/mods/index.php?mod=282

My smf version is 1.1.11

I know it seems to only be for the RC but the mod does work in the normal forum part, just can't figure out how to get those 4 fields showing on the UP!
Find this in ./Themes/default/UltimateProfile.template.php:
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>';

Add after:
echo '
<tr>
', !empty($context['member']['options']['main_name']) ? '</tr><tr> <td><b>Main Character Name: </b></td> <td>' . $context['member']['options']['main_name'] . '</td>' : '', '
</tr><tr>
', !empty($context['member']['options']['alt1_name']) ? '</tr><tr> <td><b>Alt Name 1: </b></td> <td>' . $context['member']['options']['alt1_name'] . '</td>' : '', '
</tr><tr>
', !empty($context['member']['options']['alt2_name']) ? '</tr><tr> <td><b>Alt Name 2: </b></td> <td>' . $context['member']['options']['alt2_name'] . '</td>' : '', '
</tr><tr>
', !empty($context['member']['options']['alt3_name']) ? '</tr><tr> <td><b>Alt Name 3: </b></td> <td>' . $context['member']['options']['alt3_name'] . '</td>' : '', '
</tr><tr>
', !empty($context['member']['options']['alt4_name']) ? '</tr><tr> <td><b>Alt Name 4: </b></td> <td>' . $context['member']['options']['alt4_name'] . '</td>' : '', '
</tr>';


Quote from: carsch on May 25, 2010, 10:56:50 PM
I love this mod.  I made changes to my profile on this and clicked the save, but it doesn't look like it's saving what I'm inputting.

Any ideas?

Edit, it's on 1.11
Did you have any error on installation?

Quote from: MATTEK on May 26, 2010, 03:52:53 AM
Here you go Yagiz.
Really weird... No error on files.

Quote from: enCyde on May 26, 2010, 11:19:52 AM
ah okey, I got it working and it's running okey! only one thing I've searched for the same problem but didn't really get an answer. I'ts about the buddy list. I've tested to add a buddy and he answered the request, but he don't show up on my buddy list. Any idea how to fix this?

cheers and thanks
Can you try with 2 or more users please?

Quote from: Tearstar on May 27, 2010, 12:55:59 AM
I am fairly good with simple php hacking and such but I figured I would just regest either incorporating Member Awards Mod so that Ultimate Profile will display earned awards

Here is the mod page
http://custom.simplemachines.org/mods/index.php?mod=475

I'm using version for 2.0RC3
You can search in the thread. I've posted spme codes for that.
Title: Re: Ultimate Profile
Post by: MATTEK on May 29, 2010, 12:40:23 AM
so I'm out of luck?
Title: Re: Ultimate Profile
Post by: enCyde on May 29, 2010, 04:03:49 AM
hi all.

I have utimate profile installed and everything is running good except some of my members can't add other members to buddy list and some can. What can be the problem ?

Thanks for an answer.
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 05:46:21 AM
Quote from: MATTEK on May 29, 2010, 12:40:23 AM
so I'm out of luck?
I don't know ... Try to send a PM to JovanT with a link to your issue.
Quote from: enCyde on May 29, 2010, 04:03:49 AM
hi all.

I have utimate profile installed and everything is running good except some of my members can't add other members to buddy list and some can. What can be the problem ?

Thanks for an answer.

Can you try adding 2 or more users please?
Title: Re: Ultimate Profile
Post by: ukhalik2 on May 29, 2010, 12:07:01 PM
users can set their own options when this mod installed?
(http://img101.imageshack.us/img101/8110/sadfdsafasdf.jpg)
how to stop them doing this?
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 12:18:59 PM
They can always set their own options, it's not related to this mod.
Title: Re: Ultimate Profile
Post by: enCyde on May 29, 2010, 12:35:20 PM
Yağız... I try, but when I'm going to a profile of a member the add buddy button dose not show up. And on another profile it shows up :\
Title: Re: Ultimate Profile
Post by: ukhalik2 on May 29, 2010, 04:19:14 PM
Quote from: Yağız... on May 29, 2010, 12:18:59 PM
They can always set their own options, it's not related to this mod.
But from where they can do so, if this mod is not installed?
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 04:23:54 PM
Quote from: enCyde on May 29, 2010, 12:35:20 PM
Yağız... I try, but when I'm going to a profile of a member the add buddy button dose not show up. And on another profile it shows up :\
Attach your Sources/Profile.php please.
Quote from: ukhalik2 on May 29, 2010, 04:19:14 PM
Quote from: Yağız... on May 29, 2010, 12:18:59 PM
They can always set their own options, it's not related to this mod.
But from where they can do so, if this mod is not installed?
Forum the same place?
Title: Re: Ultimate Profile
Post by: truhe on May 29, 2010, 04:37:41 PM
i think this is the same problem as mentioned here:
http://www.simplemachines.org/community/index.php?topic=298641.msg2629233#msg2629233 (http://www.simplemachines.org/community/index.php?topic=298641.msg2629233#msg2629233)
(SMF buddies to UP buddies)
did you find the script ?
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 04:42:48 PM
Nope ... I'm waiting for Jovan to post it there.
Title: Re: Ultimate Profile
Post by: enCyde on May 29, 2010, 06:03:13 PM
QuoteAttach your Sources/Profile.php please.


here it comes, thank you!
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 06:06:35 PM
The codes are there. Can I have a link and a test account from your forum?
Title: Re: Ultimate Profile
Post by: enCyde on May 29, 2010, 06:10:06 PM
www.encyde.se

just register and I will remove it when you are finish..


thank you so much.
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 06:20:34 PM
Just go to: http://www.encyde.se/forum/index.php?action=buddies
And your "Edit Buddies" section is there.
Title: Re: Ultimate Profile
Post by: enCyde on May 29, 2010, 06:22:26 PM
yes I know that, but when I got to my friends profile and try to add him there is no "add to buddy" button... and I don't have him as buddy
Title: Re: Ultimate Profile
Post by: Yağız... on May 29, 2010, 06:23:38 PM
Quote from: enCyde on May 29, 2010, 06:22:26 PM
yes I know that, but when I got to my friends profile and try to add him there is no "add to buddy" button... and I don't have him as buddy
Ah, but still, it's there too :P Under Contact.
Title: Re: Ultimate Profile
Post by: rocknroller on May 29, 2010, 06:58:56 PM
greetings!

Great mod, thank you.


I have problem with comments in profile, I would been grateful if you can tell me filename where is code for that.

And what i must looking for.

Title: Re: Ultimate Profile
Post by: MATTEK on May 30, 2010, 02:20:15 AM
Quote from: Yağız... on May 29, 2010, 05:46:21 AM
Quote from: MATTEK on May 29, 2010, 12:40:23 AM
so I'm out of luck?
I don't know ... Try to send a PM to JovanT with a link to your issue.
Will he get mad at random PM's?
Title: Re: Ultimate Profile
Post by: Yağız... on May 30, 2010, 05:55:03 AM
Quote from: MATTEK on May 30, 2010, 02:20:15 AM
Quote from: Yağız... on May 29, 2010, 05:46:21 AM
Quote from: MATTEK on May 29, 2010, 12:40:23 AM
so I'm out of luck?
I don't know ... Try to send a PM to JovanT with a link to your issue.
Will he get mad at random PM's?
Say him that you've found a bug, then he'll be happy :P
No, just say me you've a problem with comments and say him that it's me who said you to send a pm.

Quote from: rocknroller on May 29, 2010, 06:58:56 PM
greetings!

Great mod, thank you.


I have problem with comments in profile, I would been grateful if you can tell me filename where is code for that.

And what i must looking for.


2.0: Profile-Actions.php comment function.
1.1: Profile.php comment function.
Title: Re: Ultimate Profile
Post by: ukhalik2 on May 30, 2010, 12:45:37 PM
is there any way to link the "About ME" option to the place where its to be edited. So, that it would be easy for the user.
(http://h.imagehost.org/0607/asdfsadfasdf.jpg)
Title: Re: Ultimate Profile
Post by: Yağız... on May 30, 2010, 01:01:06 PM
Find in ./Themes/default/UltimateProfile.template.php:
function up_block_about_me() {
   global $txt, $context;
   
   echo '
      <div id="up_about_me">
         <h3 class="catbg">
            <span class="left"></span>
            ', $txt['profile_about_me'] ,'
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">';
     
            if (!empty($context['member']['options']['about']))
               echo '
               ', parse_bbc ($context['member']['options']['about']);
            else
               echo '
               ', $txt['profile_about_no'];
      echo '
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
   
   return true;
}

Replace with:
function up_block_about_me() {
   global $txt, $context, $scripturl;
   
   echo '
      <div id="up_about_me">
         <h3 class="catbg">
            <span class="left"></span>
            ', allowedTo('edit_ultimate_profile_own') ? '<a href="' . $scripturl . '?action=profile;area=customized">' : '', '', $txt['profile_about_me'] ,'', allowedTo('edit_ultimate_profile_own') ? '</a>' : '', '
         </h3>
         <div class="windowbg creator">
            <span class="topslice"><span></span></span>
            <div class="content">';
     
            if (!empty($context['member']['options']['about']))
               echo '
               ', parse_bbc ($context['member']['options']['about']);
            else
               echo '
               ', $txt['profile_about_no'];
      echo '
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
   
   return true;
}
Title: Re: Ultimate Profile
Post by: ukhalik2 on May 31, 2010, 04:23:41 AM
thanks, worked perfectly.
Title: Re: Ultimate Profile
Post by: gbsothere on June 01, 2010, 09:39:48 PM
Yağız or JovanT, this is an odd question, I suppose, but any help would be appreciated.   :)

This is for 1.1.11 Default and involves getting Ultimate Profile to work with this mod:

Hide Last Active (http://custom.simplemachines.org/mods/index.php?mod=2394)

The mod uses this string in Profile.template.php:

</tr><tr>';

if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )
{
echo '
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>';
}
echo '</tr>';



Is there any way that this information (that would allow an admin to have "last active" hidden on his profile) could be included in the UltimateProfile.template.php?  It seems that Ultimate Profile's template is overriding this mod.   :-\

I don't want to completely remove the "last logged in" string, since I do want to be able to see when members were last active, but I would like for the admin's "last active" information to remain hidden on his profile.  Otherwise, what's the point in hiding your status?   ;)

Thanks, much.
Title: Re: Ultimate Profile
Post by: Kurakama on June 02, 2010, 02:38:49 AM
Hello there.

it is a noob question D:

how can my users upload their photos for shown it in their perfil? lol

I could not find the option ''upload'' ><
Title: Re: Ultimate Profile
Post by: Yağız... on June 02, 2010, 02:50:46 AM
Quote from: gbsothere on June 01, 2010, 09:39:48 PM
Yağız or JovanT, this is an odd question, I suppose, but any help would be appreciated.   :)

This is for 1.1.11 Default and involves getting Ultimate Profile to work with this mod:

Hide Last Active (http://custom.simplemachines.org/mods/index.php?mod=2394)

The mod uses this string in Profile.template.php:

</tr><tr>';

if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )
{
echo '
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>';
}
echo '</tr>';



Is there any way that this information (that would allow an admin to have "last active" hidden on his profile) could be included in the UltimateProfile.template.php?  It seems that Ultimate Profile's template is overriding this mod.   :-\

I don't want to completely remove the "last logged in" string, since I do want to be able to see when members were last active, but I would like for the admin's "last active" information to remain hidden on his profile.  Otherwise, what's the point in hiding your status?   ;)

Thanks, much.
Find this in ./Themes/default/UltimateProfile.template.php:
</tr>
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>
</table>

Replace with:
</tr>';
if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )
{
echo '
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
}
echo '
</table>


Quote from: Euskor on June 02, 2010, 02:38:49 AM
Hello there.

it is a noob question D:

how can my users upload their photos for shown it in their perfil? lol

I could not find the option ''upload'' ><
Go to Profile > Show Pictures > Add Picture
Title: Re: Ultimate Profile
Post by: Kurakama on June 02, 2010, 02:55:50 AM
OMG! I did not see that!

thank ya! ^^
Title: Re: Ultimate Profile
Post by: gbsothere on June 02, 2010, 08:57:27 AM
Yağız, that works beautifully and thanks so much for the help.   :)
Title: Re: Ultimate Profile
Post by: gbsothere on June 02, 2010, 06:27:40 PM
Quote from: Yağız... on June 02, 2010, 02:50:46 AM
Find this in ./Themes/default/UltimateProfile.template.php:
</tr>
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>
</table>

Replace with:
</tr>';
if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )
{
echo '
<tr>
<td><b>', $txt['lastLoggedIn'], ': </b></td>
<td>', $context['member']['last_login'], '</td>
</tr>';
}
echo '
</table>




It does work, Yağız, but it generates this error (SMF 1.1.11 ,default):


8: Undefined variable: user_info
File: /var/www/vhosts/mywebsite.com/httpdocs/smf/Themes/default/UltimateProfile.template.php
Line: 99

Line 99:

      if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )


That is the only error.   :)
Title: Re: Ultimate Profile
Post by: Yağız... on June 03, 2010, 12:44:02 AM
Find this:
function up_block_user_info() {
    global $context, $txt, $settings;

Replace with:
function up_block_user_info() {
    global $context, $txt, $settings, $user_info;
Title: Re: Ultimate Profile
Post by: Kmam on June 03, 2010, 02:22:18 AM
Great mod. But I have one prob..... When i installed this mod my smf trade rate mod stopped working. The type of forum i have i really need both mods to be working. Is there a way to do that? I am running SMF 1.1.11
Title: Re: Ultimate Profile
Post by: Tearstar on June 03, 2010, 02:39:03 AM
Quote from: Yağız... on May 28, 2010, 12:45:05 PM

Quote from: Tearstar on May 27, 2010, 12:55:59 AM
I am fairly good with simple php hacking and such but I figured I would just regest either incorporating Member Awards Mod so that Ultimate Profile will display earned awards

Here is the mod page
http://custom.simplemachines.org/mods/index.php?mod=475

I'm using version for 2.0RC3
You can search in the thread. I've posted spme codes for that.

I saw those and tried them, but According to Member Awards changelog, it has been taken over and "modified" since you made your code posts, and it don't work . . . It actually broke my forum
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 07:36:32 AM
Quote from: Yağız... on June 03, 2010, 12:44:02 AM
Find this:
function up_block_user_info() {
    global $context, $txt, $settings;

Replace with:
function up_block_user_info() {
    global $context, $txt, $settings, $user_info;





Was that meant for me on the error thing? (http://www.simplemachines.org/community/index.php?topic=298641.msg2652405#msg2652405) (SMF 1.1.11, default).  I've searched high and low, Yağız, but I just can't find this string anywhere in the file.  I've even searched for only portions of it, but I'm coming up empty.

The only thing similar I find is this:

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


:-\


EDIT:  I just downloaded the current zip for 1.x and I see that my version is a bit earlier.  It's in the current file.  Can the old one (0.9) be edited without my having to do a complete upgrade?  (I'd rather avoid the upgrade because JovanT helped me to place several custom edits in the template early on, that I would like to keep.)
Title: Re: Ultimate Profile
Post by: Yağız... on June 03, 2010, 11:02:33 AM
Quote from: Kmam on June 03, 2010, 02:22:18 AM
Great mod. But I have one prob..... When i installed this mod my smf trade rate mod stopped working. The type of forum i have i really need both mods to be working. Is there a way to do that? I am running SMF 1.1.11
Mod link please :)

Quote from: gbsothere on June 03, 2010, 07:36:32 AM
Quote from: Yağız... on June 03, 2010, 12:44:02 AM
Find this:
function up_block_user_info() {
    global $context, $txt, $settings;

Replace with:
function up_block_user_info() {
    global $context, $txt, $settings, $user_info;





Was that meant for me on the error thing? (http://www.simplemachines.org/community/index.php?topic=298641.msg2652405#msg2652405) (SMF 1.1.11, default).  I've searched high and low, Yağız, but I just can't find this string anywhere in the file.  I've even searched for only portions of it, but I'm coming up empty.

The only thing similar I find is this:

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


:-\


EDIT:  I just downloaded the current zip for 1.x and I see that my version is a bit earlier.  It's in the current file.  Can the old one (0.9) be edited without my having to do a complete upgrade?  (I'd rather avoid the upgrade because JovanT helped me to place several custom edits in the template early on, that I would like to keep.)
Ah, then replace the code you've gave with that:
   global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix, $ID_MEMBER, $user_info;
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 01:02:34 PM
Thanks so much for the patient help, Yağız.  That sorted it.   :)
Title: Re: Ultimate Profile
Post by: kernelstackdump on June 03, 2010, 02:09:56 PM
i got this error.... Can't create/write to file '/tmp/#sql_22ab_0.MYI' (Errcode: 13)
File: /home/xxxxxxxx/public_html/Packages/temp/helper.php
Line: 48


i'm using SMF 2.0RC3

TQ
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 06:20:51 PM
I hesitate to mention this, Yağız, but, after staring at the UltimateProfile.template.php (SMF 1.1.11, Default) for quite some time, I'm forced to admit that I'm stumped.  (This is what happens when they let regular guys like me come to this site.)   :D

To refresh your memory, earlier I had this error:

8: Undefined variable: user_info
File: /var/www/vhosts/mywebsite.com/httpdocs/smf/Themes/default/UltimateProfile.template.php
Line: 99

Line 99:

      if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']
['is_admin'] )

and the solution was to find this:

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


and replace with this:

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


This did sort the user info error, but now, after returning home and checking my forum, I see that the error has become this:



8: Undefined index: id
File: /var/www/vhosts/whereikeepmystuff.com/httpdocs/smf/Themes/default/UltimateProfile.template.php
Line: 99

And again, line 99 is:

      if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )

I'm so sorry that I'm just not getting it, but if you could, once again, help, I'd appreciate it. 
Title: Re: Ultimate Profile
Post by: Kmam on June 03, 2010, 07:30:57 PM
In smf 1.1.11 is there a way i can get my members referral links to show?
Title: Re: Ultimate Profile
Post by: Sabre™ on June 03, 2010, 07:46:45 PM
@ gbsothere

Add $user_profile to the string

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


its calling for it in this line
if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 08:10:13 PM
Well, Sabre™, I thought that would sort it... but I placed the edit:


global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix, $ID_MEMBER, $user_profile, $user_info;

Then I uploaded the file to Themes/default, cleared my errors, clicked on my profile and generated the same error.   :-\

Title: Re: Ultimate Profile
Post by: Sabre™ on June 03, 2010, 08:42:43 PM
Strange.
Is that edit made to both your ultimateprofile.template and your themes profile.template? Some users will use UP, and some wont, so the call will fall on both templates depending.
If so, could you attach your UP template please :)
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 08:49:48 PM
Quote from: Sabre™ on June 03, 2010, 08:42:43 PM
Strange.
Is that edit made to both your ultimateprofile.template and your themes profile.template? Some users will use UP, and some wont, so the call will fall on both templates depending.
If so, could you attach your UP template please :)


I'll go you one better...   I'll attach both templates.   :)

The errors began after the edits made from this post:

HERE ON THIS SAME THREAD (http://www.simplemachines.org/community/index.php?topic=298641.msg2651583#msg2651583)

The "user info" error went away, after adding $user_info to the string, but the "Undefined index: id" error now replaces it.

Thanks so much for checking the files.
Title: Re: Ultimate Profile
Post by: Kmam on June 03, 2010, 09:25:55 PM
Quote from: Sabre™ on June 03, 2010, 07:46:45 PM
@ gbsothere

Add $user_profile to the string

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


its calling for it in this line
if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']
Ok just so I dont break nothing. is the file profile.template.php and do I delete where you say its calling for it in this line and put in the other?
Title: Re: Ultimate Profile
Post by: Kmam on June 03, 2010, 09:36:05 PM
wrong post lol sorry guys
Title: Re: Ultimate Profile
Post by: Kmam on June 03, 2010, 09:39:33 PM
Quote from: Yağız... on June 03, 2010, 11:02:33 AM
Quote from: Kmam on June 03, 2010, 02:22:18 AM
Great mod. But I have one prob..... When i installed this mod my smf trade rate mod stopped working. The type of forum i have i really need both mods to be working. Is there a way to do that? I am running SMF 1.1.11
Mod link please :)
http://custom.simplemachines.org/mods/index.php?mod=1114 There you go :)

Quote from: gbsothere on June 03, 2010, 07:36:32 AM
Quote from: Yağız... on June 03, 2010, 12:44:02 AM
Find this:
function up_block_user_info() {
    global $context, $txt, $settings;

Replace with:
function up_block_user_info() {
    global $context, $txt, $settings, $user_info;





Was that meant for me on the error thing? (http://www.simplemachines.org/community/index.php?topic=298641.msg2652405#msg2652405) (SMF 1.1.11, default).  I've searched high and low, Yağız, but I just can't find this string anywhere in the file.  I've even searched for only portions of it, but I'm coming up empty.

The only thing similar I find is this:

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


:-\


EDIT:  I just downloaded the current zip for 1.x and I see that my version is a bit earlier.  It's in the current file.  Can the old one (0.9) be edited without my having to do a complete upgrade?  (I'd rather avoid the upgrade because JovanT helped me to place several custom edits in the template early on, that I would like to keep.)
Ah, then replace the code you've gave with that:
   global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix, $ID_MEMBER, $user_info;
Title: Re: Ultimate Profile
Post by: Sabre™ on June 03, 2010, 09:41:47 PM
lol
@ gbsothere
To be honest, and to state only "My" opinion, that mod just takes an unnecessary route.
All difficulties could be removed with a shorter basic string.

So remove
      if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )

and replace it with
     if ($context['user']['is_owner'] && $context['user']['is_admin'])

also remove $user_info and $user_profile from the global setting, it's just wasted space.
See if that works for you.
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 09:49:29 PM
@ Sabre™

That clinched it!  I'm grinning like a cow chewing ice.   ;D


Thanks so much, the functionality is still there, but the errors have ridden off into the sunset. 

I really appreciate it!
Title: Re: Ultimate Profile
Post by: Sabre™ on June 03, 2010, 09:53:10 PM
My pleasure mate :)
Remember that string for anything else you'd like the same function for.
I'd just remove that mod personally, and only use that string.
Glad to have been of service mate :) , leave the beers with my concubines and I'll drink em in the morn :D
Title: Re: Ultimate Profile
Post by: gbsothere on June 03, 2010, 09:59:40 PM
Quote from: Sabre™ on June 03, 2010, 09:53:10 PM
My pleasure mate :)
Remember that string for anything else you'd like the same function for.
I'd just remove that mod personally, and only use that string.
Glad to have been of service mate :) , leave the beers with my concubines and I'll drink em in the morn :D


Done!  If you hear a loud beeping, it's just the delivery truck backing up.  ;)
Title: Re: Ultimate Profile
Post by: Kmam on June 03, 2010, 10:21:30 PM
Ok im sorry again... the trade rating system is working I just overlooked it. The problem now is my members dont have a referral link. I need to get them back if it is doable
Title: Re: Ultimate Profile
Post by: Sabre™ on June 04, 2010, 12:17:38 AM
See if [THIS] (http://www.simplemachines.org/community/index.php?topic=226191.msg2329345#msg2329345) old post is of any use to you.
Title: Re: Ultimate Profile
Post by: Kmam on June 04, 2010, 09:39:02 AM
Quote from: Sabre™ on June 04, 2010, 12:17:38 AM
See if [THIS] (http://www.simplemachines.org/community/index.php?topic=226191.msg2329345#msg2329345) old post is of any use to you.
I get this error   Fatal error: Call to undefined function chatOnlineUsers() in /home2/mycashfr/public_html/mycashfreebieforum/Sources/Load.php(1733) : eval()'d code on line 290
Title: Re: Ultimate Profile
Post by: Sabre™ on June 04, 2010, 09:47:25 AM
And that error wasn't around before hand?
That error is to do with the Ajax Chat mod.
So either it was around before, or you have inserted code incorrectly.
Title: Re: Ultimate Profile
Post by: Kmam on June 04, 2010, 09:51:45 AM
Quote from: Sabre™ on June 04, 2010, 09:47:25 AM
And that error wasn't around before hand?
That error is to do with the Ajax Chat mod.
So either it was around before, or you have inserted code incorrectly.

I had the error some time ago and reloaded a new load.php file. It fixed it. But this time a new load.php is not working. Before I loaded the new load.php file i got an error can not redefine referral...... cant remember all of it
Title: Re: Ultimate Profile
Post by: Sabre™ on June 04, 2010, 09:57:38 AM
The "can not redefine referral..." error means there was duplicate code.
Uninstall Ajax chat 'clean' so all of its code is removed, then reinstall it. That should fix your issue.
If there are other issues with that mod, or the same one continues, then post in that mods support thread where people familiar with its code will be able to help.
Title: Re: Ultimate Profile
Post by: Kmam on June 04, 2010, 10:15:33 AM
Quote from: Sabre™ on June 04, 2010, 09:57:38 AM
The "can not redefine referral..." error means there was duplicate code.
Uninstall Ajax chat 'clean' so all of its code is removed, then reinstall it. That should fix your issue.
If there are other issues with that mod, or the same one continues, then post in that mods support thread where people familiar with its code will be able to help.
Well cant get into nothing on the forum. Where abouts do i delete the ajax chat files?
Title: Re: Ultimate Profile
Post by: Sabre™ on June 04, 2010, 10:24:10 AM
Quote from: Sabre™ on June 04, 2010, 09:57:38 AM
.... post in that mods support thread where people familiar with its code will be able to help.
Title: Re: Ultimate Profile
Post by: Kmam on June 04, 2010, 11:23:18 AM
Quote from: Sabre™ on June 04, 2010, 10:24:10 AM
Quote from: Sabre™ on June 04, 2010, 09:57:38 AM
.... post in that mods support thread where people familiar with its code will be able to help.
Ok got the forum back up. Now when i try to install the referral_ultimate_profile mod i get

Execute Code   install_1-1.php   
2.   Execute Modification   ./index.php   Test successful
3.   Execute Modification   ./Sources/Load.php   Test failed
4.   Execute Modification   ./Sources/Profile.php   Test successful
5.   Execute Modification   ./Sources/Register.php   Test successful
6.   Execute Modification   ./Sources/Stats.php   Test successful
7.   Execute Modification   ./Themes/default/Display.template.php   Test successful
8.   Execute Modification   ./Themes/default/UltimateProfile.template.php   Test failed
9.   Execute Modification   ./Themes/default/Register.template.php   Test successful
10.   Execute Modification   ./Themes/default/Stats.template.php   Test failed
11.   Execute Modification   ./Themes/default/Xml.template.php   Test failed
Title: Re: Ultimate Profile
Post by: sbt on June 04, 2010, 12:54:02 PM
Can anyone help with this please?  We have 1.1.11.
Personal Text in profile summary is not showing.
The box is there to write the personal text and it has the words personal text, but in summary it shows nothing.

Looks like this:
(http://images114.fotki.com/v1606/photos/5/160565/7247757/theprofileofTest_1275669952293-vi.jpg)
Should be this:
(http://images53.fotki.com/v545/photos/5/160565/7247757/ProfileofJovanT_1275670076340-vi.jpg)

Have searched all files that this mod edited. Have searched all files on server for personal text and all match what was in the smf zip for installing smf.

On posts, on left below avatar it does put the personal text if added. But does not show on summary like it should.
In profile:
(http://images19.fotki.com/v1611/photos/5/160565/7247757/ofileInformation_1275670740425-vi.jpg)
In Posts:
(http://images17.fotki.com/v530/photos/5/160565/7247757/eadandUnderstood_1275670757676-vi.jpg)

Thank You for any replies.
Title: Re: Ultimate Profile
Post by: Yağız... on June 04, 2010, 01:22:06 PM
Admin > Features and Options > Enable custom titles
Title: Re: Ultimate Profile
Post by: Sabre™ on June 04, 2010, 07:36:07 PM
Quote from: Kmam on June 04, 2010, 11:23:18 AM
Quote from: Sabre™ on June 04, 2010, 10:24:10 AM
Quote from: Sabre™ on June 04, 2010, 09:57:38 AM
.... post in that mods support thread where people familiar with its code will be able to help.
Ok got the forum back up. Now when i try to install the referral_ultimate_profile mod i get

Execute Code   install_1-1.php   
2.   Execute Modification   ./index.php   Test successful
3.   Execute Modification   ./Sources/Load.php   Test failed
4.   Execute Modification   ./Sources/Profile.php   Test successful
5.   Execute Modification   ./Sources/Register.php   Test successful
6.   Execute Modification   ./Sources/Stats.php   Test successful
7.   Execute Modification   ./Themes/default/Display.template.php   Test successful
8.   Execute Modification   ./Themes/default/UltimateProfile.template.php   Test failed
9.   Execute Modification   ./Themes/default/Register.template.php   Test successful
10.   Execute Modification   ./Themes/default/Stats.template.php   Test failed
11.   Execute Modification   ./Themes/default/Xml.template.php   Test failed

If you PM me details of your site, an admin account and any other relevant details, I will personally install all 3 mods for you free of charge.(heh, I've never accepted a dime anyways lol )
I rarely offer that, as it can be time consuming, so get back to me before Sunday, as I'll be travelling for the next 2 weeks.
Your decision :)

EDIT:
All fixed
Title: Re: Ultimate Profile
Post by: sbt on June 05, 2010, 12:27:09 PM
Quote from: Yağız... on June 04, 2010, 01:22:06 PM
Admin > Features and Options > Enable custom titles

Is this to my question please? lol

If yes, we have that option selected in admin.
Missing text somewhere in a file.
Title: Re: Ultimate Profile
Post by: Scratching my Head on June 07, 2010, 03:12:41 PM
I'm having the same conflict as this post:


Quote from: Magicjax on June 13, 2009, 08:00:01 PM

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

So, I've seemingly read through all the threads dealing with Ultimate Profile (There are a lot of
them) and clicked all the links to places which no longer exist, and I haven't found an answer.

I am running SMF 2.0 RC3 - Using Ultimate Profile - current version: 0.9.1 for SMF 2.0 RC 3

But no-where is there a place to approve buddy requests.

Any help? Please?
Title: Re: Ultimate Profile
Post by: MATTEK on June 07, 2010, 08:02:38 PM
I still can not post comments on older user profiles. I've tried everything including uploading all new folders for my forum base.
Title: Re: Ultimate Profile
Post by: Andrew Evenstar on June 07, 2010, 08:44:21 PM
I have a question, what is the name of the database that holds the actual information / text stored on the users profile. I can easily find pictures, picture comments, albums... but not the profile information (About Me, Interests, Media). I'm searching everywhere in phpmyadmin, but can't find it.

Thanks.
Title: Re: Ultimate Profile
Post by: chadon on June 07, 2010, 08:59:47 PM
Quote from: MATTEK on June 07, 2010, 08:02:38 PM
I still can not post comments on older user profiles. I've tried everything including uploading all new folders for my forum base.

Same here. Any update on this Yağız?
Title: Re: Ultimate Profile
Post by: Yağız... on June 08, 2010, 02:48:41 AM
Quote from: Andrew Evenstar on June 07, 2010, 08:44:21 PM
I have a question, what is the name of the database that holds the actual information / text stored on the users profile. I can easily find pictures, picture comments, albums... but not the profile information (About Me, Interests, Media). I'm searching everywhere in phpmyadmin, but can't find it.

Thanks.
{prefix}themes table.

Me too I don't have any idea about comments ... I tried everything on MATTEK's forum but couldn't find where the error is.
Title: Re: Ultimate Profile
Post by: Andrew Evenstar on June 08, 2010, 09:38:05 AM
Quote from: Yağız... on June 08, 2010, 02:48:41 AM
Quote from: Andrew Evenstar on June 07, 2010, 08:44:21 PM
I have a question, what is the name of the database that holds the actual information / text stored on the users profile. I can easily find pictures, picture comments, albums... but not the profile information (About Me, Interests, Media). I'm searching everywhere in phpmyadmin, but can't find it.

Thanks.
{prefix}themes table.

Me too I don't have any idea about comments ... I tried everything on MATTEK's forum but couldn't find where the error is.

Thanks, but for some reason I can't find that anywhere.
Title: Re: Ultimate Profile
Post by: Yağız... on June 08, 2010, 12:18:24 PM
Quote from: Andrew Evenstar on June 08, 2010, 09:38:05 AM
Thanks, but for some reason I can't find that anywhere.
Try to search %about% on the table.
Title: Re: Ultimate Profile
Post by: Kmam on June 09, 2010, 02:13:08 AM
Dont know what happend but the referral links will not show on the profile now. I had it fixed.... Im using 1.1.11 what files do i need to modify in ultimateprofile.template.php to get the links to show?
Title: Re: Ultimate Profile
Post by: kartheekb on June 09, 2010, 09:01:05 AM
getting error by using this...

i am using smf 2.0 rc3 and theme using out line


errors are

Error in Members profile page

(http://tinyimage.net/image-AF55_4C0F7CD7.jpg)


Error in Members Admins page


(http://tinyimage.net/image-1DDD_4C0F7CD7.jpg)


Title: Re: Ultimate Profile
Post by: silber112 on June 09, 2010, 09:05:08 AM
Where are the media and the costumisation codes stored?

In what Table of MYSQL?¿
Title: Re: Ultimate Profile
Post by: Arantor on June 09, 2010, 10:32:39 AM
Quote from: silber112 on June 09, 2010, 09:05:08 AM
Where are the media and the costumisation codes stored?

In what Table of MYSQL?¿

The codes aren't actually in the database. The issue at hand is code causing bad data to be inserted into smf_members, buddy_list column.
Title: Re: Ultimate Profile
Post by: Yağız... on June 09, 2010, 11:56:03 AM
Quote from: Arantor on June 09, 2010, 10:32:39 AM
Quote from: silber112 on June 09, 2010, 09:05:08 AM
Where are the media and the costumisation codes stored?

In what Table of MYSQL?¿

The codes aren't actually in the database. The issue at hand is code causing bad data to be inserted into smf_members, buddy_list column.
Huh? :P

Quote from: silber112 on June 09, 2010, 09:05:08 AM
Where are the media and the costumisation codes stored?

In what Table of MYSQL?¿
smf_themes table.

Quote from: kartheekb on June 09, 2010, 09:01:05 AM
getting error by using this...

i am using smf 2.0 rc3 and theme using out line


errors are

Error in Members profile page

(http://tinyimage.net/image-AF55_4C0F7CD7.jpg)


Error in Members Admins page


(http://tinyimage.net/image-1DDD_4C0F7CD7.jpg)



Search for "table fix" in this topic.

Quote from: Kmam on June 09, 2010, 02:13:08 AM
Dont know what happend but the referral links will not show on the profile now. I had it fixed.... Im using 1.1.11 what files do i need to modify in ultimateprofile.template.php to get the links to show?
Can you attach your Sources/Profile.php and Themes/default/UltimateProfile.template.php
Title: Re: Ultimate Profile
Post by: Kmam on June 09, 2010, 03:06:11 PM
@ Yagiz
Title: Re: Ultimate Profile
Post by: gbsothere on June 09, 2010, 04:20:12 PM
@ Sabre™ (if you stop by) and Yağız...


This (the whole Admin seeing hidden "last active" thing) (http://www.simplemachines.org/community/index.php?topic=298641.msg2653690#msg2653690) has suddenly just stopped working.   :-\

I've not done anything to modify either the UltimateProfile.template.php or the Profile.template.php since then.  The only thing I can think of is that I had to empty my brower's cache yesterday and, just today, I've noticed that the fix isn't working.  No one can see "last active", including me.  (It does work with those earlier edits that Yağız gave me, but it still generates the ID error, even with $user_info and $user_profile added to the global setting.

(You can still have the beer, though.)   :)


Title: Re: Ultimate Profile
Post by: Yağız... on June 09, 2010, 04:34:13 PM
Quote from: Kmam on June 09, 2010, 03:06:11 PM
@ Yagiz
Sorry forgot to ask the link of the mod :(

Quote from: gbsothere on June 09, 2010, 04:20:12 PM
@ Sabre™ (if you stop by) and Yağız...


This (the whole Admin seeing hidden "last active" thing) (http://www.simplemachines.org/community/index.php?topic=298641.msg2653690#msg2653690) has suddenly just stopped working.   :-\

I've not done anything to modify either the UltimateProfile.template.php or the Profile.template.php since then.  The only thing I can think of is that I had to empty my brower's cache yesterday and, just today, I've noticed that the fix isn't working.  No one can see "last active", including me.  (It does work with those earlier edits that Yağız gave me, but it still generates the ID error, even with $user_info and $user_profile added to the global setting.

(You can still have the beer, though.)   :)



Can you attach your UltimateProfile.template.php please? :)
Title: Re: Ultimate Profile
Post by: gbsothere on June 09, 2010, 04:56:18 PM
Thanks, Yağız!   :)

This one has the edit you suggested, along with $user_profile and $user_info added to the global setting.
Title: Re: Ultimate Profile
Post by: Kmam on June 09, 2010, 05:06:49 PM
@ Yagiz

http://custom.simplemachines.org/mods/index.php?mod=1675    ultimate profile

http://custom.simplemachines.org/mods/index.php?mod=1114     referral mod

not sure which one you needed  :)
Title: Re: Ultimate Profile
Post by: Yağız... on June 09, 2010, 05:10:01 PM
Quote from: gbsothere on June 09, 2010, 04:56:18 PM
Thanks, Yağız!   :)

This one has the edit you suggested, along with $user_profile and $user_info added to the global setting.
Find:
if ( !empty($user_profile[$user_info['id']]['show_online']) || $context['user']['is_admin'] )
Replace with:
if ( !empty($context['member']['show_online']) || $context['user']['is_admin'] )


Quote from: Kmam on June 09, 2010, 05:06:49 PM
@ Yagiz

http://custom.simplemachines.org/mods/index.php?mod=1675 (http://custom.simplemachines.org/mods/index.php?mod=1675)    ultimate profile

http://custom.simplemachines.org/mods/index.php?mod=1114 (http://custom.simplemachines.org/mods/index.php?mod=1114)     referral mod

not sure which one you needed  :)
Try attached files.
Title: Re: Ultimate Profile
Post by: gbsothere on June 09, 2010, 05:16:04 PM
Thar she blows!   

(Sorry....  I was just having a "Popeye" moment.)   :D


Thanks very much, Yağız!  Works perfectly and error-free. 
Title: Re: Ultimate Profile
Post by: Kmam on June 09, 2010, 06:06:38 PM
@Yagiz

Get fatal error

Sabor went in for me and fixed it but dont know what he did
Title: Re: Ultimate Profile
Post by: Yağız... on June 09, 2010, 06:09:14 PM
Quote from: gbsothere on June 09, 2010, 05:16:04 PM
Thar she blows!   

(Sorry....  I was just having a "Popeye" moment.)   :D


Thanks very much, Yağız!  Works perfectly and error-free. 
Where is my beer?!?!?!? >:( >:(
:P

Quote from: Kmam on June 09, 2010, 06:06:38 PM
@Yagiz

Get fatal error

Sabor went in for me and fixed it but dont know what he did
What's the error?
Title: Re: Ultimate Profile
Post by: Kmam on June 09, 2010, 06:15:46 PM
require_once(/home2/mycashfr/public_html/mycashfreebieforum/Sources/Profile.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory

Think i will just use the basic profile until I can figure this out
Title: Re: Ultimate Profile
Post by: Yağız... on June 09, 2010, 06:17:04 PM
Which file and which line? :P
Title: Re: Ultimate Profile
Post by: gbsothere on June 09, 2010, 06:18:46 PM
Quote from: Yağız... on June 09, 2010, 06:09:14 PM=Where is my beer?!?!?!? >:( >:(
:P




(http://whereitestmystuff.com/images/thumb.gif)


(http://whereitestmystuff.com/images/Guinness6.jpg)

Title: Re: Ultimate Profile
Post by: Kmam on June 09, 2010, 06:34:23 PM
Fatal error: require_once() [function.require]: Failed opening required '/home2/mycashfr/public_html/mycashfreebieforum/Sources/Profile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home2/mycashfr/php') in /home2/mycashfr/public_html/mycashfreebieforum/index.php on line 472

I loaded the original files back and it works ok
Title: Re: Ultimate Profile
Post by: MaryLouW on June 09, 2010, 11:07:41 PM
I installed this module a few months ago - version 0.9.1 and although I do like it, there are parts that do not work and I would like to remove the module.  I was very surprised to find, there is no uninstall option!  How do I remove this mod from my system? 
Title: Re: Ultimate Profile
Post by: Kmam on June 10, 2010, 12:17:55 AM
grrrrrrrr... Can anyone go into my cpanel and get the referral links to show on this mod? Ill pay if i have too.... I get this error trying to uninstall it    ./Sources/Profile.php   Test failed    The profile is back to the default.. Dont know what im doing wrong lol
Title: Re: Ultimate Profile
Post by: Andrew Evenstar on June 10, 2010, 02:01:52 AM
Quote from: Yağız... on June 08, 2010, 12:18:24 PM
Quote from: Andrew Evenstar on June 08, 2010, 09:38:05 AM
Thanks, but for some reason I can't find that anywhere.
Try to search %about% on the table.

Thanks I found it :)
Title: Re: Ultimate Profile
Post by: rlh2006 on June 10, 2010, 10:04:42 AM
When can we get a fix for the problem with the comments?

At 1up Forum we had to disable all comments because it was only working for people who registered after UP was installed. Anyone in the database prior to UP install can't receive a comment, instead a blank white page to nowhere is the result for anyone who tries to comment on a pre-existing (pre-UP install) member's profile. Our techs starts looking at the code and we quickly realized that solving this database conflict was best left up to someone who already understood how this mod is coded. Our only solution was to css out and disable comments for everyone on all profiles. I really like this mod, but it blocks out so many other mods, yet it is quite a good item for social enhancements.
Title: Re: Ultimate Profile
Post by: Yağız... on June 10, 2010, 01:54:31 PM
Quote from: gbsothere on June 09, 2010, 06:18:46 PM
Quote from: Yağız... on June 09, 2010, 06:09:14 PM=Where is my beer?!?!?!? >:( >:(
:P




(http://whereitestmystuff.com/images/thumb.gif)


(http://whereitestmystuff.com/images/Guinness6.jpg)


Thanks :P

Quote from: Kmam on June 10, 2010, 12:17:55 AM
grrrrrrrr... Can anyone go into my cpanel and get the referral links to show on this mod? Ill pay if i have too.... I get this error trying to uninstall it    ./Sources/Profile.php   Test failed    The profile is back to the default.. Dont know what im doing wrong lol
Send your FTP link, username and password via PM.

Quote from: MaryLouW on June 09, 2010, 11:07:41 PM
I installed this module a few months ago - version 0.9.1 and although I do like it, there are parts that do not work and I would like to remove the module.  I was very surprised to find, there is no uninstall option!  How do I remove this mod from my system? 
What is your SMF version?

Quote from: rlh2006 on June 10, 2010, 10:04:42 AM
When can we get a fix for the problem with the comments?

At 1up Forum we had to disable all comments because it was only working for people who registered after UP was installed. Anyone in the database prior to UP install can't receive a comment, instead a blank white page to nowhere is the result for anyone who tries to comment on a pre-existing (pre-UP install) member's profile. Our techs starts looking at the code and we quickly realized that solving this database conflict was best left up to someone who already understood how this mod is coded. Our only solution was to css out and disable comments for everyone on all profiles. I really like this mod, but it blocks out so many other mods, yet it is quite a good item for social enhancements.
Can you send me your panel informations please?
Title: Re: Ultimate Profile
Post by: bahgheera on June 10, 2010, 08:37:17 PM
Hi there, I have a question. When a user uploads an image to their profile, and the image is small - say around 21 x 21 - then when it is displayed, it's resized to something like 640 x 609. Is there a way to limit the display size to the size of the image?
Title: Re: Ultimate Profile
Post by: rlh2006 on June 10, 2010, 11:02:04 PM
Quote from: Yağız... on June 10, 2010, 01:54:31 PM
Can you send me your panel informations please?

Panel? Ah, what do you mean? A certain .php file or what?
Title: Re: Ultimate Profile
Post by: MATTEK on June 11, 2010, 12:33:35 AM
Are there any specific permission setting I could look at that could only let new users receive profile comments?

I've checked and checked and checked. I'm almost at the point where I'll have to re-register everyone just to make this work.
Title: Re: Ultimate Profile
Post by: divecall on June 11, 2010, 06:49:30 AM
Hello people !

Im using SMF 2 RC 2. I was reading (searching) the Thread, is this here:
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006 (http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006)

the latest version for RC 2 ?

Is it good (safe) to install this nice Mod, or is it too Buggy on a RC2 ?

Thank you in Advance for your reply.
Title: Re: Ultimate Profile
Post by: Yağız... on June 11, 2010, 12:52:58 PM
Quote from: bahgheera link=topic=298641.msg2662826#msg2662826   date=1276216637
    Hi there, I have a question. When a user uploads an   image to their profile, and the image is small - say around 21 x 21 -   then when it is displayed, it's resized to something like 640 x 609. Is   there a way to limit the display size to the size of the image?
   
Looks like a bug to me. You can set the max width from:
  SMF 1.1.x: Admin > Features and Options > Ultimate Profile
  SMF 2.0:  Admin > Modification Settings > Ultimate Profile
   
   
Quote from: rlh2006 link=topic=298641.msg2663005#msg2663005   date=1276225324
  Panel? Ah, what do you mean? A certain .php file or   what?
 
Meh, sorry :P I need an FTP and and admin account for your forum.
 
 
Quote from: MATTEK link=topic=298641.msg2663068#msg2663068   date=1276230815
Are there any specific permission setting I could   look at that could only let new users receive profile comments?

I've   checked and checked and checked. I'm almost at the point where I'll   have to re-register everyone just to make this work.
Yes, at their profiles. Go to Ultimate Profile section in your user's profiles.

Quote from: divecall on June 11, 2010, 06:49:30 AM
Hello people !

Im using SMF 2 RC 2. I was reading (searching) the Thread, is this here:
http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006 (http://www.simplemachines.org/community/index.php?topic=298641.msg2424006#msg2424006)

the latest version for RC 2 ?

Is it good (safe) to install this nice Mod, or is it too Buggy on a RC2 ?

Thank you in Advance for your reply.
It should work but it doesn't have some new features and bug fixes.
Title: Re: Ultimate Profile
Post by: bahgheera on June 11, 2010, 02:54:33 PM
Quote from: Yağız... on June 11, 2010, 12:52:58 PM
Quote from: bahgheera link=topic=298641.msg2662826#msg2662826   date=1276216637
    Hi there, I have a question. When a user uploads an   image to their profile, and the image is small - say around 21 x 21 -   then when it is displayed, it's resized to something like 640 x 609. Is   there a way to limit the display size to the size of the image?
   
Looks like a bug to me. You can set the max width from:
  SMF 1.1.x: Admin > Features and Options > Ultimate Profile
  SMF 2.0:  Admin > Modification Settings > Ultimate Profile


Not a bug, just something that could be changed. What I want is for images smaller than 640 wide to not be scaled up to 640, but images larger than 640 wide could be scaled down. Is there a way to do this?

Thanks for your response.
Title: Re: Ultimate Profile
Post by: Yağız... on June 11, 2010, 03:03:34 PM
Quote from: bahgheera on June 11, 2010, 02:54:33 PM
Quote from: Yağız... on June 11, 2010, 12:52:58 PM
Quote from: bahgheera link=topic=298641.msg2662826#msg2662826   date=1276216637
    Hi there, I have a question. When a user uploads an   image to their profile, and the image is small - say around 21 x 21 -   then when it is displayed, it's resized to something like 640 x 609. Is   there a way to limit the display size to the size of the image?
   
Looks like a bug to me. You can set the max width from:
  SMF 1.1.x: Admin > Features and Options > Ultimate Profile
  SMF 2.0:  Admin > Modification Settings > Ultimate Profile


Not a bug, just something that could be changed. What I want is for images smaller than 640 wide to not be scaled up to 640, but images larger than 640 wide could be scaled down. Is there a way to do this?

Thanks for your response.
Resizing smaller images then 640px should be considered as a bug, shouldn't it? :)
Title: Re: Ultimate Profile
Post by: jjwinc on June 13, 2010, 11:12:33 AM
I'm using SMF 2.0 RC3 along with SP 2.3.2.  I install Ultimate Profile (error free) and enable it under Configuration --> Modification Settings --> Ultimate Profile.  I can see Ultimate Profile when I go into my profile (as Admin or General user), but I do not see anything on the Admin Panel.  I believe I should be going in under Configuration --> Features and Options --> Ultimate Profile, but that option is not there.

The only other thing I can say here is I had Custom Profile Fields enabled when I installed Ultimate Profile, but when I saw that it wasn't appearing on the Admin Panel, I uninstalled it, turned off Custom Profiles, and re-installed Ultimate Profile...but still nothing.  I also tried changing it to the Core Theme, still not seeing it.  Finally, I went into Main --> Packages --> Browse Packages --> Advanced and changed emulation to RC2, thinking it may be a RC3 issue, but still no good.

Has anyone else had this problem?  Can someone point me in the right direction?
Title: Re: Ultimate Profile
Post by: Stigmartyr on June 13, 2010, 01:30:53 PM
Quote from: Neverhurry on March 09, 2010, 06:03:03 AM
Quote from: SunKing on March 07, 2010, 06:49:10 AM
Neverhurry, another member here (Stigmartyr) was having the exact same issue. I just went back and read through all of those posts again, but cannot see where the solution was posted. I cannot remember exactly what was done, but I will see if I can find it.

SunKing, thank you very much.
Will you consider write yourown profile mod? Many people will need it and will of course support you.

Resolution comes from "JovanT", where he says:

QuoteOK, problem solved. The code that was causing the problem was the one for integration with AEVA mod. When I commented it, it worked.

Hope this helps :)
Title: Re: Ultimate Profile
Post by: MATTEK on June 13, 2010, 02:04:45 PM
Quote from: Stigmartyr on June 13, 2010, 01:30:53 PM
Quote from: Neverhurry on March 09, 2010, 06:03:03 AM
Quote from: SunKing on March 07, 2010, 06:49:10 AM
Neverhurry, another member here (Stigmartyr) was having the exact same issue. I just went back and read through all of those posts again, but cannot see where the solution was posted. I cannot remember exactly what was done, but I will see if I can find it.

SunKing, thank you very much.
Will you consider write yourown profile mod? Many people will need it and will of course support you.

Resolution comes from "JovanT", where he says:

QuoteOK, problem solved. The code that was causing the problem was the one for integration with AEVA mod. When I commented it, it worked.

Hope this helps :)

Was this regarding profile comments and how only new users can receive them?
Title: Re: Ultimate Profile
Post by: Jade Elizabeth on June 18, 2010, 04:38:48 PM
My members are claiming they're getting logged out when they try to accept requests. Also, the moving buddies up and down buttons do not work.

See here for info (he's not the first to claim that):
http://www.awesomecrazy.com/index.php?topic=6395.0
Title: Re: Ultimate Profile
Post by: bahgheera on June 19, 2010, 03:42:12 AM
Quote from: YağızResizing smaller images then 640px should be considered as a bug, shouldn't it?

I suppose you could call it a bug, heh heh. At any rate, I discovered that if I set the 'Width of uploaded pictures' property to 0 in the UP settings, it doesn't resize anything. But unfortunately this allows users to upload huge images that break the layout of the forum theme. :(

Will this be addressed in an update?
Title: Re: Ultimate Profile
Post by: MATTEK on June 20, 2010, 06:10:21 PM
Has anyone found a resolution to the comment issue yet?
Title: Re: Ultimate Profile
Post by: divecall on June 21, 2010, 06:25:07 PM
I´m using the version for SMF2 RC2.

How can i add more picture albums?

Thank you in advance
Title: Re: Ultimate Profile
Post by: gbsothere on June 21, 2010, 06:39:26 PM
Quote from: divecall on June 21, 2010, 06:25:07 PM
I´m using the version for SMF2 RC2.

How can i add more picture albums?

Thank you in advance



Perhaps it works the same way it does for 2.0 RC1.2...

In your profile, click "My Pictures".  When you see your pictures, look just below them to the right and there is an icon that looks like a document with a small "plus" sign.  Clicking that will allow you to add new albums.   :)
Title: Re: Ultimate Profile
Post by: Jade Elizabeth on June 21, 2010, 09:24:03 PM
Quote from: Jade Elizabeth on June 18, 2010, 04:38:48 PM
My members are claiming they're getting logged out when they try to accept requests. Also, the moving buddies up and down buttons do not work.

See here for info (he's not the first to claim that):
http://www.awesomecrazy.com/index.php?topic=6395.0

This is still an issue :(.
Title: Re: Ultimate Profile
Post by: divecall on June 22, 2010, 11:05:53 AM
@gbsothere:

Thank you !
Title: Re: Ultimate Profile
Post by: JovanT on June 22, 2010, 07:27:03 PM
Quote from: Jade Elizabeth on June 21, 2010, 09:24:03 PM
Quote from: Jade Elizabeth on June 18, 2010, 04:38:48 PM
My members are claiming they're getting logged out when they try to accept requests. Also, the moving buddies up and down buttons do not work.

See here for info (he's not the first to claim that):
http://www.awesomecrazy.com/index.php?topic=6395.0

This is still an issue :(.

Can you provide me the test account and exact steps to reproduce error? It's probably something specific to your forum or affected members.
Title: Re: Ultimate Profile
Post by: !RFAN on June 23, 2010, 05:41:20 AM
how can i show bith date of member in Ultimate profile?
Title: Re: Ultimate Profile
Post by: kaamaru on June 24, 2010, 07:03:41 AM
The profile will not resize .jpeg images correctly. To replicate this error upload the image i have attacked. The thumbnail will appear as an orange box.

Update: It's a problem with smf.
Title: Re: Ultimate Profile
Post by: Jade Elizabeth on June 24, 2010, 01:57:00 PM
Wow that's never happened before with SMF.
Title: Re: Ultimate Profile
Post by: JovanT on June 24, 2010, 06:49:23 PM
Actually, Ultimate Profile uses SMF's functions for resizing images so any problems related with this should be reported to dev team.
Title: Re: Ultimate Profile
Post by: MATTEK on June 24, 2010, 08:39:14 PM
Still looking for help with the comment issue. I know nobody has found a solution, but looking into it would be appreciated! Thank you.
Title: Re: Ultimate Profile
Post by: !RFAN on June 25, 2010, 07:19:07 AM
Quote from: amigozone on June 23, 2010, 05:41:20 AM
how can i show bith date of member in Ultimate profile?
Title: Re: Ultimate Profile
Post by: C4G-TK on June 25, 2010, 11:45:54 AM
Quote from: amigozone on June 25, 2010, 07:19:07 AM
Quote from: amigozone on June 23, 2010, 05:41:20 AM
how can i show bith date of member in Ultimate profile?

Try finding the code in the Profile.template for where the birthday info is normally shown and then look at the code where other things appear in Ultimate Profile (via the Package Parser).
Tru moving the code to the area that you like.  (Just create a backup of your files.)
Title: Re: Ultimate Profile
Post by: jadielh on June 26, 2010, 04:27:32 PM
I need your help i cant view the ultimate profile admin page and i need your help please!

how to make this feature default on without enter the feature admin page?
Necesito ayuda, el problema es que no puedo ver la pagina de administracion de Ultimate Profile!

Como hago que este activado siempre sin entrar a la administracion del plugin?


i remember when i were installing it i had a trouble:
on Modsettings.php

what can i do?
Title: Re: Ultimate Profile
Post by: bahgheera on June 26, 2010, 04:33:12 PM
Do you mean that when you installed it, it gave an error on Modsettings.php? What version of smf are you running?

Go to the plugin page (http://custom.simplemachines.org/mods/index.php?mod=1675) and select which version of SMF you're using, and click the radio button for the correct version of the plugin. I believe you're running 1.1.11, so you would click the radio button for ultimate_profile-0-9-1_11x.zip, then select 1.1.11, then click Parse. Now look through the results of this, find the instructions for Modsettings.php. You'll have to manually add these edits.

Once you do that, you should be good to go.

One thing to keep in mind, and I don't know if this is true for SMF 1.1.11 or not, but - when you install a mod, sometimes you have to install it to all your themes.

Good luck!
Title: Re: Ultimate Profile
Post by: jadielh on June 26, 2010, 04:59:00 PM
yes i try it but when i modify the ModSettings.php Source the admin page is blank!  :-\
Title: Re: Ultimate Profile
Post by: bahgheera on June 26, 2010, 10:28:05 PM
Hmm... you need better help than I can offer then. If I was there and could see what was going on I could fix it.
Title: Re: Ultimate Profile
Post by: KiroBot on June 27, 2010, 02:34:24 AM
This come's up when I view someone's profiles


Database Error

Unknown column 'com.time' in 'field list'
File: /home/shadowwa/public_html/Sources/Profile-View.php
Line: 257
Title: Re: Ultimate Profile
Post by: kaamaru on June 27, 2010, 04:19:54 AM
Quote from: kiroBot on June 27, 2010, 02:34:24 AM
This come's up when I view someone's profiles


Database Error

Unknown column 'com.time' in 'field list'
File: /home/shadowwa/public_html/Sources/Profile-View.php
Line: 257


I had the same problem, it's a conflict with the profile comments mod.
Title: Re: Ultimate Profile
Post by: gbsothere on June 27, 2010, 07:37:58 AM
Quote from: jadielh on June 26, 2010, 04:27:32 PM
I need your help i cant view the ultimate profile admin page and i need your help please!

how to make this feature default on without enter the feature admin page?
Necesito ayuda, el problema es que no puedo ver la pagina de administracion de Ultimate Profile!

Como hago que este activado siempre sin entrar a la administracion del plugin?


i remember when i were installing it i had a trouble:
on Modsettings.php

what can i do?



What version of SMF?
What other mods do you have installed?

Please attach a copy of the ModSettings.php from your server.

Title: Re: Ultimate Profile
Post by: kaamaru on June 27, 2010, 07:17:31 PM
Comments hiding from me?

Look at this profile: http://ihackmyi.com/iphone/index.php?action=profile;u=6459 and look at the comments. The owners comments are not shown :/? It looks like the other members are just talking to themselves? Are authors hidden from admins or non buddies?

Same here http://ihackmyi.com/iphone/index.php?action=profile;u=3888. This guy is my buddy? I can't see the profile owners comments.
Title: Re: Ultimate Profile
Post by: KiroBot on June 27, 2010, 08:51:25 PM
Quote from: Calumks on June 27, 2010, 04:19:54 AM
Quote from: kiroBot on June 27, 2010, 02:34:24 AM
This come's up when I view someone's profiles


Database Error

Unknown column 'com.time' in 'field list'
File: /home/shadowwa/public_html/Sources/Profile-View.php
Line: 257


  • Uninstall ultimate profile.
  • Go to your database in phpMyAdmin and delete the smf_profile_comments table.
  • Reinstall ultimate profile.

I had the same problem, it's a conflict with the profile comments mod.
phpAdmin as in cPanel?
Title: Re: Ultimate Profile
Post by: KiroBot on June 27, 2010, 10:31:45 PM
Quote from: Calumks on June 27, 2010, 04:19:54 AM
Quote from: kiroBot on June 27, 2010, 02:34:24 AM
This come's up when I view someone's profiles


Database Error

Unknown column 'com.time' in 'field list'
File: /home/shadowwa/public_html/Sources/Profile-View.php
Line: 257


  • Uninstall ultimate profile.
  • Go to your database in phpMyAdmin and delete the smf_profile_comments table.
  • Reinstall ultimate profile.

I had the same problem, it's a conflict with the profile comments mod.
AWESOME I got it thank you very much <3
_________________________________________


new question?
How can I change the names of stuff on profiles so it says it on every one's like instead of having it say My Buddies  I want it to just say friends
Title: Re: Ultimate Profile
Post by: kaamaru on June 28, 2010, 05:14:05 AM
Oh, and BTW:

QuoteHow can I change the names of stuff on profiles so it says it on every one's like instead of having it say My Buddies  I want it to just say friends

Go to Themes/default/langages/ to change all the names of everything in the forum. Make sure you refresh your forum cache after changing something or it may not change for a while.
Title: Re: Ultimate Profile
Post by: John1 on June 28, 2010, 11:21:22 AM
My "add to friends list" disappeared after installing this mod.

What should i do ?
Title: Re: Ultimate Profile
Post by: gbsothere on June 28, 2010, 11:34:22 AM
Quote from: John1 on June 28, 2010, 11:21:22 AM
My "add to friends list" disappeared after installing this mod.

What should i do ?


You need to let others know your version of SMF, which zip you downloaded (some people actually install the wrong version) and whether or not you're using a custom theme.  :)
Title: Re: Ultimate Profile
Post by: John1 on June 28, 2010, 12:12:43 PM
Thanks, I am using 2.0 RC3
ON CUSTOM THEME

I INSTALLED    .     Ultimate Profile      0.9.1

Thats the secon one on the download page.
Title: Re: Ultimate Profile
Post by: kaamaru on June 28, 2010, 03:47:36 PM
My buddy permissions don't work. If a member selects "only show pictures to buddies" or "only allow buddies to post comments" it will stop everyone seeing it. Even if I was a buddy (and not an admin) to that member I could not post a comment or post a picture.

I found this out when I selected "only allow buddies to post comments" and one of my buddies said he could not post a comment on my profile.
Title: Re: Ultimate Profile
Post by: MATTEK on June 28, 2010, 03:58:29 PM
Hey guys. I'm still experiencing the same old comment issue. I've checked my UP version and it;s the same as the one that's currently available.

What's up with the "new" in the thread title?
Title: Re: Ultimate Profile
Post by: Zeruda on July 02, 2010, 08:07:35 PM
Hey there, how can I uninstall this mod?

I tried installing the newer version to be able to uninstall it, but I still can't get rid of it. Now, with it still installed, I get this error:
Fatal error: Cannot redeclare customized() (previously declared in /home/knight27/public_html/forum/Sources/Profile.php:2751) in /home/knight27/public_html/forum/Sources/Profile.php  on line 3043

If I try to uninstall it, I get this message:
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 successful
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
5.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
6.    Execute Modification    ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php    Skipping file
7.    Execute Modification    ./index.php    Test successful
8.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
9.    Execute Modification    ./Sources/Subs-Members.php    Test successful
10.    Delete File    ./Sources/Buddies.php    
11.    Delete File    ./Sources/HtmLawed.php    
12.    Delete File    ./Sources/ProfilePictures.php    
13.    Delete File    ./Themes/default/Buddies.template.php    
14.    Delete File    ./Themes/default/ProfilePictures.template.php    
15.    Delete File    ./Themes/default/UltimateProfile.template.php    
16.    Delete File    ./Themes/default/languages/UltimateProfile.english.php    
17.    Delete File    ./Themes/default/languages/UltimateProfile.english-utf8.php    
18.    Delete File    ./Themes/default/languages/UltimateProfile.serbian_cyrillic-utf8.php    


What should I do?
Title: Re: Ultimate Profile
Post by: bahgheera on July 02, 2010, 09:32:15 PM
You will have to do manual edits to your Profile.php file. Click the icon next to the line that failed - this will show what needs to be done to the file.
Title: Re: Ultimate Profile
Post by: Zeruda on July 02, 2010, 10:57:06 PM
I successfully uninstalled it (I think), but now when I go to the profile page, I get:
Fatal error: Cannot redeclare template_customized() (previously declared in /home/knight27/public_html/forum/Sources/Load.php(1733) : eval()'d code:1675) in /home/knight27/public_html/forum/Sources/Load.php(1733) : eval()'d code on line 2132
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 02, 2010, 11:27:35 PM
Quote from: Zeruda on July 02, 2010, 10:57:06 PM
I successfully uninstalled it (I think), but now when I go to the profile page, I get:
Fatal error: Cannot redeclare template_customized() (previously declared in /home/knight27/public_html/forum/Sources/Load.php(1733) : eval()'d code:1675) in /home/knight27/public_html/forum/Sources/Load.php(1733) : eval()'d code on line 2132

Use the Mods Parser found on the same page that you downloaded the Mod from look at all the edits that are required to installed the Mod, do the reverse to uninstall. Make sure that all the edits are undone.
Title: Re: Ultimate Profile
Post by: Zeruda on July 02, 2010, 11:51:47 PM
That did the trick. Oddly, it was only one file out of all that I had to edit. Thank you. :>
Title: Re: Ultimate Profile
Post by: mrtrc266 on July 02, 2010, 11:56:24 PM
Quote from: Zeruda on July 02, 2010, 11:51:47 PM
That did the trick. Oddly, it was only one file out of all that I had to edit. Thank you. :>

You're welcome, when you get a "test failed' it simply means that some other mod that you installed moved the code that a mod originally moved. The parser will become your best friend LOL.

This is great as well for installing and uninstalling Mods Package Parser (http://resourcez.biz/PackageParser/). Simply upload the Mod and it will show you the install and uninstall edits.
Title: Re: Ultimate Profile
Post by: sneijder23 on July 03, 2010, 01:26:57 AM
I have a problem with the ultimate mod profile, the width of the forum is deformed.
Someone knows how to fix it?

,thanks!
Title: Re: Ultimate Profile
Post by: JovanT on July 03, 2010, 01:05:01 PM
It happened because of the text in About me field. Browsers try to display as many text as possible without using scroll-bars and that's why About me field goes out of forum "borders".
Title: Re: Ultimate Profile
Post by: sneijder23 on July 03, 2010, 04:37:42 PM
Thanks for replying, how could I solve the problem?
Title: Re: Ultimate Profile
Post by: Afro on July 03, 2010, 06:12:21 PM
Quote from: sneijder23 on July 03, 2010, 04:37:42 PM
Thanks for replying, how could I solve the problem?

Reduce the text.
Title: Re: Ultimate Profile
Post by: danandloree on July 03, 2010, 09:27:26 PM
I just installed this ULTIMATE PROFILE on my 2.0 rc3 version and when i click the PROFILE button in my menu, it reads this.....

Unknown column 'com.time' in 'field list'
File: /home/clubs2/public_html/forumsmf/Sources/Profile-View.php
Line: 257

Any ideas?
Title: Re: Ultimate Profile
Post by: bahgheera on July 04, 2010, 12:37:16 AM
Were there any errors, test failed, etc. when you did the install? Did you make sure you installed to the theme you are using?
Title: Re: Ultimate Profile
Post by: danandloree on July 04, 2010, 01:02:11 AM
No errors. Using the facebook looking theme as default theme. I also click on SUMMARY and get the same error message of coarse.
Is there a custom field that need to be created perhaps?
Title: Re: Ultimate Profile
Post by: danandloree on July 04, 2010, 01:24:36 AM
ok, i edited the page and deleted that field error 'com.time' highlighted in red. Works fine now. Maybe the com.time was an auto refresh for the current time, not sure.

   $request = $smcFunc['db_query']('', '
      SELECT com.id_comment, com.id_member, com.comment, com.time,  mem.real_name, mem.show_online,
         IFNULL(lo.log_time, 0) AS is_online, IFNULL(a.id_attach, 0) AS id_attach, a.filename, a.attachment_type, mem.avatar
      FROM {db_prefix}profile_comments as com
         LEFT JOIN {db_prefix}members AS mem ON (com.id_member = mem.id_member)
         LEFT JOIN {db_prefix}log_online AS lo ON (lo.id_member = com.id_member)
         LEFT JOIN {db_prefix}attachments AS a ON (a.id_member = com.id_member)
      WHERE com.comment_member_id = {int:id_member}
      ORDER BY id_comment DESC
      LIMIT {int:start}, {int:maxindex}',
      array(
         'id_member' => $memID,
         'start' => $context['start'],
         'maxindex' => $maxComments,
      )
   );
But anyways, working now. When photos are added, it doesnt thumbnail and run the scroll bar wild. I will play it a bit more.

Thanks for replying ;)

Dan
Title: Re: Ultimate Profile
Post by: danandloree on July 04, 2010, 01:52:26 AM
whoops, time.com is for commenting and is needed for comments to work. so forget everthing i just posted.
Title: Re: Ultimate Profile
Post by: danandloree on July 04, 2010, 03:03:26 AM
well, beats me. I still get the original database error nomatter which theme i have. If i take the COM.TIME out, it works until i go to add a comment on a profile then i get another error. Basically same thing except says 'time' rather than com.time.
Title: Re: Ultimate Profile
Post by: danandloree on July 04, 2010, 03:24:37 AM
ok seems all i had to do was add 'time' to my database. So far everything works good but going through all the possible notions just to be sure...
Title: Re: Ultimate Profile
Post by: Afro on July 04, 2010, 04:59:52 AM
You can edit your previous post if no one commented after you. Stop spamming.
Title: Re: Ultimate Profile
Post by: Cobra97 on July 04, 2010, 06:49:23 PM
I just installed it in a fresh 2.0 RC3  and it all seemed to work fine.  However if you try to leave a comment on anyone's profile it acts like it's about to change pages (stays white) and just sets there....Nothing happens at all, just a white screen?

Any ideas?

Thanks
Title: Re: Ultimate Profile
Post by: danandloree on July 05, 2010, 12:44:19 AM
well, you can message me the link and i can at least take a look.
Title: Re: Ultimate Profile
Post by: Afro on July 05, 2010, 07:51:37 AM
How possible is it to have a kind of default customized profile for all members.

I customized my profile as the admin but i want the whole profiles to look that way. (just the colours, not media)
Is there anything that could be done to achieve that ?
Title: Re: Ultimate Profile
Post by: danandloree on July 05, 2010, 10:37:14 AM
Quote from: Afro on July 05, 2010, 07:51:37 AM
How possible is it to have a kind of default customized profile for all members.

I customized my profile as the admin but i want the whole profiles to look that way. (just the colours, not media)
Is there anything that could be done to achieve that ?

I would go out on a limb and say a few different lines in the .css and that page, renaming a couple things but i am not a programmer at all. I've done some things but all by trial and error. Sorry i am not much help here :(

(sorry for the spam earlier on)
Title: Re: Ultimate Profile
Post by: gbsothere on July 05, 2010, 10:42:08 AM
Quote from: danandloree on July 05, 2010, 10:37:14 AM

(sorry for the spam earlier on)




No, you must be punished!   *grin*

When we first arrive here as newbies, most of us spam, however unintentionally, but we learn how to edit our posts and move on to post another day.   ;)

Welcome to SMF.
Title: Re: Ultimate Profile
Post by: Afro on July 05, 2010, 06:59:28 PM
Quote from: danandloree on July 05, 2010, 10:37:14 AM
Quote from: Afro on July 05, 2010, 07:51:37 AM
How possible is it to have a kind of default customized profile for all members.

I customized my profile as the admin but i want the whole profiles to look that way. (just the colours, not media)
Is there anything that could be done to achieve that ?

I would go out on a limb and say a few different lines in the .css and that page, renaming a couple things but i am not a programmer at all. I've done some things but all by trial and error. Sorry i am not much help here :(

(sorry for the spam earlier on)

That would be nice if someone can get that to work.
Title: Referrals
Post by: enCyde on July 06, 2010, 01:08:26 PM
I had Referrals stats on my profile before I installed Ultimate profile. Is there a way to get it into ultimate profile? that drop down menu to see who Referrals u added..


big thanks
Title: Re: Referrals (How to Add Referral Links to Ultimate Profile in SMF 2.0RC3)
Post by: Chair on July 07, 2010, 05:02:50 PM
Quote from: enCyde on July 06, 2010, 01:08:26 PM
I had Referrals stats on my profile before I installed Ultimate profile. Is there a way to get it into ultimate profile? that drop down menu to see who Referrals u added..


big thanks

Yes, there is. Here are the edits you will need to make in order to display your members referral links on the ultimate profile mod (2.0RC3 ONLY):

Firstly, open your /Themes/default/UltimateProfile.template.php.

Find:
function up_block_user_info() {
    global $settings, $txt, $context;


Replace with:
function up_block_user_info() {
    global $settings, $txt, $context, $scripturl;


Find:
echo '
<div id="up_user_info">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl>';


Add After:
// Add the referral/referred user information to the profile summary
echo '
<dt>', $txt['referrals_referrals'], '</dt>
<dd>
', $context['member']['referrals_no'], '  ';

// Show in dropdown username 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 '
</dd>
<dt>', $txt['referrals_referrals_hits'], '</dd>
<dd>', $context['member']['referrals_hits'], '</dd>';

if (!empty($context['member']['referred_by'])){
echo'
<dt>', $txt['referrals_referred_by'], '</dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}

// Remove the # on the next line to make the link appear for the profile's owner ONLY!
# if ($context['user']['id'] == $context['member']['id'])
echo '
<dt>', $txt['referrals_link'], '</dt>
<dd>
<input type="text" onselect="this.select()" id="referral_link" value="', $scripturl, '?action=register;referredby=', $context['member']['id'], '" readonly="true" style="width:250px;" />
</dd>';


And that my friend is how you add the referrals mod to the ultimate profile mod. Unfortunately I do not know how to do this in SMF 1.1.11
Title: Re: Ultimate Profile
Post by: Afro on July 08, 2010, 03:46:52 AM
Good Work Chair. We have answered that question many times in this topic already. People just need to use the search buttons
Title: Re: Ultimate Profile
Post by: Chair on July 08, 2010, 07:59:31 AM
Quote from: Afro on July 08, 2010, 03:46:52 AM
Good Work Chair. We have answered that question many times in this topic already. People just need to use the search buttons

Yeah, one thing though, only half the edits that were needed were scattered about on different pages, so I felt it necessary to include them all in one post.
Title: Re: Ultimate Profile
Post by: MATTEK on July 08, 2010, 01:22:31 PM
Quote from: Cobra97 on July 04, 2010, 06:49:23 PM
I just installed it in a fresh 2.0 RC3  and it all seemed to work fine.  However if you try to leave a comment on anyone's profile it acts like it's about to change pages (stays white) and just sets there....Nothing happens at all, just a white screen?

Any ideas?

Thanks

I've been asking for help with this for a few months now. It seems users who register AFTER the mod is installed can receive comments with no problems. Anyone who was already registered gets the white page.
Title: Re: Ultimate Profile
Post by: John1 on July 12, 2010, 07:16:25 AM
How possible is this idea.

I want to set the ADD AS BUDDY in a way that i will request to be added to every new registration.

That is i will send a buddy request to all the new registrations automatically.
Using simple redirect may not work since there is a java window involved.

Is there a way to do this ? It would be nice.
Title: Re: Ultimate Profile
Post by: Mochi on July 12, 2010, 09:30:17 AM
I have a question.  :)

Can I change the URL in the admin panel so that the images from the profile pictures are stored on another server?

Thanks for help.  ;D
Title: Re: Ultimate Profile
Post by: Afro on July 12, 2010, 09:53:46 AM
why dont you try it and see yourself ?
Title: Re: Ultimate Profile
Post by: Mochi on July 12, 2010, 10:56:01 AM
I have.

But the images are not displayed.  :-[
Title: Re: Ultimate Profile
Post by: Afro on July 12, 2010, 12:23:16 PM
Then its not working!
Title: Re: Ultimate Profile
Post by: Yağız... on July 12, 2010, 03:48:14 PM
It "should" work. I've never tried myself, but I've got to try it sometime.
Title: Re: Ultimate Profile
Post by: Cereus on July 13, 2010, 07:35:07 PM
I want to show the Member Awards in the profile, what do I do?

http://custom.simplemachines.org/mods/index.php?mod=475

SMF 1.1.11
Theme: Tolkien

Hugs.
Title: Re: Ultimate Profile
Post by: IlliniCrusader on July 15, 2010, 12:48:06 PM
I have searched, and found some information - but my members cannot see the "Add To Buddies List" link under the Contact me section.  There are 116 pages so I probably missed the fix.

I, as Admin, can see it - but the rest can't. 


Any help is greatly appreciated.

I use 2.0 RC3
Ultimate Profile 0.9.1
With the Inferno theme
Title: Re: Ultimate Profile
Post by: MATTEK on July 16, 2010, 12:17:33 AM
That's probably a permission thing.
Title: Re: Ultimate Profile
Post by: gbsothere on July 16, 2010, 08:15:35 AM
Quote from: IlliniCrusader on July 15, 2010, 12:48:06 PM
I have searched, and found some information - but my members cannot see the "Add To Buddies List" link under the Contact me section.  There are 116 pages so I probably missed the fix.

I, as Admin, can see it - but the rest can't. 


Any help is greatly appreciated.

I use 2.0 RC3
Ultimate Profile 0.9.1
With the Inferno theme



Under Admin==> Configuration==> Features and Options:  have you checked to enable the buddy list?

Title: Re: Ultimate Profile
Post by: KiroBot on July 16, 2010, 09:34:37 AM
I get this when trying to view a profile on my forum after installing ultimate profile. How can I fix it?

Template Parse Error!

There was a problem loading the /cache/lang_UltimateProfile_english_AdkCurveRC3.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
Title: Re: Ultimate Profile
Post by: IlliniCrusader on July 16, 2010, 10:25:57 AM
Quote from: gbsothere on July 16, 2010, 08:15:35 AM
Quote from: IlliniCrusader on July 15, 2010, 12:48:06 PM
I have searched, and found some information - but my members cannot see the "Add To Buddies List" link under the Contact me section.  There are 116 pages so I probably missed the fix.

I, as Admin, can see it - but the rest can't. 


Any help is greatly appreciated.

I use 2.0 RC3
Ultimate Profile 0.9.1
With the Inferno theme



Under Admin==> Configuration==> Features and Options:  have you checked to enable the buddy list?

Thanks for your reply gbsothere.  I did do that already - first thing. 

It might be a conflict with another package.  I tried it on my test site with only only the Ultimate Profile package installed and it works great.  I put it on my live site and only the Admin can see the [Add To Buddy List] link. 

I checked the error logs and got 2 errors:
http://www.illini-nation.net/forum/index.php?action=profile;area=buddies;u=666
8: Undefined index: profile_buddies_showFile: /home1/illinina/public_html/forum/Sources/Profile.php
Line: 132


and

http://www.illini-nation.net/forum/index.php?action=profile;area=buddies;u=666
8: Undefined index: profile_pictures_showFile: /home1/illinina/public_html/forum/Sources/Profile.php
Line: 121


Have any idea which package would be interfering with Ultimate Profile?

Title: Re: Ultimate Profile
Post by: IlliniCrusader on July 16, 2010, 05:09:54 PM
Looked up the errors for Sources/Profile.php.

Line 132 is:

132                                ),
133                                'buddies' => array(
134                                       'label' => $txt['profile_buddies_show'],
135                                        'file' => 'Profile-View.php',
136                                        'function' => 'buddies',
137                                        'enabled' => (!empty($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == 1),
138                                        'permission' => array(
139                                                'own' => array('profile_view_own'),
140                                                'any' => array('profile_view_any'),
141                                        ),
142                                ),


Line 121 error is:

121                                ),
122                                'pictures' => array(
123                                        'label' => $txt['profile_pictures_show'],
124                                        'file' => 'Profile-Pictures.php',
125                                        'function' => 'pictures',
126                                        'enabled' => ($modSettings['profile_enable_pictures'] == 1),
127                                        'sc' => 'post',
128                                        'permission' => array(
129                                                'own' => 'profile_view_own',
130                                                'any' => 'profile_view_any',
131                                        ),
132                                ),


Any help is greatly appreciated. ;D
Title: Re: Ultimate Profile
Post by: Mochi on July 16, 2010, 06:15:06 PM
Quote from: Yağız... on July 12, 2010, 03:48:14 PM
It "should" work. I've never tried myself, but I've got to try it sometime.

Thank you! But I can not. I tried it, but it does not work.
Title: Re: Ultimate Profile
Post by: KiroBot on July 16, 2010, 07:02:06 PM
Quote from: KiroBot on July 16, 2010, 09:34:37 AM
I get this when trying to view a profile on my forum after installing ultimate profile. How can I fix it?

Template Parse Error!

There was a problem loading the /cache/lang_UltimateProfile_english_AdkCurveRC3.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
Title: Re: Ultimate Profile
Post by: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257

Title: Re: Ultimate Profile
Post by: SergeantAsh on July 18, 2010, 10:43:20 AM
Quote from: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257



Same here  :(  just installed fresh :(
Title: Re: Ultimate Profile
Post by: SassyLady on July 18, 2010, 11:02:52 PM
Quote from: @sh on July 18, 2010, 10:43:20 AM
Quote from: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257



Same here  :(  just installed fresh :(

I had this, I added a field in the database section smf_profile_comments. After the field of comment I added the field 'time' and had it as  tinyint(30). when I refreshed the page of my profile it loaded perfectly.

Hope this helps :)
Title: Re: Ultimate Profile
Post by: Cereus on July 19, 2010, 02:42:31 AM
Quote from: Arkhan Holycross on July 13, 2010, 07:35:07 PM
I want to show the Member Awards in the profile, what do I do?

http://custom.simplemachines.org/mods/index.php?mod=475

SMF 1.1.11
Theme: Tolkien

Hugs.

More informations:
Ultimate profile 0.9.1

When I try to install Member Awards...
Quote./Sources/Profile.php     Fail

Someone help?
Title: Re: Ultimate Profile
Post by: SergeantAsh on July 19, 2010, 04:23:18 AM
Quote from: SassyLady on July 18, 2010, 11:02:52 PM
Quote from: @sh on July 18, 2010, 10:43:20 AM
Quote from: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257



Same here  :(  just installed fresh :(

I had this, I added a field in the database section smf_profile_comments. After the field of comment I added the field 'time' and had it as  tinyint(30). when I refreshed the page of my profile it loaded perfectly.

Hope this helps :)

I'm hoping that the owner of this mod will implement this bug fix so that I we don't have to manually?
Title: Re: Ultimate Profile
Post by: Cereus on July 20, 2010, 11:54:04 PM
Quote from: Arkhan Holycross on July 19, 2010, 02:42:31 AM
Quote from: Arkhan Holycross on July 13, 2010, 07:35:07 PM
I want to show the Member Awards in the profile, what do I do?

http://custom.simplemachines.org/mods/index.php?mod=475

SMF 1.1.11
Theme: Tolkien

Hugs.

More informations:
Ultimate profile 0.9.1

When I try to install Member Awards...
Quote./Sources/Profile.php     Fail

Someone help?

News: Finally I managed to make the MOD work and it appears on profile topic. Now I wonder how the "Member Awards" appear in "Ultimate Profile".

Hugs.
Title: Re: Ultimate Profile
Post by: khemara on July 25, 2010, 02:55:38 AM
I have a problem with Ultimate Profile. Mirror post I did here: http://dev.turanjanin.net/forum/index.php/topic,193.0.html

I just installed Ultimate Profile with SMF 2.0 RC3. It is almost fit what I need. Today, I tested to upload some photos but I did not notice that the profile picture directory was not writable and Ultimate Profile did not alert it too. It seemed upload session is successful and the information was inserted into database (uploaded file is missing).

In the profile, I did not see the picture but only the caption. The caption is not click-able. Finally, I could find out way to delete it. I thought it was the permission.

My two suggestions for ultimate profile:

          o Alert admin if directory is not writable by webserver
          o Upload should be failed and information should not be added to database if user try to upload picture when profile picture directory is not writable

Thanks,
Title: Re: Ultimate Profile
Post by: Quexinos on July 27, 2010, 05:34:10 PM
Okay I give up... I installed a new skin, but it screws up the comments page and I'm not sure how to fix it :(

http://img541.imageshack.us/img541/1826/weirdcomments.png

Any ideas?

And not that anyone was going to reply anyway, but I fixed it :P
Title: Re: Ultimate Profile
Post by: MATTEK on July 30, 2010, 10:41:36 AM
Quote from: Quexinos on July 27, 2010, 05:34:10 PM
Okay I give up... I installed a new skin, but it screws up the comments page and I'm not sure how to fix it :(

http://img541.imageshack.us/img541/1826/weirdcomments.png

Any ideas?

And not that anyone was going to reply anyway, but I fixed it :P

Anyone ever work out that comment issue?
Title: Re: Ultimate Profile
Post by: Agent 0E on August 01, 2010, 02:25:42 AM
Quote from: JovanT on July 16, 2009, 07:45:21 AM
@gbsothere
To limit the size of avatars in your buddy's section, make these modifications. Open Sources/Profile.php:

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

Code (Replace with) Select

$avatar_width = ' width="100" ';
$avatar_height = ' height="100" ';

Of course, you can change "100" to suit your needs.

Code (Find) Select
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['ID_ATTACH'] > 0 ? '<img src="' . (empty($user_data['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $user_data['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '" alt="" class="avatar" border="0" />');
Code (Replace with) Select
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['ID_ATTACH'] > 0 ? '<img src="' . (empty($user_data['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $user_data['ID_ATTACH'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '"' . $avatar_width . $avatar_height . '  alt="" class="avatar" border="0" />');


I made these changes and I was able to change the avatar's sizes, however I now get   at the top of each profile page. How do I make that go away?

Using SMF version 1.1.11
Title: Re: Ultimate Profile
Post by: Agent 0E on August 03, 2010, 11:46:50 AM
Never mind my previous post. I discovered on another thread that it was caused by the edits inserting a UTF-8 BOM. Not sure how or why, but that's what happened. Based on that thread I downloaded and used Notepad++ to encode the file without using the BOM and all is right in the world again.

I considered deleting the post after fixing it, but decided to leave it in the event this happens to somebody else, they could see what I did to fix it. Then maybe I'd be helping somebody else for a change in exchange for all the help I've been getting here.
Title: Re: Ultimate Profile
Post by: Cereus on August 03, 2010, 11:55:17 PM
I need help.

Hugs.
Title: Re: Ultimate Profile
Post by: rocknroller on August 08, 2010, 11:26:43 AM
greetings,
thank you for great mod.

I have problem with multimedia box, HTML code is not recognized.
forum version is 2RC2.

Maybe soemone know why?
Title: Re: Ultimate Profile
Post by: Wiwar on August 10, 2010, 08:06:21 AM
Quote from: MATTEK on July 08, 2010, 01:22:31 PM
Quote from: Cobra97 on July 04, 2010, 06:49:23 PM
I just installed it in a fresh 2.0 RC3  and it all seemed to work fine.  However if you try to leave a comment on anyone's profile it acts like it's about to change pages (stays white) and just sets there....Nothing happens at all, just a white screen?

Any ideas?

Thanks

I've been asking for help with this for a few months now. It seems users who register AFTER the mod is installed can receive comments with no problems. Anyone who was already registered gets the white page.

I install UP and get a white screen when clicking on Profile - works fine on test site, not on live site. Doesn't work for new or old members either, any help would be appreciated, I've trawled through 117 pages and have found no heads up on a fix for this.

Thanks xx

SMF 2.0 RC3
Theme: Flagrant_alt
Title: Re: Ultimate Profile
Post by: dimdom on August 15, 2010, 06:08:14 PM
Quote from: SunKing on February 09, 2010, 03:58:57 AM
Quote from: puhastus on February 05, 2010, 05:31:55 AM
Did someone figure out how to integrate Member Awards to Ultimate Profile?

It's fairly easy to add blocks to Ultimate Profile. I don't use use Member Awards, and quickly grew tired of trying to find a version of the mod that the SMF parser would parse. If you provide the code you use to display the awards, I'll set it up in a block for you (that you can move around like any of the other blocks). I have already successfully added Profile Visitors mod to a block (though I have been told that this used to be a standard block). I have also added Google Member Map to a block.

Profiles are not viewable by guests, but if you are interested, you can click here (http://www.empireofthesun.net/forum/index.php?action=profile;u=69). (username:test   password:tester123)


SunKing, can you please give us the code that you use for the Member map block?
Title: Re: Ultimate Profile
Post by: MATTEK on August 17, 2010, 12:19:12 PM
Quote from: Wiwar on August 10, 2010, 08:06:21 AM
Quote from: MATTEK on July 08, 2010, 01:22:31 PM
Quote from: Cobra97 on July 04, 2010, 06:49:23 PM
I just installed it in a fresh 2.0 RC3  and it all seemed to work fine.  However if you try to leave a comment on anyone's profile it acts like it's about to change pages (stays white) and just sets there....Nothing happens at all, just a white screen?

Any ideas?

Thanks

I've been asking for help with this for a few months now. It seems users who register AFTER the mod is installed can receive comments with no problems. Anyone who was already registered gets the white page.

I install UP and get a white screen when clicking on Profile - works fine on test site, not on live site. Doesn't work for new or old members either, any help would be appreciated, I've trawled through 117 pages and have found no heads up on a fix for this.

Thanks xx

SMF 2.0 RC3
Theme: Flagrant_alt

Anyone ever find a fix for this?
Title: Re: Ultimate Profile
Post by: dimdom on August 17, 2010, 02:47:33 PM
OK. I have managed to make ultimate profile showing images from SMF Gallery, and create working blocks for Mood Bobel mod, Country flag mod, Religion mod, Karma description mod, Zodiac mod and links for User gallery and All user pictures (for SMF Gallery mod).

I have used the ready code for Last visitors too.

This is en example (on my live site)..

http://www.authorway.com/fora/index.php?action=profile;u=3
Title: Re: Ultimate Profile
Post by: parvaz on August 17, 2010, 03:35:29 PM
HI.
I use Ultimate Profile. Now i want to add "profile visitors" to it. It seems the mod has been removed from the mod site. I followed this link:
http://custom.simplemachines.org/mods/index.php?mod=1150
But it leads to an error.
Even the dedicated thread of the mods author is locked.

Can anybody help me with that?


Title: Re: Ultimate Profile
Post by: ladiewinter on August 17, 2010, 08:55:33 PM
Quote from: SassyLady on July 18, 2010, 11:02:52 PM
Quote from: @sh on July 18, 2010, 10:43:20 AM
Quote from: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257



Same here  :(  just installed fresh :(

I had this, I added a field in the database section smf_profile_comments. After the field of comment I added the field 'time' and had it as  tinyint(30). when I refreshed the page of my profile it loaded perfectly.

Hope this helps :)

What does this mean, and how did you fix that?  I'm getting the same error, but your response doesn't show me how to fix it.  Anymore help on this would be greatly appreciated.  Please.  :)
Title: Re: Ultimate Profile
Post by: Glowbot on August 20, 2010, 07:05:59 AM
How do I parser for DilberMC theme? I can't find the Profile.template?

Quote

In file Themes/[your theme]/Profile.template.php
Find:

   if (!empty($context['profile_areas']))


Replace with:


   if (!empty($context['profile_areas']) && $context['sub_template'] !== 'summary2')


which template do I edit?
Title: Re: Ultimate Profile
Post by: Afro on August 20, 2010, 10:34:07 AM
This message "{username}wants to be your buddy. Click here to approve or deny his/her request"

Sent to pms after adding as buddy , Where is the code ?
i need to modify it.
Title: Re: Ultimate Profile
Post by: !RFAN on August 21, 2010, 05:17:07 AM
one suggestion: i think there shud be an option to use profile pictures as avatar... i mean members shud be able to choose any profile picture as their avatar.. what do u say???
Title: Re: Ultimate Profile
Post by: Dzonny on August 24, 2010, 08:09:46 PM
Is there a way to make slideshow of uploaded images in profile? Or smth like that?
Title: Re: Ultimate Profile
Post by: abhi on August 25, 2010, 08:13:36 AM
Error! After install when iam check the profile i can see

"Database Error"
Unknown column 'com.time'  in 'field list'

/Sources/Profile-View.php Line: 257
Title: Re: Ultimate Profile
Post by: abhi on August 25, 2010, 08:16:04 AM
Error! After install when iam check the profile i can see

"Database Error"
Unknown column 'com.time'  in 'field list'

/Sources/Profile-View.php Line: 257
Title: Re: Ultimate Profile
Post by: risey on August 29, 2010, 10:53:21 AM
I have a weird problem on mine, when an user leaves a comment on another users profile it doubles up, i cant seem to figure out why..
www.PattayaSunrise.com/forum
Title: Re: Ultimate Profile
Post by: MaryLouW on August 30, 2010, 01:00:03 AM
Will someone please help me remove this program from my forum?  It does not work right.  It only allows the admin to upload images and it has several other problems.    When I went to uninstall it, I discovered this program does not come with an uninstaller!   

I was going to try the parser so I put in my version number (1.1.11) only to find there is no parser for this module!  I am so frustrated!  How do i get this removed?
Title: Re: Ultimate Profile
Post by: digit on August 30, 2010, 01:22:30 AM
Quote from: MaryLouW on August 30, 2010, 01:00:03 AM
Will someone please help me remove this program from my forum?  It does not work right.  It only allows the admin to upload images and it has several other problems.    When I went to uninstall it, I discovered this program does not come with an uninstaller!   

I was going to try the parser so I put in my version number (1.1.11) only to find there is no parser for this module!  I am so frustrated!  How do i get this removed?

Do you have the original download of the mod? I am just a member here, so would need log in info - no sure you want to give that out.
Title: Re: Ultimate Profile
Post by: MaryLouW on August 30, 2010, 01:29:17 AM
No, I installed it quite some time ago.  I came here once before and asked for help but didn't get any response. I was hoping the author of the module could help. 
Title: Re: Ultimate Profile
Post by: yakyakyak on August 30, 2010, 01:33:22 AM
Chances are the original archive will be available by ftp -> /packages
Title: Re: Ultimate Profile
Post by: MaryLouW on August 30, 2010, 01:39:31 AM
I see what you mean.  I did check and yes, in the folder, the original zip file is there.  But what good will that do me?
Title: Re: Ultimate Profile
Post by: yakyakyak on August 30, 2010, 01:44:05 AM
I think from what digit was saying, he would be able to help you unwind the install by referring to the original archive
Title: Re: Ultimate Profile
Post by: digit on August 30, 2010, 02:04:12 AM
Quote from: yakyakyak on August 30, 2010, 01:44:05 AM
I think from what digit was saying, he would be able to help you unwind the install by referring to the original archive

That is what I was saying.  I would need the original download to uninstall manually.
Title: Re: Ultimate Profile
Post by: MaryLouW on August 30, 2010, 03:49:48 AM
I think I see what you mean and maybe it's possible that I could do this myself.  If I unzip the files to another area, I am guessing that I could find what was done... what was searched for and what was replaced and then undo it?  Sounds like a lot of work but I really would like to make it go away.  I hate things that don't work.  It was a good idea and my members did like it but they get frustrated with the things that don't work. 

Tomorrow, I will unzip that file and take a look at it and see if I'm brave enough to take it on.  Thanks for all the help.  I may be back though.
Title: Re: Ultimate Profile
Post by: yakyakyak on August 30, 2010, 03:52:37 AM
You may want to look at Social Groups as a replacement

http://custom.simplemachines.org/mods/index.php?mod=2671
Title: Re: Ultimate Profile
Post by: MaryLouW on August 30, 2010, 03:54:42 AM
Thanks for the suggestion - I will definitely take a look at Social Groups but not until I am successful in removing this one.  Sounds interesting!!
Title: Re: Ultimate Profile
Post by: MaryLouW on August 30, 2010, 03:57:01 AM
OOps... I guess Social Groups is out.  My SMF is 1.1.11  and this is Compatible With:
    2.0 RC3.   
Title: Re: Ultimate Profile
Post by: yakyakyak on August 30, 2010, 04:05:41 AM
Apologies - my bad

The paid  version is ok with 1.1.11

http://www.smfpacks.com/index.php?action=page;sa=sg
Title: Re: Ultimate Profile
Post by: BellGab.com on September 07, 2010, 02:01:40 AM
ok, weeks of annoyance solved.  i'm newb-ish, i know.  i'm fine with it.

if you want to uninstall this mod, go to /yourSMFinstallation.com/packages and download the existing "ultimate profile" zip file to your system.  extract it.  find package-info.xml and open it in notepad or something else.

you'll notice under the "install" section in the top half, it says RC3.  however, in the "uninstall" section at the bottom, it says "RC2."  simply change RC2 to RC3.  save the file.  add all of the previously unzipped contents to a new zip package.  i believe you'll need the new zip package to have the same name as the original.  upload the zip package to your server, replacing the original.  you'll now be able to uninstall.

cheers.
Title: Re: Ultimate Profile
Post by: MaryLouW on September 07, 2010, 02:10:20 AM
Okay, I'll print this out and let it soak in...  will let you know if it works.  This is the first time I've had one that didn't have an uninstall option.  Thanks for the info!! I appreciate you going back and looking into this.
Title: Re: Ultimate Profile
Post by: BellGab.com on September 07, 2010, 02:46:54 AM
Quote from: MaryLouW on September 07, 2010, 02:10:20 AM
Okay, I'll print this out and let it soak in...  will let you know if it works.  This is the first time I've had one that didn't have an uninstall option.  Thanks for the info!! I appreciate you going back and looking into this.
no problem.  this mod has plagued me with this problem for some time now.  i fixed it for myself literally just minutes before posting those instructions, so i think you'll find it works for you.
Title: Re: Ultimate Profile
Post by: MaryLouW on September 08, 2010, 05:44:29 AM
Well, that didn't work for me. The line with the install info says:

<id>JovanT:ultimate_profile</id>
   <name>Ultimate Profile</name>
   <version>0.9.1</version>
   <type>modification</type>

   <install for="1.1 - 1.2">
      <readme type="inline">
      Ultimate Profile 0.9.1 by Jovan Turanjanin.


and the uninstall line says:

<uninstall for="1.1.8 - 1.1.99">
      <modification reverse="true">profile.xml</modification>
      <modification reverse="true">profile.template.xml</modification>

I am running version 1.1.11  if that's any help.
Title: Re: Ultimate Profile
Post by: BellGab.com on September 08, 2010, 03:47:53 PM
Quote from: MaryLouW on September 08, 2010, 05:44:29 AM
Well, that didn't work for me. The line with the install info says:

<id>JovanT:ultimate_profile</id>
   <name>Ultimate Profile</name>
   <version>0.9.1</version>
   <type>modification</type>

   <install for="1.1 - 1.2">
      <readme type="inline">
      Ultimate Profile 0.9.1 by Jovan Turanjanin.


and the uninstall line says:

<uninstall for="1.1.8 - 1.1.99">
      <modification reverse="true">profile.xml</modification>
      <modification reverse="true">profile.template.xml</modification>

I am running version 1.1.11  if that's any help.
try changing this:
<uninstall for="1.1.8 - 1.1.99">

to this:
<uninstall for="1.1.11">

i assumed you were running SMF release candidate 3.  sorry about that.
Title: Re: Ultimate Profile
Post by: MaryLouW on September 08, 2010, 05:58:00 PM
Well, I did that and it starts to work but then I get this message when I run the uninstall:


Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.



Then it lists the files and the one where the error shows is this one:

8.     Execute Modification     ./Sources/ManagePermissions.php     Test failed

So, I did not continue....  any other suggestions?
Title: Re: Ultimate Profile
Post by: BellGab.com on September 08, 2010, 07:07:44 PM
Do you have any other mods installed? Try uninstalling those first and see if it helps you
Title: Re: Ultimate Profile
Post by: MaryLouW on September 08, 2010, 08:53:07 PM
I have around 30+ mods installed and removing them all just is not an option.  I guess I"m still stuck with this one!
Title: Re: Ultimate Profile
Post by: TheListener on September 08, 2010, 08:59:45 PM
You do know that a test failed means a manual edit is required?
Title: Re: Ultimate Profile
Post by: MaryLouW on September 08, 2010, 09:20:26 PM
Yes...  but I'm a bit of a coward when it comes to manual editing.  I'm not sure what to edit and if I can edit just the bad one or if I have to edit all of them, etc. 
Title: Re: Ultimate Profile
Post by: BellGab.com on September 09, 2010, 01:22:48 AM
Quote from: Brack1 on September 08, 2010, 08:59:45 PM
You do know that a test failed means a manual edit is required?
i have never had to do a manual edit because of a test fail.  been using SMF since 2008, and in that time i've always fixed a test fail by uninstalling other mods that have altered the code, causing the test to fail.

Quote from: MaryLouW on September 08, 2010, 08:53:07 PM
I have around 30+ mods installed and removing them all just is not an option.  I guess I"m still stuck with this one!

you don't have to permanently uninstall them.  just put the forum in maintenance mode, uninstall several of the mods, try uninstalling the problem one, and if the test still fails, keep uninstalling and then try again.  you'll get it.  after you're done, just reinstall the mods.  they won't be removed by uninstalling them.  you'll just go back and click "install."  it seems like a lot, but it's not.
Title: Re: Ultimate Profile
Post by: itsasylum on September 09, 2010, 04:35:07 PM
i have the hardest time getting this to work :(  when i install it it tells me something about line 251 in profile view php ...... anyone know how to resolve this    i am running  SMF 2.0 RC3
Title: Re: Ultimate Profile
Post by: itsasylum on September 09, 2010, 04:43:49 PM
Quote from: SergeantAsh on July 18, 2010, 10:43:20 AM
Quote from: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257



Same here  :(  just installed fresh :(



have you ever figured out how to fix this problem???!?
Title: Re: Ultimate Profile
Post by: Wiwar on September 10, 2010, 01:55:46 PM
Finally got this working which i am chuffed with, some duplicate code had remained from a previous installation, a quick manual edit and I was able to install the latest version and it works a treat!

I have a question though, is there a maximum file size or image dimension that can be uploaded? What I'm finding strange is that I can add some images and not others, the smaller ones tend to be accepted but not the big ones...

Any help/guidance appreciated, thanks :)
Title: Re: Ultimate Profile
Post by: wynnyelle on September 10, 2010, 07:24:29 PM
I want to be able to make the buddies display as much smaller avatars on the ultimate profile buddies lists. Like 80x80. Same for the comments area on profiles. I want to make them display no bigger than this even though the true avatar size in posts and the owner of the profile are much bigger. How would I do this?

Also, the ultimate profiles aren't centred on my monitor and they overshoot it, forcing me to scroll to see the whole thing. I'd really like to fix this.
Title: Re: Ultimate Profile
Post by: jjzx2sr on September 11, 2010, 05:33:03 AM
Hey all, i'm using SMF 2.0 RC3 using the Anecdota theme, which i may add looks awesome. Was was wondering what i would have to do to mod the Ultimate Profile to have additional text boxes. I have an auto forum and would like to add three aditional text boxes under "about me" and "my interests." I wanted to add a three boxes  that was called "My Vehicles,"  " Current Mods "  "Future Mods." Any help will be appreciated.
Title: Re: Ultimate Profile
Post by: Vichuu on September 11, 2010, 12:00:25 PM
Wat the database error showing
Title: Re: Ultimate Profile
Post by: jjzx2sr on September 13, 2010, 02:26:18 PM
anyone?
Title: Re: Ultimate Profile
Post by: Lolafish on September 14, 2010, 04:47:07 PM
My admin panel is blank.  What's wrong?  Heeeeeeelp.  lol

I'm running version 2.0 RC3

TIA.
Title: Re: Ultimate Profile
Post by: jjzx2sr on September 15, 2010, 03:01:49 AM
Check your language settings. Mine does that did that also. 
Title: Re: Ultimate Profile
Post by: Lolafish on September 15, 2010, 12:33:33 PM
Quote from: jjzx2sr on September 15, 2010, 03:01:49 AM
Check your language settings. Mine does that did that also. 

Kewl.  Thanks!
Title: Re: Ultimate Profile
Post by: perfec2 on September 18, 2010, 05:09:24 AM
I got the following error please what would I do?
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 successful
5. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
6. Execute Modification ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php Test successful
7. Execute Modification ./index.php Test successful
8. Execute Modification ./Sources/ManagePermissions.php Test successful
9. Execute Modification ./Sources/Subs-Members.php Test successful
10. Extract Tree ./Sources 
11. Extract Tree ./Themes 
12. Extract Tree ./profile_pictures 
13. Execute Code database.php
Title: Re: Ultimate Profile
Post by: MaxwellsHouse on September 25, 2010, 06:30:46 AM

I love this mod - thank you ! just what I was looking for

couple of questions though (in basic terms please as I'm a complete novice)

1) Is it possible to create multiple albums ?

2) would it be possible to have a "tick box" next the the attchment upload on the main board so they can select for the image to also appear in their profile album ? I'd like members to continue posting their pictures on the main board rather than just in their profile.
Title: Re: Ultimate Profile
Post by: CMOBOSS_OLD on September 25, 2010, 06:00:41 PM
when going to profile, modify profile>edit buddies/ignore list:

with your mod installed, I have no options to "add a buddy" I get a listing of current but no option to add.

Uninstalling your mod I get the add a buddy input options back, I can enter a username and viola, the username appears on my list.

maybe this helps you? I have no other mods installed that mess with the profiles layout or etc.
Title: Re: Ultimate Profile
Post by: underscore on October 01, 2010, 10:27:58 PM
Hi,

A very great tool, every works fine.
But i have a little problem, maybe some can help me.

I have smf 1.1.11

When i checked "Let Ultimate Profile only see to buddie"s and "Let pictures only see to buddies" it works fine for members.

But when a guest see the profile he can see the pictures and Ultimate profile (also when i checked the options for hide).

Is this a small bug? Can somewone help me to fix it

Title: Re: Ultimate Profile
Post by: Lolafish on October 02, 2010, 05:40:01 PM
Quote from: Lolafish on September 15, 2010, 12:33:33 PM
Quote from: jjzx2sr on September 15, 2010, 03:01:49 AM
Check your language settings. Mine does that did that also. 

Kewl.  Thanks!

Okay, went through and did all the parsing edits including the language file and got it to work.  However, now several of my installed mods stopped working!!!

Has anyone else had any compatibility issues?  Some of the mods that have now stopped working are:

SMFiphone
Awards
Join Date
Location
Country
Last Login
Social Bookmarks

Maybe more...I haven't had time to check everything yet.  Is there an edit somewhere that affects these other mods?
Title: Re: Ultimate Profile
Post by: jjzx2sr on October 03, 2010, 01:04:58 AM
So how would i add custom text boxes below the Interests text box?

Using Smf 2.0 RC3

Title: Re: Ultimate Profile
Post by: fdr77 on October 08, 2010, 08:28:36 PM
sorry i'm an italian but not speak english
in the 1.1.11 version is possible an error in the parse
no good for me


'ultprofile' => 'ModifyUltProfileSettings'
);

// By default do the basic settings.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';
$context['sub_action'] = $_REQUEST['sa'];


good for me


'ultprofile' => 'ModifyUltProfileSettings',
);

// By default do the basic settings.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';
$context['sub_action'] = $_REQUEST['sa'];


no good for me


'ultprofile' => 'ModifyUltProfileSettings'
);

// Default to core (I assume)
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';


good for me

'ultprofile' => 'ModifyUltProfileSettings',
);

// Default to core (I assume)
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';


sorry for the distrub







Title: Re: Ultimate Profile
Post by: Julio's CoRRp! on October 09, 2010, 06:56:11 PM
Thanx!!
Title: Re: Ultimate Profile
Post by: Kat9119 on October 19, 2010, 12:14:13 AM
And I see no pictures I upload, and they don't upload and appear in the correct folder...

This is a new test forum on my localhost so maybe its not possible with that, I'm not sure
Title: Re: Ultimate Profile
Post by: Kat9119 on October 22, 2010, 09:49:34 PM
Installed this on a new 1.1.11 forum. Which I just uploaded from a test forum. The profile images are not working. I'll fill out the info, and then click on upload and it posts the title of what I had filled in, but not the image...and I see no way of deleting the "images" either other then deleting them in the database.

I also chmodded the profile_pictures to 777

I'm guessing that my paths are correct - hard to tell with subdomains and whatnot. But I'm pretty sure they are correct. What are the defaults? Mine were screwed up from testing this on a local server

Please help, the guy really wants this forum up and running like yesterday!

EDIT: Got it working. Didn't know I needed "/home/myusername/public_html/" and all the rest. I just had from public_html on.
Title: Re: Ultimate Profile
Post by: Kat9119 on October 24, 2010, 07:47:39 PM
I saw this asked but not answered...

Is there a way to make all the thumbnails the same height?

Is there a way so they aren't shown randomly each time you load the profile?

Is there a way to display all 10 of the photos I allow at once?

And last but not least is there a way to reorganize the columns that things are in? For example, could I have profile pictures above the contact me area?
Title: Re: Ultimate Profile
Post by: Evilcyber on October 26, 2010, 10:59:30 PM
I just upgraded to 2.0 RC3 and Ultimate Profile works except for two of links in the profiles: Where the links for showing all posts of a user and his statistics should be (right below "Report to admin") I get only two dots. The dots are linked to the correct places (.../profile/?u=12345;sa=showPosts and .../profile/?u=12345;sa=statPanel) but clicking them justs reload the profile.

I'd appreciate your help! :)
Title: Re: Ultimate Profile
Post by: S.W.A.T on October 30, 2010, 10:14:31 AM
I have 1 problem whit this mod...and i want to install it very mush please help:

It say:

Unknown column 'com.time' in 'field list'
File: /home/csfragur/public_html/smf/Sources/Profile-View.php
Line: 257

What cand i do...?
Title: Re: Ultimate Profile
Post by: ArkServer on October 31, 2010, 07:31:34 PM
when commenting on someones profile, do they get a mail that another member commented on their profile?
Title: Re: Ultimate Profile
Post by: PaCe2010 on November 01, 2010, 08:10:41 AM
Hello,

First of all I would like to thank you for this awesome mod.

Im using 1.1.11 and tried installing it manually after getting errors at profile.php and modsettings.php.

I followed the manual parser and managed to get modsettings to work, Only profile.php is still failing in the test.

Would you please want to check my profile.php, to see if i didnt make an error.

I would very much apreciate that.

Title: Re: Ultimate Profile
Post by: flutter on November 02, 2010, 07:32:10 PM
I've had this mod for a long time.  I just upgraded to 2.0 rc3 and I have downloaded a theme.  I always use myspace codes for it from pimp my profile but the changes just arent' showing right.  All I get are a couple of brown boxes and the background is a fail.  Could it be the theme and do you have any tips to help me make this work for us?  We love it.

I'm wondering if removing the background of the mod would do it but for some reason I'm not so sure as the basic forum has a background too.

Maybe if you can even tell me which codes are the best to use for it and I'll advise the members.

I just read back through thi page too and I see someone above mentioned other mods not working afte putting ultimate profile on.  I have been puzzling as to why y footers aren't showing up  and I wonder if this is the issue.
Title: Re: Ultimate Profile
Post by: balti27 on November 03, 2010, 07:15:55 AM
Please upgrade thise module to 2.0 RC4
Title: Re: Ultimate Profile
Post by: preed on November 04, 2010, 06:22:48 PM
Quote from: balti27 on November 03, 2010, 07:15:55 AM
Please upgrade thise module to 2.0 RC4
i agree, thanks!
Title: Re: Ultimate Profile
Post by: Kurakama on November 05, 2010, 10:13:11 PM
Quote from: preed on November 04, 2010, 06:22:48 PM
Quote from: balti27 on November 03, 2010, 07:15:55 AM
Please upgrade thise module to 2.0 RC4
i agree, thanks!

I agree x3
Title: Re: Ultimate Profile
Post by: flutter on November 06, 2010, 05:51:25 AM
looks like I'm on my own with this, the creator hasn't been in since 3rd July.  I guess I have to lose this mod as it just isn't working since updating to 2.0 rc3.  Well be sad to see it go
Title: Re: Ultimate Profile
Post by: Lolafish on November 07, 2010, 01:45:03 AM
Would there be a reason that the "add a buddy" button is visible on some people's profiles and not on others, when they're not your buddy yet?  I have this happening with random profiles from multiple users.  Not sure what to tell them the trouble is.  Everything else is working perfectly.  Great Mod!
Title: Re: Ultimate Profile
Post by: Lord Anubis on November 07, 2010, 05:30:31 PM
Quote from: Lolafish on November 07, 2010, 01:45:03 AM
Would there be a reason that the "add a buddy" button is visible on some people's profiles and not on others, when they're not your buddy yet?  I have this happening with random profiles from multiple users.  Not sure what to tell them the trouble is.  Everything else is working perfectly.  Great Mod!

they probably are pending buddies, the other person has to accept/reject buddy before it will show again...
Title: Re: Ultimate Profile
Post by: Lolafish on November 07, 2010, 09:57:41 PM
Quote from: Lord Anubis on November 07, 2010, 05:30:31 PM
they probably are pending buddies, the other person has to accept/reject buddy before it will show again...

I thought so too, but these are for people who have never requested a buddy before.  It's gotta be something else.
Title: Re: Ultimate Profile
Post by: parvaz on November 09, 2010, 05:19:24 AM
Quote from: flutter on November 02, 2010, 07:32:10 PM
I've had this mod for a long time.  I just upgraded to 2.0 rc3 and I have downloaded a theme.  I always use myspace codes for it from pimp my profile but the changes just arent' showing right.  All I get are a couple of brown boxes and the background is a fail.  Could it be the theme and do you have any tips to help me make this work for us?  We love it.

I'm wondering if removing the background of the mod would do it but for some reason I'm not so sure as the basic forum has a background too.

Maybe if you can even tell me which codes are the best to use for it and I'll advise the members.

I just read back through thi page too and I see someone above mentioned other mods not working afte putting ultimate profile on.  I have been puzzling as to why y footers aren't showing up  and I wonder if this is the issue.

This one may help you:

http://redneckfabrication.com/index.php?action=FunStuff/Custom_Profile_Help
Title: Re: Ultimate Profile
Post by: lc62003 on November 10, 2010, 09:44:54 AM
Quote from: balti27 on November 03, 2010, 07:15:55 AM
Please upgrade thise module to 2.0 RC4


This package installed fine using the "Advanced" install options in the package manager.  Revert to 2.0RC3.    ;) 
Title: Re: Ultimate Profile
Post by: -=[Vyorel]=- on November 10, 2010, 02:47:52 PM
Update please for SMF 2.0 RC4. :D :)
Title: Re: Ultimate Profile
Post by: ceewee on November 10, 2010, 03:40:05 PM
Quote from: SassyLady on July 18, 2010, 11:02:52 PM
Quote from: @sh on July 18, 2010, 10:43:20 AM
Quote from: iMon on July 17, 2010, 09:10:20 AM
I get this when trying to access my profile:

Unknown column 'com.time' in 'field list'
File: /home/iphantom/public_html/forums/Sources/Profile-View.php
Line: 257



Same here  :(  just installed fresh :(

I had this, I added a field in the database section smf_profile_comments. After the field of comment I added the field 'time' and had it as  tinyint(30). when I refreshed the page of my profile it loaded perfectly.

Hope this helps :)

What's tinyint(30) ?
Title: Re: Ultimate Profile
Post by: David8 on November 14, 2010, 07:44:58 PM
Quote from: lc62003 on November 10, 2010, 09:44:54 AM
Quote from: balti27 on November 03, 2010, 07:15:55 AM
Please upgrade thise module to 2.0 RC4


This package installed fine using the "Advanced" install options in the package manager.  Revert to 2.0RC3.    ;)

Did not work for me.  Please do an upgrade to RC4.
Title: Re: Ultimate Profile
Post by: -=[Vyorel]=- on November 16, 2010, 10:50:44 PM
Quote from: -=[Vyorel]=- on November 10, 2010, 02:47:52 PM
Update please for SMF 2.0 RC4. :D :)
So? :)
Title: Re: Ultimate Profile
Post by: underscore on November 17, 2010, 07:40:21 AM
Quote from: underscore on October 01, 2010, 10:27:58 PM
Hi,

A very great tool, every works fine.
But i have a little problem, maybe some can help me.

I have smf 1.1.11

When i checked "Let Ultimate Profile only see to buddie"s and "Let pictures only see to buddies" it works fine for members.

But when a guest see the profile he can see the pictures and Ultimate profile (also when i checked the options for hide).

Is this a small bug? Can somewone help me to fix it

any one?
Title: Re: Ultimate Profile
Post by: Ramón Cutanda on November 17, 2010, 05:12:31 PM
Here you have a link for the spanish_es version:

http://www.simplemachines.org/community/index.php?topic=252307.msg2853880#msg2853880

Regards,
Title: Re: Ultimate Profile
Post by: kaamaru on November 23, 2010, 08:03:00 AM
I have a problem where users find it hard to order their buddies. When they change the order of their buddies they don't move up or down the list like you would want them to, but skip spaces.

I hope you understand XD.
Title: Re: Ultimate Profile
Post by: IdanC on November 27, 2010, 05:45:44 AM
Quote from: -=[Vyorel]=- on November 16, 2010, 10:50:44 PM
Quote from: -=[Vyorel]=- on November 10, 2010, 02:47:52 PM
Update please for SMF 2.0 RC4. :D :)
So? :)

any news?

emulating rc3 raises tons of errors, might be possible to do it manually but i'm worried some of the changes may affect the rc4 changes. anyone tried it?
Title: Re: Ultimate Profile
Post by: MattH41 on November 27, 2010, 10:21:54 AM
I had no errors emulating rc3.
Title: Re: Ultimate Profile
Post by: hcfwesker on November 27, 2010, 08:20:09 PM
I emulated to RC3, and manually edited the errors, and nothing bad happened.  Don't even have any errors in the error log when modifying/browsing ultimate profile pages.
Title: Re: Ultimate Profile
Post by: JovanT on November 29, 2010, 11:46:20 AM
Ultimate Profile for SMF 2.0 RC4 is now released, sorry for the delay. Enjoy! ;)
Title: Re: Ultimate Profile
Post by: -=[Vyorel]=- on November 29, 2010, 09:55:41 PM
Quote from: JovanT on November 29, 2010, 11:46:20 AM
Ultimate Profile for SMF 2.0 RC4 is now released, sorry for the delay. Enjoy! ;)
Thanks man! :) :D ;D
Title: Re: Ultimate Profile
Post by: Stef001 on November 30, 2010, 02:05:29 PM
Hello,

I use rc4. Is there anyware the Buddies migration tool for this version.
Now i have not any buddies anymore.

Stef.
Title: Re: Ultimate Profile
Post by: eyo on November 30, 2010, 07:04:24 PM
where can i find/edit this?
clicked for all members to use but it seems they still cant. is this a permissions thing? where can i find it if so? thanks.
Title: Re: Ultimate Profile
Post by: Kat9119 on November 30, 2010, 10:11:19 PM
I'm having an issue...

Some people can see the "add buddy" and others cannot.

For example. One member cannot see my "add to buddy list" but other members have been able to. I asked for his password, logged in, and sure enough, I cannot see the "add to buddy list" on my profile.

Any suggestions?
Title: Re: Ultimate Profile
Post by: hcfwesker on December 01, 2010, 01:33:26 AM
Does the postgroup/membergroup that member is in have the option in their permissions?
Title: Re: Ultimate Profile
Post by: tartenpoint on December 01, 2010, 10:06:27 AM
Hello!!
Do you have any french translation for this great moD??  O:)
Title: Re: Ultimate Profile
Post by: Kat9119 on December 01, 2010, 12:10:17 PM
Quote from: hcfwesker on December 01, 2010, 01:33:26 AM
Does the postgroup/membergroup that member is in have the option in their permissions?

There are post count groups, but those don't have permissions. Regular members do have a check mark next to Ultimate Profile in the permission area. I don't see anything about adding buddies in permissions or in profile settings

Others have had no problems adding me to their buddy list which is why I find it rather odd.
Title: Re: Ultimate Profile
Post by: Ciler on December 01, 2010, 02:16:20 PM
After installing this interesting mod I get a database error but test did not fail:

Database Error
Unknown column 'com.time' in 'field list'
File: /home/avchdedi/public_html/Sources/Profile-View.php
Line: 257

Can you fix this please?
I have SFM 2.0 black rain v2 theme and now temporaly X Mas theme (on this theme I tested the install and got the error!
Title: Re: Ultimate Profile
Post by: winloze99 on December 05, 2010, 06:07:37 PM
I have a problem with Ultimate Profile.

Im using SMF RC4 and Ultimate Profile for SMF RC4 and im using IE8.

Ultime profile dosent look as it should do.
The blue bars on Summary, Contact Me, My Buddies and so on is cut of and it looks like they arent long enough.

See the picture for my problem.
(http://img545.imageshack.us/img545/1919/smf.png)

Does anyone have the same problem.
Title: Re: Ultimate Profile
Post by: C4G-TK on December 05, 2010, 06:14:45 PM
I have it installed on RC4 and I don't have that problem.

Did you by chance change the width of your forum somewhere?
Try clearing your forum cache in Admin > Maintenance > Forum Maintenance > Routine


I've attached mine, just to show what it looks like on Firefox and IE8 for me.  Nothing is cut off at all.
Title: Re: Ultimate Profile
Post by: winloze99 on December 05, 2010, 06:18:52 PM
I havent changed anything in smf, just a new install of smf rc4 and up rc4.
no other mods, the onlything is that i running it on a localhost test webserver.

when i install smf rc3 and up for rc3 it looks okey.
Title: Re: Ultimate Profile
Post by: C4G-TK on December 05, 2010, 06:23:46 PM
Does it look the same in another browser like safari or firefox?
Title: Re: Ultimate Profile
Post by: winloze99 on December 05, 2010, 06:28:16 PM
Just tested in Firefox 3.6 and it does look the same.
Title: Re: Ultimate Profile
Post by: C4G-TK on December 05, 2010, 06:35:36 PM
Well, I'm sure someone will be able to help you out.
I would just make sure that... 1) all the edits were done correctly by looking at the mod parser
                                                2) unzip the package and make sure the files in the Sources and Themes were uploaded to replace the old ones.

Sorry, I can't help you more.
Title: Re: Ultimate Profile
Post by: winloze99 on December 05, 2010, 06:43:52 PM
Thanks for the answers, ill check some more.
Title: Re: Ultimate Profile
Post by: winloze99 on December 05, 2010, 07:21:24 PM
I just played around a bit in SMF RC4.
And i installed Simpleportal 2.3.3.
Now Ultimate Profile looks good.

I got  abit confused, so i uninstalled Simpleportal.
And Ultimate Prolfile is looking like the picture.

I install Simpleportal again, and Ultimate Profile looks good.

I guess Simpleportal does some changes in some file and that solves my problem.
But i dont want to have simpleportal installed just to get Ultimate Profile to work.

Anyone who have a clue about this.
Title: Re: Ultimate Profile
Post by: pjn on December 06, 2010, 01:38:09 AM
i can't see it on rtl board...

http://sil.pjn-il.com/

thanx...
Title: Re: Ultimate Profile
Post by: Lolafish on December 07, 2010, 07:34:47 PM
Quote from: Kat9119 on December 01, 2010, 12:10:17 PM
Others have had no problems adding me to their buddy list which is why I find it rather odd.

It's a bug. At first we thought it was because if a member requests another member to be their buddy, and that requested member doesn't accept, or accidentally delets the reminder PM that's sent, that it's a one-time-deal.  There doesn't seem to be a way to re-request. 

But we've found that some members have not ever requested a certain member to be their buddy, and yet there is no request button to begin with.

It's too bad there isn't a way for a member to reset their buddy lists.  Maybe in a future edition? 
Title: Re: Ultimate Profile
Post by: Ciler on December 08, 2010, 10:59:29 AM
I am not the only one with this error when reading this topic:

Database Error
Unknown column 'com.time' in 'field list'
File: /home/avchdedi/public_html/Sources/Profile-View.php
Line: 257


Unfortunately I don't see a solution for this and many more users did ask for solution of this problem. According to me this mod is not working on any custom theme and the author states that's working on RC4 but not!!!

I think it's time to solve this database error and upload a new working version and not saying that it is working!!
Title: Re: Ultimate Profile
Post by: David8 on December 12, 2010, 11:04:55 PM
"Add buddy" missing from Profile menu when Ulitmate Profile is used.

What is the status of this bug.  The link should appear in the Summary panel on their profile.  If a member is NOT using Ultimate Profile the link is present.  It the member has created a profile using Ultimate Profile the link is missing.
Title: Re: Ultimate Profile
Post by: SISPro on December 14, 2010, 02:31:41 PM
i just installed this on my forum and when i went to the profile i get this message

Unknown column 'com.time' in 'field list'
File: /home/dirtypor/public_html/forum/Sources/Profile-View.php
Line: 283

Title: Re: Ultimate Profile
Post by: wtfgfrofl on December 18, 2010, 03:57:09 PM
got:

Unknown column 'com.time' in 'field list'
File: /home/sisko98/public_html/Sources/Profile-View.php
Line: 258

any help?
Title: Re: Ultimate Profile
Post by: Surf3rDud3 on December 22, 2010, 03:38:40 PM
Hello I have a problem with my Profile-Modify.php

Parse error: syntax error, unexpected '}' in /home/superbes/public_html/forum/Sources/Profile-Modify.php on line 1454

I installed it manually and me not thinking i didn't save a backup of the file before editing it. I was wonder if someone can find the mistake i made? Thx
Title: Re: Ultimate Profile
Post by: butchs on December 25, 2010, 09:53:08 AM
In had the following error in "Subs-Members.php":  2: mysql_fetch_assoc(): 43 is not a valid MySQL result resource.  I think the fix is:

search position="replace"><![CDATA[require_once($sourcedir . '/Profile-Pictures.php');
while ($row = $smcFunc['db_fetch_assoc']($request)) {
delete_picture($row['ID_PICTURE']);
}]]></search>

<add><![CDATA[if ($smcFunc['db_num_rows']($request) > 0) {
require_once($sourcedir . '/Profile-Pictures.php');
while ($row = $smcFunc['db_fetch_assoc']($request)) {
delete_picture($row['ID_PICTURE']);
} }]]></add>

Title: Re: Ultimate Profile
Post by: butchs on December 25, 2010, 10:02:31 AM
Quote from: Surf3rDud3 on December 22, 2010, 03:38:40 PM
Hello I have a problem with my Profile-Modify.php

Parse error: syntax error, unexpected '}' in /home/superbes/public_html/forum/Sources/Profile-Modify.php on line 1454

I installed it manually and me not thinking i didn't save a backup of the file before editing it. I was wonder if someone can find the mistake i made? Thx

try this:
<search position="replace"><![CDATA[BuddiesMain();
}
}]]></search>

<add><![CDATA[BuddiesMain();
// }
}]]></add>
Title: Re: Ultimate Profile
Post by: quebo on December 28, 2010, 07:14:16 PM
Can i restrict upload size of the pictures ? I don't want them to upload jpg >5mb!
Thanks in advance!
Title: Re: Ultimate Profile
Post by: An0nymousHelper on December 31, 2010, 07:31:43 PM
There is no manual instructions for 1.1.11 why is that? Sorry i'm new so i really rely on instructions :( Will there be one in the future?
Title: Re: Ultimate Profile
Post by: TheListener on January 01, 2011, 12:37:10 AM
Quote from: An0nymousHelper on December 31, 2010, 07:31:43 PM
There is no manual instructions for 1.1.11 why is that? Sorry i'm new so i really rely on instructions :( Will there be one in the future?

Have you tried to install the mod?

On the mods download page it states 1.1.8, 1.1.9, 1.1.10, 1.1.11, 2.0 RC3, 2.0 RC4

In anycase the 1.1.x series is 1.1.12 now.
Title: Re: Ultimate Profile
Post by: Imso on January 01, 2011, 08:27:51 AM
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i'm using 1.1.12
Title: Re: Ultimate Profile
Post by: quebo on January 01, 2011, 11:45:51 AM
I can't see a possibility to add buddies ??? there is no 'input' text form to fill in a name ? Using  2.0 RC 4 ...
Thanks in advance!
Title: Re: Ultimate Profile
Post by: TheListener on January 01, 2011, 12:35:31 PM
Quote from: Imso on January 01, 2011, 08:27:51 AM
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i'm using 1.1.12

Below the list of mods on your forum you should see an advanced link.

Click the link and you should be able to emulate the version.
Title: Re: Ultimate Profile
Post by: TheListener on January 01, 2011, 12:38:32 PM
Quote from: quebo on January 01, 2011, 11:45:51 AM
I can't see a possibility to add buddies ??? there is no 'input' text form to fill in a name ? Using  2.0 RC 4 ...
Thanks in advance!

Modify profile > Buddies / Ignore list
Title: Re: Ultimate Profile
Post by: An0nymousHelper on January 01, 2011, 03:03:02 PM
Quote from: Brack1 on January 01, 2011, 12:37:10 AM
Quote from: An0nymousHelper on December 31, 2010, 07:31:43 PM
There is no manual instructions for 1.1.11 why is that? Sorry i'm new so i really rely on instructions :( Will there be one in the future?

Have you tried to install the mod?

On the mods download page it states 1.1.8, 1.1.9, 1.1.10, 1.1.11, 2.0 RC3, 2.0 RC4

In anycase the 1.1.x series is 1.1.12 now.
Yes i tried to install but i get this

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.

Any help would be very very appreciated.
Title: Re: Ultimate Profile
Post by: kimskey on January 01, 2011, 06:07:17 PM
how can a user customize the profile?  like add pix and about me?  i don't see how you can.
Title: Re: Ultimate Profile
Post by: quebo on January 01, 2011, 11:25:39 PM
Quote from: Brack1 on January 01, 2011, 12:38:32 PM
Quote from: quebo on January 01, 2011, 11:45:51 AM
I can't see a possibility to add buddies ??? there is no 'input' text form to fill in a name ? Using  2.0 RC 4 ...
Thanks in advance!

Modify profile > Buddies / Ignore list

Thanks, but i mean, the ignore list is working (with a webform) the "add list" possibility is just not showing up ... i'll  attach a screenshot:

(http://i54.tinypic.com/w6s9so.jpg)

and

(http://i55.tinypic.com/1hs02w.png)

Thanks in advance!
Title: Re: Ultimate Profile
Post by: quebo on January 02, 2011, 04:04:12 AM
ah! I've seen the problem -it's only possible to add a buddy when viewing its profile .... you may ignore my previous post, sorry!
Title: Re: Ultimate Profile
Post by: thanyawzinmin on January 08, 2011, 01:04:28 PM
I used the latest version and I obey the parse instructions.
But Our members' profile can't comment,can't use custom CSS and can't do any media embedding.


Thank u
I manually edited the source and theme php file.

Thank you,the mod team
Thanyawzinmin
Title: Re: Ultimate Profile
Post by: An0nymousHelper on January 08, 2011, 01:51:16 PM

Yes i tried to install but i get this

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.

Any help would be very very appreciated.
[/quote]

^anyone?
Title: Re: Ultimate Profile
Post by: enCyde on January 12, 2011, 06:43:56 AM
Hi there.

I need the migrate tool for the buddy list to solve my buddy list problem. People can't add new buddies.

I found a link here but it is dead. So I would happy if someone could attach it for me here or give me a  link to it.

cheers
Title: Re: Ultimate Profile
Post by: hcfwesker on January 22, 2011, 12:43:11 AM
 Quick question.  We're fixing to update from 1.1.11 to 2 RC4 .  My main concern is will the media and customizations done in members ultimate profiles transfer in the upgrade.

I've already alerted members to save their data offsite.  but for returning members that may have not seen my notice, might be upset at the lost data.

Can you let me know if it is all transferable.  thanx :)
Title: Re: Ultimate Profile
Post by: JOSHSKORN on January 23, 2011, 10:17:19 PM
This looks like a cool mod.  Reminds me of Myspace a little.  Does it support gaming habits?  Like, can you tell it which games you play?  Either be automatic like xfire, or so it has the ability for the user to add games of interest to their profile and have appropriate images for each game.  Secondly, does it show your contact information and give you a clickable link to bring up the appropriate windows?  For example, for E-mail, have a mailto: link, for AIM, Yahoo, MSN, have a link to bring up a new IM window to that person (if that's even possible) and for xfire, show their profile name, maybe even a banner (or mini-profile) from it if the person wants and a link to their profile.

Also, are you able to choose the boxes you want on your profile and choose the arrangement?  Does it support a layout editor, allowing you to click and drag?  I've seen this before with other site managers.
Title: Re: Ultimate Profile
Post by: TheListener on January 23, 2011, 10:27:54 PM
This link is on the mods first topic.

http://dev.turanjanin.net/forum/index.php?action=profile;u=1
Title: Re: Ultimate Profile
Post by: hcfwesker on January 24, 2011, 06:30:53 PM
Maybe I should have came here first, just wasn't sure there was still support for the MOD.

http://www.simplemachines.org/community/index.php?topic=418321.new#new

^  When using custom profile fields, every option appears on the ultimate profile, even when they're NOT in use :(


(http://www.simplemachines.org/community/index.php?action=dlattach;topic=418321.0;attach=167027;image)
Title: Re: Ultimate Profile
Post by: TheListener on January 24, 2011, 06:35:36 PM
Digging in the dark here.

Are they ticked for use on the main profiles?
Title: Re: Ultimate Profile
Post by: hcfwesker on January 24, 2011, 06:45:06 PM
These are the settings I'm using.  And I believe they're all edited the same.  I DO have the MOd installed to "Reorder Profile Fields"

Sorry for the over sized image

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=418321.0;attach=167082;image)
Title: Re: Ultimate Profile
Post by: snyperthugs on January 25, 2011, 12:17:52 PM
I can not get MEDIA BOX to show?? whats wrong
Title: Re: Ultimate Profile
Post by: snyperthugs on January 25, 2011, 12:24:51 PM
Ok sorry, I got it to work. The Edit button shouldn't be so hidden 
Title: Re: Ultimate Profile
Post by: żεχเ๏ภ on January 25, 2011, 04:53:26 PM
Hi, I'm trying to move Member Groups/Post-Count based groups off of mini profiles and make a section on Ultimate Profiles telling the level, and the badge associated.

http://i56.tinypic.com/ok4gzq.jpg <-- That's an example level.

http://i52.tinypic.com/4jazv5.jpg <-- As you all know, that's what it looks like on mini profiles. This is what I'm trying to move to main profiles.

http://i54.tinypic.com/2gson74.jpg <-- This is what ultimate profiles look like currently. (Before)

http://i53.tinypic.com/260y5js.jpg <-- Finally, this is what I'm trying to accomplish. And what it should roughly look like on Profiles. (After)


Any help is greatly appreciated. Please tell me what to do to about this. Thanks very much.  :)



Jason
Title: Re: Ultimate Profile
Post by: hcfwesker on January 25, 2011, 08:06:23 PM
SMF version?  and the name of the MOD you're using to get the badges.  Or is it just a post / member group.   I can't guarantee anything, but I'll take a look for ya.

EDIT::

Sorry, I tried a couple work arounds, but came to a dead end.  I'm no pro at coding :(

Hope someone can help you, eventually, though.  In the meantime, have you considered the Team Page MOD.  Not what you're looking for exactly, but you can display all your groups and members in each group on one page.
Title: Re: Ultimate Profile
Post by: żεχเ๏ภ on January 25, 2011, 10:13:11 PM
Quote from: hcfwesker on January 25, 2011, 08:06:23 PM
SMF version?  and the name of the MOD you're using to get the badges.  Or is it just a post / member group.   I can't guarantee anything, but I'll take a look for ya.

EDIT::

Sorry, I tried a couple work arounds, but came to a dead end.  I'm no pro at coding :(

Hope someone can help you, eventually, though.  In the meantime, have you considered the Team Page MOD.  Not what you're looking for exactly, but you can display all your groups and members in each group on one page.

1.1.x SMF. And I'm using a simple post count based membergroup. No mods there.

I'm just looking to remove Membergroups from all mini profiles (the profiles you see on your posts).

And move them to the main Profile page.


Thanks,

Jason
Title: Re: Ultimate Profile
Post by: hcfwesker on January 25, 2011, 10:51:27 PM
Ohhhhhh.  Well, I can definitely get them removed from the mini profile in messages.  and miiiight be bale to do the Profile page.  But I wouldn't be able to get it in it's own box table as you requested.   
Title: Re: Ultimate Profile
Post by: żεχเ๏ภ on January 25, 2011, 10:57:53 PM
Quote from: hcfwesker on January 25, 2011, 10:51:27 PM
Ohhhhhh.  Well, I can definitely get them removed from the mini profile in messages.  and miiiight be bale to do the Profile page.  But I wouldn't be able to get it in it's own box table as you requested.

Would you mind if I PM you?
Title: Re: Ultimate Profile
Post by: hcfwesker on January 25, 2011, 11:01:18 PM
Sure.  I'm in the middle of fixing some junk om my smf2 site, but go ahead and send a PM.  I could use a break from my mess, lol
Title: Re: Ultimate Profile
Post by: snyperthugs on January 27, 2011, 05:49:53 PM
I get this Error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
File: /home/****/public_html/***/smf/Sources/Profile.php
Line: 1314
Title: Re: Ultimate Profile
Post by: Kat9119 on January 28, 2011, 05:46:31 PM
Is there a way to put an Iframe in the media field?
Title: Re: Ultimate Profile
Post by: Jeet Chowdhury on January 30, 2011, 01:53:37 AM
how to rearrange the photos in album by name or something. and my buddy list empty how to import old buddys. using rc4.
Title: Re: Ultimate Profile
Post by: MarkoKg on February 02, 2011, 01:39:10 PM
Hello there.

After upgrade from 1.1.12 to 2.0 RC4 ive installed this mod again. (ive been use it on 1.1.12 too)

Now i notice problem with profile comments that looks like this now. (see attached image)

How can i fix this error pls?
Title: Re: Ultimate Profile
Post by: MATTEK on February 02, 2011, 04:41:28 PM
Has anyone ever resolved the issue where the page loads a blank white screen after submitting your comment?
Title: Re: Ultimate Profile
Post by: MarkoKg on February 03, 2011, 04:34:06 PM
Bump, anyone know how to fix my problem posted above?
Title: Re: Ultimate Profile
Post by: puhastus on February 15, 2011, 12:29:58 AM
Hello, i have a problem.
Im not exactly sure when or how the ultimate profile dosent save pictures. It may have been after forum move. Is there any UP settings somewhere in mysql databese that dont work after moving the forum... or what could cause this kind of thing?

If i try to add the picture, it seems to save but all i can see in the picture list is the title of that picture, and it isnt a link.

Checked the error log...

rename(/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/tmp_1_thumb,/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/1_1297748312.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /data01/virt29376/domeenid/www.ingliabi.ee/pesa/Sources/ProfilePictures.php
Line: 175

getimagesize(/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/tmp_1) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: /data01/virt29376/domeenid/www.ingliabi.ee/pesa/Sources/Subs-Graphics.php
Line: 270

move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/data01/virt29376/tmp/phprMdGjb' to '/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/tmp_1'
File: /data01/virt29376/domeenid/www.ingliabi.ee/pesa/Sources/ProfilePictures.php
Line: 166



Got it, there were some path settings in mysql as i thought :)
Title: Re: Ultimate Profile
Post by: aca463 on February 17, 2011, 10:33:26 AM
Nice job on getting this on the MOD Site!
Good Good!
Title: Re: Ultimate Profile
Post by: MagitekElite on February 17, 2011, 09:45:47 PM
I hope my question isn't too much of a bother. I have been looking for three days now and I couldn't find an answer.

The Ultimate Profile says that you can add media and videos. How do you go about adding videos? My forum has a Youtube tag BBCode and I have tried that, but it just comes up as the code and no video.

How do I properly add videos so I can show my members how to as well?
Title: Re: Ultimate Profile
Post by: bahgheera on February 18, 2011, 03:06:17 AM
Is there a way to get this to work on RC5? I just upgraded and poof! No more UP. :(
Title: Re: Ultimate Profile
Post by: snyperthugs on February 19, 2011, 01:24:29 PM
I would like to display the users Karma on their "Ultimate Profile" anybody know how to do it?  I using 1.1.12
Title: Re: Ultimate Profile
Post by: TW1ST3D on February 21, 2011, 07:27:04 PM
Quote from: bahgheera on February 18, 2011, 03:06:17 AM
Is there a way to get this to work on RC5? I just upgraded and poof! No more UP. :(

Emulate to RC4
Title: Re: Ultimate Profile
Post by: snyperthugs on February 22, 2011, 02:15:03 PM
So is it even possible to show KARMA on their profiles???
Title: Re: Ultimate Profile
Post by: sturmkatze on February 27, 2011, 11:49:39 PM
This is annoying... I had to redo all my SMF and such to upgrade TinyPortal today on one of my sites. Now, I wished to re-add ultimate profile and it won't install on 1.1.13 >:-0

I get an error message w/ this inside:
./Themes/default/Profile.template.php    Test failed

Any ideas how to fix this or update? Will it go bad if I just install it (I am pretty loathe to do that)...
Title: Re: Ultimate Profile
Post by: treehugger on February 28, 2011, 09:47:25 AM
I THINK you can emulate 1.1.12 Sturmkatze and it should work.

Delete any U.P. version/files you have first, then in your Admin / Browse Packages / Advanced and change it to 1.1.12 before uploading the 1.1.12 U.P version.

You can go into Advanced and change it back to .13 once you have U.P. installed and working.
Title: Re: Ultimate Profile
Post by: sturmkatze on February 28, 2011, 11:04:04 AM
It says  1.1.11 ... also, I cannot even see an "advanced" link on that page (and I checked w/ default theme too)... velly frustrating. Well, that and for some reason, it is squeezing the whole site, unless you're logged in. Just weird. <www.legioix.org>
Title: Re: Ultimate Profile
Post by: TheListener on February 28, 2011, 01:53:43 PM
Use the mods parser to edit the file which showed as test failed.
Title: Re: Ultimate Profile
Post by: Robbo_ on February 28, 2011, 02:14:30 PM
I hope this mod never got through with this code in the first place. Some of it is just terrible. It might work to the end user but to someone trying to enhance it, as I have, will have a hard time. It pains me to just read some of the code... It has enough that I decided I should let you know to make me feel better for having to put up with it. Thank god I will be making my own profile system once as I have something hacky in place to last while I make it.

That is all. Happy coding hacking stuff together.
Title: Re: Ultimate Profile
Post by: snyperthugs on March 01, 2011, 11:01:17 AM
I have the "Profile Fields and Icons" mod installed... How do I show the Twitter , Facebook, and Myspace fields show?
Title: Re: Ultimate Profile
Post by: KensonPlays on March 01, 2011, 12:54:44 PM
SMF 2.0 RC5 support!?
Title: Re: Ultimate Profile
Post by: TheListener on March 01, 2011, 12:56:14 PM
Quote from: Kcmartz on March 01, 2011, 12:54:44 PM
SMF 2.0 RC5 support!?

Surely you know how to use the emulate version by now?
Title: Re: Ultimate Profile
Post by: KensonPlays on March 01, 2011, 01:01:00 PM
Yes i DO. OFFICIAL SUPPORT FOR RC5 would be nice.
Title: Re: Ultimate Profile
Post by: Arantor on March 01, 2011, 04:29:54 PM
I'd love people not to keep shouting for RC5 support when they can install it for themselves with minimal work, but hey, I guess neither of us is going to be happy today.
Title: Re: Ultimate Profile
Post by: hcfwesker on March 02, 2011, 12:00:47 AM
Quote from: gbsothere on January 06, 2010, 08:54:58 AMI actually don't have smileys or BBC in the comments section of either my 1.1.11 version or 2.x version.  There never have been.  Placing manual tags will work, but there are no clickable smileys or tags there.  If anyone else has them, I'd like to hear about that.

Tried searching, and only came up with that request.

Anyway to add the smilies/bbc  buttons from post reply, into the Comments section of Ultimate Profile?

even if it's just basic bold, underline, italice bbc buttons.
Title: Re: Ultimate Profile
Post by: marshall stan on March 05, 2011, 01:59:18 AM
Hi there, I'm setting up a new site for my club and i want some modifications on ultimate profile.
i would like to put google maps on the profile.
in a box under "about me"
also i have the gamer id mod and would like to have a "gamer box under "Contact Me :) "
i use smf 2.0 RC5 / Simple portal 2.3.3

i tried myself couple time but no suc6 on the older post.
thx
Title: Re: Ultimate Profile
Post by: Xarcell on March 07, 2011, 03:25:01 AM
Latest Version Installed on RC5.

I can't seem to find where I upload my pictures? I don't see it in the menu anywhere. I have permissions set. Any help?
Title: Re: Ultimate Profile
Post by: hcfwesker on March 07, 2011, 01:08:28 PM
On your ultimate profile page (your profile)  click "Profile Pictures" in the box header.  Should take you to the upload menu,  you should see a text at the bottom "Add Picture"
Title: Re: Ultimate Profile
Post by: mycousinvinny on March 07, 2011, 01:40:07 PM
Hi I'm using smf 1.1.13 and Ultimate Profile v 0.9, After upgrading to 1.1.13 I only see 6 buddies on my Profile.
Can anyone tell me how to increase the number of buddies allowed?
Also can anyone tell me how to size (make smaller) the size of the avatars of the buddies in my profile?

Thanks, Vinny
Title: Re: Ultimate Profile
Post by: Xarcell on March 07, 2011, 02:16:38 PM
Quote from: hcfwesker on March 07, 2011, 01:08:28 PM
On your ultimate profile page (your profile)  click "Profile Pictures" in the box header.  Should take you to the upload menu,  you should see a text at the bottom "Add Picture"

Thanks, found it.
Title: Re: Ultimate Profile
Post by: hcfwesker on March 07, 2011, 02:25:51 PM
you're welcome, Xarcell

Quote from: mycousinvinny on March 07, 2011, 01:40:07 PM
Hi I'm using smf 1.1.13 and Ultimate Profile v 0.9, After upgrading to 1.1.13 I only see 6 buddies on my Profile.
Can anyone tell me how to increase the number of buddies allowed?

2 options.

1)  Admin > Configurations > Miscellaneous > Ult. Profile > "Default Number of Buddies to show" (default is 6)

2) for members >  Modify Ult. Profile page > "Number of buddies shown on profile"  (3,6,9,12) are the options.

For buddy avatars, I'm not really sure.  It's require editing under Themes/default/UltimateProfile.template.php , i think this line....

<td align="center">
', $data['avatar_image'],'<br />
<a href="', $scripturl , '?action=profile;u=', $data['id_member'] , '">' , $data['real_name'] , '</a><br />
<em>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online' : 'offline'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online' : 'offline'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online' : 'offline'] . '</span>' : '', '</em>




Title: Re: Ultimate Profile
Post by: Bandeen on March 08, 2011, 01:47:08 PM
Hello all,

I am using this mod but having slight issue with profile pictures, and I cant seem to see a solution?

My SMF is Version 1.1.12 using Darkling theme as default (as in, I copied the files to the defualt so this is the core theme)

When uploading a profile picture, I only get the text showing up... no picture, its just blank above the text.  Everything seems to work right just doesnt display the image, no errors either?

Has anyone encountered this problem before and if so was a solution reached?

Many thanks all :)
Title: Re: Ultimate Profile
Post by: mycousinvinny on March 09, 2011, 06:42:25 AM
Many Thanks hcfwester. That did the trick. Phewwwwwww Last time I upgrade in this lifetime lmaoooooo!!!!
Title: Re: Ultimate Profile
Post by: WitekB on March 10, 2011, 03:58:01 AM
I've got an question :) I would like to set Ultimate Profile default to all users on my board and for new registered, but I would like to keep an option to turn it off for users, is it possible? I was searching for answer but I couldn't find it

I'm using SMF 1.1.13
Title: Re: Ultimate Profile
Post by: hcfwesker on March 11, 2011, 07:08:06 PM
Quote from: WitekB on March 10, 2011, 03:58:01 AM
I've got an question :) I would like to set Ultimate Profile default to all users on my board and for new registered, but I would like to keep an option to turn it off for users, is it possible? I was searching for answer but I couldn't find it

I'm using SMF 1.1.13

I think the only way to accomplish this, without any template edits, is to not set ultimate profiles as default, but set all members permissions to edit "own" ultimate profile, then they'd just activate ultimate profile from their ultimate profile page.  That way, members can click on and off which they want to use from the start.
Title: Can't Upgrade to 1.1.13
Post by: Articuno on March 12, 2011, 10:29:11 AM
Hi everyone, I currently have version 1.1.11 of SMF and if I try to upgrade to 1.1.13, it completely breaks Ultimate Profile. Comments cannot be posted and all the previous comments have been wiped.. I'm not sure what other problems there are yet because I restored my backups so fast I didn't get a chance to test it...

Did anyone else have this problem? Is there a workaround of some sort..?
Title: Re: Ultimate Profile
Post by: TheMortician4 on March 12, 2011, 11:45:51 AM
I am running 1.1.13 as well, I like this mod, but unless it is modded for 1.1.13 I can't run it. Do not have any programming experience, well at least not enough to parse it, so can you update this so that us 1.1.13 secure systems can use it?
Title: Re: Ultimate Profile
Post by: MATTEK on March 15, 2011, 05:20:06 AM
Just installed RC5 and then installed UP. Comments still lead me to a blank page and the display is cut off half way.
Title: Re: Ultimate Profile
Post by: MATTEK on March 19, 2011, 01:04:59 AM
A few issues with mod. RC5

When you leave a comment, it loads a blank web page.

The display for the profile cuts off halfway on the right.

What needs to be done to fix it?
Title: Re: Ultimate Profile
Post by: ladiewinter on March 19, 2011, 06:12:14 PM
I upgraded to RC4 before uploading this, and still received this error:

QuoteDatabase Error
Unknown column 'com.time' in 'field list'
File: /home/avchdedi/public_html/Sources/Profile-View.php
Line: 257

I saw no fixes that applied to me, as I didn't upload any of the mods that interfered with this one, and I don't understand php well enough to write my own fix.  If someone can actually explain to me what to do, I'd be grateful.  Otherwise, I'm tired of trying to make this mod work on my site...
Title: Re: Ultimate Profile
Post by: Yağız... on March 19, 2011, 07:26:29 PM
Quote from: MATTEK on March 19, 2011, 01:04:59 AM
A few issues with mod. RC5

When you leave a comment, it loads a blank web page.

The display for the profile cuts off halfway on the right.

What needs to be done to fix it?
The mod isn't totally compatible with 2.0 RC5 until Jovan upgrades the mod. So ...
Title: Re: Ultimate Profile
Post by: MATTEK on March 20, 2011, 12:39:47 PM
Quote from: Yağız... on March 19, 2011, 07:26:29 PM
Quote from: MATTEK on March 19, 2011, 01:04:59 AM
A few issues with mod. RC5

When you leave a comment, it loads a blank web page.

The display for the profile cuts off halfway on the right.

What needs to be done to fix it?
The mod isn't totally compatible with 2.0 RC5 until Jovan upgrades the mod. So ...

I see. Just to note it was also doing the same thing on RC3 before I upgraded.
Title: Re: Ultimate Profile
Post by: Xarcell on March 20, 2011, 01:38:04 PM
Quote from: MATTEK on March 19, 2011, 01:04:59 AM
A few issues with mod. RC5

When you leave a comment, it loads a blank web page.

The display for the profile cuts off halfway on the right.

What needs to be done to fix it?

I use this on RC5 without any problems...
Title: Re: Ultimate Profile
Post by: MATTEK on March 20, 2011, 02:58:17 PM
Quote from: Xarcell on March 20, 2011, 01:38:04 PM
Quote from: MATTEK on March 19, 2011, 01:04:59 AM
A few issues with mod. RC5

When you leave a comment, it loads a blank web page.

The display for the profile cuts off halfway on the right.

What needs to be done to fix it?

I use this on RC5 without any problems...

Ok. Do you have any advice for me?

I'd also like to add that the blank page issue is only for older members. If a new user registers, comments work fine.
Title: Re: Ultimate Profile
Post by: Xarcell on March 20, 2011, 04:00:30 PM
@Mattek

It works fine for me, but I installed it on a fresh install of RC5, not an upgrade. So all registrants are new...
Title: Re: Ultimate Profile
Post by: MATTEK on March 21, 2011, 08:40:44 PM
Quote from: Xarcell on March 20, 2011, 04:00:30 PM
@Mattek

It works fine for me, but I installed it on a fresh install of RC5, not an upgrade. So all registrants are new...

Yea. I asked about this a long time ago. A few other people were having the same issue. Wonder if they ever got it resolved.
Title: Re: Ultimate Profile
Post by: FounderSim on March 21, 2011, 09:34:52 PM
I can't install it on RC5..
Title: Re: Ultimate Profile
Post by: TheListener on March 21, 2011, 09:51:37 PM
Quote from: FounderSim on March 21, 2011, 09:34:52 PM
I can't install it on RC5..

More informatiopn would be useful.
Title: Re: Ultimate Profile
Post by: FounderSim on March 21, 2011, 10:16:51 PM
Quote from: Brack1 on March 21, 2011, 09:51:37 PM
Quote from: FounderSim on March 21, 2011, 09:34:52 PM
I can't install it on RC5..

More informatiopn would be useful.

its says incompatable..
Title: Re: Ultimate Profile
Post by: TheListener on March 21, 2011, 10:22:03 PM
Have you tried to emulate the version?
Title: Re: Ultimate Profile
Post by: briggz5d on March 24, 2011, 12:43:56 PM
this is really a great mod, got me at the edge of my sit downloaded it.. and at installation aahh incompatible with 1.1.13 c'mon guys do something. Help us brings some life into our forums
Title: Re: Ultimate Profile
Post by: Tokufriends on March 24, 2011, 09:02:44 PM
this is one of the most interesting mods so far made for smf.

Is there any info about updates for RC5?
Title: Re: Ultimate Profile
Post by: Tengoku on March 24, 2011, 11:42:15 PM
Hi, i'm trying to install the ultimate profile in a full recient installed 2.0RC5, and it says the ultimate profile its incompatible. Does anyone knows how can I get it working?
I tried to modify the files involved in the parse to the RC4 but quite unsuccesfully =(. I don't know what to do with the database.php and helper.php, or how to execute them.
Title: Re: Ultimate Profile
Post by: MATTEK on March 25, 2011, 01:59:15 PM
Quote from: Tengoku on March 24, 2011, 11:42:15 PM
Hi, i'm trying to install the ultimate profile in a full recient installed 2.0RC5, and it says the ultimate profile its incompatible. Does anyone knows how can I get it working?
I tried to modify the files involved in the parse to the RC4 but quite unsuccesfully =(. I don't know what to do with the database.php and helper.php, or how to execute them.

Read through the last few pages. This has been addressed many times.
Title: Re: Ultimate Profile
Post by: Xarcell on March 26, 2011, 10:57:05 PM
Quote from: MATTEK on March 25, 2011, 01:59:15 PM
Quote from: Tengoku on March 24, 2011, 11:42:15 PM
Hi, i'm trying to install the ultimate profile in a full recient installed 2.0RC5, and it says the ultimate profile its incompatible. Does anyone knows how can I get it working?
I tried to modify the files involved in the parse to the RC4 but quite unsuccesfully =(. I don't know what to do with the database.php and helper.php, or how to execute them.


Read through the last few pages. This has been addressed many times.


many many many times
Title: Re: Ultimate Profile
Post by: sturmkatze on March 27, 2011, 11:07:53 AM
The problem is that Jovan made something that works pretty good, then just disappears... The thing is, most of us do NOT think programming is fun, nor do it for a hobby, we use it to run our websites and it's a mean to an end. Thus when things break and we cannot fix it, we're screwed >:( In this case, you can't even ask, because Jovan just won't answer.  >:( Commo is key to this.

Title: Re: Ultimate Profile
Post by: Arantor on March 27, 2011, 11:12:23 AM
The thing is, he did it as a hobby and no-one has the right to tell him how to enjoy his free time. Imagine if I told you how to run your site, that you do something this way or that way, how pissed would you be?
Title: Re: Ultimate Profile
Post by: sturmkatze on March 27, 2011, 12:09:13 PM
Perhaps he did. However, if that's the case, why is it on SMF? If there's no one to help when there's a problem, then it's worthless. If I could do programming, I would, but to me, it's like going to the dentist... and BTW, when I am stuck like this, someone IS telling me how to run my site. It's keeping me from doing useful things there, instead having to try and deal w/ this.

I am not saying he has to answer everyone or even be on once a day, but it's been months. Hell, his own personal site is full of spammers and he doesn't log in there. IF he doesn't wish to deal w/ this, why not hand it over to someone here who does? I guess I'll have to pay someone else to fix this mess -- which BLOWS.

Ya know, it's great that SMF is free. It's great that so many work on it and love it, but again, SMF is only a tool. In fact, however tiny portal is way more important to me. Just depressing. Also not cool is how when someone has a problem, in many cases they're blown off.
Title: Re: Ultimate Profile
Post by: Arantor on March 27, 2011, 12:32:25 PM
Very likely the reason that it doesn't work for you is because you will have to add it manually; this is pretty much par for the course on even a lightly modified SMF with a custom theme that mods run into each other and modify the code that the other uses.

QuoteHowever, if that's the case, why is it on SMF?

Because he wrote it and thought it'd be nice to share, which is the reason the 70 or so mods I wrote got written in the first place, because I thought it'd be nice to share, not because I wanted to be locked into some kind of vicious cycle about having people demand I must spend my time updating it or adding features.

Yes, SMF is only a tool, and it's cool that people want to make things with it, but it's not cool that people use things made by people in their spare time and expect them to be kept up to date forever. Real life might have intervened, I know one mod author who disappeared and came back a year or so later without any interest in updating his mod on the basis that he'd had cancer and that updating a mod was not exactly in his list of priorities.

Yes, you're right, not everyone enjoys coding, but those of us that do have had to put years of work into it to get to the level we're at, and it annoys me so much that people seem to forget this when making demands of mod authors.
Title: Re: Ultimate Profile
Post by: sturmkatze on March 27, 2011, 01:22:31 PM
If one isn't interested in updating it or whatever, why not say so? Even a small note: Hey, I have a real life. I can't do this anymore. Sorry. Perhaps another talented person here can help you. How's that? Frak, I don't expect him to give up his life. Simply say "I can't do it now"

And manual adds, while neato in theory, are hard when you have other mods.
Title: Re: Ultimate Profile
Post by: Arantor on March 27, 2011, 01:25:06 PM
I can't answer that one, but I can bet how much hassle there would be if he did, how many PMs and messages imploring him to continue working on it. In many ways, disappearing is better in that respect, because while you might not expect him to give up his life and free time, so many other people do where mods are concerned.

And yes, I'm only too well aware of that problem. Nor is it going to go away any time soon because it requires SMF to become more modular at the code level, and mod authors to learn how not to require theme edits for most things. Which still means you or whoever fixes it for you, will have to do it manually.
Title: Re: Ultimate Profile
Post by: sturmkatze on March 27, 2011, 01:36:32 PM
Makes my head explode. And my site has gotten so huge and complicated, well it was that before. I came to smf/tp to help control it. I was going to use joomla but couldn't get it to work for me and anyone i talked to wanted like $700 to help me. Not rich, don't have. My site is complicated and pushes TP a lot. Right now, there is some bug that puts weird character sin the pages. I still use 1.1.13 as i have to have a mod I paid to have made. It shows the links we have, for historical groups. Anyway, it just gets so complicated. I liked this in the beginning because assistants who didn't know html could work on it. Alas, it's getting harder to deal w/. I need the lotto so i can PAY someone to do this crap and then demand results.

Anyway, thanks for talking. I know he's prob not interested anymore. Sad, neat mod. Had a lot of promise and i could see some really cool ways to make it even better. But, I CANNOT program.
Title: Re: Ultimate Profile
Post by: Yağız... on March 27, 2011, 01:48:56 PM
I don't know if Jovan is not interested on this anymore, but I know that this mod will never be abandoned. I worked 6 months on upgrading this mod to SMF 2.0, if Jovan needs help I'm always here for helping him ;)
Title: Re: Ultimate Profile
Post by: sturmkatze on March 27, 2011, 02:15:24 PM
Quote from: Yağız... on March 27, 2011, 01:48:56 PM
I don't know if Jovan is not interested on this anymore, but I know that this mod will never be abandoned. I worked 6 months on upgrading this mod to SMF 2.0, if Jovan needs help I'm always here for helping him ;)
That is good to know and I thank you for replying to this thread. It helps to know it will go on.

Alas, my site is still on 8.5 I think, and I cannot upgrade to latest, plus I had some small changes which I would like to make. If I could get it updated (I still use 1.1.13) then perhaps, I could add the stuff I'd like. I wish to add members awards to the profile area and perhaps some other things. I just am not a programmer. Sometimes I can do things, but need a person who knows to refer to. :P
Title: Re: Ultimate Profile
Post by: Zvezdan on March 28, 2011, 07:04:03 AM
I use version forum 2.0 RC4.
I installed Ultimate Profile Mod but we do not want to expose my friends.
I have no possibilities to send a request for friendship.

When I first installed this mod everything was normal but now it does not work.

I need your help.


This is gone!
(http://s4.postimage.org/1pbd8rlb8/Untitled.jpg) (http://postimage.org/image/1pbd8rlb8/)

I think everything is OK here.

(http://s3.postimage.org/ewn4wqmc/image.jpg) (http://postimage.org/image/ewn4wqmc/)

(http://s3.postimage.org/ewosg344/image.jpg) (http://postimage.org/image/ewosg344/)


Last Notepad is a complete code in CP. Who knows where is the error?
Title: Re: Ultimate Profile
Post by: Kindred on March 28, 2011, 03:46:18 PM
I have this installed on a fresh copy of RC5 with about 20 other mods and 5 themes.  It seems to work correctly for all functions that I have tried, including leave a comment.

The only change that I had to make was in the "buddies" section because the URL for buddies changes from
?action=profile;area=buddies
to
?action=profile;area=lists
(two places in the UltimateProfile.template.php file)
Title: Re: Ultimate Profile
Post by: Xarcell on March 28, 2011, 05:17:14 PM
On a fresh install of RC5, it works just fine. I didn't know about the buddy link, I'll have to go fix that. Thanks Kindred.
Title: Re: Ultimate Profile
Post by: Zvezdan on March 29, 2011, 05:20:54 AM
Quote from: Kindred on March 28, 2011, 03:46:18 PM
I have this installed on a fresh copy of RC5 with about 20 other mods and 5 themes.  It seems to work correctly for all functions that I have tried, including leave a comment.

The only change that I had to make was in the "buddies" section because the URL for buddies changes from
?action=profile;area=buddies
to
?action=profile;area=lists
(two places in the UltimateProfile.template.php file)

I found this code but only in one place? "action = profile; area = buddies" and replaced with the "action = profile; area = lists"

Nothing has changed. There is no option to show my friends?

Title: Re: Ultimate Profile
Post by: Kindred on March 29, 2011, 07:09:24 AM
there are two locations in the code that need to be changed...

however, that code change has no effect on the DISPLAY of buddies.... it just corrects the system so that the user can edit his/her buddy list.

Have you turned on the buddy capability in the basic admin section?
Title: Re: Ultimate Profile
Post by: Zvezdan on March 29, 2011, 07:50:41 AM
QuoteHave you turned on the buddy capability in the basic admin section?

Here?
(http://s3.postimage.org/qxhegngk/Untitled.jpg) (http://postimage.org/image/qxhegngk/)

I have only this option!


Here is the complete code

Title: Re: Ultimate Profile
Post by: Kindred on March 29, 2011, 08:00:46 AM
no... I said in the smf admin section.

admin > features and options > Enable buddy/ignore lists
Title: Re: Ultimate Profile
Post by: Zvezdan on March 29, 2011, 08:05:35 AM
Thanks my friend!
Works correctly!

(http://www.animated-gifs.eu/website-thanks/0128.gif)
Title: Re: Ultimate Profile
Post by: anakmacan on April 01, 2011, 11:40:02 AM
One of my favorite mod :D
Title: Re: Ultimate Profile
Post by: Xarcell on April 02, 2011, 01:42:49 PM
Here is an "unofficial" RC5 update.

Should install just fine on a fresh copy of SMF 2.0RC5. If you are upgrading, then don't try it unless you are willing to risk it. It's not my fault if it doesn't work. I have not tested it on upgrade. If you insist on trying it, backup, and uninstall your previous version first!

Some changes though. I fixed category headers for RC5, and I changed the layout a bit. I also moved some stuff around, including added category headers to all blocks, putting the signature in it's own block, and moving some fields around. I moved it to suit MY needs, not everyone else's. I also added the buddy list link updates suggested by Kindred.

USE AT YOUR OWN RISK! THIS IS NOT AN OFFICIAL RELEASE!

If you wish to use the layout from this package, backup what you have, and then upload the "default" folder over-writing your current Themes/default" folder.

If you wish to change the location of the blocks, that can be done in the "UltimateProfile.template.php" file, in these lines of code:
Please backup UltimateProfile.template.php before changing this array!
*/
$column_layout = array(
'top' => array(
//'summary',
),
'left' => array(
'summary',
'other_info',
'user_info',
'contact',
'buddies',
),
'right' => array(
'pictures',
'about_me',
'interests',
'media',
),
'bottom' => array(
'signature',
'show_comments',
'write_comment',
),
);


Enjoy, and let me know if there are any template issues.
Title: Re: Ultimate Profile
Post by: Kindred on April 02, 2011, 01:55:07 PM
As per the standard rules, indicating what changes need to be made to a mod is fine. Including a new package as an attachment is not.
Title: Re: Ultimate Profile
Post by: Xarcell on April 02, 2011, 04:16:56 PM
Quote from: Kindred on April 02, 2011, 01:55:07 PM
As per the standard rules, indicating what changes need to be made to a mod is fine. Including a new package as an attachment is not.


Ok, I was unaware. I know Yagiz has done it before in the past for this thread.

Too many changes to bother listing in a post.

Thanks.
Title: Re: Ultimate Profile
Post by: zambo92 on April 06, 2011, 10:18:35 AM
When will this mod become available for SMF 2.0 RC5? I'm dying to start using it because it's awesome!
Title: Re: Ultimate Profile
Post by: Kindred on April 06, 2011, 11:05:54 AM
it works just fine for me on RC5, with the two minor corrections that I noted, above.
Title: Re: Ultimate Profile
Post by: zambo92 on April 06, 2011, 03:02:14 PM
Which are they? Could you copy and paste them into here for me, what to fix?

I'm still a newbie at any coding so it would really help if you showed me what to change to make it work in RC5
Title: Re: Ultimate Profile
Post by: Kindred on April 06, 2011, 03:36:55 PM
Maybe try looking back one page or using search?
http://www.simplemachines.org/community/index.php?topic=298641.msg3001810#msg3001810

Title: Re: Ultimate Profile
Post by: zambo92 on April 06, 2011, 04:36:14 PM
I did that change you said, but when I try installing it, this comes up:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Ultimate Profile
Post by: Kindred on April 06, 2011, 04:40:59 PM
well, you can't do that change until you have installed the mod, since the file is installed by the mod.

second...   it's not set for 2.0RC5, so you have to use the emulate feature (down at the bottom)

Again... both of these answers have been discussed in this thread, the second one a few times.
Title: Re: Ultimate Profile
Post by: Xarcell on April 06, 2011, 06:24:29 PM
Is there a way to add more than one album?
Title: Re: Ultimate Profile
Post by: studiowi33 on April 08, 2011, 04:53:56 PM
Quote from: puhastus on February 15, 2011, 12:29:58 AM
Hello, i have a problem.
Im not exactly sure when or how the ultimate profile dosent save pictures. It may have been after forum move. Is there any UP settings somewhere in mysql databese that dont work after moving the forum... or what could cause this kind of thing?

If i try to add the picture, it seems to save but all i can see in the picture list is the title of that picture, and it isnt a link.

Checked the error log...

rename(/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/tmp_1_thumb,/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/1_1297748312.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /data01/virt29376/domeenid/www.ingliabi.ee/pesa/Sources/ProfilePictures.php
Line: 175

getimagesize(/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/tmp_1) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: /data01/virt29376/domeenid/www.ingliabi.ee/pesa/Sources/Subs-Graphics.php
Line: 270

move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/data01/virt29376/tmp/phprMdGjb' to '/www/data06/users/p/puhastus.planet.ee/htdocs/forum/profile_pictures/tmp_1'
File: /data01/virt29376/domeenid/www.ingliabi.ee/pesa/Sources/ProfilePictures.php
Line: 166



Got it, there were some path settings in mysql as i thought :)

How'd you fix this? I have the same problem and can't seem to figure out what to change.
Title: Re: Ultimate Profile
Post by: Xarcell on April 08, 2011, 08:17:27 PM
Quote from: studiowi33 on April 08, 2011, 04:53:56 PM
How'd you fix this? I have the same problem and can't seem to figure out what to change.

Just as it says, correct the path in MYSQL. If you using phpadmin, just browse around the UP tables until you see it and correct it.
Title: Re: Ultimate Profile
Post by: studiowi33 on April 09, 2011, 04:39:04 AM
Quote from: Xarcell on April 08, 2011, 08:17:27 PM
Just as it says, correct the path in MYSQL. If you using phpadmin, just browse around the UP tables until you see it and correct it.

But I don't have any UP tables to browse!
I did change the path in smf_settings table, but nothing has changed...I still get text and no picture uploaded. :(
Thanks anyhow. :)

EDIT: I can only upload *.png pictures, NO .jpeg. (But I'll take it!) Any ideas on what my host needs to install to get jpegs to upload?

RE-EDIT: After contacting the host and informing them of my inability to upload JPEGs, I got a standard "We're not developers," runaround, but this morning, JPEGs magically upload.

Lesson: Try a different file format when encountering an upload problem.

Title: Re: Ultimate Profile
Post by: MarkoKg on April 14, 2011, 06:33:39 PM
Can anyone help me with fixing this error:
Quote
Unknown column 'com.time' in 'field list'
File: /var/.../Sources/Profile-View.php
Line: 257
I think that i should make new column "time" in table "smf_profile_comments" but i dont know how to do that :(
Please, anyone?
Title: Re: Ultimate Profile
Post by: MarkoKg on April 15, 2011, 05:56:57 PM
Bump, anyone pls?
Title: Re: Ultimate Profile
Post by: hcfwesker on April 15, 2011, 06:05:22 PM
should be under phpMyadmin in your cpanel.  Just open it, click your website directory (unless it's the only one) and fine "smf_profile_comments" and should be able to add tables there.  I'm not in mine, so i can't give detailed instructions, atm.
Title: Re: Ultimate Profile
Post by: anakmacan on April 20, 2011, 04:11:32 AM
Great mod! even greater if there's "PHOTO RATING" feature for "Profile Photos". And a page to show a list of highest rated to lowest rated members.
Title: Re: Ultimate Profile
Post by: Tamaki on April 20, 2011, 07:44:31 PM
Thank you so much for sharing!! this mod is just awesome!!!
But I was wondering if there's a way to change the "Interests" block from bbcode to HTML? :laugh: :laugh:
Thanks in advance!!
Title: Re: Ultimate Profile
Post by: Kindred on April 20, 2011, 09:41:20 PM
no... and for good reason.  Allowing HTML makes a potentially HUGE security hole.
Title: Re: Ultimate Profile
Post by: Yngwiedis on April 30, 2011, 05:56:35 PM
Hello...

Is there anyway to make Ultimate Profile display additional membergroups like this mod: http://www.simplemachines.org/community/index.php?topic=141200.0  ?

Thank you very very much.
Title: Re: Ultimate Profile
Post by: Digital Frost on April 30, 2011, 08:21:59 PM
Ok perhaps this was answered some place in the 128 pages but i gave up reading after 40 pages. So far i've been able to get this mod working with out much issue on rc5 now i've run into a issue i can't figure out. When you view a profile it shows it like it should with the mod installed. However when I go to click on Ultimate Profile to edit the profile i get a error saying You are not allowed to access this section. Now as I am the admin I should have all permissions. Any suggestions as to what I may be over looking?
Title: Re: Ultimate Profile
Post by: ကိုေန on May 01, 2011, 07:03:33 PM
Please Help Me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I install SMF 2.0 RC 5 with Ultimate Profile 2.0 rc 4 ..( Emulate this Mod )
I Have an Error

Database Error
Unknown column 'com.time' in 'field list'
File: /mounted-storage/home139/sub004/sc75843-YEYD/myanmar-technicians.org/community/Sources/Profile-View.php
Line: 257
Title: Re: Ultimate Profile
Post by: Digital Frost on May 01, 2011, 08:47:18 PM
Quote from: ကိုေန on May 01, 2011, 07:03:33 PM
Please Help Me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I install SMF 2.0 RC 5 with Ultimate Profile 2.0 rc 4 ..( Emulate this Mod )
I Have an Error

Database Error
Unknown column 'com.time' in 'field list'
File: /mounted-storage/home139/sub004/sc75843-YEYD/myanmar-technicians.org/community/Sources/Profile-View.php
Line: 257


You can find the answer to your issue in this thread.
http://www.simplemachines.org/community/index.php?topic=319482.20
Title: Re: Ultimate Profile
Post by: Kat9119 on May 07, 2011, 07:14:37 PM
Looking to show ALL buddies on each profile from the get go. Can only choose 12 in the admin/member areas.

Any ideas?


I found this and it doesn't help:

Quote from: chrishicks on March 14, 2009, 03:27:32 AM
I just found this at the support board linked above:

QuoteOpen Sources/Profile.php. Find:

$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.



and does anything like "recent visitors" exist anymore? I saw it in this post:

Quote from: 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: jackregan on June 02, 2011, 07:15:40 PM
I've used this mod before and I really like it.

Are there any plans to upgrade it for 2.0 RC5?

Or for 2.0 Gold when it arrives?
Title: Re: Ultimate Profile
Post by: Kindred on June 02, 2011, 07:18:02 PM
works just fine on 2.0RC5 as it is...
Title: Re: Ultimate Profile
Post by: jackregan on June 03, 2011, 06:19:11 AM
Quote from: Kindred on June 02, 2011, 07:18:02 PM
works just fine on 2.0RC5 as it is...

Not for me. I get a message saying that it's incompatible with my version of SMF!
Title: Re: Ultimate Profile
Post by: Kindred on June 03, 2011, 07:33:35 AM
Oh,yeah....   Just use the emulate feature under advanced and set it to rc3
Title: Re: Ultimate Profile
Post by: Yngwiedis on June 10, 2011, 12:32:13 PM
Can i get some answer for that please ?

Quote from: Yngwiedis on April 30, 2011, 05:56:35 PM
Hello...

Is there anyway to make Ultimate Profile display additional membergroups like this mod: http://www.simplemachines.org/community/index.php?topic=141200.0  ?

Thank you very very much.
Title: Re: Ultimate Profile
Post by: Kindred on June 10, 2011, 03:50:45 PM
there is always a way...   yuo would just have to code it (because, it does not have that option in the default installation)
Title: Re: Ultimate Profile
Post by: Yngwiedis on June 10, 2011, 04:20:15 PM
Maybe the creator of the mod can put it in his "To Do" list ?
Title: Re: Ultimate Profile
Post by: SergeantAsh on June 13, 2011, 12:56:33 PM
I love this mod, it makes the forum profiles so much more interesting - however, I'm looking to limit the access to Ultimate Profiles only to users that have a Paid Subscription - there don't seem to be many Permissions options with this mod, am I missing something or is there another way to achieve this?
Title: Re: Ultimate Profile
Post by: Kindred on June 13, 2011, 01:46:27 PM
there is no way to do that with the mod, as designed.
Title: Re: Ultimate Profile
Post by: SergeantAsh on June 13, 2011, 01:50:56 PM
Quote from: Kindred on June 13, 2011, 01:46:27 PM
there is no way to do that with the mod, as designed.

Gutted :( Has the author of the mod given up? If so, its a massive shame as it is one of the best mods that I had installed!
Title: Re: Ultimate Profile
Post by: TheListener on June 13, 2011, 01:53:10 PM
Why would you want to limit the Ultimate Profiles to subscribers only?

I wouldn't subscribe myself if I had to do so before viewing these.
Title: Re: Ultimate Profile
Post by: SergeantAsh on June 13, 2011, 02:12:48 PM
I run a non-profit, free to use forum that's currently costing me around £40 per month to host due to high traffic - such small perks mean a lot to loyal members whom will happily contribute a minor sum to subscribe to a 'premium membership' type account.
Title: Re: Ultimate Profile
Post by: TheListener on June 13, 2011, 02:14:43 PM
Before we go to far off topic have a look at my forum in the sig.

I'm in the same boat as you in regards to costs etc.
Title: Re: Ultimate Profile
Post by: SergeantAsh on June 13, 2011, 02:21:08 PM
Quote from: Brack1 on June 13, 2011, 02:14:43 PM
Before we go to far off topic have a look at my forum in the sig.

I'm in the same boat as you in regards to costs etc.

We're in similar boats, not the same - my forum has 6000 members, not 70 :D
Title: Re: Ultimate Profile
Post by: Yağız... on June 13, 2011, 03:26:48 PM
Take a look at this post: http://www.simplemachines.org/community/index.php?topic=183574.msg1721572#msg1721572
Title: Re: Ultimate Profile
Post by: SergeantAsh on June 13, 2011, 03:31:17 PM
Quote from: Yağız... on June 13, 2011, 03:26:48 PM
Take a look at this post: http://www.simplemachines.org/community/index.php?topic=183574.msg1721572#msg1721572

Thanks Yagiz, unfortunately though that modification would only show the Ultimate Profile for the logged in user's group - I need all members with the Premium membergroup to have an Ultimate Profile that is visible by all users. It is a shame that this mod didn't continue to develop, it could be even more awesome by now!
Title: Re: Ultimate Profile
Post by: Yağız... on June 13, 2011, 03:37:20 PM
Quote from: SergeantAsh on June 13, 2011, 03:31:17 PM
Quote from: Yağız... on June 13, 2011, 03:26:48 PM
Take a look at this post: http://www.simplemachines.org/community/index.php?topic=183574.msg1721572#msg1721572

Thanks Yagiz, unfortunately though that modification would only show the Ultimate Profile for the logged in user's group - I need all members with the Premium membergroup to have an Ultimate Profile that is visible by all users. It is a shame that this mod didn't continue to develop, it could be even more awesome by now!
Oops sorry :) There is no way to do that (until you modify some codes) for now, but it can easily be added for the new version.

It's still under development, it's just the mod author doesn't log on the site too much.
Title: Re: Ultimate Profile
Post by: TurtleKicker on June 14, 2011, 05:18:26 PM
Quote from: Yağız... on June 13, 2011, 03:37:20 PM
It's still under development, it's just the mod author doesn't log on the site too much.

I've emailed the author on Facebook asking if he'd be interested in updating this for 2.0 final. :)
Title: Re: Ultimate Profile
Post by: 1cor1313 on June 14, 2011, 06:49:42 PM
Is there any way to prevent users from posting comments on people's profiles if they're under a certain message count? I've been getting a lot of spammers recently who are trying to do SEO crap on their profiles
Title: Re: Ultimate Profile
Post by: Kat9119 on June 17, 2011, 02:46:26 PM
I have "Custom Profile Fields" installed from awhile back. . .

I fixed it via this link:

http://www.simplemachines.org/community/index.php?topic=298641.msg2599016#msg2599016

so that it would display...

However, my template colors don't import to it. See the attached image for an example of what the background looks like vs what it should look like.

I am using 1.1.14 with a custom theme and attempting to use "custom profile fields" so I know who are spammers and who aren't when I used admin approval...

It did not look like this before I switched the code...any ideas to get it to have the same background color as the above box?
Title: Re: Ultimate Profile
Post by: lindaf on June 19, 2011, 08:04:09 PM
hi,  I seem to see my problem a couple a pages before this page, but I don't understand the directions for fixing it.

what is happening is, all of a sudden people can't load pictures to their profiles.  if I try it, it acts like it is doing it, but the pic never uploads.

in my error log I get the following:

http://www.adsg.org/forum/index.php?action=profile;sa=pictures;add2 
2: getimagesize(/usr/home/adsg/public_html/forum/profile_pictures/tmp_18): failed to open stream: No such file or directory
File: /usr/home/adsg/public_html/forum/Sources/Subs-Graphics.php
Line: 270


the solution a couple pages back was to fix paths in mysql.  I do know how to log into my server and can go to "mysql database server"  but there is nothing about paths etc.  (I know.. I don't know much! :) ) 

one of the regular members said they got an error msg saying the upload folder is full.

i'm running smf 1.1.13.  on same server I am running a second forum on 1.1.11 and on that smf everyone can upload pics just fine. 

anyone know how to fix this?

Title: Re: Ultimate Profile
Post by: MATTEK on June 20, 2011, 02:47:51 AM
Has anyone ever fixed the issue with comments? When I submit a comment it loads a blank white page, and nothing happens.  Issue has been occurring since RC3 and continued after upgrading to RC5.
Title: Re: Ultimate Profile
Post by: colour on June 26, 2011, 10:09:24 AM
Keep getting this error


Unknown column 'com.time' in 'field list'
File: "smf directory"/Sources/Profile-View.php
Line: 246


how would I fix it?
Title: Re: Ultimate Profile
Post by: ukhalik2 on June 26, 2011, 07:09:02 PM
any one got it working on 2.0 final?
Title: Re: Ultimate Profile
Post by: Kindred on June 26, 2011, 07:33:53 PM
Yup...
Title: Re: Ultimate Profile
Post by: colour on June 26, 2011, 10:26:53 PM
Quote from: Kindred on June 26, 2011, 07:33:53 PM
Yup...

Care to share?
Title: Re: Ultimate Profile
Post by: Kindred on June 26, 2011, 10:40:28 PM
I do not think that I did anything other than install.
Title: Re: Ultimate Profile
Post by: colour on June 26, 2011, 10:46:36 PM
Quote from: Kindred on June 26, 2011, 10:40:28 PM
I do not think that I did anything other than install.

did you do it manually? Or with package install?
Title: Re: Ultimate Profile
Post by: TheListener on June 26, 2011, 10:49:03 PM
Quote from: colour on June 26, 2011, 10:46:36 PM
Quote from: Kindred on June 26, 2011, 10:40:28 PM
I do not think that I did anything other than install.

did you do it manually? Or with package install?

Colour what are the problems you are having with this mod?
Title: Re: Ultimate Profile
Post by: colour on June 26, 2011, 11:03:19 PM
Quote from: Brack1 on June 26, 2011, 10:49:03 PM
Quote from: colour on June 26, 2011, 10:46:36 PM
Quote from: Kindred on June 26, 2011, 10:40:28 PM
I do not think that I did anything other than install.

did you do it manually? Or with package install?

Colour what are the problems you are having with this mod?


Unknown column 'com.time' in 'field list'
File: "smf directory"/Sources/Profile-View.php
Line: 246


When trying to look at anyones profile
Title: Re: Ultimate Profile
Post by: [unplugged] on June 26, 2011, 11:03:55 PM
It installs just fine using the package manager with no emulation needed.
Title: Re: Ultimate Profile
Post by: [unplugged] on June 26, 2011, 11:06:04 PM
Also, have a look here:  http://www.simplemachines.org/community/index.php?topic=319482.20
Title: Re: Ultimate Profile
Post by: colour on June 27, 2011, 12:30:49 PM
Quote from: SunKing on June 26, 2011, 11:06:04 PM
Also, have a look here:  http://www.simplemachines.org/community/index.php?topic=319482.20

Thanks I got it working now
Title: Re: Ultimate Profile
Post by: [unplugged] on June 30, 2011, 05:49:47 PM
Glad to hear. Enjoy!
Title: Re: Ultimate Profile
Post by: Jessica. on July 01, 2011, 01:11:19 PM
Quote from: 1cor1313 on June 14, 2011, 06:49:42 PM
Is there any way to prevent users from posting comments on people's profiles if they're under a certain message count? I've been getting a lot of spammers recently who are trying to do SEO crap on their profiles

this would be a nice feature to add.
Title: Re: Ultimate Profile
Post by: evilservo on July 01, 2011, 02:52:02 PM
I cant get this to work i'm using SMF 2.0 Final well its says not supported while i emulated RC4 installs perfectly but nothing happens i see same old profile .. then i emulated rc3 and tried the RC3 version of the Ultimate profile it does not pass test so i cant install

Can anyone help me.. i really really need the MOD .. cuz its Ultimate in Profiles MODS
Title: Re: Ultimate Profile
Post by: Jessica. on July 01, 2011, 02:56:54 PM
you need to enable Ultimate Profile in your Profile
Title: Re: Ultimate Profile
Post by: evilservo on July 02, 2011, 12:04:22 PM
Thanx Jess.... well one question how do i let members enable the Ultimate profile themselves right now i have to do it myself

thanx a lot for the help again
Title: Re: Ultimate Profile
Post by: snooks on July 02, 2011, 12:28:52 PM
Quote from: evilservo on July 02, 2011, 12:04:22 PM
Thanx Jess.... well one question how do i let members enable the Ultimate profile themselves right now i have to do it myself

thanx a lot for the help again

There is a permission for it in regular members, think that's what you are asking
Title: Re: Ultimate Profile
Post by: studiowi33 on July 02, 2011, 12:31:00 PM
Also in ACP, it needs to be enabled.
Title: Re: Ultimate Profile
Post by: MATTEK on July 03, 2011, 01:56:06 AM
Quote from: MATTEK on June 20, 2011, 02:47:51 AM
Has anyone ever fixed the issue with comments? When I submit a comment it loads a blank white page, and nothing happens.  Issue has been occurring since RC3 and continued after upgrading to RC5.

???? Anyone?
Title: Re: Ultimate Profile
Post by: pikeman on July 03, 2011, 03:44:55 AM
Hello!

When the expected exit mode for the 2.0 version of the script?
Title: Re: Ultimate Profile
Post by: Kindred on July 03, 2011, 09:25:17 AM
pikeman, I have this working with 2.0

mattek,
strange, I don't see that error. Comments work fine for me.
Title: Re: Ultimate Profile
Post by: jshamm on July 03, 2011, 12:24:34 PM
I had posted this elsewhere but was hoping I could get some help here as well.

I recently installed the UP mod but I also have SM Trader System installed as well.  After installing the UP Mod my trader system mod doesn't show up now.  Is there any way to integrate the two?

I'm using SMF 2.0

Thanks for any help.
Title: Re: Ultimate Profile
Post by: MATTEK on July 03, 2011, 02:35:48 PM
Quote from: Kindred on July 03, 2011, 09:25:17 AM
pikeman, I have this working with 2.0

mattek,
strange, I don't see that error. Comments work fine for me.

I have seen multiple people with the same issues. When you submit the comment it loads a blank white page. That's it. I've upgrade from RC1-1 to RC2 to RC3 all the way to 2.0 and it's never corrected itself.
Title: Re: Ultimate Profile
Post by: pikeman on July 04, 2011, 05:23:11 PM
During installation of this package "ultimate_profile-0-9-1_20rc4.zip" SMF script says that this is not compatible or damaged with 2.0 version.

What seems to be a problem?

Thank You.
Title: Re: Ultimate Profile
Post by: Yngwiedis on July 04, 2011, 05:28:51 PM
Mod is not compatible with 2.0 yet.
Install it with compatibility for 2.0 RC4.
Title: Re: Ultimate Profile
Post by: WillyP on July 04, 2011, 07:13:49 PM
Yes, that worked for me. Thanks for a very cool mod!
Title: Re: Ultimate Profile
Post by: Science3 on July 09, 2011, 12:56:45 AM
this mod dosent work on my SMF 2.0
Title: Re: Ultimate Profile
Post by: Science3 on July 09, 2011, 01:09:05 AM
SMF 2.0 RC4 to SMF 2.0 RC4 Security Patch will it work even though that message says it dosent on the page to download it?
Title: Re: Ultimate Profile
Post by: hcfwesker on July 09, 2011, 01:13:13 AM
download the 2.0 RC4 version, then emulate to RC4 in the package manager under the "Advanced" tab.  Make sure to activate Ultimate Profiles in the admin menu after downloading.

It installed fine with no errors on my 2.0 smf site.
Title: Re: Ultimate Profile
Post by: Science3 on July 09, 2011, 02:34:33 AM
Unknown column 'com.time' in 'field list'
File: /home/a22397/public_html/Sources/Profile-View.php
Line: 257

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 RC4, while your database is at version 2.0. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Ultimate Profile
Post by: [unplugged] on July 09, 2011, 08:10:00 AM
Quote from: SunKing on June 26, 2011, 11:06:04 PM
Also, have a look here:  http://www.simplemachines.org/community/index.php?topic=319482.20

(one page back)  :o
Title: Re: Ultimate Profile
Post by: Science3 on July 09, 2011, 12:20:52 PM
Quote from: SunKing on July 09, 2011, 08:10:00 AM
Quote from: SunKing on June 26, 2011, 11:06:04 PM
Also, have a look here:  http://www.simplemachines.org/community/index.php?topic=319482.20

(one page back)  :o
Im new..
how do you run database php?
Title: Re: Ultimate Profile
Post by: Science3 on July 09, 2011, 02:55:16 PM
Okay i read all the stuff and figured everything out. I have it working now but now there is a profile comment problem. The comments are from 1969 and they're overlapping. I removed the profile comments mod and its still the samething
Title: Re: Ultimate Profile
Post by: Rukey on July 10, 2011, 08:22:24 PM
Is there a way to run this mod in SMF 2.0 RC5?

I read the posts above but am still slightly stumped. Any help would be appreciated!

Thanks
Title: Re: Ultimate Profile
Post by: NickCJ7 on July 11, 2011, 08:15:56 PM
I am running SMF 2.0, I emulated 2.0 RC4 and installed and have it enabled but when I click on profile I get this error:
Unknown column 'com.time' in 'field list'
File: /home/content/88/6470888/html/Sources/Profile-View.php
Line: 246


How can I fix this?
Title: Re: Ultimate Profile
Post by: NickCJ7 on July 12, 2011, 05:37:36 AM
can someone please let me know what I need to modify or change to get this working on SMF 2.0?
Title: Re: Ultimate Profile
Post by: bruce86 on July 12, 2011, 06:05:04 AM
SMF 2.0???
Title: Re: Ultimate Profile
Post by: TheListener on July 13, 2011, 01:48:39 PM
Quote from: bruce86 on July 12, 2011, 06:05:04 AM
SMF 2.0???

What about 2.0?

Oh do you mean the mod to be upgraded?

If you were to read a few posts back I believe you will realise the mod already works on 2.0

It does on my forum anyway.
Title: Re: Ultimate Profile
Post by: digitalmikey on July 14, 2011, 01:28:11 AM
Please update this to 2.0. I don't want to emulate RC4 when all my other mods work on 2.0, Thanks!
Title: Re: Ultimate Profile
Post by: TheListener on July 14, 2011, 06:37:45 AM
Quote from: digitalmikey on July 14, 2011, 01:28:11 AM
Please update this to 2.0. I don't want to emulate RC4 when all my other mods work on 2.0, Thanks!

Read my previous post.
Title: Re: Ultimate Profile
Post by: MiY4Gi on July 14, 2011, 10:42:00 AM
They mean they DO NOT want to emulate to 2.0 RC4, since it's a "pain". They want everything handed to them on a golden platter. They don't want to learn anything new. They don't want to do anything differently. They want things done their way. Bla bla bla.

Guys emulating is not dangerous, or difficult. There's just as much risk installing a mod while you have other mods installed, as there is emulating a mod that hasn't been updated yet. Either the mod works, or it doesn't. However, as Brack1 says, it DOES work on 2.0, so just give the outdated mod a try. I've installed plenty of mods that I've had to emulate and they all worked, while I've also installed mods that WERE updated, but DID NOT work, due to conflicts with other mods.
Title: Re: Ultimate Profile
Post by: TheListener on July 14, 2011, 11:05:10 AM
Quote from: MiY4Gi on July 14, 2011, 10:42:00 AM
They mean they DO NOT want to emulate to 2.0 RC4, since it's a "pain". They want everything handed to them on a golden platter. They don't want to learn anything new. They don't want to do anything differently. They want things done their way. Bla bla bla.

Guys emulating is not dangerous, or difficult. There's just as much risk installing a mod while you have other mods installed, as there is emulating a mod that hasn't been updated yet. Either the mod works, or it doesn't. However, as Brack1 says, it DOES work on 2.0, so just give the outdated mod a try. I've installed plenty of mods that I've had to emulate and they all worked, while I've also installed mods that WERE updated, but DID NOT work, due to conflicts with other mods.

+1
Title: Re: Ultimate Profile
Post by: live627 on July 14, 2011, 11:57:09 PM
Quote from: MiY4Gi on July 14, 2011, 10:42:00 AM
They mean they DO NOT want to emulate to 2.0 RC4, since it's a "pain". They want everything handed to them on a golden platter. They don't want to learn anything new. They don't want to do anything differently. They want things done their way. Bla bla bla.

Guys emulating is not dangerous, or difficult. There's just as much risk installing a mod while you have other mods installed, as there is emulating a mod that hasn't been updated yet. Either the mod works, or it doesn't. However, as Brack1 says, it DOES work on 2.0, so just give the outdated mod a try. I've installed plenty of mods that I've had to emulate and they all worked, while I've also installed mods that WERE updated, but DID NOT work, due to conflicts with other mods.
Quoted for truth.
Title: Re: Ultimate Profile
Post by: Rukey on July 15, 2011, 06:35:38 AM
Quote from: MiY4Gi on July 14, 2011, 10:42:00 AM
They mean they DO NOT want to emulate to 2.0 RC4, since it's a "pain". They want everything handed to them on a golden platter. They don't want to learn anything new. They don't want to do anything differently. They want things done their way. Bla bla bla.

Guys emulating is not dangerous, or difficult. There's just as much risk installing a mod while you have other mods installed, as there is emulating a mod that hasn't been updated yet. Either the mod works, or it doesn't. However, as Brack1 says, it DOES work on 2.0, so just give the outdated mod a try. I've installed plenty of mods that I've had to emulate and they all worked, while I've also installed mods that WERE updated, but DID NOT work, due to conflicts with other mods.

I've never had a problem with learning something new nor have I complained about needing to emulate, I just wanted clarification on how to do so. So I didn't just jump in and break my forum like I usually do. Is there a good guide on how to emulate something? or is it very simple?
Title: Re: Ultimate Profile
Post by: MiY4Gi on July 15, 2011, 06:52:21 AM
It's very simple.

You download/upload the package as usual, but when you get to the point when you need to install, navigate back to Admin > Main > Package Manager > Browse Packages.

Note the position of your mod on the list of uploaded mods. Most of the mods will have [Uninstall] or [Install Mod] before [list Files], however the Ultimate Profile mod, will NOT have an [Install Mod], since the mod is "incompatible" with 2.0 Gold, nor an [Uninstall], since the mod hasn't been installed yet.

Now, click Advanced in the bottom right corner, then type in SMF 2.0 RC4 and click Apply. Check to see if [Install Mod] appeared next to Ultimate Profile. If not, go back to Advanced and change the version to SMF 2.0 RC3 and click Apply, then check to see if [Install Mod] appeared.

Repeat the process with various versions of SMF 2.0 until the [Install Mod] appears, then click it and proceed with the installation as usual.

That my friend, is called emulating.  [/list]
Title: Re: Ultimate Profile
Post by: Rukey on July 15, 2011, 06:57:57 AM
Quote from: MiY4Gi on July 15, 2011, 06:52:21 AM
It's very simple.

You download/upload the package as usual, but when you get to the point when you need to install, navigate back to Admin > Main > Package Manager > Browse Packages.

Note the position of your mod on the list of uploaded mods. Most of the mods will have [Uninstall] or [Install Mod] before [list Files], however the Ultimate Profile mod, will NOT have an [Install Mod], since the mod is "incompatible" with 2.0 Gold, nor an [Uninstall], since the mod hasn't been installed yet.

Now, click Advanced in the bottom right corner, then type in SMF 2.0 RC4 and click Apply. Check to see if [Install Mod] appeared next to Ultimate Profile. If not, go back to Advanced and change the version to SMF 2.0 RC3 and click Apply, then check to see if [Install Mod] appeared.

Repeat the process with various versions of SMF 2.0 until the [Install Mod] appears, then click it and proceed with the installation as usual.

That my friend, is called emulating.  [/list]

Seems very straight forward, thank you! Does this mean the whole SMF installation reverts to a RC4/ RC3 standard? I mean to say RC4 was updated due to security issues was it not? Someone should just add your explanation to the OP and save everyone the trouble.
Title: Re: Ultimate Profile
Post by: MiY4Gi on July 15, 2011, 07:25:13 AM
Quote from: Rukey on July 15, 2011, 06:57:57 AM
Seems very straight forward, thank you! Does this mean the whole SMF installation reverts to a RC4/ RC3 standard? I mean to say RC4 was updated due to security issues was it not? Someone should just add your explanation to the OP and save everyone the trouble.

Once the mod is installed and working properly, go back to Browse Packages > Advanced, and either click Revert, or type in SMF 2.0. You'll notice that the [Uninstall] option disappears from the Ultimate Profile mod when you do this, but you can just change back to RC4 when you want to uninstall the mod. Emulation doesn't change the actual forum, it just makes the forum THINK it's a lower version, so that it will allow "incompatible mods" to be installed.

There should be a FAQ on this forum that explains how to emulate, so it's not necessary to explain it in the OP of this thread, nor in any other thread.
Title: Re: Ultimate Profile
Post by: hcfwesker on July 24, 2011, 08:26:55 PM
Is there anyway, I did search and found nothing, to rearrange buddies on your buddy list.  Like an up/down button, or a way to drag buddies to another location on your list?
Title: Re: Ultimate Profile
Post by: studiowi33 on July 24, 2011, 09:22:57 PM
Quote from: hcfwesker on July 24, 2011, 08:26:55 PM
Is there anyway, I did search and found nothing, to rearrange buddies on your buddy list.  Like an up/down button, or a way to drag buddies to another location on your list?

Nope.

I went around & around with this same issue. As far as I know, no-one has ever managed to explain how exactly it works. Dumbest way of managing a simple list I've ever run across. (I quit trying to figure it out. None of it makes any kind of sense to me.)
Title: Re: Ultimate Profile
Post by: hcfwesker on July 24, 2011, 10:20:34 PM
Quote from: studiowi33 on July 24, 2011, 09:22:57 PM
Quote from: hcfwesker on July 24, 2011, 08:26:55 PM
Is there anyway, I did search and found nothing, to rearrange buddies on your buddy list.  Like an up/down button, or a way to drag buddies to another location on your list?

Nope.

I went around & around with this same issue. As far as I know, no-one has ever managed to explain how exactly it works. Dumbest way of managing a simple list I've ever run across. (I quit trying to figure it out. None of it makes any kind of sense to me.)

I actually found a fix, for SMF2 users with Ult. Profile ....

Profile > Modify Profile > Buddies/Ignore List > Edit Buddies

QuoteOk, so I just tested something, and this 'swapping' actually seems like a viable way to organize buddies List.

Go to the 2nd to last buddy, click the "down" arrow ... now, just click the 'down' arrow over each Buddy you want to place at the bottom (like inactive members).

Then, refresh the page, pick a spot where you want to move certain buddies to, then click the "Up" arrow, then find each buddy you want to place there, and click the "Up" arrow next to their name.  Refresh the page, each time you want to add buddies in a different section on your buddies list, and repeat.

Title: Re: Ultimate Profile
Post by: [unplugged] on July 25, 2011, 08:11:29 PM
Quote from: NickCJ7 on July 11, 2011, 08:15:56 PM
I am running SMF 2.0, I emulated 2.0 RC4 and installed and have it enabled but when I click on profile I get this error:
Unknown column 'com.time' in 'field list'
File: /home/content/88/6470888/html/Sources/Profile-View.php
Line: 246


How can I fix this?

Just 4 little tiny posts above yours is the answer to your question.....

Title: Re: Ultimate Profile
Post by: trekkie2444 on July 26, 2011, 05:34:03 PM
Is there a way to get the Google Member Map to work on the Ultimate Profile? It's not showing up on mine. http://e-p1.net/profile/
Title: Re: Ultimate Profile
Post by: [unplugged] on July 26, 2011, 05:39:26 PM
Yes. I am using it on mine. ;)

Let me dig up what I did....it was a long time ago. I'll post it here.
Title: Re: Ultimate Profile
Post by: [unplugged] on July 26, 2011, 06:01:39 PM
Simple enough.

Open UltimateProfile.template.php.

In the $column_layout array add an entry called 'membermap', where you want your map to display (top, left, right, or bottom). I have mine in the right array as follows:
'right' => array(
'media',
'membermap',
'buddies',
                'visitors',
'awards',
'championships',


Next, at the end of the file just before the ?> add the following block of code:
function up_block_membermap()
{
global $modSettings, $context, $txt, $scripturl, $user_info;
if(isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude'])){
if ($modSettings['googleMapsEnable'] && allowedTo('googleMap_view'))
{
if (isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude']))
{

echo '
<div id="up_membermap">
<div class="cat_bar">
<h3 class="catbg" style="text-align:left;">
'.$txt['googleMap'].'
<span class="floatright" style="font-size:.8em;"><a href="'.$scripturl.'?action=profile;area=customized;u='.$context['member']['id'].';#mmap">Edit pin</a></span>
</h3>
</div>
<div class="windowbg creator">
<div class="content">
<script src="http://maps.google.com/maps?file=api&v=2&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<div id="map" style="width: 100%; height: 350px; color: #000000;"></div>
<input type="hidden" name="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<script type="text/javascript">';

// Evil hack on this!!!
echo '
//' . chr(60) . chr(33) . chr(91) . chr(67) . chr(68) . chr(65) . chr(84) . chr(65) . chr(91);

echo '
function LoadMap()
{
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . '), 13, '. $modSettings['googleMapsType'] . ');
var point = new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . ');
var marker = new GMarker(point);
map.addOverlay(marker);
}

if (GBrowserIsCompatible()) {
window.onload=LoadMap;
}';

// Let's make another evil hack!
echo '
//' . chr(93) . chr(93) . chr(62);

echo '
</script>
</div>

</div>
</div><br />';
}
}
}
}


That block was simply taken from the GoogleMap template.

Please keep in mind that the block of code is styled for my site and may look odd used in your layout, but the needed code is there.
Title: Re: Ultimate Profile
Post by: TheListener on July 26, 2011, 06:24:28 PM
Does anyone know which code I would need so I can show the Activity bar on a persons Ultimate Profile?

Title: Re: Ultimate Profile
Post by: Kindred on July 26, 2011, 06:53:51 PM
what is the activity bar?
Title: Re: Ultimate Profile
Post by: trekkie2444 on July 27, 2011, 01:34:57 AM
Quote from: SunKing on July 26, 2011, 06:01:39 PM
Simple enough.

Open UltimateProfile.template.php.

In the $column_layout array add an entry called 'membermap', where you want your map to display (top, left, right, or bottom). I have mine in the right array as follows:
'right' => array(
'media',
'membermap',
'buddies',
                'visitors',
'awards',
'championships',


Next, at the end of the file just before the ?> add the following block of code:
function up_block_membermap()
{
global $modSettings, $context, $txt, $scripturl, $user_info;
if(isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude'])){
if ($modSettings['googleMapsEnable'] && allowedTo('googleMap_view'))
{
if (isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude']))
{

echo '
<div id="up_membermap">
<div class="cat_bar">
<h3 class="catbg" style="text-align:left;">
'.$txt['googleMap'].'
<span class="floatright" style="font-size:.8em;"><a href="'.$scripturl.'?action=profile;area=customized;u='.$context['member']['id'].';#mmap">Edit pin</a></span>
</h3>
</div>
<div class="windowbg creator">
<div class="content">
<script src="http://maps.google.com/maps?file=api&v=2&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<div id="map" style="width: 100%; height: 350px; color: #000000;"></div>
<input type="hidden" name="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<script type="text/javascript">';

// Evil hack on this!!!
echo '
//' . chr(60) . chr(33) . chr(91) . chr(67) . chr(68) . chr(65) . chr(84) . chr(65) . chr(91);

echo '
function LoadMap()
{
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . '), 13, '. $modSettings['googleMapsType'] . ');
var point = new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . ');
var marker = new GMarker(point);
map.addOverlay(marker);
}

if (GBrowserIsCompatible()) {
window.onload=LoadMap;
}';

// Let's make another evil hack!
echo '
//' . chr(93) . chr(93) . chr(62);

echo '
</script>
</div>

</div>
</div><br />';
}
}
}
}


That block was simply taken from the GoogleMap template.

Please keep in mind that the block of code is styled for my site and may look odd used in your layout, but the needed code is there.

Thank you!
Title: Re: Ultimate Profile
Post by: [unplugged] on July 27, 2011, 01:38:57 AM
Glad this helped.
Title: Re: Ultimate Profile
Post by: trekkie2444 on July 28, 2011, 10:51:36 PM
Is there going to be an SMF 2.0 update?
Title: Re: Ultimate Profile
Post by: bedeceived on July 28, 2011, 10:52:15 PM
For the 1324th time.  Emulate.   ;D
Title: Re: Ultimate Profile
Post by: trekkie2444 on July 28, 2011, 10:53:16 PM
Quote from: MiY4Gi on July 15, 2011, 06:52:21 AM
It's very simple.

You download/upload the package as usual, but when you get to the point when you need to install, navigate back to Admin > Main > Package Manager > Browse Packages.

Note the position of your mod on the list of uploaded mods. Most of the mods will have [Uninstall] or [Install Mod] before [list Files], however the Ultimate Profile mod, will NOT have an [Install Mod], since the mod is "incompatible" with 2.0 Gold, nor an [Uninstall], since the mod hasn't been installed yet.

Now, click Advanced in the bottom right corner, then type in SMF 2.0 RC4 and click Apply. Check to see if [Install Mod] appeared next to Ultimate Profile. If not, go back to Advanced and change the version to SMF 2.0 RC3 and click Apply, then check to see if [Install Mod] appeared.

Repeat the process with various versions of SMF 2.0 until the [Install Mod] appears, then click it and proceed with the installation as usual.

That my friend, is called emulating.  [/list]

Ah, this is quite useful.
Title: Re: Ultimate Profile
Post by: [unplugged] on July 31, 2011, 05:51:48 PM
To quickly restate what has been posted several times and perhaps obscured, if you are getting the error:
Unknown column 'com.time' in 'field list'
File: /home/content/88/6470888/html/Sources/Profile-View.php
Line: 246

Here:




I am not going to explain to you the inner workings of phpMyAdmin nor how to log into anything through your host. If you have questions with these, try using Google or contacting your host.

Once you have phpMyAdmin open, and you have clicked on your database at the top of the left-hand column, you'll notice tabs at the top.

Structure    SQL    Search    Query    Export    Import    Operations

Select the SQL tab and type/paste the following line into that box:

ALTER TABLE smf_profile_comments ADD time INT NOT NULL AFTER date

Make sure to replace smf_ with your table prefix.

Now click Go and the query will be run. This should fix the problem.


Title: Re: Ultimate Profile
Post by: SIMul8rReviews on August 02, 2011, 03:29:23 PM
I need some help with this mod.

Okay, so I installed the mod.. there were no errors, so everything installed successfully. I even have the Ultimate Profile enabled for all members.
But, once I go to my profile or anyone else's profile.. I get this error (see image attachment)

I'm running SMF 2.0 Gold.
Title: Re: Ultimate Profile
Post by: Yngwiedis on August 02, 2011, 03:39:44 PM
Just read the previous post before yours. Doh !!!
Title: Re: Ultimate Profile
Post by: SIMul8rReviews on August 02, 2011, 03:43:50 PM
Quote from: Yngwiedis on August 02, 2011, 03:39:44 PM
Just read the previous post before yours. Doh !!!

Oh, well excuse me. I couldn't recognize that small of font in the code box.. but thanks for informing me ever so nicely..
Title: Re: Ultimate Profile
Post by: TheListener on August 02, 2011, 03:49:35 PM
It does usually help if a person reads through a topic first.
Title: Re: Ultimate Profile
Post by: Xarcell on August 02, 2011, 05:10:52 PM
Quote from: SunKing on July 26, 2011, 06:01:39 PM
Simple enough.

Open UltimateProfile.template.php.

In the $column_layout array add an entry called 'membermap', where you want your map to display (top, left, right, or bottom). I have mine in the right array as follows:
'right' => array(
'media',
'membermap',
'buddies',
                'visitors',
'awards',
'championships',


Next, at the end of the file just before the ?> add the following block of code:
function up_block_membermap()
{
global $modSettings, $context, $txt, $scripturl, $user_info;
if(isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude'])){
if ($modSettings['googleMapsEnable'] && allowedTo('googleMap_view'))
{
if (isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude']))
{

echo '
<div id="up_membermap">
<div class="cat_bar">
<h3 class="catbg" style="text-align:left;">
'.$txt['googleMap'].'
<span class="floatright" style="font-size:.8em;"><a href="'.$scripturl.'?action=profile;area=customized;u='.$context['member']['id'].';#mmap">Edit pin</a></span>
</h3>
</div>
<div class="windowbg creator">
<div class="content">
<script src="http://maps.google.com/maps?file=api&v=2&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<div id="map" style="width: 100%; height: 350px; color: #000000;"></div>
<input type="hidden" name="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<script type="text/javascript">';

// Evil hack on this!!!
echo '
//' . chr(60) . chr(33) . chr(91) . chr(67) . chr(68) . chr(65) . chr(84) . chr(65) . chr(91);

echo '
function LoadMap()
{
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . '), 13, '. $modSettings['googleMapsType'] . ');
var point = new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . ');
var marker = new GMarker(point);
map.addOverlay(marker);
}

if (GBrowserIsCompatible()) {
window.onload=LoadMap;
}';

// Let's make another evil hack!
echo '
//' . chr(93) . chr(93) . chr(62);

echo '
</script>
</div>

</div>
</div><br />';
}
}
}
}


That block was simply taken from the GoogleMap template.

Please keep in mind that the block of code is styled for my site and may look odd used in your layout, but the needed code is there.

Works nicely! however how can I change it so that only the person's buddies & owner can see it? I'm no code but I tried :

if ($modSettings['googleMapsEnable'] && $memberContext[$user_info['id']]['is_buddy']  && allowedTo('googleMap_view'))
{


and

function up_block_membermap()
{
global $modSettings, $context, $txt, $scripturl, $user_info;
if ($memberContext[$user_info['id']]['is_buddy']){
if(isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude'])){
if ($modSettings['googleMapsEnable'] && allowedTo('googleMap_view'))
{
if (isset($context['member']['googleMap']['latitude']) && isset($context['member']['googleMap']['longitude']))
{

echo '
<div id="up_membermap">
<div class="cat_bar">
<h3 class="catbg" style="text-align:left;">
'.$txt['googleMap'].'
<span class="floatright" style="font-size:.8em;"><a href="'.$scripturl.'?action=profile;area=customized;u='.$context['member']['id'].';#mmap">Edit pin</a></span>
</h3>
</div>
<div class="windowbg creator">
<div class="content">
<script src="http://maps.google.com/maps?file=api&v=2&key=' . $modSettings['googleMapsKey'] . '" type="text/javascript"></script>
<div id="map" style="width: 100%; height: 350px; color: #000000;"></div>
<input type="hidden" name="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<script type="text/javascript">';

// Evil hack on this!!!
echo '
//' . chr(60) . chr(33) . chr(91) . chr(67) . chr(68) . chr(65) . chr(84) . chr(65) . chr(91);

echo '
function LoadMap()
{
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . '), 13, '. $modSettings['googleMapsType'] . ');
var point = new GLatLng(' . $context['member']['googleMap']['latitude'] . ',' . $context['member']['googleMap']['longitude'] . ');
var marker = new GMarker(point);
map.addOverlay(marker);
}

if (GBrowserIsCompatible()) {
window.onload=LoadMap;
}';

// Let's make another evil hack!
echo '
//' . chr(93) . chr(93) . chr(62);

echo '
</script>
</div>

</div>
</div><br />';
}
}
}
}
}


with no prevail...
Title: Re: Ultimate Profile
Post by: [unplugged] on August 03, 2011, 02:13:02 PM
@Xarcell

http://www.simplemachines.org/community/index.php?topic=445054.msg3126491#msg3126491
Title: Re: Ultimate Profile
Post by: TheListener on August 03, 2011, 03:28:29 PM
Quote from: Kindred on July 26, 2011, 06:53:51 PM
what is the activity bar?

Knew I had forgotten something.

http://www.simplemachines.org/community/index.php?topic=321247.0

This is the activity bar mod.

Title: Re: Ultimate Profile
Post by: Kindred on August 03, 2011, 04:33:14 PM
well, it looks like you'd have to add the changes which the activity bar mod makes to the standard profile and profile.template files into the ultimateprofile files...
Title: Re: Ultimate Profile
Post by: studiowi33 on August 03, 2011, 05:16:39 PM
Hi all--

Illori ran me off the 2.0 support page and I have to ask folks here...
Quote from: studiowi33 on August 03, 2011, 05:09:22 PM
Hi all--

Running 2.0 and I need to add  the age field (as well as gender) to the registration page. The gender field is easy, but I don't need to add a custom age field as this is already included in the Ultimate Profile mod. (I'm assuming that checking the "Show on Registration" checkbox will add that (gender) information to a new user's profile.)

I need to do this with the age field as well. Any ideas?

As always, thanks for any insight.

-s.w
Title: Re: Ultimate Profile
Post by: mforum on August 04, 2011, 03:16:14 AM
I put a youtube html link code on Media but nothing shows  ::)
Title: Re: Ultimate Profile
Post by: studiowi33 on August 04, 2011, 01:28:51 PM
Quote from: mforum on August 04, 2011, 03:16:14 AM
I put a youtube html link code on Media but nothing shows  ::)

I have to use the "Use old embed code" option @ Utube for it to show up in my Media Box.

hth

-s.w
Title: Re: Ultimate Profile
Post by: mforum on August 05, 2011, 02:38:52 AM
in deed !
thanks for the tip  :)
Title: Re: Ultimate Profile
Post by: ကိုေန on August 06, 2011, 05:07:27 PM
I m admin ...using smf2.0rc5 with Ultimate Profile 2.0rc4

But I go >>>> Profilr >>>> Ultimate Profile
I get the error " You are not allowed to access this section "

Please Help Me .....
Title: Re: Ultimate Profile
Post by: Engel on August 07, 2011, 02:43:00 AM
Can someone tell me what file should I use to change the look of the tables on the profile? Thank you
Also, is there a way so unused profile fields aren't shown?
Title: Re: Ultimate Profile
Post by: crotalusco on August 07, 2011, 01:31:41 PM
Ok i started looking through the thread, but 130 pages we need a faq that is accessible without registering on the test forum


QuoteThis modification also allows them to upload their own pictures which are then showed in their profile and can be organized in albums.

Has anyone figured out how to add albums or to organize these
Title: Re: Ultimate Profile
Post by: crotalusco on August 07, 2011, 01:45:01 PM
I just thought of an idea that would be perfect for my site. Though I am not a great coder, but why not ask

I use "smf gallery pro" on my site which does allow members to have personal galleries.

Is there some simple code i can change to display those albums in ultimate profile rather then uploading new ones.

Or even better yet If i limit photos 1 one, how can i change the display size to say 400x400 then have just a link to that members "smf gallery pro" member gallery under that pic.

If someone could help me with this i would be appreciative

Links should be easy

My gallery = pointing to http://www.venom-center.com/forums/index.php?action=gallery;su=user;u=1
My Images = pointing to http://www.venom-center.com/forums/index.php?action=gallery;sa=myimages;u=1
Title: Re: Ultimate Profile
Post by: studiowi33 on August 07, 2011, 02:30:09 PM
Quote from: crotalusco on August 07, 2011, 01:31:41 PM
Has anyone figured out how to add albums or to organize these

On the pictures page, in the lower right corner is an "Add album" link. After that, it's self explanatory.

hth

-s.w
Title: Re: Ultimate Profile
Post by: crotalusco on August 07, 2011, 02:35:59 PM
Ahh the little icon, I missed that completely thank you
Title: Re: Ultimate Profile
Post by: TheListener on August 08, 2011, 01:21:18 PM
Been trying to add the activitybar to my ultimate profile.

Managed to add to the profile except in the top left corner.

I am trying to add it so it shows between Last Active and Boards Moderating

attachments supplied.
Title: Re: Ultimate Profile
Post by: crotalusco on August 08, 2011, 11:15:06 PM
anyone know where i can find the thumbnail size for profile summary view??
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on August 09, 2011, 07:02:35 AM
Has anyone been successful in getting the Member Referrals mod (http://custom.simplemachines.org/mods/index.php?mod=1114) to work with Ultimate Profile?

I'd appreciate any help on this one if you have.

Thanks in advance!
Title: Re: Ultimate Profile
Post by: Xarcell on August 13, 2011, 03:57:20 PM
Anyone have a tutorial on how to add another album? including permissions on who can see it?
Title: Re: Ultimate Profile
Post by: DragoN_PT on August 15, 2011, 01:47:27 AM
Hi,

Great mod. It really adds some nice feature to the forum..

I manage to install it on 2.0 in diferent themes. One question tho, is there a way to translate the mod lines? The Box title, descriptions and that stuff? If yes, were can i find them?

Cumpz!
Title: Re: Ultimate Profile
Post by: studiowi33 on August 15, 2011, 02:34:11 AM
Quote from: DragoN_SAMP on August 15, 2011, 01:47:27 AM
Hi,

Great mod. It really adds some nice feature to the forum..

I manage to install it on 2.0 in diferent themes. One question tho, is there a way to translate the mod lines? The Box title, descriptions and that stuff? If yes, were can i find them?

Cumpz!

Look in themes/default/languages/ultimateprofile.english.php

hth

-s.w
Title: Re: Ultimate Profile
Post by: DragoN_PT on August 15, 2011, 03:27:47 PM
Ok, I will look into it.

ty studiowi33!  ;)

EDIT:

Just finished the translation to portuguese (Portugal). If anyone is interested i can share it.
Title: Re: Ultimate Profile
Post by: valgusepoiss on August 16, 2011, 05:57:22 AM
Hi

I installed UP to smf 2.0 and used some custom profile fields but they only show under contact information. How can i move them under gender field?
Title: Re: Ultimate Profile
Post by: OCJ on August 20, 2011, 12:26:39 PM
Error on profile view after install of latest version;

Unknown column 'com.time' in 'field list'
File: /####/####/public_html/events/Sources/Profile-View.php
Line: 246
Title: Re: Ultimate Profile
Post by: Illori on August 20, 2011, 12:34:56 PM
Quote from: SunKing on July 31, 2011, 05:51:48 PM
To quickly restate what has been posted several times and perhaps obscured, if you are getting the error:
Unknown column 'com.time' in 'field list'
File: /home/content/88/6470888/html/Sources/Profile-View.php
Line: 246

Here:




I am not going to explain to you the inner workings of phpMyAdmin nor how to log into anything through your host. If you have questions with these, try using Google or contacting your host.

Once you have phpMyAdmin open, and you have clicked on your database at the top of the left-hand column, you'll notice tabs at the top.

Structure    SQL    Search    Query    Export    Import    Operations

Select the SQL tab and type/paste the following line into that box:

ALTER TABLE smf_profile_comments ADD time INT NOT NULL AFTER date

Make sure to replace smf_ with your table prefix.

Now click Go and the query will be run. This should fix the problem.



Title: Re: Ultimate Profile
Post by: OCJ on August 20, 2011, 07:15:50 PM
 :P
I thought 'smf_profile_comments' was related to another mod rather than default smf install... so decided to drop it from the database. Since turns out the download mod is now complaining.
Will have to reinstate it from a backup or phppmyadmin.

Oh dear... another comment field deleted ... ah well, after mix up its all back to normal - thanks anyway.
Title: Re: Ultimate Profile
Post by: xFDragon on August 22, 2011, 12:52:57 PM
I have a issue that is small but slightly interesting.

I have done a quick search through but have not found it mentioned in this thread before.

Using your latest update, and 2.0 gold.

When I place a ' in the 'My Media' section, the moment the change has been accepted it auto places a / next to the '. So a bit of text would look like "These are my videos from Mary/'s holiday." Anypony else had this issue of yet? I can give a list of mods if that will help.
Title: Re: Ultimate Profile
Post by: f00ty on August 23, 2011, 09:25:02 AM
I have tried couple hours now to remove buddy list from general view from users profile, so their buddylist wouldn't be visible to anyone else but themselves. Any ideas?
Title: Re: Ultimate Profile
Post by: Citizen Erased on August 23, 2011, 03:07:14 PM
Quote from: MagitekElite on February 17, 2011, 09:45:47 PM
I hope my question isn't too much of a bother. I have been looking for three days now and I couldn't find an answer.

The Ultimate Profile says that you can add media and videos. How do you go about adding videos? My forum has a Youtube tag BBCode and I have tried that, but it just comes up as the code and no video.

How do I properly add videos so I can show my members how to as well?

I juste realized I have the same problem, and I kinda fixed it.

In UltimateProfile.template:

Search
', un_htmlspecialchars ($context['member']['options']['media']) ,'

And replace it with:

1) If you want ONLY bbcodes and NOT html tags:
', parse_bbc ($context['member']['options']['media']) ,'

2) If you want BOTH bccodes AND html tags:
', parse_bbc (un_htmlspecialchars ($context['member']['options']['media'])) ,'

Hope this can help you and everybody with the same problem ;)
Title: Re: Ultimate Profile
Post by: wynnyelle on August 24, 2011, 11:26:47 PM
How do you entirely remove the age field from showing up in ultimate profile? Just--have it not be there at all?
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on August 26, 2011, 05:30:40 PM
Quote from: Sci-Fi_Fan on August 09, 2011, 07:02:35 AM
Has anyone been successful in getting the Member Referrals mod (http://custom.simplemachines.org/mods/index.php?mod=1114) to work with Ultimate Profile?

I'd appreciate any help on this one if you have.

Thanks in advance!

Anyone???
Title: Re: Ultimate Profile
Post by: wynnyelle on August 26, 2011, 07:25:58 PM
Quote from: Groovystar on August 24, 2011, 11:26:47 PM
How do you entirely remove the age field from showing up in ultimate profile? Just--have it not be there at all?
Title: Re: Ultimate Profile
Post by: valgusepoiss on August 27, 2011, 12:09:35 AM
Quote from: valgusepoiss on August 16, 2011, 05:57:22 AM
Hi

I installed UP to smf 2.0 and used some custom profile fields but they only show under contact information. How can i move them under gender field?

Now it seems it only displays empty custom profile fields under contact information, if user chenges the values then it displays in their proper location.
Title: Re: Ultimate Profile
Post by: Engel on August 28, 2011, 04:36:44 PM
I'm using SMFshop and I'm trying to show part of the user's inventory on the profile, does anyone know how can I do this?

Thank you
Title: Multiple Choice - Radio Buttons
Post by: mattio41 on August 30, 2011, 07:20:51 PM
I am sorry for asking this, and hopefully there is a simple answer. Is it possible for a person to be able to select multiple choices with the radio buttons. And then have them all saved and displayed on the profile.

There are 135 pages to this topic, I just have not been able to find the answer yet, but still reading. I have included an example of what I am looking for, or something that will act the same way

Sorry, I am a newbie to this, so please forgive my ignorance.

Thank you in advance for your assistance.
Title: Re: Ultimate Profile
Post by: Kindred on August 30, 2011, 07:55:38 PM
By the very definition of radio buttons.. no. Radio buttons only ever allow one choice. Multiple choices can be done with checkboxes or a multiselect field.
Title: Re: Ultimate Profile
Post by: mattio41 on August 30, 2011, 08:04:21 PM
When I try creating a new profile field, these are the choices I get. And when it is actually running, you can only pick 1, not multiple selct. How do I do that. Do I need to add a script somewhere?

if you could assist a little further, it would be greatly appreciated.
Title: Re: Ultimate Profile
Post by: MagitekElite on August 31, 2011, 12:16:11 AM
I have a question...how do you get the HTML feature to work? It doesn't seem to take anything.  :-[
Title: Re: Ultimate Profile
Post by: wynnyelle on August 31, 2011, 01:50:43 AM
Quote from: Groovystar on August 26, 2011, 07:25:58 PM
Quote from: Groovystar on August 24, 2011, 11:26:47 PM
How do you entirely remove the age field from showing up in ultimate profile? Just--have it not be there at all?
Title: Re: Ultimate Profile
Post by: treehugger on August 31, 2011, 11:25:39 AM
Advice please. I uninstalled U.P. when updating SMF to 2.0 and when I reinstalled everything worked fine except that I'd lost my Buddies. Something in the files obviously thinks I still have them because when I go to their profiles it no longer shows the Add to Buddies link.
Title: Re: Ultimate Profile
Post by: hcfwesker on September 01, 2011, 04:52:35 PM

Quote from: Groovystar on August 24, 2011, 11:26:47 PM
How do you entirely remove the age field from showing up in ultimate profile? Just--have it not be there at all?

Find & REMOVE this line from

Themes/default/UltimateProfile.template.php

echo '
<dt><strong>', $txt['age'], ':</strong></dt>
<dd>', $context['member']['age'] . ($context['member']['today_is_birthday'] ? ' &nbsp; <img src="' . $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' : ''), '</dd>';


That will remove the age and birthdays showing on their profile.
Title: Re: Ultimate Profile
Post by: mattio41 on September 04, 2011, 01:26:43 AM
Ughhhhhhh, I surrender !!!!

I have installed Ultimate profile. On a previous theme, it was working. I have changed themes, and cannot get it to work at all. For the life of me, I cannot find the settings. WHAT AM I MISSING that this will not turn on?
Title: Re: Ultimate Profile
Post by: UKShark on September 04, 2011, 03:38:34 PM
After installing this mod the title bars for each section appear to be cropped and not showing fully,

I had the same problem with ezPortal, please see the thread below...

http://www.simplemachines.org/community/index.php?topic=271882.msg3002449#msg3002449

I'm assuming it'd be the same sort of fix, could we get it addressed for an update asap?

Title: Re: Ultimate Profile
Post by: OChaos on September 05, 2011, 09:19:40 AM
Quote from: UKShark on September 04, 2011, 03:38:34 PM
After installing this mod the title bars for each section appear to be cropped and not showing fully,

I had the same problem with ezPortal, please see the thread below...

http://www.simplemachines.org/community/index.php?topic=271882.msg3002449#msg3002449

I'm assuming it'd be the same sort of fix, could we get it addressed for an update asap?



Thank you for the link.  I just installed this and was wondering how to fix it also, this link pointed me in the right direction.  Here's how for those that want to fix it.

Edit the UltimateProfile.template.php file located in Themes/default to reflect the following.
find (I did a search on "catbg" to find each section

<div id="some_id_here">
<h3 class="catbg">
                        <span class="left"></span>
some code here
</h3>


replace it with

<div id="some_id_here">
               <div class="cat_bar">
<h3 class="catbg">
some code here
</h3>
                </div>


here's the entire file if you wanted to copy/paste the whole thing  (if you do, be sure to backup your UltimateProfile.template.php first!)

<?php
// Version: 0.9.1; UltimateProfile
// This file is a part of Ultimate Profile mod
// Author: Jovan Turanjanin
// Thanks Yagiz for adjusting this template to SMF 2.0


global $column_layout;


/*
Here's an easy way to customize the layout of your user's profiles.
Just arange these blocks to the positions you desire: top, left, right or bottom.
You'll need the basic knowledge of PHP syntax.

The blocks you can use are: summary, user_info, other_info, contact, buddies, pictures,
about_me, interests, media, write_comment and show_comments.

Please backup UltimateProfile.template.php before changing this array!
*/
$column_layout = array(
'top' => array(
//'summary',
),
'left' => array(
'summary',
'user_info',
'contact',
'buddies',
),
'right' => array(
'pictures',
'about_me',
'interests',
'media',
'other_info',
),
'bottom' => array(
'write_comment',
'show_comments',
),
);

//  Main template function.
function template_summary2()
{
global $context$settings$options$scripturl$modSettings$txt$column_layout;

// 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 -->

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

// Top block position.
if (count($column_layout['top']) > 0) {
foreach ($column_layout['top'] as $block) {
if (function_exists('up_block_' $block)) {
$value call_user_func('up_block_' $block);
if ($value != false) echo '<br />';
}
}
}

echo '
<div class="div2"></div>
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="50%" id="profile_left" valign="top" style="padding-right: 4px">'
;

//  Left block position.
if (count($column_layout['left']) > 0) {
foreach ($column_layout['left'] as $block) {
if (function_exists('up_block_' $block)) {
$value call_user_func('up_block_' $block);
if ($value != false) echo '<br />';
}
}
}

echo '
</td>'
;

// Now print the right column.
echo '
<td valign="top" width="50%" id="profile_right" style="padding-left: 4px">'
;

// Right block position.
if (count($column_layout['right']) > 0) {
foreach ($column_layout['right'] as $block) {
if (function_exists('up_block_' $block)) {
$value call_user_func('up_block_' $block);
if ($value != false) echo '<br />';
}
}
}

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

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

// Bottom block position.
if (count($column_layout['bottom']) > 0) {
foreach ($column_layout['bottom'] as $block) {
if (function_exists('up_block_' $block)) {
$value call_user_func('up_block_' $block);
if ($value != false) echo '<br />';
}
}
}

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

}




function 
up_block_summary() {
global $settings$txt$context$modSettings;

echo '
<div id="up_summary">
            <div class="cat_bar">
<h3 class="catbg">
<img src="'
$settings['images_url'], '/icons/profile_sm.gif" alt="" />&nbsp;'$txt['summary'], ' - '$context['member']['name'], '
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<table border="0" width="100%">
<tr>
<td align="center">
'
$context['member']['avatar']['image'], '<br />
<em>'
$settings['use_image_buttons'] ? '<img src="' $context['member']['online']['image_href'] . '" alt="' $context['member']['online']['text'] . '" align="middle" />' $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' $context['member']['online']['text'] . '</span>' '''</em>
</td>

<td>
<dl>
<dt><strong>'
$txt['name'], ': </strong></dt>
<dd>'
$context['member']['name'], '</dd>';
if (!empty($modSettings['titlesEnable']) && !empty($context['member']['title']))
echo '
<dt><strong>'
$txt['custom_title'], ': </strong></dt>
<dd>'
$context['member']['title'], '</dd>';

if (!empty($context['member']['blurb']))
echo '
<dt><strong>'
$txt['personal_text'], ': </strong></dt>
<dd>'
$context['member']['blurb'], '</dd>';

if (!isset($context['disabled_fields']['posts']))
echo '
<dt><strong>'
$txt['profile_posts'], ': </strong></dt>
<dd>'
$context['member']['posts'], ' ('$context['member']['posts_per_day'], ' '$txt['posts_per_day'], ')</dd>';
echo '
<dt><strong>'
$txt['position'], ': </strong></dt>
<dd>'
, (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), '</dd>
</dl>
</td>
</tr>
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
}


function 
up_block_user_info() {
global $settings$txt$context;

echo '
<div id="up_user_info">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl>'
;

if (!isset($context['disabled_fields']['gender']) && !empty($context['member']['gender']['name']))
echo '
<dt><strong>'
$txt['gender'], ': </strong></dt>
<dd>'
$context['member']['gender']['image'] ,' '$context['member']['gender']['name'], '</dd>';

echo '
<dt><strong>'
$txt['age'], ':</strong></dt>
<dd>'
$context['member']['age'] . ($context['member']['today_is_birthday'] ? ' &nbsp; <img src="' $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' ''), '</dd>';

if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt><strong>'
$txt['location'], ':</strong></dt>
<dd>'
$context['member']['location'], '</dd>';

echo '
<dt><strong>'
$txt['date_registered'], ': </strong></dt>
<dd>'
$context['member']['registered'], '</dd>
<dt><strong>'
$txt['lastLoggedIn'], ': </strong></dt>
<dd>'
$context['member']['last_login'], '</dd>
</dl>'
;

// Any custom fields for standard placement?
if (!empty($context['custom_fields']))
{
$shown false;
foreach ($context['custom_fields'] as $field)
{
if ($field['placement'] != || empty($field['output_html']))
continue;

if (empty($shown))
{
echo '
<dl>'
;
$shown true;
}

echo '
<dt><strong>'
$field['name'], ':</strong></dt>
<dd>'
$field['output_html'], '</dd>';
}

if (!empty($shown))
echo '
</dl>'
;
}

echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
}


function 
up_block_contact() {
global $settings$txt$context$scripturl;

echo '
<div id="up_contact">
            <div class="cat_bar">
<h3 class="catbg">
'
$txt['profile_contact'] ,'
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">'
;

// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'] && !$context['member']['is_buddy'])
echo '
<img src="'
$settings['images_url'] ,'/icons/online.gif" alt="" valign="middle" /> <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><br />';

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

if ((!empty($context['can_have_buddy']) && !$context['user']['is_owner']) || (!$context['user']['is_owner'] && $context['can_send_pm']))
echo '
<hr width="100%" />'
;

echo '
<dl>'
;

if (!isset($context['disabled_fields']['icq']) && !empty($context['member']['icq']['link']))
echo '
<dt><img src="http://status.icq.com/online.gif?img=5&amp;icq='
$context['member']['icq']['name'], '" alt="'$txt['icq'], '" /></dt>
<dd>'
$context['member']['icq']['link_text'], '</dd>';

if (!isset($context['disabled_fields']['aim']) && !empty($context['member']['aim']['link']))
echo '
<dt><img src="'
$settings['images_url'] ,'/aim.gif" alt="'$txt['aim'], '" /></dt>
<dd>'
$context['member']['aim']['link_text'], '</dd>';

if (!isset($context['disabled_fields']['msn']) && !empty($context['member']['msn']['link']))
echo '
<dt><img src="'
$settings['images_url'] ,'/msntalk.gif" alt="'$txt['msn'], '" /></dt>
<dd>'
$context['member']['msn']['link_text'], '</dd>';

if (!isset($context['disabled_fields']['yim']) && !empty($context['member']['yim']['link']))
echo '
<dt><img src="http://opi.yahoo.com/online?u='
urlencode($context['member']['yim']['link_text']), '&amp;m=g&amp;t=0" alt="'$txt['yim'], '" /></dt>
<dd>'
$context['member']['yim']['link_text'], '</dd>';

echo '
<dt><img src="'
$settings['images_url'] ,'/email_sm.gif" alt="'$txt['email'], '" /></dt>
<dd>'
;

// Only show the email address fully if it's not hidden - and we reveal the email.
if ($context['member']['show_email'] == 'yes')
echo '
<a href="'
$scripturl'?action=emailuser;sa=email;uid='$context['member']['id'], '">'$context['member']['email'], '</a>';

// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif ($context['member']['show_email'] == 'yes_permission_override')
echo '
<em><a href="'
$scripturl'?action=emailuser;sa=email;uid='$context['member']['id'], '">'$context['member']['email'], '</a></em>';
else
echo '
<em>'
$txt['hidden'], '</em>';

// Some more information.
echo '
</dd>'
;

if ($context['member']['website']['url'] != '' && !isset($context['disabled_fields']['website']))
echo '
<dt><img src="'
$settings['images_url'] ,'/www.gif" alt="'$txt['website'], '" /></dt>
<dd><a href="'
$context['member']['website']['url'], '" target="_blank">'$context['member']['website']['title'], '</a></dd>';

echo '
</dl>'
;

// Are there any custom profile fields for the summary?
if (!empty($context['custom_fields']))
{
$shown false;
foreach ($context['custom_fields'] as $field)
{
if ($field['placement'] == || empty($field['output_html']))
{
if (empty($shown))
{
echo '
<dl>'
;
$shown true;
}

echo '
<dt><strong>'
$field['name'], ':</strong></dt>
<dd>'
$field['output_html'], '</dd>';
}
}

if (!empty($shown))
echo '
</dl>'
;
}

echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
}


function 
up_block_other_info() {
global $settings$txt$context$scripturl$modSettings;

echo '
<div id="up_other_info">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">'
;

// Are there any custom profile fields for the summary?
if (!empty($context['custom_fields']))
{
$shown false;
foreach ($context['custom_fields'] as $field)
{
if ($field['placement'] != || empty($field['output_html']))
continue;

if (empty($shown))
{
echo '
<dl>'
;
$shown true;
}

echo '
<dt><strong>'
$field['name'], ':</strong></dt>
<dd>'
$field['output_html'], '</dd>';
}

if (!empty($shown))
echo '
</dl>'
;
}

// Show the users signature.
if ($context['signature_enabled'] && !empty($context['member']['signature']))
echo '
<div class="signature">
<h5>'
$txt['signature'], ':</h5>
'
$context['member']['signature'], '
</div>
<hr size="1" width="100%" class="hrcolor" />'
;

echo '
<dl class="noborder">'
;

// Can they view/issue a warning?
if ($context['can_view_warning'] && $context['member']['warning'])
{
echo '
<dt>'
$txt['profile_warning_level'], ': </dt>
<dd>
<a href="'
$scripturl'?action=profile;u='$context['id_member'], ';area='$context['can_issue_warning'] ? 'issuewarning' 'viewwarning''">'$context['member']['warning'], '%</a>';

// Can we provide information on what this means?
if (!empty($context['warning_status']))
echo '
<span class="smalltext">('
$context['warning_status'], ')</span>';

echo '
</dd>'
;
}

// Is this member requiring activation and/or banned?
if (!empty($context['activate_message']) || !empty($context['member']['bans']))
{

// 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 '
<dt class="clear"><span class="alert">'
$context['activate_message'], '</span>&nbsp;(<a href="' $scripturl '?action=profile;save;area=activateaccount;u=' $context['id_member'] . ';' $context['session_var'] . '=' $context['session_id'] . '"', ($context['activate_type'] == ' onclick="return confirm(\'' $txt['profileConfirm'] . '\');"' ''), '>'$context['activate_link_text'], '</a>)</dt>';

// If the current member is banned, show a message and possibly a link to the ban.
if (!empty($context['member']['bans']))
{
echo '
<dt class="clear"><span class="alert">'
$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>]</dt>
<dt class="clear" id="ban_info" style="display: none;">
<strong>'
$txt['user_banned_by_following'], ':</strong>';

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

echo '
</dt>'
;
}
}

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

// If the person looking is allowed, they can check the members IP address and hostname.
if ($context['can_see_ip']) {
if (!empty($context['member']['ip']))
echo '
<dt><strong>'
$txt['ip'], ': </strong></dt>
<dd><a href="'
$scripturl'?action=profile;area=tracking;sa=ip;searchip='$context['member']['ip'], ';u='$context['member']['id'], '">'$context['member']['ip'], '</a></dd>';

if (empty($modSettings['disableHostnameLookup']) && !empty($context['member']['ip']))
echo '
<dt><strong>'
$txt['hostname'], ': </strong></dt>
<dd>'
$context['member']['hostname'], '</dd>';
}

if (!empty($modSettings['userLanguage']) && !empty($context['member']['language']))
echo '
<dt><strong>'
$txt['language'], ':</strong></dt>
<dd>'
$context['member']['language'], '</dd>';

echo '
<dt><strong>'
$txt['local_time'], ':</strong></dt>
<dd>'
$context['member']['local_time'], '</dd>
</dl>
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
}


function 
up_block_buddies() {
global $settings$txt$context$scripturl$modSettings;

if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
echo '
<div id="up_buddies">
            <div class="cat_bar">
<h3 class="catbg">
<a href="'
$scripturl ,'?action=profile;area=buddies;u='$context['member']['id'], '">'$txt['profile_buddies'] ,'</a>
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<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['real_name'] , '</a><br />
<em>'
$settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' 'useroff') . '.gif' '" alt="' $txt[$data['is_online'] ? 'online' 'offline'] . '" align="middle" />' $txt[$data['is_online'] ? 'online' 'offline'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' $txt[$data['is_online'] ? 'online' 'offline'] . '</span>' '''</em>
</td>'
;
if ($i == 3)
echo '
</tr>'
;

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

echo '
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
} else
return false;

}


function 
up_block_pictures() {
global $txt$context$scripturl$modSettings;

if ($modSettings['profile_enable_pictures'] == && $context['can_view_pics']) {
echo '
<div id="up_pictures">
            <div class="cat_bar">
<h3 class="catbg">
<a href="'
$scripturl ,'?action=profile;area=pictures;u='$context['member']['id'] ,'">'$txt['profile_pictures'] ,'</a>
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<table width="100%">
<tr>'
;

if (!empty($context['pictures'])) {
$i 1;
foreach ($context['pictures'] as $picture) {
$i $i 1;
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 == 4)
echo '
</tr>
<tr>'
;
}
}
else 
echo '
<td>'
$txt['profile_pictures_no'] ,'</td>';

echo '
</tr>
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
} else
return false;
}


function 
up_block_about_me() {
global $txt$context;

echo '
<div id="up_about_me">
            <div class="cat_bar">
<h3 class="catbg">
'
$txt['profile_about_me'] ,'
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">'
;

if (!empty($context['member']['options']['about']))
echo 
'
parse_bbc ($context['member']['options']['about']);
else
echo 
'
$txt['profile_about_no'];
echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
}

function 
up_block_interests() {
global $txt$context;

if (!empty($context['member']['options']['interests'])) {
echo '
<div id="up_interests">
            <div class="cat_bar">
<h3 class="catbg">
'
$txt['profile_interests'] ,'
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
'
parse_bbc($context['member']['options']['interests']) ,'
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;
} else
return false;
}

function 
up_block_media() {
global $txt$context$modSettings;

if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media']))) {
echo '
<div id="up_media">
            <div class="cat_bar">
<h3 class="catbg">
'
$txt['profile_media'] ,'
</h3>
            </div>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
'
un_htmlspecialchars ($context['member']['options']['media']) ,'
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
} else
return false;
}

function 
up_block_write_comment() {
global $txt$context$scripturl;

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

<div id="up_write_comment">
            <div class="cat_bar">
<script type="text/javascript">
function comment() {
document.getElementById("comment").style.display = "block";
}
</script>
            
<h3 class="catbg" style="text-align: center">
<a href="javascript:void(0);" onclick="comment()">'
$txt['profile_comment_add'] ,'</a>
</h3>
            </div>
<div class="windowbg2" id="comment" style="width: 65%; margin: auto; padding: auto; display: none;">
<span class="topslice"><span></span></span>
<div class="content">
<form action="'
$scripturl ,'?action=profile;area=comment;u='$context['member']['id'] ,';add" method="post">
'
$txt['profile_comment'] ,'<br />
<textarea class="editor" cols="50" rows="4" name="comment"></textarea><br />
<br />
<input type="submit" value="'
$txt['save'] ,'" class="input_button" />
<input type="hidden" name="sc" value="'
$context['session_id'], '" />
</form>
</div>
<span class="botslice"><span></span></span>
</div>
</div>'
;

return true;
} else
return false;
}

function 
up_block_show_comments() {
global $txt$context$settings$scripturl;

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

// Only show comments if they have made some!
if (!empty($context['comments'])) {
echo '
<div id="forumposts">
            <div class="cat_bar">
<h3 class="catbg">
'
$txt['profile_comments'] ,'
</h3>
            </div>'
;

foreach ($context['comments'] as $comment) {
echo '
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<div class="poster">
<h4><a href="'
$scripturl ,'?action=profile;u='$comment['author']['id_member'] ,'">'$comment['author']['real_name'] ,'</a></h4>
<ul class="reset smalltext">
<li class="avatar" style="overflow: auto;">'
$comment['author']['avatar'] ,'</li>
<li>'
$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>' '''</li>
</ul>
</div>
<div class="postarea">
<div class="flow_hidden">
<div class="keyinfo">
<h5>'
$comment['time'] ,'</h5>
</div>
</div>
<div class="post">
<div class="inner">'
$comment['body'], '</div>
</div>
<div class="moderatorbar">
<div class="smalltext reportlinks">'
;

if ($context['can_delete'])
echo '
<a onclick="javascript:return confirm(\'' 
$txt['profile_comment_delete_confirm'] . '\')" href="'$comment['delete'], '">'$txt['profile_comment_delete'] ,'</a>';
if ($context['user']['is_owner'])
echo '
&nbsp;&nbsp;&nbsp;<a href="'
$comment['reply'], '">'$txt['profile_comment_reply'] ,'</a>';

echo '
</div>
</div>
</div>
</div>
<span class="botslice"><span></span></span>
</div>
<hr class="post_separator" />'
;
}

echo '
</div>'
;
} else
echo '
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content" style="text-align: center;">'
$txt['profile_comment_no'] ,'</div>
<span class="botslice"><span></span></span>
</div>'
;

// Show more page numbers.
echo '
<div class="pagesection">
<div class="pagelinks align_left">
'
$txt['pages'], ': '$context['page_index'], '
</div>
</div>'
;

return true;
} else
return false;
}

?>

Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on September 05, 2011, 12:19:05 PM
Hi there,

Is there a way to change the default text for the "About Me" section from "I will write this later. :)"?

Also, I'd like to remove the ":)" from the "Contact Me" section aswell if someone could direct me to the piece of code that does this?

Thanks in advance!
Title: Re: Ultimate Profile
Post by: OChaos on September 05, 2011, 01:19:21 PM
Quote from: Sci-Fi_Fan on September 05, 2011, 12:19:05 PM
Hi there,

Is there a way to change the default text for the "About Me" section from "I will write this later. :)"?

Also, I'd like to remove the ":)" from the "Contact Me" section aswell if someone could direct me to the piece of code that does this?

Thanks in advance!

These are in the language files for this mod.  They are in Themes/default/languages they are in the UltimateProfile.your_launage.php file.  I edited the
UltimateProfile.english.php and UltimateProfile.english-utf8.php files to make the same changes you are looking at.
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on September 05, 2011, 01:21:52 PM
Quote from: OChaos on September 05, 2011, 01:19:21 PM
Quote from: Sci-Fi_Fan on September 05, 2011, 12:19:05 PM
Hi there,

Is there a way to change the default text for the "About Me" section from "I will write this later. :)"?

Also, I'd like to remove the ":)" from the "Contact Me" section aswell if someone could direct me to the piece of code that does this?

Thanks in advance!

These are in the language files for this mod.  They are in Themes/default/languages they are in the UltimateProfile.your_launage.php file.  I edited the
UltimateProfile.english.php and UltimateProfile.english-utf8.php files to make the same changes you are looking at.

Thanks a lot for that! I'll edit it now.
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on September 06, 2011, 09:26:41 AM
Having read through the topic, I was hoping someone might be able to instruct me how to add the activity bar to UP?
Title: Re: Ultimate Profile
Post by: Branko. on September 06, 2011, 11:47:20 AM
This option does not exist in this modification...What kind of activities do you think?
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on September 06, 2011, 11:50:38 AM
Quote from: Branko. on September 06, 2011, 11:47:20 AM
This option does not exist in this modification...What kind of activities do you think?

I don't think you understand. I'm talking about the activity bar mod (http://custom.simplemachines.org/mods/index.php?mod=1929). All I need to know is what code I need to edit and where to get it to display in the user profile?
Title: Re: Ultimate Profile
Post by: TheListener on September 06, 2011, 11:53:00 AM
Quote from: Branko. on September 06, 2011, 11:47:20 AM
This option does not exist in this modification...What kind of activities do you think?

darn beaten to it.  :)

Sci Fi Fan Somehow I managed to ad the bar to the Ultimate profile but ended up in the top left corner so it can be done.

I can't remember how I did it tho.  :(

I am also wanting to add the Next Post Level mod to this one.
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on September 06, 2011, 11:57:07 AM
Quote from: Brack1 on September 06, 2011, 11:53:00 AM
Quote from: Branko. on September 06, 2011, 11:47:20 AM
This option does not exist in this modification...What kind of activities do you think?

darn beaten to it.  :)

Sci Fi Fan Somehow I managed to ad the bar to the Ultimate profile but ended up in the top left corner so it can be done.

I can't remember how I did it tho.  :(

I am also wanting to add the Next Post Level mod to this one.

Ah, well thanks for replying anyway, Brack1! :)
Title: Re: Ultimate Profile
Post by: Kindred on September 06, 2011, 12:03:16 PM
unless mods are specifically designed to work together, you will have to learn some coding of your own in order to tie mods from different authors together...
Title: Re: Ultimate Profile
Post by: Sci-Fi_Fan on September 06, 2011, 12:05:31 PM
Quote from: Kindred on September 06, 2011, 12:03:16 PM
unless mods are specifically designed to work together, you will have to learn some coding of your own in order to tie mods from different authors together...

I realize that, and I have some basic skills, but I wanted to post here first to see if anyone has managed to do it or would know exactly which code to edit.
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 10:44:56 AM
Quote from: Kindred on September 06, 2011, 12:03:16 PM
unless mods are specifically designed to work together, you will have to learn some coding of your own in order to tie mods from different authors together...

Must be one of the most unhelpful replies I have ever seen.

Title: Re: Ultimate Profile
Post by: Suki on September 09, 2011, 10:54:44 AM
But it is true Brack,  as a forum admin you have to be able to do and/or understand a minimal level of php and /or php syntax.

The vast majority of mods just concentrate in work with the default theme and nothing else.

to add things to this mod, the mod author gave us some tools to work on, in Ultimate profile.template.php you can add your own block of code/text:


$column_layout = array(
'top' => array(
//'summary',
),
'left' => array(
'summary',
'user_info',
'contact',
'buddies',
),
'right' => array(
'pictures',
'about_me',
'interests',
'media',
'other_info',
),
'bottom' => array(
'write_comment',
'show_comments',
),
);


here you can specify where do you want to show your block, lets say you want to add a block before the "about_me" block, then you will add it before this:

      'about_me',

like this:

   'right' => array(
      'pictures',
      'my_custom_block',
      'about_me',



and then at the end of the file you will add your function, the function must start with up_block_   otherwise it will not work, so our function will be  up_block_my_custom_block


function up_block_my_custom_block(){


echo = 'Hi, I\'m a custom text block just above the about me one.';


}


since it its a function you can have whatever you want on it, html, php, flash, etc as well as have all the SMF variables if you globalize the necessary functions.
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 10:58:43 AM
Thanks MAS

Coding to me is enough to make my head explode.

Even the tutorials i have seen elsewhere look gibberish to me.

I'll give it a go.

Wish me luck  ???
Title: Re: Ultimate Profile
Post by: Suki on September 09, 2011, 11:10:28 AM
This function should do the trick for showing the Activity bar, you only need to call it wherever you want to be placed:


function up_block_Activity_bar(){

global $modSettings, $txt, $context;


echo '
<div id="up_Activity_bar">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl>';
echo '
<dt>', !empty($modSettings['activitybar_label']) ? $modSettings['activitybar_label'] : $txt['activitybar_standardlabel'], ':</dt>
<dd><div class="activity_holder" style="width: ', !empty($modSettings['activitybar_max_width']) ? $modSettings['activitybar_max_width'] : 139, 'px;"><div class="activity_bar" style="width: ', $context['activitybar']['width'], 'px;"><div class="activity_percentage smalltext">', $context['activitybar']['percentage'], '%</div></div></div></dd>';

echo '
</dl>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;

}



for example, if you want that to appear below the user_info  then just add  Activity_bar  below this:

   'left' => array(
      'summary',
      'user_info',



like this:

   'left' => array(
      'summary',
      'user_info',
      'Activity_bar',


Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 11:24:17 AM
It's the second part i was having the problems with.

Title: Re: Ultimate Profile
Post by: Suki on September 09, 2011, 11:25:49 AM
did it work?  it was untested.
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 11:30:31 AM
Sure did.

Is in a block all on its own.
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 12:01:05 PM
Thanks to MAS I managed to add the next post level mod (borrowed some code from the profile template)

Next step is to include it in the same box as the activity bar.
Title: Re: Ultimate Profile
Post by: Suki on September 09, 2011, 12:03:58 PM
just add another <dt></dt>

<dd></dd>  to the activity_bar function.

if you can copy paste the code you're using for that mod I can include it on the function.
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 12:07:06 PM
I sort of er cheated by using the code you gave  :-[
Also I forgot the activity bar mod is now yours.

Anyways here ya go:

function up_block_Next_post_level(){

global $modSettings, $txt, $context;


   if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
      echo '
               <dt>', $txt['location'], ':</dt>
               <dd>', $context['member']['location'], '</dd>';

         // Start of Next Post Level Mod
      if(!empty($context['member']['next_post_level']))
         echo '<dt>'.$txt['nextpostlevel_next'].'</dt>
            <dd>'. $context['member']['next_post_level'] .'</dd>';
    // End of Next Post Level Mod

   echo '
               </dl>
            </div>
            <span class="botslice"><span></span></span>
         </div>
      </div>';
         
   return true;

}
Title: Re: Ultimate Profile
Post by: Suki on September 09, 2011, 12:11:53 PM
If you want the next post code to be inside the same block as the activity bar  then all you need is this:


if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
      echo '
               <dt>', $txt['location'], ':</dt>
               <dd>', $context['member']['location'], '</dd>';

         // Start of Next Post Level Mod
      if(!empty($context['member']['next_post_level']))
         echo '<dt>'.$txt['nextpostlevel_next'].'</dt>
            <dd>'. $context['member']['next_post_level'] .'</dd>';
    // End of Next Post Level Mod


you dont actually need the whole function,  the function is there only if you want to add a separate block,  so the activity_bar funciton will look something like this:


function up_block_Activity_bar(){

global $modSettings, $txt, $context;


echo '
<div id="up_Activity_bar">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl>';
echo '
<dt>', !empty($modSettings['activitybar_label']) ? $modSettings['activitybar_label'] : $txt['activitybar_standardlabel'], ':</dt>
<dd><div class="activity_holder" style="width: ', !empty($modSettings['activitybar_max_width']) ? $modSettings['activitybar_max_width'] : 139, 'px;"><div class="activity_bar" style="width: ', $context['activitybar']['width'], 'px;"><div class="activity_percentage smalltext">', $context['activitybar']['percentage'], '%</div></div></div></dd>';

if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt>', $txt['location'], ':</dt>
<dd>', $context['member']['location'], '</dd>';

// Start of Next Post Level Mod
if(!empty($context['member']['next_post_level']))
echo '
<dt>'.$txt['nextpostlevel_next'].'</dt>
<dd>'. $context['member']['next_post_level'] .'</dd>';
// End of Next Post Level Mod

echo '
</dl>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;

}
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 12:22:01 PM
So I should of added the code before the last echo and dl
Title: Re: Ultimate Profile
Post by: Suki on September 09, 2011, 12:27:17 PM
sure or just replace the entire function with the one I posted.


function up_block_Activity_bar(){

global $modSettings, $txt, $context;


echo '
<div id="up_Activity_bar">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl>';
echo '
<dt>', !empty($modSettings['activitybar_label']) ? $modSettings['activitybar_label'] : $txt['activitybar_standardlabel'], ':</dt>
<dd><div class="activity_holder" style="width: ', !empty($modSettings['activitybar_max_width']) ? $modSettings['activitybar_max_width'] : 139, 'px;"><div class="activity_bar" style="width: ', $context['activitybar']['width'], 'px;"><div class="activity_percentage smalltext">', $context['activitybar']['percentage'], '%</div></div></div></dd>';

if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt>', $txt['location'], ':</dt>
<dd>', $context['member']['location'], '</dd>';

// Start of Next Post Level Mod
if(!empty($context['member']['next_post_level']))
echo '
<dt>'.$txt['nextpostlevel_next'].'</dt>
<dd>'. $context['member']['next_post_level'] .'</dd>';
// End of Next Post Level Mod

echo '
</dl>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;

}
Title: Re: Ultimate Profile
Post by: TheListener on September 09, 2011, 12:28:35 PM
No worries MAS I did that.

:)

Just making sure I was on the right path.
Title: Re: Ultimate Profile
Post by: UKShark on September 10, 2011, 02:51:40 PM
Quote from: OChaos on September 05, 2011, 09:19:40 AM
Quote from: UKShark on September 04, 2011, 03:38:34 PM
After installing this mod the title bars for each section appear to be cropped and not showing fully,

I had the same problem with ezPortal, please see the thread below...

http://www.simplemachines.org/community/index.php?topic=271882.msg3002449#msg3002449

I'm assuming it'd be the same sort of fix, could we get it addressed for an update asap?



Thank you for the link.  I just installed this and was wondering how to fix it also, this link pointed me in the right direction.  Here's how for those that want to fix it.

Edit the UltimateProfile.template.php file located in Themes/default to reflect the following.
find (I did a search on "catbg" to find each section

<div id="some_id_here">
<h3 class="catbg">
                        <span class="left"></span>
some code here
</h3>


replace it with

<div id="some_id_here">
               <div class="cat_bar">
<h3 class="catbg">
some code here
</h3>
                </div>


Thanks for the help. It has worked on all sections except for the 'Add Comments' section.

I thought I might need to change the Profile.template.php file...

From this...

<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3>


To this...

<div class="cat_bar">
<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3></div>


However that hasn't worked unfortunately.

Any ideas?
Title: Re: Ultimate Profile
Post by: Katsulynx on September 12, 2011, 06:52:47 PM
Hey there,
I am using the Ultimate Profile for some time now and was quite pleased, but now, there is something disturbing me. The Media Box is not able to accept my iframe-html links. I tried to fix that and worked myself trough the docouments of ultimate profile and the database, but... I was not even able to find where the content of the media box is saved in the database! I mean, one of my profiles has a content in its media box which is shown correctly on my page but it seems like it is saved nowhere...

What I now want to is changing the media box so it accept Iframe or at least the table-tag, is there any way to?
Thanks in advantage
Title: Re: Ultimate Profile
Post by: Suki on September 12, 2011, 08:06:24 PM
This mod sues http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/   to sanitize any data, including the Media box, without doing a check, I will guess that html lawed is blocking your html code.
Title: Re: Ultimate Profile
Post by: Katsulynx on September 12, 2011, 11:45:36 PM
Sorry, but my english is a little bit deficite, so I did not get the point. What should I do with the htmLawedTest.php?
Title: Re: Ultimate Profile
Post by: Suki on September 13, 2011, 09:37:11 AM
Well, if you know your way in php coding then you can modify that file to accept iframes.
Title: Re: Ultimate Profile
Post by: Katsulynx on September 13, 2011, 02:18:31 PM
Can you tell me where in the database this mod saves the content of the media box?

Edit: Finally I found it myself, did not gues to find it at the third page of the themes table..
Title: Re: Ultimate Profile
Post by: TheListener on September 22, 2011, 02:01:35 PM
Hey MAS

With a lot of thanks for the help you gave me before.

I managed to add the  Referrals Mod (http://custom.simplemachines.org/mods/index.php?mod=1114) to my Ultimate Profile.

However there are a few errors showing.

Would you mind if I ask you to take a peep so I know where I went wrong?

Attachment supplied.
Title: Re: Ultimate Profile
Post by: Suki on September 22, 2011, 02:26:24 PM
OK,   you don't really need this:

         'Next_Post_Level',
         'ref_refferal_link',

as you are using the activity bar function for them, so having 'activity_bar', its enough ;)   there's nothing wrong with adding those, the mod later checks if the function actually exist, but it's better to not declare functions that you aren't gonna use.

Try the attached file.
Title: Re: Ultimate Profile
Post by: hcfwesker on September 22, 2011, 11:56:15 PM
I came across an error, and not sure if it's already been reported or resolved.  Concerning how Custom Fields get displayed on Ultimate Profiles.

http://www.simplemachines.org/community/index.php?topic=451344.msg3152641#msg3152641

this is for 2.0

on profiles, the option for items to show 'above signatures', also gets added to the option to 'show with icons'.  Meaning, both fields for Signatures & Icons were displaying when the "Show with Icons" option was used.

the fix is

UltimateProfile.template.php

Find
if ($field['placement'] == 1 || empty($field['output_html']))

Replace with
if ($field['placement'] != 1 || empty($field['output_html']))


Title: Re: Ultimate Profile
Post by: TheListener on September 23, 2011, 10:28:30 AM
Thanks MAS it worked.

Not 1 error in the log.
Title: Re: Ultimate Profile
Post by: Goss on September 24, 2011, 01:10:26 PM
I recently installed this on my SMF 2.01 board.  It's been working great, though there has been one issue with adding buddies.

If a member had already added a buddy before this was installed, that buddy does not show up in the buddies section of the new profile.  If they try to add them, it says they are already a buddy.  They are also not listed in the edit buddies section, as approved or pending.  The buddy in question also does not have a pending request from them.

Any ideas on how I can fix this?
Title: Re: Ultimate Profile
Post by: david090366 on October 01, 2011, 10:37:55 AM
I also am having this issue.
Title: Re: Ultimate Profile
Post by: david090366 on October 01, 2011, 11:23:31 AM
After doing a bit of searching I found a rather heavy handed fix for this. Apparantly there is some sort of conflict between ultimate profile's buddy list system and the native SMF one. The fix I found was to go to phpmyadmin and reset the buddy lists by running this.

update smf_members set buddy_list = ''

It empties the table for the buddy lists then everything seems to work fine after that. If you have an established forum it may upset your users a little, so I'd warn them first.  ;)

The thread I found this in is here, for future reference.

http://www.simplemachines.org/community/index.php?topic=402630.msg2800113#msg2800113
Title: Re: Ultimate Profile
Post by: Rain Forest on October 04, 2011, 06:44:33 PM
Really nice!
Title: Re: Ultimate Profile
Post by: oldguest on October 16, 2011, 01:27:57 PM
Hello
I have a problem.
I use smf 2.0.1 the ultimate profile mod, the smf gallery pro and the profilelink module to gallery pro.
I have maked a modification in the UltimateProfile.template.php file, because my members want a link on the profiles to the smf gallery.
I think there is a error in the line, i have edited, , because my log files show this error.
8: Undefined variable: scripturl
File:
/home/Themes/default/UltimateProfile.template.php
Line: 194
I have attached the UltimateProfile.template.php
I hope anyone have a solution to this problem.
Thanks in advance.
Best regards
Noeyes
Title: Re: Ultimate Profile
Post by: wynnyelle on October 16, 2011, 10:32:19 PM
Quote from: hcfwesker on September 01, 2011, 04:52:35 PM

Quote from: Groovystar on August 24, 2011, 11:26:47 PM
How do you entirely remove the age field from showing up in ultimate profile? Just--have it not be there at all?

Find & REMOVE this line from

Themes/default/UltimateProfile.template.php

echo '
<dt><strong>', $txt['age'], ':</strong></dt>
<dd>', $context['member']['age'] . ($context['member']['today_is_birthday'] ? ' &nbsp; <img src="' . $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' : ''), '</dd>';


That will remove the age and birthdays showing on their profile.

OMG. It worked!! I feel so dumb, I don't know WHY I didn't look here before now.  Thank you so much!!

Does anyone also know how to change the names of some of the fields? I want to change:

'Profile Pictures' to 'My Art and Character Gallery'
'About Me' to 'My Characters'
'My Interests' to 'My Plots and Clans'

Trying to orient it more towards the game than offsite stuff to help people connect better through the game.
Title: Re: Ultimate Profile
Post by: live627 on October 17, 2011, 12:23:06 AM
./Themes/default/languages/ UltimateProfile.english.php
Title: Re: Ultimate Profile
Post by: wynnyelle on October 18, 2011, 02:36:55 PM
That seems to have done it! STill checking, as I made quite a few changes. But thank you!!!
Title: Re: Ultimate Profile
Post by: quebo on October 26, 2011, 06:45:45 PM
i get the error:
8: Undefined index: ultimate_profile
File : /home/xxx/domains/xxx/public_html/smf/Sources/Admin.php
Rule: 219

and that's what's in it:
                  'ultprofile' => array($txt['ultimate_profile']),

I hope somebody can help me out ...

Thanks!
Title: Re: Ultimate Profile
Post by: Kindred on October 27, 2011, 12:17:57 AM
make sure that the text string is defined in your text files....
Title: Re: Ultimate Profile
Post by: quebo on October 27, 2011, 12:49:56 AM
Thanks, that fixed it  8)
Title: Re: Ultimate Profile
Post by: midnat on November 01, 2011, 06:09:12 PM
Great Mod Thank you.
But how and what code: My Media:
You can paste codes for your favorite videos, music... here. Also, HTML and CSS are supported. How Members want to know?

Customization:
Here you can add some HTML and CSS to customize look & feel of your profile.  How Members want to know?
Title: Re: Ultimate Profile
Post by: ReeLoo on November 01, 2011, 07:06:09 PM
is it possible to have the "ultimate profile" mod show the users latest 5, 10 or 20 posts in their profile view?, or is there a mod that can work together with UP?
Title: Re: Ultimate Profile
Post by: midnat on November 03, 2011, 08:58:32 AM
Hi
I am New to All of This and only just installed Ultimate profile on my Forum.
I get the simple, and straight forward parts. But How do I , or members The Ultimate Profile says that you can add media and videos. How do you go about adding videos, or Music. I do not no code, I tried putting an MP3 on from my Computer, but it just showed what I had wrote. The same thing happened when a Member typed in a url for a Youtube video. Nothing seems to Link, or play. We must be Thick. But could anyone please help me out?

Kind Regards
Paul
Title: Re: Ultimate Profile
Post by: Kindred on November 03, 2011, 09:27:12 AM
well, as far as I know, you will never be able to add an MP3 from your computer....  it has to link - I don't actually use that feature, but I assume it may require the BBC-type embed code - since HTML is (quite correctly) pre-parsed to avoid security risks
Title: Re: Ultimate Profile
Post by: midnat on November 03, 2011, 01:30:23 PM
"well, as far as I know, you will never be able to add an MP3 from your computer....  it has to link - I don't actually use that feature, but I assume it may require the BBC-type embed code - since HTML is (quite correctly) pre-parsed to avoid security risks"

Yes, I can understand that bit. But a little more advice would be very helpful please.
Title: Re: Ultimate Profile
Post by: studiowi33 on November 03, 2011, 02:35:48 PM
Quote from: midnat on November 03, 2011, 08:58:32 AM
Hi
I am New to All of This and only just installed Ultimate profile on my Forum.
I get the simple, and straight forward parts. But How do I , or members The Ultimate Profile says that you can add media and videos. How do you go about adding videos, or Music. I do not no code, I tried putting an MP3 on from my Computer, but it just showed what I had wrote. The same thing happened when a Member typed in a url for a Youtube video. Nothing seems to Link, or play. We must be Thick. But could anyone please help me out?

Kind Regards
Paul

You (as Admin) need to enable UP in your control panel AND set permissions for membergroups as well.

-s.w
Title: Re: Ultimate Profile
Post by: midnat on November 03, 2011, 04:48:18 PM
Hi studiowi33
Thank you for your reply. Up is set in the Ultimate profile settings in Admin Centre. Not sure if thats what you mean? Also Members permissions, not quite sure which ones you mean there. I have the normal Members permissions in place, and who can do what. Maybe you could please help me out a bit more?

Kind Regards
Paul
Title: Re: Ultimate Profile
Post by: R6 on November 03, 2011, 09:44:49 PM
Hi.

Does anyone know how to get the youtube videos to embed in the profile, please?

e.g. in SMF, when one enters the box info for 'My Media' and I save and go back to my profile, no video is shown in the profile, just the youtube url 

I'm using SMF 2.0.1
My 'youtube mod' is Embed BBCode v1.3

Thank you.
Title: Re: Ultimate Profile
Post by: TheListener on November 03, 2011, 10:00:28 PM
The youtube mod embeds into postsonly

This is what I did (first time I tried this myself).

On youtube below the required video click on Share

Show suggested videos when the video finishes TICK
Use HTTPS [?]
Enable privacy-enhanced mode [?]
Use old embed cod TICK

Above the choices copy and paste the shown code and paste into your media box.

Remember to save.
Title: Re: Ultimate Profile
Post by: R6 on November 03, 2011, 10:18:22 PM
Hi Brack1 thanks for the reply and so quickly.

Does this mean that I can only embed a youtube video in my Ultimate Profile from youtube, that actually belongs to me?

e.g to show a youtube video specifically on Ultimate Profile (on SMF) it has to be on my own youtube account to edit the settings you mentioned, rather than say, a record company's artist with a good song I wanted to put on my profile?

Sorry to sound so dumb, but I am not skilled at computers at all.

Thank you.
Title: Re: Ultimate Profile
Post by: TheListener on November 03, 2011, 10:22:08 PM
The answer to that is nope.

Any video works like this.
Title: Re: Ultimate Profile
Post by: R6 on November 03, 2011, 10:25:28 PM
Thank you, I was not clear but see now.

It works correctly, fantastic.

Thank you for your help, and to the makers of Ultimate Profile too.

Title: Re: Ultimate Profile
Post by: studiowi33 on November 04, 2011, 09:57:37 AM
Quote from: midnat on November 03, 2011, 04:48:18 PM
Hi studiowi33
Thank you for your reply. Up is set in the Ultimate profile settings in Admin Centre. Not sure if thats what you mean? Also Members permissions, not quite sure which ones you mean there. I have the normal Members permissions in place, and who can do what. Maybe you could please help me out a bit more?

Kind Regards
Paul
In my Regular Members permissions, I needed to set this permission (see attachment.)

hth

-s.w
Title: Re: Ultimate Profile
Post by: midnat on November 04, 2011, 11:18:32 AM
Thank You
I have it all sorted out. I even got a Video on.

A Big Thank You, To The Ultimate Profile Team.
Title: Re: Ultimate Profile
Post by: wynnyelle on November 06, 2011, 03:12:49 PM
How do I remove certain areas, like the signatures or the name colours list? We got some stuff on there that doesn't need to be there.
Title: Re: Ultimate Profile
Post by: hcfwesker on November 09, 2011, 05:29:21 PM
Quote from: Groovystar on November 06, 2011, 03:12:49 PM
How do I remove certain areas, like the signatures or the name colours list? We got some stuff on there that doesn't need to be there.

Pretty much the same way as told here.  http://www.simplemachines.org/community/index.php?topic=298641.msg3187109#msg3187109

Just search for the items under UltimateProfile.template.php , and remove the block of code they're in.  most times they'll begin with an echo' statement, ending with a ; semicolon.

For sigs find and remove this

// Show the users signature.
if ($context['signature_enabled'] && !empty($context['member']['signature']))
echo '
<div class="signature">
<h5>', $txt['signature'], ':</h5>
', $context['member']['signature'], '
</div>
<hr size="1" width="100%" class="hrcolor" />';



i have no idea what you mean by name colors list?  unless it's a custom profile field showing in profile pages.

Title: Re: Ultimate Profile
Post by: wynnyelle on November 09, 2011, 11:39:43 PM
Thanks for the further help :) we're looking to do a total overhaul of these things actually.

...Yes, that's a custom addition, but I'll look in that file to see if it's displayed there.
Title: Re: Ultimate Profile
Post by: hcfwesker on November 10, 2011, 02:09:49 AM
There's 3 options for where a custom profile field displays in profiles ( labeled: "Choose Placement:") , when creating/editing them in the admin panel.   Standard(with title), With Icons, or Above Signature.  Which option did you select for the color names list.   I can help steer you in the right path.

There will be 3 different codes in the ultimateprofile.template , usually starting with the following phrase

// Are there any custom profile fields .....
Title: Re: Ultimate Profile
Post by: wynnyelle on November 10, 2011, 03:51:31 AM
I didn't . Nibogo wrote the mod. It was supposed to have its controls in Forum Profile, which it does, but the hex values display out on the profile to the individual users and admins, and it just doesn't need to be there as a list of hex values or colour words on the profile display. It just has to display on linked names, which it does.

i got a load of stuff I need to do. Mainly I am concerned that the ultimate profiles allow members to override the board settings that do not allow any open display of emails by anyone except to admins.

I'm not sure if that's the case, but I'd like the whole Contact Me thing only visible to admins to begin with. Because of all the minors on the site.

I want to put the user's avatar up higher on the top left rather than taking the whole left half of the summary thing and forcing all the text to the right. I want to put the gender symbol up at the top too and remove the word "Gender"--it's pretty obvious what it is without saying the word :P Mostly this is consolidation stuff.

Do you still go on like, Skype or Yahoo or AIM?
Title: Re: Ultimate Profile
Post by: choloman05 on November 10, 2011, 11:19:58 AM
For me, Youtube videos do not work in "My Media" using the new iframe embed code (which is now the default and supports HTML5 as well as Flash). To parse, you must select the old object embed code (which only supports Flash).

I'm running 2.0.1 with following mods:

SimplePortal 2.3.3
Register Redirect 1.0
Rename Child Board (by S-Ace) 2.0
Tidy Child Boards 1.3
Ultimate Profile 0.9.1
Title: Re: Ultimate Profile
Post by: Kindred on November 10, 2011, 11:26:54 AM
as well it should not...  allowing iframes is dangerous.
Title: Re: Ultimate Profile
Post by: choloman05 on November 10, 2011, 11:29:50 AM
Isn't allowing Flash just as, if not more, dangerous? 

Not parsing the default YouTube embed code makes using this a little more difficult for average forum members.
Title: Re: Ultimate Profile
Post by: Kindred on November 10, 2011, 11:48:52 AM
do remember.... this mod predates the new youtube code...
Title: Re: Ultimate Profile
Post by: hcfwesker on November 10, 2011, 02:12:41 PM
Quote from: Groovystar on November 10, 2011, 03:51:31 AMDo you still go on like, Skype or Yahoo or AIM?

Yeah, let me hop on skype real quick and see if I can help you.
Title: Re: Ultimate Profile
Post by: choloman05 on November 10, 2011, 05:23:01 PM
Quote from: Kindred on November 10, 2011, 11:48:52 AM
do remember.... this mod predates the new youtube code...

Right, I'm just letting everyone know in case they try to embed a YouTube vid and can't figure out why it's not working as well as alerting the developer.
Title: Re: Ultimate Profile
Post by: wynnyelle on November 11, 2011, 06:04:30 PM
I don't have Skype anymore. I'll download it though.
Title: Re: Ultimate Profile
Post by: anakmacan on November 13, 2011, 08:10:54 PM
Is there a way to limit the size of picture to upload (not just limit the quantity)?
Title: Re: Ultimate Profile
Post by: SuperZambezi on November 14, 2011, 01:59:30 AM
Overlapping comments? What should I do?

Thanks to anyone who can help.

(http://i121.photobucket.com/albums/o221/SuperZambezi/overlappingup.png)
Title: Re: Ultimate Profile
Post by: hcfwesker on November 14, 2011, 06:25:50 PM
Is there any way to make "customization" for utl. profiles a permission based feature, not just where everyone can use it?

EDIT::    ^^ found a way to make my own custom permissions.

Also, what table is the data for customization for ult profiles stored in phpMyAdmin?  for say, if I wanted to delete all customizations members made in the customization box?
Title: Re: Ultimate Profile
Post by: wynnyelle on November 18, 2011, 05:16:43 PM
Whoa HCF I was about to ask how to do that!

Also want to know how one would go about making new custom UP blocks. I want to make a header block and logo block that are both customiseable. I know how to do the CSS but not how to create a whole new block with an area people can use to edit in stuff.
Title: Re: Ultimate Profile
Post by: hcfwesker on November 19, 2011, 10:49:15 PM
Quote from: hcfwesker on November 14, 2011, 06:25:50 PMAlso, what table is the data for customization for ult profiles stored in phpMyAdmin?  for say, if I wanted to delete all customizations members made in the customization box?

Found my answer to this myself, as well, under smf_themes  , 'search variable'  css
Title: Re: Ultimate Profile
Post by: wynnyelle on November 21, 2011, 12:53:15 AM
There a way to insert some kind of code into the My Media or customisation boxes to prevent music from autoplaying? It's a large annoyance visiting profiles that suddenly start playing music.
Title: Re: Ultimate Profile
Post by: PersianDeveloper on November 21, 2011, 07:57:03 AM
awesome mod indeed
have got a question

I have translated the files UltimateProfile.english-utf8.php and UltimateProfile.english.php

its all working fine but when one tries to comment (in persian) on a profile or type an explanation about a photo in the albums some codes and icons like "????  ??????  ????" shows up but not the persian words

I think I must change some files to utf encoding but which files and how, please advice
Title: Re: Ultimate Profile
Post by: wynnyelle on November 22, 2011, 08:14:50 PM
How do you set it to let you let people automatically join your buddy list without needing approval?
Title: Re: Ultimate Profile
Post by: The Wizard on November 27, 2011, 11:06:42 PM
Hello:

How come this mod does not support smf 1.11.15? If anyone can make it work with smf 1.11.15 . Please.

thanks

Title: Re: Ultimate Profile
Post by: hcfwesker on November 27, 2011, 11:55:24 PM
Quote from: The Wizard on November 27, 2011, 11:06:42 PM
Hello:

How come this mod does not support smf 1.11.15? If anyone can make it work with smf 1.11.15 . Please.

thanks

Emulate to smf 1.1.11 and it should install
Title: Re: Ultimate Profile
Post by: techbot on December 28, 2011, 08:45:15 PM
I'm lost. The install didn't show any errors or conflicts. Maybe I didn't set something up correctly. I'm getting this message after setting the permissions and trying to go to my profile

Unknown column 'com.time' in 'field list'
File: /home/danyael/public_html/hometown-directories.com/Sources/Profile-View.php
Line: 246
Title: Re: Ultimate Profile
Post by: hcfwesker on December 28, 2011, 10:10:58 PM
The 'search this topic' function is your friend ;)

http://www.simplemachines.org/community/index.php?topic=298641.msg3141031;topicseen#msg3141031
Title: Re: Ultimate Profile
Post by: Get Pumped Saltwater on December 31, 2011, 04:25:49 PM
I'm having an issue.. It the mod loaded fine.. but the Admin is the only member that can upload pics on the members profiles. The user them self cannot load pictures.

(http://getpumpedsaltwater.com/resources/profile_pictures/2_1325366525.jpg)

(http://getpumpedsaltwater.com/resources/profile_pictures/2_1325366540.jpg)

How can I fix this for all our users?

I used the Package Manager to upload the mod.

Thanks, Lance
Title: Re: Ultimate Profile
Post by: hcfwesker on December 31, 2011, 05:48:37 PM
Quote from: Get Pumped Saltwater on December 31, 2011, 04:25:49 PM
I'm having an issue.. It the mod loaded fine.. but the Admin is the only member that can upload pics on the members profiles. The user them self cannot load pictures.

How can I fix this for all our users?

Admin > Configuration > Ultimate Profiles >  ( here you'll see the option to allow members to upload pictures.
Title: Re: Ultimate Profile
Post by: Get Pumped Saltwater on December 31, 2011, 05:56:19 PM
Quote from: hcfwesker on December 31, 2011, 05:48:37 PM
Quote from: Get Pumped Saltwater on December 31, 2011, 04:25:49 PM
I'm having an issue.. It the mod loaded fine.. but the Admin is the only member that can upload pics on the members profiles. The user them self cannot load pictures.

How can I fix this for all our users?

Admin > Configuration > Ultimate Profiles >  ( here you'll see the option to allow members to upload pictures.
(http://getpumpedsaltwater.com/resources/profile_pictures/2_1325372025.jpg)

Ive done that and still nothing. My mods cannot even upload pics.. :(
Title: Re: Ultimate Profile
Post by: Get Pumped Saltwater on December 31, 2011, 05:59:06 PM
This is what we see... Admin and then everyone else..
Title: Re: Ultimate Profile
Post by: hcfwesker on December 31, 2011, 07:34:25 PM
Check your own Ultimate Profile options in your Profile UserCP.   Profile > Modify Profile > Ultimate Profile   

You probably have this option checked "Show my pictures only to buddies and admins"

about them not being able to upload their own pics, I'm not sure.

You sure you explained to your members how they have to upload pictures.

first they have to click the table header text "Profile Pictures"  then, they will go to the upload pic menu, where they would select "add picture"
Title: Re: Ultimate Profile
Post by: Get Pumped Saltwater on December 31, 2011, 07:54:51 PM
wow.... Sorry for the run around...But, I figured it out.. It had to do with the Permissions of each group.
ie.Guests, Regular Members, Administrator, Global Moderator and Moderator

Members > General Permissions > "User Type" > Personalize their profile > Edit their ultimate profile > Check Box

Thanks for your time tho!!

Lance
Title: Re: Ultimate Profile
Post by: hcfwesker on December 31, 2011, 08:14:18 PM
Yeah, thats kind of an important permission lol.  Figured that was already checked.  Glad you found it.
Title: Re: Ultimate Profile
Post by: kim_c on January 04, 2012, 06:16:10 AM
Although I have ultimate profile enabled for all members, my members cannot see ultimate profile in their profile settings list. I am running SMF 2.0.2 and latest version of UP
Any ideas please?
Title: Re: Ultimate Profile
Post by: Kindred on January 04, 2012, 07:38:29 AM
permissions
Title: Re: Ultimate Profile
Post by: kim_c on January 04, 2012, 08:34:58 AM
Quote from: Kindred on January 04, 2012, 07:38:29 AM
permissions
Thank you  :D
Title: Re: Ultimate Profile
Post by: fullmoonya on January 04, 2012, 10:56:31 PM
may i know how to enable the textarea of comment template of this mod? i cant find the setting on how to make it on by default. please help me.
Title: Re: Ultimate Profile
Post by: wynnyelle on January 06, 2012, 11:38:09 PM
Am getting many of this error:


Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=30885
Apply Filter: Only show the errors with the same message
8: Undefined index: member_name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/UltimateProfile.template.php
Line: 664


Title: Re: Ultimate Profile
Post by: fullmoonya on January 07, 2012, 04:59:24 AM
i hope someone could help us on this.
Title: Re: Ultimate Profile
Post by: PersianDeveloper on January 07, 2012, 12:36:21 PM
I have a question

How to limit the number of comments on each profile ?
my users are commenting like 14 pages etc and Im afraid this could burn the database sources.

by the way
its SMF 1.1.15
Title: Re: Ultimate Profile
Post by: hcfwesker on January 07, 2012, 12:47:17 PM
It would be nice if this MOd did have an auto-drop function.  Like removing all profile comments older than 2 weeks or something each time you ran it.
Title: Re: Ultimate Profile
Post by: 1stAngel on January 07, 2012, 02:50:19 PM
IGNORE :) I fixed it
Title: Re: Ultimate Profile
Post by: Sailens on January 07, 2012, 05:41:10 PM
Hello everyone.

Is there an easy way to show, below each user gender, how many pictures has the user in his profile? (managed by ultimate profile mod)

Help with that will be very much appreciated, thank you.
Title: Re: Ultimate Profile
Post by: PersianDeveloper on January 08, 2012, 04:43:08 AM
Quote from: hcfwesker on January 07, 2012, 12:47:17 PM
It would be nice if this MOd did have an auto-drop function.  Like removing all profile comments older than 2 weeks or something each time you ran it.

agreed
and if its not going to happen im afraid i must remove the Mod, its really resource consuming ...
Title: Re: Ultimate Profile
Post by: fullmoonya on January 08, 2012, 10:41:32 AM
oh boy. i wish they edit this mod like showing all the buttons in the profile page so the user can see all the buttons that are allowed to use and also make the other links clickable as well because some of the links of it are not clickable when i installed this mod and make the add comment enabled and not collapsible too/open by default.
Title: Re: Ultimate Profile
Post by: 1stAngel on January 10, 2012, 04:42:31 PM
My only wish with this is that it came with some example themes for the css area.  I have no idea hwo to use it and it just sits there.  Perhaps two or three actual written out for us so we can copy and paste in and learn from them.  Then if we write some we could give back with some copy and paste for other people.  However thats just a wish and I love the extra area it gives my members.  Thank you to the coder
Title: Re: Ultimate Profile
Post by: wynnyelle on January 11, 2012, 03:50:24 PM
Got a set of 4 errors all at once associated with this mod;



Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx 
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: member_name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/UltimateProfile.template.php
Line: 664


Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx 
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: id_member
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/UltimateProfile.template.php
Line: 664


Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx 
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: is_online
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Profile-View.php
Line: 174


Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: 32076
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Profile-View.php
Line: 172

Title: Re: Ultimate Profile
Post by: fullmoonya on January 11, 2012, 09:28:31 PM
Quote from: seyedashraf on January 08, 2012, 04:43:08 AM
Quote from: hcfwesker on January 07, 2012, 12:47:17 PM
It would be nice if this MOd did have an auto-drop function.  Like removing all profile comments older than 2 weeks or something each time you ran it.

agreed
and if its not going to happen im afraid i must remove the Mod, its really resource consuming ...

i think it will have some code adding to make an auto-drop function with this. but that it could be a good idea. but i wish the user could make custom time when will those comments be dropped.
Title: Re: Ultimate Profile
Post by: bearby on January 12, 2012, 01:06:27 PM
Can anyone help me

The mod seems to work fine however when i go to admin - configuration - ultimate profile - this is what i get:(

Quotefunction ModifyUltProfileSettings($return_config = false) { 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('select', 'profile_buddies_shown', array(3 => $txt['buddy_top3'], 6 => $txt['buddy_top6'], 9 => $txt['buddy_top9'], 12 => $txt['buddy_top12'])), '', array('check', 'profile_allow_customize'), array('check', 'profile_allow_mediabox'), ); if ($return_config) return $config_vars; // Saving? if (isset($_GET['save'])) { checkSession(); saveDBSettings($config_vars); writeLog(); redirectexit('action=admin;area=modsettings;sa=ultprofile'); } $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=ultprofile'; $context['settings_title'] = $txt['ultimate_profile']; prepareDBSettingContext($config_vars); } function ModifyUltProfileSettings($return_config = false) { 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('select', 'profile_buddies_shown', array(3 => $txt['buddy_top3'], 6 => $txt['buddy_top6'], 9 => $txt['buddy_top9'], 12 => $txt['buddy_top12'])), '', array('check', 'profile_allow_customize'), array('check', 'profile_allow_mediabox'), ); if ($return_config) return $config_vars; // Saving? if (isset($_GET['save'])) { checkSession(); saveDBSettings($config_vars); writeLog(); redirectexit('action=admin;area=modsettings;sa=ultprofile'); } $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=ultprofile'; $context['settings_title'] = $txt['ultimate_profile']; prepareDBSettingContext($config_vars); }
Fatal error: Call to undefined function ModifyUltProfileSettings() in /home/bearbyus/public_html/bearby.us/Sources/ManageSettings.php on line 200


Title: Re: Ultimate Profile
Post by: Kindred on January 12, 2012, 01:39:18 PM
did you install via the package manager or manually?
I assume you installed manually... in which case, something in your text editor screwed up the file
Title: Re: Ultimate Profile
Post by: wynnyelle on January 12, 2012, 03:41:34 PM
Quote from: Groovystar on January 11, 2012, 03:50:24 PM
Got a set of 4 errors all at once associated with this mod;



Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx 
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: member_name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/UltimateProfile.template.php
Line: 664


Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx 
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: id_member
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/UltimateProfile.template.php
Line: 664


Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx 
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: is_online
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Profile-View.php
Line: 174


Apply Filter: Only show the error messages of this member ˙·٠•●☮ ẘynnyelle ☮●•٠·˙
Apply Filter: Only show the error messages of this IP address xx
  Reverse chronological order of list Today at 03:26:02 PM
Apply Filter: Only show the error messages of this session af0e4c50c71d05e0558ef8244acc97c3
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=28060
Apply Filter: Only show the errors with the same message
8: Undefined index: 32076
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Profile-View.php
Line: 172



Another set:


Loner
Apply Filter: Only show the error messages of this IP address xxxxx 
  Reverse chronological order of list Today at 01:51:44 AM
Apply Filter: Only show the error messages of this session xxxxx
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=11066;area=buddies
Apply Filter: Only show the errors with the same message
8: Undefined index: real_name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/Profile.template.php
Line: 3235
Apply Filter: Only show the error messages of this member Loner
Apply Filter: Only show the error messages of this IP address xxxxx 
  Reverse chronological order of list Today at 01:51:44 AM
Apply Filter: Only show the error messages of this session xxxxx
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=11066;area=buddies
Apply Filter: Only show the errors with the same message
8: Undefined index: id_member
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/Profile.template.php
Line: 3235
Apply Filter: Only show the error messages of this member Loner
Apply Filter: Only show the error messages of this IP address xxxxx 
  Reverse chronological order of list Today at 01:51:44 AM
Apply Filter: Only show the error messages of this session xxxxx
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=11066;area=buddies
Apply Filter: Only show the errors with the same message
8: Undefined index: real_name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/Profile.template.php
Line: 3235
Apply Filter: Only show the error messages of this member Loner
Apply Filter: Only show the error messages of this IP address xxxxx 
  Reverse chronological order of list Today at 01:51:44 AM
Apply Filter: Only show the error messages of this session xxxxx
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=11066;area=buddies
Apply Filter: Only show the errors with the same message
8: Undefined index: id_member
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/Profile.template.php
Line: 3235


All 4 originated from the same IP, same hit to the site.
Title: Re: Ultimate Profile
Post by: fullmoonya on January 12, 2012, 11:24:58 PM
Quote from: bearby on January 12, 2012, 01:06:27 PM
Can anyone help me

The mod seems to work fine however when i go to admin - configuration - ultimate profile - this is what i get:(

Quotefunction ModifyUltProfileSettings($return_config = false) { 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('select', 'profile_buddies_shown', array(3 => $txt['buddy_top3'], 6 => $txt['buddy_top6'], 9 => $txt['buddy_top9'], 12 => $txt['buddy_top12'])), '', array('check', 'profile_allow_customize'), array('check', 'profile_allow_mediabox'), ); if ($return_config) return $config_vars; // Saving? if (isset($_GET['save'])) { checkSession(); saveDBSettings($config_vars); writeLog(); redirectexit('action=admin;area=modsettings;sa=ultprofile'); } $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=ultprofile'; $context['settings_title'] = $txt['ultimate_profile']; prepareDBSettingContext($config_vars); } function ModifyUltProfileSettings($return_config = false) { 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('select', 'profile_buddies_shown', array(3 => $txt['buddy_top3'], 6 => $txt['buddy_top6'], 9 => $txt['buddy_top9'], 12 => $txt['buddy_top12'])), '', array('check', 'profile_allow_customize'), array('check', 'profile_allow_mediabox'), ); if ($return_config) return $config_vars; // Saving? if (isset($_GET['save'])) { checkSession(); saveDBSettings($config_vars); writeLog(); redirectexit('action=admin;area=modsettings;sa=ultprofile'); } $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=ultprofile'; $context['settings_title'] = $txt['ultimate_profile']; prepareDBSettingContext($config_vars); }
Fatal error: Call to undefined function ModifyUltProfileSettings() in /home/bearbyus/public_html/bearby.us/Sources/ManageSettings.php on line 200

what version you are using?
Title: Re: Ultimate Profile
Post by: Cereus on January 13, 2012, 08:06:14 PM
Someone is working in Awards to UltPro?
Title: Re: Ultimate Profile
Post by: hcfwesker on January 13, 2012, 09:40:45 PM
Might want to ask in the Awards topic.
Title: Re: Ultimate Profile
Post by: punjabilokvirsa on January 17, 2012, 08:02:05 PM
I've discovered a bug in the code of Ultimate Profile 0.9.1 (don't know about previous versions). It was creating empty buddies in the buddy_list field of smf_members table when the person added their first buddy. This in turn meant that UP's code to check if guests should be allowed see the other person's UP or their pictures was always true. In other words, guests could see the locked pictures.

The problem is php's explode function:
explode(',', '')
creates
array(1) {
  [0]=>
  string(0) ""
}


But the developer's code (and normal human beings) expect it to be:
array(0) {
}


So to fix, change line 365 and 404 from:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));

In English, array_filter removes the bogus entry.

But that's not all folks, if you've used this mod for a while, you will also need to run a script to cleanup all the empty entries that have corrupted your users. To do this, run the following code in the root forum directory (comment out the updateMemberData line if you want to see what it does). Remove it when done, please.

<?php
require_once 
'SSI.php';
$space "<br />\n<br />\n";


$request $smcFunc['db_query']('''
SELECT id_member, buddy_list
FROM {db_prefix}members
ORDER BY id_member ASC'
,
array()
);

while ($row $smcFunc['db_fetch_assoc']($request)) {
if ($row['buddy_list']) {
$exp explode(','$row['buddy_list']);
$fil array_filter($exp);
if (count($exp) != count($fil)) {
echo "$space {$row['id_member']}: ";
var_dump($row['buddy_list']);/*
echo "$space exp:";
var_dump($exp);
echo "$space fil: ";
var_dump($fil);*/
echo "$space fixed: ";
$fixed implode(',',$fil);
var_dump($fixed);
echo "$space";
if (function_exists('updateMemberData')) updateMemberData($row['id_member'], array('buddy_list' => $fixed));

}
}
}

$smcFunc['db_free_result']($request);


Title: Re: Ultimate Profile
Post by: fullmoonya on January 17, 2012, 11:06:48 PM
Quote from: punjabilokvirsa on January 17, 2012, 08:02:05 PM
I've discovered a bug in the code of Ultimate Profile 0.9.1 (don't know about previous versions). It was creating empty buddies in the buddy_list field of smf_members table when the person added their first buddy. This in turn meant that UP's code to check if guests should be allowed see the other person's UP or their pictures was always true. In other words, guests could see the locked pictures.

The problem is php's explode function:
explode(',', '')
creates
array(1) {
  [0]=>
  string(0) ""
}


But the developer's code (and normal human beings) expect it to be:
array(0) {
}


So to fix, change line 365 and 404 from:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));

In English, array_filter removes the bogus entry.

But that's not all folks, if you've used this mod for a while, you will also need to run a script to cleanup all the empty entries that have corrupted your users. To do this, run the following code in the root forum directory (comment out the updateMemberData line if you want to see what it does). Remove it when done, please.

<?php
require_once 
'SSI.php';
$space "<br />\n<br />\n";


$request $smcFunc['db_query']('''
SELECT id_member, buddy_list
FROM {db_prefix}members
ORDER BY id_member ASC'
,
array()
);

while ($row $smcFunc['db_fetch_assoc']($request)) {
if ($row['buddy_list']) {
$exp explode(','$row['buddy_list']);
$fil array_filter($exp);
if (count($exp) != count($fil)) {
echo "$space {$row['id_member']}: ";
var_dump($row['buddy_list']);/*
echo "$space exp:";
var_dump($exp);
echo "$space fil: ";
var_dump($fil);*/
echo "$space fixed: ";
$fixed implode(',',$fil);
var_dump($fixed);
echo "$space";
if (function_exists('updateMemberData')) updateMemberData($row['id_member'], array('buddy_list' => $fixed));

}
}
}

$smcFunc['db_free_result']($request);

in what file should we put the code to fix bugs sir?
Title: Re: Ultimate Profile
Post by: Heardy on January 19, 2012, 03:13:30 PM
Hmm..

For some reason when I have added the referral system to the Ultimate Profile Mod, it doesn't seem right.

Referrals: 0
Referral Link Hits: 0
Referred By: 01 January, 1970, 12:00:00 AM


Referred By: seems a bit strange haha!

Code (php) Select

if (!empty($context['member']['referred_by'])){
echo'
<dt><strong>', $txt['referrals_referred_by'], ': </strong></dt>
<dd>', $context['member']['referred_by_link'], ' ', $txt['referrals_on'], ' ', timeformat($context['member']['referred_on']), '</dd>';
}


Is the code I am using.
Title: Re: Ultimate Profile
Post by: Kindred on January 19, 2012, 03:34:32 PM
per that code, it will read:
Referred by: JOE SCHMOE on 15 JANUARY 2012

the reason it is wrong is your case is that the user you are viewing was not referred by anyone...   so, the referred_by_link is apparently blank and the referred date is also, which makes the date Jan 1, 1970
in theory, that should not even show up, because of the if statement...  but something is screwy on your system, apparently/
Title: Re: Ultimate Profile
Post by: Heardy on January 19, 2012, 03:38:15 PM
Quote from: Kindred on January 19, 2012, 03:34:32 PM
per that code, it will read:
Referred by: JOE SCHMOE on 15 JANUARY 2012

the reason it is wrong is your case is that the user you are viewing was not referred by anyone...   so, the referred_by_link is apparently blank and the referred date is also, which makes the date Jan 1, 1970
in theory, that should not even show up, because of the if statement...  but something is screwy on your system, apparently/

That's what I was thinking... I don't know why it's not coming up like that though to be honest. Want me to upload the file here for you to take a look?

Edit: I'm getting a few errors though on the actual forum itself..

Undefined index: referredby
File: /home/mindless/public_html/Themes/Glacier/Footer.template.php (summary2 sub template - eval?)

Undefined index: referrals_on
File: /home/mindless/public_html/Themes/Glacier/Footer.template.php (summary2 sub template - eval?)

Undefined index: referred_by_name
File: /home/mindless/public_html/Themes/Glacier/Footer.template.php (summary2 sub template - eval?)

Edit 2: This is the section I am using with the referral code inside - http://pastebin.com/raw.php?i=0J6CJxD2
Title: Re: Ultimate Profile
Post by: Kindred on January 19, 2012, 04:04:51 PM
ah...  well, that pretty much explains it then...

your variables were not added correctly to the global context array  -- or context was not globalized/called in the section of code in which you are trying to use it.
Title: Re: Ultimate Profile
Post by: Heardy on January 19, 2012, 04:07:42 PM
Sorry, I'm a bit dull...

What variables do I have to add where? :D
Title: Re: Ultimate Profile
Post by: Kindred on January 19, 2012, 04:12:06 PM
where ever you added that code...   find the start of the function and add

global $context;
Title: Re: Ultimate Profile
Post by: Heardy on January 19, 2012, 04:14:19 PM
It's already got:

function up_block_user_info() {
   global $settings, $txt, $context, $scripturl;

At the beginning of it though. o.O?
Title: Re: Ultimate Profile
Post by: Kindred on January 19, 2012, 04:26:39 PM
then the issue would be on the side of the referral mod - it is apparently not declaring or setting those variables at all
Title: Re: Ultimate Profile
Post by: Heardy on January 19, 2012, 04:28:33 PM
This is my Referral PHP with all the variables inside. (I think)

http://pastebin.com/raw.php?i=E8GPd2KJ
Title: Re: Ultimate Profile
Post by: Kindred on January 19, 2012, 04:44:44 PM
nope... certainly does not look that way, form that code...   I'd take up the question in the support thread for the referrals mod.
Title: Re: Ultimate Profile
Post by: Heardy on January 19, 2012, 04:52:42 PM
Okay, thanks for attempting to help anyway Kindred! :)
Title: Re: Ultimate Profile
Post by: wynnyelle on January 19, 2012, 05:51:13 PM
Does any of this apply to the errors I am getting?

I don't know what to do:


Apply Filter: Only show the error messages of this member Nightlynn
Apply Filter: Only show the error messages of this IP address 72.171.x
  Reverse chronological order of list Today at 05:47:07 PM
Apply Filter: Only show the error messages of this session 9f18cbaf91a8837e646c88d43a88f728
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=26939;area=lists;sa=buddies
Apply Filter: Only show the errors with the same message
8: Undefined index: 33678
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Buddies.php
Line: 58
Apply Filter: Only show the error messages of this member Nightlynn
Apply Filter: Only show the error messages of this IP address 72.171.x
  Reverse chronological order of list Today at 05:47:07 PM
Apply Filter: Only show the error messages of this session 9f18cbaf91a8837e646c88d43a88f728
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=26939;area=lists;sa=buddies
Apply Filter: Only show the errors with the same message
512: loadMemberContext(): member id 33678 not previously loaded by loadMemberData()
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Load.php
Line: 1323
Apply Filter: Only show the error messages of this member Nightlynn
Apply Filter: Only show the error messages of this IP address 72.171.x
  Reverse chronological order of list Today at 05:47:07 PM
Apply Filter: Only show the error messages of this session 9f18cbaf91a8837e646c88d43a88f728
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=26939;area=lists
Apply Filter: Only show the errors with the same message
8: Undefined index: 33678
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Buddies.php
Line: 58
Apply Filter: Only show the error messages of this member Nightlynn
Apply Filter: Only show the error messages of this IP address 72.171.x 
  Reverse chronological order of list Today at 05:47:07 PM
Apply Filter: Only show the error messages of this session 9f18cbaf91a8837e646c88d43a88f728
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=profile;u=26939;area=lists
Apply Filter: Only show the errors with the same message
512: loadMemberContext(): member id 33678 not previously loaded by loadMemberData()
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Sources/Load.php
Line: 1323




personal message errors {I dont know if they're related}



Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.xx 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x 
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: id
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 445
Apply Filter: Only show the error messages of this member ecнoвreeze ~ qυeeɴ oғ dυвѕтep
Apply Filter: Only show the error messages of this IP address 76.198.x
  Reverse chronological order of list Yesterday at 06:26:30 PM
Apply Filter: Only show the error messages of this session 94c31e25f77aebcd61a1b1466fc6cb27
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL
http://warriorcatsrpg.com/index.php?action=pm
Apply Filter: Only show the errors with the same message
8: Undefined index: name
Apply Filter: Only show the errors from this file
File: /home/warrior/public_html/Themes/default/PersonalMessage.template.php
Line: 447

Title: Re: Ultimate Profile
Post by: funkythemunky on January 26, 2012, 10:33:21 PM
Sorry I don´t know if it has been asked yet but why as admin can i not add users to my buddy-list?  ???
Title: Re: Ultimate Profile
Post by: funkythemunky on January 27, 2012, 06:12:57 AM
Mmmmh. Viewing Karma statistics won´t work anymore (also no way to view own Karma statistics in profile anymore)
Title: Re: Ultimate Profile
Post by: hcfwesker on January 27, 2012, 06:30:44 AM
Quote from: funkythemunky on January 26, 2012, 10:33:21 PM
Sorry I don´t know if it has been asked yet but why as admin can i not add users to my buddy-list?  ???

Does it not send them a request.  buddies wont be added until they accept your buddy request.
Title: Re: Ultimate Profile
Post by: funkythemunky on January 27, 2012, 06:53:05 AM
No there is no button for adding a user a friend.

Some users can add users as buddies, some users can not, that is strange..
And so some still can view Karma, others don´t...

I checked all the permissions.

Perhaps I try to reinstall...

edit: Nah it´s even something else as well, some users can be added, some can´t. Something seems to be mashed up... o.O

I try reinstall first I think.

edit2: May it be it interferes with existing users that already were added as friend or sth like that?

edit3: You´re right sorry, deleted the other ones.
Title: Re: Ultimate Profile
Post by: fullmoonya on January 27, 2012, 07:27:05 AM
funkythemunky, please do not post many times in a thread. you can modify your post and add something if needed.
Title: Re: Ultimate Profile
Post by: GSM-S on January 28, 2012, 05:01:39 PM
I have sercuity concerns with the mod when I saw that HTML and CSS codes are supported. What codes are supported?
Title: Re: Ultimate Profile
Post by: hcfwesker on January 28, 2012, 05:10:20 PM
html and CSS lol, but just for profile pages.  kinda like customizing a profile on VB forums, or myspace
Title: Re: Ultimate Profile
Post by: Quexinos on February 27, 2012, 01:23:22 AM
Okay so... I installed this and apparently my users who have added buddies prior to this mod don't have those added buddies in their buddy list and they can't remove or add them... any idea how to fix this?
Title: Re: Ultimate Profile
Post by: fullmoonya on February 28, 2012, 11:08:27 PM
Quote from: Quexinos on February 27, 2012, 01:23:22 AM
Okay so... I installed this and apparently my users who have added buddies prior to this mod don't have those added buddies in their buddy list and they can't remove or add them... any idea how to fix this?
try this one posted by punja..

Quote from: punjabilokvirsa on January 17, 2012, 08:02:05 PM
I've discovered a bug in the code of Ultimate Profile 0.9.1 (don't know about previous versions). It was creating empty buddies in the buddy_list field of smf_members table when the person added their first buddy. This in turn meant that UP's code to check if guests should be allowed see the other person's UP or their pictures was always true. In other words, guests could see the locked pictures.

The problem is php's explode function:
explode(',', '')
creates
array(1) {
  [0]=>
  string(0) ""
}


But the developer's code (and normal human beings) expect it to be:
array(0) {
}


So to fix, change line 365 and 404 from:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));

In English, array_filter removes the bogus entry.

But that's not all folks, if you've used this mod for a while, you will also need to run a script to cleanup all the empty entries that have corrupted your users. To do this, run the following code in the root forum directory (comment out the updateMemberData line if you want to see what it does). Remove it when done, please.

<?php
require_once 
'SSI.php';
$space "<br />\n<br />\n";


$request $smcFunc['db_query']('''
SELECT id_member, buddy_list
FROM {db_prefix}members
ORDER BY id_member ASC'
,
array()
);

while ($row $smcFunc['db_fetch_assoc']($request)) {
if ($row['buddy_list']) {
$exp explode(','$row['buddy_list']);
$fil array_filter($exp);
if (count($exp) != count($fil)) {
echo "$space {$row['id_member']}: ";
var_dump($row['buddy_list']);/*
echo "$space exp:";
var_dump($exp);
echo "$space fil: ";
var_dump($fil);*/
echo "$space fixed: ";
$fixed implode(',',$fil);
var_dump($fixed);
echo "$space";
if (function_exists('updateMemberData')) updateMemberData($row['id_member'], array('buddy_list' => $fixed));

}
}
}

$smcFunc['db_free_result']($request);

Title: Re: Ultimate Profile
Post by: Blah blah on March 01, 2012, 10:03:09 PM
What would cause overhang like this on my forum?

http://imageshack.us/f/444/profile2j.png/

any guesses?
Title: Re: Ultimate Profile
Post by: fullmoonya on March 02, 2012, 02:09:26 AM
Quote from: Blah blah on March 01, 2012, 10:03:09 PM
What would cause overhang like this on my forum?

http://imageshack.us/f/444/profile2j.png/

any guesses?
maybe the file is too big and the server was having hard time to load those content.
Title: Re: Ultimate Profile
Post by: hcfwesker on March 02, 2012, 02:20:56 AM
yeah, the super duper sized image in your signature is definitely causing it.
Title: Re: Ultimate Profile
Post by: visualuser on March 02, 2012, 01:42:52 PM
Quote from: punjabilokvirsa on January 17, 2012, 08:02:05 PM
I've discovered a bug in the code of Ultimate Profile 0.9.1 (don't know about previous versions). It was creating empty buddies in the buddy_list field of smf_members table when the person added their first buddy. This in turn meant that UP's code to check if guests should be allowed see the other person's UP or their pictures was always true. In other words, guests could see the locked pictures.

The problem is php's explode function:
explode(',', '')
creates
array(1) {
  [0]=>
  string(0) ""
}


But the developer's code (and normal human beings) expect it to be:
array(0) {
}


So to fix, change line 365 and 404 from:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));




try to find which file i should change the code, but i did not find anything....
i have problems with buddy functions....
old members cannot add new ones...
i assume that i must make all this changes that describe above,
is this correct?
Title: Re: Ultimate Profile
Post by: LVBadman on March 02, 2012, 03:30:46 PM
Hello world.

Very great mod. But I have one problem.

in the user profile is a media box, as I have installed aeva gallery 1.4w and it shows tags like: [smg id = 102 type = av],
how to make a box appear in the media player and not just text. Now shows like this:

(http://img593.imageshack.us/img593/420/97807916.png)

But I want to be like this:

(http://img189.imageshack.us/img189/8126/34342277.png)

Is it real?

SMF - 2.0.2
Aeva - 1.4w
UP -   ultimate_profile-0-9-1_20
Title: Re: Ultimate Profile
Post by: visualuser on March 02, 2012, 07:10:20 PM
Quote from: LVBadman on March 02, 2012, 03:30:46 PM
Hello world.

Very great mod. But I have one problem.

in the user profile is a media box, as I have installed aeva gallery 1.4w and it shows tags like: [smg id = 102 type = av],
how to make a box appear in the media player and not just text. Now shows like this:

(http://img593.imageshack.us/img593/420/97807916.png)

But I want to be like this:

(http://img189.imageshack.us/img189/8126/34342277.png)

Is it real?

SMF - 2.0.2
Aeva - 1.4w
UP -   ultimate_profile-0-9-1_20


you must find the right code of what you like to put,
try this code to see what you get

<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/XmSdTa9kaiQ?fs=1&amp;hl=el_GR" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/XmSdTa9kaiQ?fs=1&amp;hl=el_GR" type="application/x-shockwave-flash" width="480" height="385" /></object>
Title: Re: Ultimate Profile
Post by: LVBadman on March 02, 2012, 07:33:45 PM
In that way working. But I want to add media files from aeva library.
Title: Re: Ultimate Profile
Post by: fullmoonya on March 02, 2012, 07:47:56 PM
Quote from: visualuser on March 02, 2012, 01:42:52 PM
Quote from: punjabilokvirsa on January 17, 2012, 08:02:05 PM
I've discovered a bug in the code of Ultimate Profile 0.9.1 (don't know about previous versions). It was creating empty buddies in the buddy_list field of smf_members table when the person added their first buddy. This in turn meant that UP's code to check if guests should be allowed see the other person's UP or their pictures was always true. In other words, guests could see the locked pictures.

The problem is php's explode function:
explode(',', '')
creates
array(1) {
  [0]=>
  string(0) ""
}


But the developer's code (and normal human beings) expect it to be:
array(0) {
}


So to fix, change line 365 and 404 from:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));




try to find which file i should change the code, but i did not find anything....
i have problems with buddy functions....
old members cannot add new ones...
i assume that i must make all this changes that describe above,
is this correct?

try to find the codes in buddies.php in source directory and look for the codes there.

EDIT:

look only for this codes, it is in line 365 and 404:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);

and change those to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));

Title: Re: Ultimate Profile
Post by: visualuser on March 03, 2012, 02:33:13 AM
[quote author=fullmoonya link=topic=298641.msg3286153#msg3286153
try to find the codes in buddies.php in source directory and look for the codes there.

EDIT:

look only for this codes, it is in line 365 and 404:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);

and change those to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));
[/quote]


many thanks, it was very easy.... :)

but i must run a script as described?
How can i do this?
should i make a php file and run from my browser?
i am a bit confused.....
Title: Re: Ultimate Profile
Post by: Quexinos on March 04, 2012, 04:45:16 AM
Quote from: fullmoonya on February 28, 2012, 11:08:27 PM
Quote from: Quexinos on February 27, 2012, 01:23:22 AM
Okay so... I installed this and apparently my users who have added buddies prior to this mod don't have those added buddies in their buddy list and they can't remove or add them... any idea how to fix this?
try this one posted by punja..

I would if I knew what file to edit

EDIT
oh it was buddies.php okay... I ran the script too, I just uploaded it as test.php ... that should do it right?
Title: ultimate profile
Post by: visualuser on March 04, 2012, 05:40:58 AM
Quote from: Quexinos link=topic=298641.msg3286808#msg3286808I ran the script too, I just uploaded it as test.php ... that should do it right?


i also run the script.... and here is my result:

139: string(3) ",42"

fixed: string(2) "42"



164: string(2) ",4"

fixed: string(1) "4"



180: string(2) ",2"

fixed: string(1) "2"



323: string(17) ",14,160,160,301,4"

fixed: string(16) "14,160,160,301,4"


is that mean that works ok?
i am wondering if i finish with this or not...
Title: Re: Ultimate Profile
Post by: Quexinos on March 04, 2012, 04:11:39 PM
Okay it didn't work, some users still can't add buddies...

any other ideas on how to fix this?
Title: Re: Ultimate Profile
Post by: pixeleyes on March 14, 2012, 08:55:11 AM
RECENT PROFILE VIEW

How to add Recent Profile View block in ultimate profile?
Title: Re: Ultimate Profile
Post by: visualuser on March 14, 2012, 10:50:52 AM
Quote from: Quexinos on March 04, 2012, 04:11:39 PM
Okay it didn't work, some users still can't add buddies...

any other ideas on how to fix this?


i suppose that you run the query mentioned some pages before....

after that go on table smf_member and locate a member that you suspect he is in problem.
Delete his buddy list, should be something like this,
43,2,345,110

clear this list and tell t your member to make a new request to them.
Title: Re: Ultimate Profile
Post by: pixeleyes on March 17, 2012, 10:21:50 AM
This is my second time here!
Still looking for answer!

I want to add  RECENT PROFILE VISITOR/b] on ultimate profile

anyone know how to do this?

2. How to change buddies avatar size on ultimate profile page?
Title: Re: Ultimate Profile
Post by: Kindred on March 17, 2012, 10:41:59 AM
I don't think that the system does the first....   You would have to code it yourself... And even then, you are seriously increasing overhead to do that.   Why?

As for the second, look int the template file.
Title: Re: Ultimate Profile
Post by: medosuxx on March 20, 2012, 07:17:06 AM
Hello, I'm having this problem. On the profiles the "Add Comment" button is moved slightly to the right and there's a blank before it, how do you fix this?
(http://i39.tinypic.com/20tj6gy.jpg)
Title: Re: Ultimate Profile
Post by: pixeleyes on March 25, 2012, 12:42:01 PM
How to change Profile Pictures thumbnail size?
Title: Re: Ultimate Profile
Post by: TheListener on March 27, 2012, 06:15:02 PM
Trying to get my latest forum to show the activity bar and next post level on the Ultimate profile.

Have managed to add the activity bar yet only see the % and no number.

Am yet to get the next post level to show.

Also the headings have turned white.
Title: Re: Ultimate Profile
Post by: backend on April 01, 2012, 08:21:36 PM
I installed this on a new copy of SMF 2.0 and I keep getting this error when trying to go to a profile (for any member)

Fatal error: Cannot redeclare template_customized() (previously declared in /home/content/a/s/h/ashoor/html/smf20/Sources/Load.php(2164) : eval()'d code:2987) in /home/content/a/s/h/xxx/html/smf20/Sources/Load.php(2164) : eval()'d code on line 3261


any idea?

thanks,
Title: Re: Ultimate Profile
Post by: TheListener on April 01, 2012, 08:24:38 PM
Quote from: backend on April 01, 2012, 08:21:36 PM
I installed this on a new copy of SMF 2.0 and I keep getting this error when trying to go to a profile (for any member)

Fatal error: Cannot redeclare template_customized() (previously declared in /home/content/a/s/h/ashoor/html/smf20/Sources/Load.php(2164) : eval()'d code:2987) in /home/content/a/s/h/xxx/html/smf20/Sources/Load.php(2164) : eval()'d code on line 3261


any idea?

thanks,

Is the eval disable box ticked in your admin area?

Looks as though you have the same code twice in that file.
Title: Re: Ultimate Profile
Post by: Kindred on April 01, 2012, 09:02:49 PM
As Old fossil says, you have installed twice. You will have to manually remove the duplicated code from there plus, probably other files as well
Title: Re: Ultimate Profile
Post by: backend on April 01, 2012, 10:12:09 PM
Thanks guys.

Since I am not sure what duplicate code to look for, can I just delete that file load.php and replace it with a new file? I don't have any other mods installed so it shouldn't be a problem, correct?

Title: Re: Ultimate Profile
Post by: Kindred on April 01, 2012, 11:02:26 PM
No...  The duplication will affect more than that one file..  Especially since eval statement indicates that the problem is actually somewhere else.

You can restore ALL forum files to the default by overwriting the with clean copies.
And next time, remember to take a backup before installing any mods. :)
Title: Re: Ultimate Profile
Post by: shazoo! on April 06, 2012, 10:27:00 PM
Quote from: UKShark on September 10, 2011, 02:51:40 PM
Quote from: OChaos on September 05, 2011, 09:19:40 AM
Quote from: UKShark on September 04, 2011, 03:38:34 PM
After installing this mod the title bars for each section appear to be cropped and not showing fully,

I had the same problem with ezPortal, please see the thread below...

http://www.simplemachines.org/community/index.php?topic=271882.msg3002449#msg3002449

I'm assuming it'd be the same sort of fix, could we get it addressed for an update asap?



Thank you for the link.  I just installed this and was wondering how to fix it also, this link pointed me in the right direction.  Here's how for those that want to fix it.

Edit the UltimateProfile.template.php file located in Themes/default to reflect the following.
find (I did a search on "catbg" to find each section

<div id="some_id_here">
<h3 class="catbg">
                        <span class="left"></span>
some code here
</h3>


replace it with

<div id="some_id_here">
               <div class="cat_bar">
<h3 class="catbg">
some code here
</h3>
                </div>


Thanks for the help. It has worked on all sections except for the 'Add Comments' section.

I thought I might need to change the Profile.template.php file...

From this...

<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3>


To this...

<div class="cat_bar">
<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3></div>


However that hasn't worked unfortunately.

Any ideas?

Has anyone figured out how to fix the 'Add Comments' section?
Title: Re: Ultimate Profile
Post by: fullmoonya on April 07, 2012, 04:02:21 AM
Quote from: shazoo! on April 06, 2012, 10:27:00 PM
Quote from: UKShark on September 10, 2011, 02:51:40 PM
Quote from: OChaos on September 05, 2011, 09:19:40 AM
Quote from: UKShark on September 04, 2011, 03:38:34 PM
After installing this mod the title bars for each section appear to be cropped and not showing fully,

I had the same problem with ezPortal, please see the thread below...

http://www.simplemachines.org/community/index.php?topic=271882.msg3002449#msg3002449

I'm assuming it'd be the same sort of fix, could we get it addressed for an update asap?



Thank you for the link.  I just installed this and was wondering how to fix it also, this link pointed me in the right direction.  Here's how for those that want to fix it.

Edit the UltimateProfile.template.php file located in Themes/default to reflect the following.
find (I did a search on "catbg" to find each section

<div id="some_id_here">
<h3 class="catbg">
                        <span class="left"></span>
some code here
</h3>


replace it with

<div id="some_id_here">
               <div class="cat_bar">
<h3 class="catbg">
some code here
</h3>
                </div>


Thanks for the help. It has worked on all sections except for the 'Add Comments' section.

I thought I might need to change the Profile.template.php file...

From this...

<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3>


To this...

<div class="cat_bar">
<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3></div>


However that hasn't worked unfortunately.

Any ideas?

Has anyone figured out how to fix the 'Add Comments' section?

fix the width of add comment..
Title: Re: Ultimate Profile
Post by: shazoo! on April 09, 2012, 08:33:57 PM
I don't follow.

The fix I quoted fixed everything EXCEPT the add comment line.
I was asking if anyone found a fix for it.
Title: Re: Ultimate Profile
Post by: TFroehlichIII on April 14, 2012, 09:27:04 AM
At install it tells you if you have the "Profile Comments" mod to run this code ALTER TABLE smf_profile_comments ADD time INT NOT NULL AFTER date in your SMF database. How do I do that, and do I run that code before or after the install?
Title: Re: Ultimate Profile
Post by: Biology Forums on April 14, 2012, 03:30:10 PM
Could someone help me with this: I want to have a confirmation email/PM whenever someone accepts a buddy request.

Like, {USER} has accepted your friendship request. Here's their profile {LINK}

Thanks, I'm willing to pay.
Title: Re: Ultimate Profile
Post by: XHIBIT911 on April 17, 2012, 01:45:54 AM
When I installed this into a 2.0.2 i got this error message

Unknown column 'com.time' in 'field list'
File: xxxxx/xxxx/Sources/Profile-View.php
Line: 246

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.2, while your database is at version 2.0.1. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Ultimate Profile
Post by: Kindred on April 17, 2012, 07:43:12 AM
the mod did not run the full installation and did not set up the new database fields and tables
Title: Re: Ultimate Profile
Post by: XHIBIT911 on April 20, 2012, 06:46:33 AM
Hmmm, so short of uninstalling and deleting (like I've already done) whats the best way to tackle this issue to get it to work ?
Title: Re: Ultimate Profile
Post by: Kindred on April 20, 2012, 10:00:49 AM
run through the manual install process and confirm that each step was done, including the database updates.
Title: Re: Ultimate Profile
Post by: visualuser on April 22, 2012, 01:51:31 PM
Quote from: midnat on November 03, 2011, 08:58:32 AM
Hi
I am New to All of This and only just installed Ultimate profile on my Forum.
I get the simple, and straight forward parts. But How do I , or members The Ultimate Profile says that you can add media and videos. How do you go about adding videos, or Music. I do not no code, I tried putting an MP3 on from my Computer, but it just showed what I had wrote. The same thing happened when a Member typed in a url for a Youtube video. Nothing seems to Link, or play. We must be Thick. But could anyone please help me out?

Kind Regards
Paul


even it is an old post,
i find the answer so here is my tip....

1. find the embed button and press it
2. check the use old code embed button

now appears the old code of youtube.
Works only with this.
Put the code in the mymedia place.
Save and finish.

Greetings
Title: Re: Ultimate Profile
Post by: Cereus on April 23, 2012, 02:21:32 AM
Quote from: Yağız... on April 13, 2010, 10:16:51 AM
Find this in ./Sources/Profile-View.php:
// Prepare the buddy list.
Add before:
// Get all the users "awards"...
$request = $smcFunc['db_query']('', '
SELECT a.ID_AWARD, a.title, a.ID_MEMBER, a.memberName as backupName, m.real_name, a.ID_AWARDED_MEMBER, a.givenDate, a.fileName
FROM ({db_prefix}awards AS a, {db_prefix}members as m)
WHERE a.ID_MEMBER = m.id_member
AND a.ID_AWARDED_MEMBER = {int:user}
ORDER BY RAND()
LIMIT 6',
array(
'user' => $memID,
)
);
$awards = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
{
$awards[$row['ID_AWARD']] = $row;
}
$smcFunc['db_free_result']($request);

// Setup the context for each award.
$context['awards'] = $awards;


Find in ./Themes/default/UltimateProfile.template.php:
'other_info',
Add after:
'awards',
Find:
?>
Add before:
function up_block_awards() {
global $settings, $txt, $context, $scripturl;

if (!empty($context['awards'])) {
echo '
<div id="up_shop_awards">
<h3 class="catbg">
<span class="left"></span>
My Awards
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<table style="width: 99%; margin-left: auto; margin-right: auto;">
<tr>';

$i = 1;
global $boardurl;
foreach ($context['awards'] as $award) {
$i = $i + 1;
echo '
<td align="center" valign="top" style="clear: both;">
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=awards"><img align="middle" src="', $boardurl, '/awards/', stripslashes($award['fileName']), '" alt="', stripslashes($award['title']), '" title="', stripslashes($award['title']), '"/></a>
</td>';

if ($i == 4)
echo '
</tr>
<tr>';
}
echo '
</tr>
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';
return true;
} else
return false;
}


I didn't try, let me know if you have an error.

I've tried to do it, but it returns this error:

Unknown column 'a.title' in 'field list'
Title: Re: Ultimate Profile
Post by: novill on April 30, 2012, 03:05:56 PM
Thanks, great mod.

Hungarian translation attached.
Title: Re: Ultimate Profile
Post by: wynnyelle on May 27, 2012, 12:38:15 AM
I have modified mine but am still trying to get more buddies than 12 to show up and also, need to allow more than 3 buddies to a row to show up on the profile's front page. It refuses to do more than 3 in a row. How would I do this? Is there a way? Like I want it to show up to like 30.

Thank you :)
Title: Re: Ultimate Profile
Post by: mageguild on July 01, 2012, 09:23:38 AM
I have installed this mod.  Everything seems to be working fine, but I get an error trying to access buddies page.  the error is: 

Unable to load the 'buddies' template.

How can I resolve this? 
Title: Re: Ultimate Profile
Post by: Dzek0 on July 07, 2012, 07:36:04 AM
Hello,
I installed the Ultimate Profile mod. I have a problem with editing the profile. Only admin has the option to edit the member profiles. How can I change that every member has the option to edit your own profile. Sry for my bad english. Thank you.


P.S Please answer quickly, urgently!
Title: Re: Ultimate Profile
Post by: Kindred on July 07, 2012, 08:10:37 AM
admin > members > permissions > general permissions > .....

find the membergroup you want to give permissions to
click modify
find
Edit ultimate profile
   Own profile:
Title: Re: Ultimate Profile
Post by: Biology Forums on July 07, 2012, 11:21:02 AM
Quote from: Liam_michael on April 14, 2012, 03:30:10 PM
Could someone help me with this: I want to have a confirmation email/PM whenever someone accepts a buddy request.

Like, {USER} has accepted your friendship request. Here's their profile {LINK}

Thanks, I'm willing to pay.

Bump, this mod seems to be dead.
Title: Re: Ultimate Profile
Post by: Dzek0 on July 07, 2012, 07:21:04 PM
Quote from: Kindred on July 07, 2012, 08:10:37 AM
admin > members > permissions > general permissions > .....

find the membergroup you want to give permissions to
click modify
find
Edit ultimate profile
   Own profile:

I did your steps and still have the same problem? Why? I added own but still nothing ...
Title: Re: Ultimate Profile
Post by: Kindred on July 07, 2012, 09:40:48 PM
no clue...  that's the place to set it
Title: Re: Ultimate Profile
Post by: katoon123 on July 13, 2012, 05:44:03 PM
i got an error

Fatal error: Cannot redeclare template_customized() (previously declared in /home/content/05/9067305/html/Sources/Load.php(2643) : eval()'d code:3051) in /home/content/05/9067305/html/Sources/Load.php(2643) : eval()'d code on line 3605
Title: Re: Ultimate Profile
Post by: Kindred on July 13, 2012, 08:53:37 PM
you have apparently installed at least twice.

You will have to MANUALLY remove the duplicate code
Title: Re: Ultimate Profile
Post by: mageguild on July 16, 2012, 02:50:32 AM
I am getting an error when you try to access a users buddies (http://thetennisbulletin.com/forums/index.php?action=profile;area=buddies;u=1)

Unable to load the 'buddies' template.

Can anyone suggest a solution?
Title: Re: Ultimate Profile
Post by: Goodman854 on July 20, 2012, 09:53:30 PM
My main_block.png is missing from my Profile page when  I install this mod :O
Using a Custom theme btw.

(http://i.imgur.com/9N9Ql.png)
Title: Re: Ultimate Profile
Post by: Biology Forums on July 21, 2012, 03:43:38 PM
In profile comments, is there a way we can "reply with quotes" instead of just reply?
Title: Re: Ultimate Profile
Post by: Goodman854 on July 26, 2012, 11:32:38 AM
Quote from: goodman854 on July 20, 2012, 09:53:30 PM
My main_block.png is missing from my Profile page when  I install this mod :O
Using a Custom theme btw.

(http://i.imgur.com/9N9Ql.png)
Anyone able to help with my issue :(
Title: Re: Ultimate Profile
Post by: Kindred on July 26, 2012, 12:10:26 PM
did you look into the template file to confirm that the CSS is called properly?
Title: Re: Ultimate Profile
Post by: wynnyelle on July 27, 2012, 04:33:15 AM
I'd like the picture album thumbnail pages to display 12 pictures per page, not 10.  The rows are in 3's; this does not work with a page display of 10 images. It doesn't just look bad, it leads people who glance at it into thinking there's only one page to the gallery.

While I'm at it I'd like the thumbnail pages to display 4 per row rather than 3, and I want to also change the numbers of avatars for buddies and buddy lists to display many more per row.

I've looked at both ultimateprofile and profilepicture PHP files and cannot find where the album's code sets the thumbnail display number to 10.
Title: Re: Ultimate Profile
Post by: Goodman854 on July 28, 2012, 03:27:24 PM
Quote from: Kindred on July 26, 2012, 12:10:26 PM
did you look into the template file to confirm that the CSS is called properly?
Your going to have to elaborate on that one.
Title: Re: Ultimate Profile
Post by: Kindred on July 28, 2012, 05:05:30 PM
firefox + firebug is your friend.

Look at the generated page... is it trying to call the main_block.png? or is it not even calling it?
If it is trying to, the confirm that the main_block.png is in the expected location... if not, confirm in the template file if the css (as indicated in firebug) is being called in the first place.
Title: Re: Ultimate Profile
Post by: wynnyelle on July 28, 2012, 06:03:39 PM
I've inspected the entire thing with Firebug. I inspected the only two files closely that I imagine could be controlling the number of displayed thumbnails per album page. I could not find it. I need to change it from 10 to 12.
Title: Re: Ultimate Profile
Post by: Goodman854 on July 28, 2012, 08:21:28 PM
Quote from: Kindred on July 28, 2012, 05:05:30 PM
firefox + firebug is your friend.

Look at the generated page... is it trying to call the main_block.png? or is it not even calling it?
If it is trying to, the confirm that the main_block.png is in the expected location... if not, confirm in the template file if the css (as indicated in firebug) is being called in the first place.

ReferenceError: sp_image_resize is not defined
[Break On This Error]    

window.addEventListener("load", sp_image_resize, false);
http://i.imgur.com/o2YOv.png

I've never used firebug before btw.
Title: Re: Ultimate Profile
Post by: wynnyelle on July 28, 2012, 08:27:49 PM
Quote from: Groovystar on July 27, 2012, 04:33:15 AM
I'd like the picture album thumbnail pages to display 12 pictures per page, not 10.  The rows are in 3's; this does not work with a page display of 10 images. It doesn't just look bad, it leads people who glance at it into thinking there's only one page to the gallery.

While I'm at it I'd like the thumbnail pages to display 4 per row rather than 3, and I want to also change the numbers of avatars for buddies and buddy lists to display many more per row.

I've looked at both ultimateprofile and profilepicture PHP files and cannot find where the album's code sets the thumbnail display number to 10.
Title: Re: Ultimate Profile
Post by: wynnyelle on August 02, 2012, 11:02:34 PM
Bump
Title: Re: Ultimate Profile
Post by: wynnyelle on August 04, 2012, 03:25:25 PM
bump
Title: Re: Ultimate Profile
Post by: shazoo! on August 10, 2012, 07:19:58 AM
When going into the Admin Member list, I'm getting this error in my error log:

2: mysql_fetch_assoc(): 44 is not a valid MySQL result resource

This is the line it's pointing to:

while ($row = $smcFunc['db_fetch_assoc']($request)) {

File: Subs-Members.php

I see that someone received a similar error but with 43 is not a valid MySQL result. I have this mod installed... so I'm seeing if UP is causing it?
Title: Re: Ultimate Profile
Post by: Kevin1 on August 13, 2012, 01:58:45 AM
Not working in smf 2.0.2
I'm getting an error in profie
please help
Title: Re: Ultimate Profile
Post by: PersianDeveloper on August 13, 2012, 06:38:06 AM
its working for me
whats the error?
Title: Re: Ultimate Profile
Post by: Kindred on August 13, 2012, 08:43:30 AM
Kevin,

the mod works just fine on 2.0.2.
And, if you want actual help, you have to provide actual information (details).
WHAT error are you getting? Your URL?
Title: Re: Ultimate Profile
Post by: Kevin1 on August 13, 2012, 10:58:43 AM
When i'm opening the link
http://teknotech.in/forum/index.php?action=profile
Quote
Database Error
Unknown column 'comment_member_id' in 'where clause'
File: /home/teknotec/public_html/forum/Sources/Profile-View.php
Line: 218

INSTALLED MODS

1.   SimplePortal    2.3.5     
2.   PM to New Members    1.2     
3.   BxK's WAP Mod    1.5     
4.   Activity in Profile    1.1     
5.   ENotify    2.0.2 
6.   PM Quote    1.0     
7.   Hide Topics from Guests    3.0     
8.   Adk Avatar User State    1.0     
9.   Global Headers Footers    2.0     
10.   BBC Spoiler    1.0     
11.   Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.2     
12.   Ultimate Profile    0.9.1     
13.   Tinypic Plugin
Title: Re: Ultimate Profile
Post by: Kindred on August 13, 2012, 12:45:14 PM
Did you do a manual installation?  It looks like the database portion was not run/installed
Title: Re: Ultimate Profile
Post by: Kevin1 on August 13, 2012, 04:24:21 PM
^No, not manually
Title: Re: Ultimate Profile
Post by: Kindred on August 13, 2012, 04:26:50 PM
Well, from the error, it certainly looks as if the database portion was not completed. You'll have to manually run that script...
Title: Re: Ultimate Profile
Post by: Kevin1 on August 13, 2012, 04:43:29 PM
How to do that?
Title: Re: Ultimate Profile
Post by: Kevin1 on August 13, 2012, 05:26:35 PM
I have to edit something in database or in profile-view.php
please guide me.
Title: Re: Ultimate Profile
Post by: Kindred on August 13, 2012, 09:59:23 PM
you don't have to edit anything in profile-edit.php... you need to install the database component.

see the last step of the manual install instructions
Title: Re: Ultimate Profile
Post by: Kevin1 on August 14, 2012, 04:47:44 AM
I didnt understand the last step.. please help me
Title: Re: Ultimate Profile
Post by: Kindred on August 14, 2012, 08:57:56 AM
???

Extract and run the php file which performs the database updates from the mod package....
Title: Re: Ultimate Profile
Post by: Kevin1 on August 14, 2012, 11:56:10 AM
Bro i have extracted the file database.php and helper.php in the main directory.. now how to run it ??

Like this??
http://teknotech.in/forum/database.php
Title: Re: Ultimate Profile
Post by: Kindred on August 14, 2012, 09:29:16 PM
Yes
Title: Re: Ultimate Profile
Post by: Kevin1 on August 15, 2012, 05:16:35 AM
^ I did, but nothings happen..
Title: Re: Ultimate Profile
Post by: Kevin1 on August 15, 2012, 06:35:36 AM
Finally I did it.. I have edited some database files to make it working.. Lol i cant believe that i have done it by myself..
Title: Re: Ultimate Profile
Post by: katoon123 on August 16, 2012, 10:45:37 AM
Im getting this error when trying to edit profile

Fatal error: Call to undefined function htmLawed() in /home/content/05/9067305/html/Sources/Profile-Modify.php on line 1806
Title: Re: Ultimate Profile
Post by: Kindred on August 16, 2012, 02:08:04 PM
it would seem that the mod was not fully installed

Please manually verify that all files were successfully uploaded and all code changes were performed.
Title: Re: Ultimate Profile
Post by: katoon123 on August 17, 2012, 03:46:07 AM
Quote from: Kindred on August 16, 2012, 02:08:04 PM
it would seem that the mod was not fully installed

Please manually verify that all files were successfully uploaded and all code changes were performed.

On first install it was all Test Successful but i had an error when going into the profile so i have fixed it and can now go into profile but cannot edit anything in the profile.

1. Execute Modification ./Sources/Profile.php Test failed
1. Replace ./Sources/Profile.php Test successful
2. Replace ./Sources/Profile.php Test failed
3. Replace ./Sources/Profile.php Test successful
4. Replace ./Sources/Profile.php Test failed
5. Add Before ./Sources/Profile.php Test successful
2. Execute Modification ./Sources/Profile-Actions.php Test successful
3. Execute Modification ./Sources/Profile-Modify.php Test failed
1. Replace ./Sources/Profile-Modify.php Test failed
2. Replace ./Sources/Profile-Modify.php Test failed
3. Replace ./Sources/Profile-Modify.php Test failed
4. Execute Modification ./Sources/Profile-View.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Sources/ManageSettings.php Test successful
7. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
8. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
9. Execute Modification ./Themes/default/languages/Modifications.serbian_cyrillic-utf8.php Skipping file
10. Execute Modification ./index.php Test successful
11. Execute Modification ./Sources/Admin.php Test successful
12. Execute Modification ./Sources/ManagePermissions.php Test successful
13. Execute Modification ./Sources/Subs-Members.php Test successful
14. Delete File ./Sources/Buddies.php
15. Delete File ./Sources/HtmLawed.php
16. Delete File ./Sources/Profile-Pictures.php
17. Delete File ./Themes/default/Buddies.template.php
18. Delete File ./Themes/default/ProfilePictures.template.php
19. Delete File ./Themes/default/UltimateProfile.template.php
20. Delete File ./Themes/default/languages/UltimateProfile.english.php
21. Delete File ./Themes/default/languages/UltimateProfile.english-utf8.php
22. Delete File ./Themes/default/languages/UltimateProfile.serbian_cyrillic-utf8.php


I could uninstall and reinstall and fix those errors
Title: Re: Ultimate Profile
Post by: Kindred on August 17, 2012, 07:58:23 AM
***DO NOT*** try install the mod "again" - that will make a duplicate install, not a fixed install.

Quote from: Kindred on August 16, 2012, 02:08:04 PM
Please manually verify that all files were successfully uploaded and all code changes were performed.
Title: Re: Ultimate Profile
Post by: katoon123 on August 17, 2012, 11:43:16 AM
Quote from: Kindred on August 17, 2012, 07:58:23 AM
***DO NOT*** try install the mod "again" - that will make a duplicate install, not a fixed install.

Quote from: Kindred on August 16, 2012, 02:08:04 PM
Please manually verify that all files were successfully uploaded and all code changes were performed.

That's were i have gone wrong. Before i came here for help i unstalled and reinstalled.
Title: Re: Ultimate Profile
Post by: Kindred on August 17, 2012, 01:03:04 PM
So, now you need to manually check and correct the code and/or missing files
Title: Re: Ultimate Profile
Post by: ThornRage on August 20, 2012, 04:53:18 PM
Hello I have installed Ulitmate Profile and I am using the Profile Pictures area for our custom game ribbons. The problem is there is a limit on the number of pictures in the Profile Pictures box.

Is there a way I can make it go up to 50 since we have nearly 50 ribbons? Also can I enlarge it in the profile section to show all pictures instead of just 6?
Title: Re: Ultimate Profile
Post by: Kindred on August 20, 2012, 04:53:55 PM
you would have to modify the code...
Title: Re: Ultimate Profile
Post by: ThornRage on August 20, 2012, 04:55:08 PM
Thank you, were would I do that?
Title: Re: Ultimate Profile
Post by: ThornRage on August 20, 2012, 05:06:57 PM
I found this

if ($modSettings['profile_pictures_number'] > 0) { // 0 means unlimited :D.

I have not edited it because it says 0 means unlimted.
Title: Re: Ultimate Profile
Post by: ThornRage on August 20, 2012, 06:11:07 PM
I found this by searching the entire thread, but the problem is I cannot find this code.

Am I missing something?

Quote from: gbsothere on September 18, 2009, 07:57:13 AM
Quote from: 4b11l on September 18, 2009, 12:35:22 AM
Hello,

Quick question. Did a search and looked through the faq, but couldn't ifnd it.

How can I make the profile show more pictures? Currently, it only shows 6 pictures, I can't seem to make it so that more pictures are available. More specifically, I want to show 9 pictures instead. (this is not referring to how many pictures I can add in settings. I know I can change to 9, but these 9 pictures seem to rotate in showing only 6 at a time)

Also, how can I space out the pictures? I have them centered, but they are all in the middle since it only shows 3 across each row.



You can increase number of displayed pictures. Open Sources/Profile.php.
Code (Find) Select

$request = db_query('SELECT ID_PICTURE, time, title, filename
FROM ' . $db_prefix . 'profile_pictures
WHERE ID_MEMBER = ' . $memID . '
ORDER BY RAND()
LIMIT 6', __FILE__, __LINE__);


and replace  6   with  10.

Then, open Themes/default/UltimateProfile.template.php.
Code (Find) Select

if ($i == 3)

Code (Replace with) Select

if ($i == 5)


Code (Find) Select

if ($i == 4) $i = 1;

Code (Replace with) Select

if ($i == 6) $i = 1;






[/quote]
Title: Re: Ultimate Profile
Post by: Realinfo on August 31, 2012, 09:10:31 PM

Database Error
Unknown column 'com.time' in 'field list'
File: /home/realinfo/public_html/Sources/Profile-View.php
Line: 246


Installed without error in 2.0.2 Default theme
Title: Re: Ultimate Profile
Post by: Banthe on September 13, 2012, 07:46:41 PM
I know this topic has been covered already.. But I have tried everything suggested in past posts  :-\

I have just done a fresh install of U.P. Past buddy lists have vanished with no option to add new ones?
I have tried the manual install, ran scripts (from past suggestions) made some edits as suggested, but still nothing.

Any help would be greatly appreciated :)
Title: Re: Ultimate Profile
Post by: sturmkatze on October 15, 2012, 07:38:50 PM
Okay, so I had old UP installed. Now I have updated the forum to 2.02 or whatever w/ tinyportal. I have a diff theme. I had turned off notification as it was too much, but remembered lots of probs. IF I wish to install w/ a diff theme than default, can I just manually edit the theme or is there a lot more messing with to make it work again? It was great before and i really want this for the website I am working on.
Thanks.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 15, 2012, 07:45:23 PM
Crap... got this. Seemed to install okay even said was good w/ theme, but...

Fatal error: Cannot redeclare template_customized() (previously declared in /hermes/bosweb/web033/b335/ipw.reenactornet/public_html/zzprogressvillage/Sources/Load.php(2158) : eval()'d code:2991) in /hermes/bosweb/web033/b335/ipw.reenactornet/public_html/zzprogressvillage/Sources/Load.php(2158) : eval()'d code on line 3445
Title: Re: Ultimate Profile
Post by: Kindred on October 15, 2012, 07:46:34 PM
1- you installed twice.
2- the eval statement means that the error is not showing the actual error location. turn off eval in your server settings.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 15, 2012, 07:50:23 PM
Quote from: Kindred on October 15, 2012, 07:46:34 PM
1- you installed twice.
2- the eval statement means that the error is not showing the actual error location. turn off eval in your server settings.

Okay. I am an idiot an code. I might have done it other day, but if so, uninstalled all. How do I fix that.

How do I turn off the eval? I guess in the smf server settings? I will go look, duh. See how my brain works... kinda like being a pentium in a core I-5 world.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 15, 2012, 07:53:06 PM
Disabled eval and got this:

Fatal error: Cannot redeclare template_customized() (previously declared in /hermes/bosweb/web033/b335/ipw.reenactornet/public_html/zzprogressvillage/Themes/revampsmf/Profile.template.php:2991) in /hermes/bosweb/web033/b335/ipw.reenactornet/public_html/zzprogressvillage/Themes/revampsmf/Profile.template.php on line 3445
Title: Re: Ultimate Profile
Post by: Kindred on October 15, 2012, 08:55:01 PM
Yup, you double installed. You will have to Manually remove the duplicate code.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 15, 2012, 11:42:16 PM
Quote from: Kindred on October 15, 2012, 08:55:01 PM
Yup, you double installed. You will have to McNally remove the duplicate code.
huh? What's that mean? And HOW?? Where do i start?
Title: Re: Ultimate Profile
Post by: Diego Andrés on October 16, 2012, 12:11:44 AM
How to add a default avatar on comments for users that don't have one?
Title: Re: Ultimate Profile
Post by: Kindred on October 16, 2012, 12:33:05 AM
Damned autocorrect.   Manually...

Diego.  Default avatar is a different mod
Title: Re: Ultimate Profile
Post by: Diego Andrés on October 16, 2012, 12:37:06 AM
Quote from: Kindred on October 16, 2012, 12:33:05 AM
Damned autocorrect.   Manually...

Diego.  Default avatar is a different mod

I don't want to install "Default avatar"
I want to add a Default avatar on the comments of UP for those users that doesn't have an avatar.
Title: Re: Ultimate Profile
Post by: Suki on October 16, 2012, 07:18:00 AM
Quote from: Diego Andrés on October 16, 2012, 12:37:06 AM
Quote from: Kindred on October 16, 2012, 12:33:05 AM
Damned autocorrect.   Manually...

Diego.  Default avatar is a different mod

I don't want to install "Default avatar"
I want to add a Default avatar on the comments of UP for those users that doesn't have an avatar.


Take a look at the template file, check where the avatar is displayed and add a single if  on the avatar var:

if (!empty($avatar_var))
$avatar_var

else
$default_avatar;
Title: Re: Ultimate Profile
Post by: Diego Andrés on October 16, 2012, 04:09:01 PM
Quote from: La Catrina on October 16, 2012, 07:18:00 AM
Take a look at the template file, check where the avatar is displayed and add a single if  on the avatar var:

if (!empty($avatar_var))
$avatar_var

else
$default_avatar;

It was too easy at the end, I wasn't test everything.

Thanks
Title: Re: Ultimate Profile
Post by: sturmkatze on October 16, 2012, 09:41:06 PM
Quote from: Kindred on October 16, 2012, 12:33:05 AM
Damned autocorrect.   Manually...
Okay, however, where do I start? I've manually installed stuff before, but don't much know about how/what to remove. Also, is it in the WHOLE site or just the theme?
Title: Re: Ultimate Profile
Post by: hcfwesker on October 16, 2012, 11:53:34 PM
Quote from: sturmkatze on October 16, 2012, 09:41:06 PMOkay, however, where do I start? I've manually installed stuff before, but don't much know about how/what to remove. Also, is it in the WHOLE site or just the theme?

http://custom.simplemachines.org/mods/index.php?mod=1675  chose 2.0.2 and click 'Parse'

Go through each file this MOD edits.  I'd start with the themes/default themes/(custom themes)  files first.  Like this one, Profile.template.php , since thats where the error first originated from.

Search the edit of codes the MOD adds in these files, then click 'Next' to see if it brings  up another set of the added code, and remove them as you go through each file.

EXAMPLE of duplicate codes. ( where you'll find 2 exact sets of the same code)

Themes/default/languages/Modifications.english.php

$txt['ultimate_profile'] = 'Ultimate Profile';
$txt['permissionname_edit_ultimate_profile'] = 'Edit ultimate profile';
$txt['permissionname_simple_edit_ultimate_profile_own'] = 'Edit their ultimate profile';
$txt['permissionname_simple_edit_ultimate_profile_any'] = 'Edit other people\'s 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.';

$txt['ultimate_profile'] = 'Ultimate Profile';
$txt['permissionname_edit_ultimate_profile'] = 'Edit ultimate profile';
$txt['permissionname_simple_edit_ultimate_profile_own'] = 'Edit their ultimate profile';
$txt['permissionname_simple_edit_ultimate_profile_any'] = 'Edit other people\'s 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.';

?>



In most cases ( not all) duplicate codes mainly come from the bottom of files, where it says Find ?>  and ADD Before.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 17, 2012, 12:29:55 AM
Got it. I couldn't find a double, but in the theme, I saw a file Profile.template.php~ and so, backed it up, then renamed the new one, then remmed the ~ and lo, it worked! Thank you guys for your help. :-)
Title: Re: Ultimate Profile
Post by: hcfwesker on October 17, 2012, 12:50:49 AM
Be sure to name the other one that you're not using to Profile.template.php~ , those files with the ~ at the end ARE backups, but only are backups of files before the LAST edit was made to it.
Title: Re: Ultimate Profile
Post by: Kindred on October 17, 2012, 07:30:09 AM
also, be aware that - although you may have removed the error from displaying, there are almost certainly other bits of code which were duplicated and may cause other issues later.  You really do need to manually go through and remove the duplicated code
Title: Re: Ultimate Profile
Post by: Mai11 on October 21, 2012, 06:18:08 AM
Hello,

I have a problem, and not sure if its already been addressed. I would like my members to be able to use the buddy system, however I don't want them to be able to edit their own usernames. Unfortunately if you take away the permissions to change your own username, it disables the ability to add buddies.

If anyone can help me out, that would be great :)
Title: Re: Ultimate Profile
Post by: sturmkatze on October 23, 2012, 10:05:09 PM
Is there a way to enable the ultimate profile for ALL members? I can't seem to find it.
Title: Re: Ultimate Profile
Post by: Kindred on October 23, 2012, 10:13:06 PM
Admin , members, permissions
Title: Re: Ultimate Profile
Post by: hcfwesker on October 23, 2012, 10:26:26 PM
And, if you're wanting it to show by default for all Members Profiles.

Admin > Configuration > Modification Settings > Ultimate Profiles

Enable ultimate profile for all members
Title: Re: Ultimate Profile
Post by: Ba2rne7tte on October 23, 2012, 10:47:07 PM
they can turn on ultimate profiles for all forum users.
Title: Re: Ultimate Profile
Post by: hcfwesker on October 23, 2012, 10:51:45 PM
Quote from: Ba2rne7tte on October 23, 2012, 10:47:07 PM
they can turn on ultimate profiles for all forum users.

It doesn't give them permission to modify ...  but has it where it is displayed for all members.  Changes Default profiles to Ult profiles for all members.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 23, 2012, 11:31:56 PM
Thanks!! That's exactly what I wanted, to turn on for all members. I just couldn't remember HOW to do it. :-)
Title: Re: Ultimate Profile
Post by: PokémonS on November 02, 2012, 05:23:01 AM
(http://puu.sh/1lvP7)

There are 2 users in my buddies list before Ultimate Profile.
But after installing Ultimate Profile, The buddies is empty, and users can't add their buddies.

Help?
Title: Re: Ultimate Profile
Post by: Shambles on November 02, 2012, 05:42:02 AM
Doesn't it have it's own "buddy" system?
Title: Re: Ultimate Profile
Post by: Kindred on November 02, 2012, 07:47:46 AM
PokémonS

Do a search...   this is a known issue with some systems. For some reason, it works for some and does not work for others. I know what the "cause" is... but have been unable to find any fix (as I said, it only fails on some)

Quote
This is the really weird part.
The buddies ARE listed in the $user_info['buddies'] array
However, within the profile section, the system is supposed to write some additional information for each buddy into a sub-array called $context['member']['buddies_data']
I have confirmed - this *IS* getting set on my system... it *IS NOT* getting set on yours... the array doesn't even exist on your system, when the UP is activated....   and I have NO IDEA why...

basically, the data is set into the array in two places. buddies.php and profile-view.php. The code to add the array is present... but for some reason, the script never reached that code and thus, the array does not get set.

What really confuses me is the fact that, with no manual edits, the SAME CODE works fine on my system...

At this point, the only way to figure it out completely would be to step through the code bit by bit, echoing out the settings in each step. Unfortunately, that is extremely time consuming...
Title: Re: Ultimate Profile
Post by: PokémonS on November 02, 2012, 12:23:31 PM
Okay nevermind~
Next problem:

(http://puu.sh/1lATR)

If the sigs is oversized, how to make it scroll-able?

Like this
(http://puu.sh/1lAW8)
Title: Re: Ultimate Profile
Post by: Kindred on November 02, 2012, 12:46:17 PM
use firefox+firebug to find the div in control of that section and make the setting overflow:auto;
Title: Re: Ultimate Profile
Post by: PokémonS on November 02, 2012, 12:49:27 PM
Nevermind, I have edit this by myself xD

(http://puu.sh/1lBl7)
Title: Re: Ultimate Profile
Post by: shake410 on November 11, 2012, 07:18:32 AM
im trying to do something to make it easier for my members to upload a background image. i tried to insert the coode for it like this
<style>
body
{background: url(<!-- start of user\'s customization code -->    <!-- end of user\'s customization code -->) ;
}
</style>
that way all they would have to do is enter an image url and i was gonna change the language file from 'Here you can add some HTML and CSS to customize look &amp; feel of your profile.'; to ' enter the url of your background image' to make it very simple to change the background image. does anyone know how i would do this
Title: Re: Ultimate Profile
Post by: hcfwesker on November 11, 2012, 03:53:14 PM
By doing this, members wont be able to customize any other part of their profile layout.   

Example of what I mean

Default Ultimate Profile (http://www.smashdomain.net/profile/killlock/)
Customized (http://www.smashdomain.net/profile/helpn/)

So I came up with something different and easier, I've already tested the edits and they work.  this will add a new Field for members to add an image URL that will be set as their background image, that doesn't interfere with the Customization part of profiles.  (Possibly may even add a background music option later on)


Sources/Profile-Modify.php

Code (Find) Select
// MediaBox field

Code (add BEFORE) Select

// Background Image field
$request = $smcFunc['db_query']('', '
SELECT value
FROM {db_prefix}themes
WHERE id_member = {int:id_member}
AND variable = "upbgimg"',
array(
'id_member' => $memID,
)
);
list($old_html) = $smcFunc['db_fetch_row']($request);

$html = substr(htmLawed(un_htmlspecialchars($old_html), $config_filter), 0, 65533);
$smcFunc['db_query']('', '
UPDATE {db_prefix}themes SET
value = {string:html}
WHERE id_member = {int:id_member}
AND variable = "upbgimg"',
array(
'html' => addslashes(htmlspecialchars($html)),
'id_member' => $memID,
)
);


default/Profile.template.php

Code (Find) Select
// Show the standard "Save Settings" profile button.
template_profile_save();


Code (Add BEFORE) Select
echo '
<hr width="100%" size="1" class="hrcolor" />
<dl>
<dt>
<strong>', $txt['profile_upbgimg'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_upbgimg_desc'], '</span>
</dt>
<dd>
<textarea class="editor" name="default_options[upbgimg]" rows="1" cols="65">', @$context['member']['options']['upbgimg'], '</textarea><br />
</dd>
</dl>';



default/UltimateProfile.template.php

Code (Find) Select
// Top block position.
if (count($column_layout['top']) > 0) {


Code (add BEFORE) Select

// Output user's Background Image code.
if ($modSettings['profile_allow_customize'] == 1)
echo '
<style>
                  body
                  {
                   background: url(',
un_htmlspecialchars(@$context['member']['options']['upbgimg'])
, ');
                }
                </style>';
echo '
<div class="div1"></div>
';


default/languages/UltimateProfile.english.php

Add these anywhere in the file before ?>

$txt['profile_upbgimg'] = 'Profile Background Image';
$txt['profile_upbgimg_desc'] = 'Add an IMAGE URL to be displayed as your profile background.';


Attached image will show the end result.


Title: Re: Ultimate Profile
Post by: shake410 on November 12, 2012, 05:42:50 AM
thank you hcfwesker but that isnt working for me  :'( not even on the default theme there isnt a box for the bg image url and all the profile backgrounds are white
Title: Re: Ultimate Profile
Post by: hcfwesker on November 12, 2012, 12:33:24 PM
When did you try the edits?  i added an edit for Profile.template.php 

SMF went down for like 6 hours yesterday so i couldn't edit my post til late last night.  You sure you added every edit exactly where they should be placed?  And Ultimate Profile is enabled?

it s working for me.
Title: Re: Ultimate Profile
Post by: shake410 on November 12, 2012, 02:00:45 PM
yeah i tried twice once on a fresh install. but if you say t works im gonna try again and be very careful to make sure i do it perfectly
Title: Re: Ultimate Profile
Post by: shake410 on November 12, 2012, 02:47:30 PM
yeah tried again still no luck. could you upload yours? or possibly check mine i attached them
Title: Re: Ultimate Profile
Post by: hcfwesker on November 12, 2012, 04:04:10 PM
Try the attached file for profile template.  Did you add the language strings also.

I even just tested a test members account, and added the url in that box, used a sig image from here.  http://www.smashdomain.net/AASMF2/index.php?action=profile;u=69

Title: Re: Ultimate Profile
Post by: shake410 on November 12, 2012, 04:17:26 PM
thank you so much  ;D idk what i did wrong but the profile template you attached worked!
Title: Re: Ultimate Profile
Post by: hcfwesker on November 12, 2012, 04:19:41 PM
I didn't realize this was in the file twice ..

// Show the standard "Save Settings" profile button.
template_profile_save();


I noticed you found it twice and added it in both spots.  Just the one that went under the css customization part of the code was needed.  Enjoy :)
Title: Re: Ultimate Profile
Post by: PokémonS on November 25, 2012, 10:42:24 AM
Where can I find the database of "About Me"?

Cuz it's accidentally deleted, dunno what cause this D:
Title: Re: Ultimate Profile
Post by: mjarsddu on December 04, 2012, 11:10:16 AM
HELLO SIR,, I GOT PROBLEM WHEN INSTALLING ULTIMATE PROFILE MOD..

Unknown column 'com.time' in 'field list'
File: /home/aj/public_html/Sources/Profile-View.php
Line: 246

PLEASE SIR .. HELP ME.. I DON;T UNDERSTAND WHAT TO DO....

my smf version is latest.
SMF 2.0.2

and installing latest mod of ultimate profile then got error...
   
Title: Re: Ultimate Profile
Post by: Kindred on December 04, 2012, 11:14:08 AM
did you install manually or by using the package manager?
looks like the database script was not run
Title: Re: Ultimate Profile
Post by: mjarsddu on December 04, 2012, 11:21:58 AM
Quote from: Kindred on December 04, 2012, 11:14:08 AM
did you install manually or by using the package manager?
looks like the database script was not run

sir i installed from software mod... which is available on smf site..

56 kb file like this..
Title: Re: Ultimate Profile
Post by: Kindred on December 04, 2012, 11:43:13 AM
http://www.simplemachines.org/community/index.php?topic=298641.msg3141031#msg3141031
Title: Re: Ultimate Profile
Post by: Inti31 on December 04, 2012, 02:49:13 PM
Ultimate Profile rocks!

i added a 3rd media box else I placed my last profile visitors into it...

(http://s19.postimage.org/j0z2kcwkv/myprofil.jpg) (http://postimage.org/image/j0z2kcwkv/)
Title: Re: Ultimate Profile
Post by: electricwildflower on December 08, 2012, 09:36:00 AM
got a question is it possible for me to have specific questions for different member groups such as a standard member would see relationship status but a DJ member would see how long have you been DJing ?
Title: Re: Ultimate Profile
Post by: Kindred on December 08, 2012, 05:08:54 PM
no
Title: Re: Ultimate Profile
Post by: hcfwesker on December 09, 2012, 05:09:14 PM
Quote from: Inti31 on December 04, 2012, 02:49:13 PM
i added a 3rd media box else I placed my last profile visitors into it...

Mind sharing the edits for that?  People been asking for that for quiet some time.
Title: Re: Ultimate Profile
Post by: Law2rence on December 11, 2012, 04:27:14 AM
I would like to change the My Media title to My  Games.. Is it possible?
(http://www.iswx.info/18.jpg)
(http://www.iswx.info/13.jpg)
(http://www.iswx.info/19.jpg)
(http://www.iswx.info/20.jpg)
Title: Re: Ultimate Profile
Post by: Inti31 on December 11, 2012, 06:01:13 AM
/Themes/default/languages/UltimateProfile.english(-utf8).php

find

$txt['profile_media'] = 'My Media';

and change it to

$txt['profile_media'] = 'My Games';
Title: Re: Ultimate Profile
Post by: Mototaxi Peru on December 14, 2012, 03:28:35 AM
Quote from: fullmoonya on April 07, 2012, 04:02:21 AM
Quote from: shazoo! on April 06, 2012, 10:27:00 PM
Quote from: UKShark on September 10, 2011, 02:51:40 PM
Quote from: OChaos on September 05, 2011, 09:19:40 AM
Quote from: UKShark on September 04, 2011, 03:38:34 PM
After installing this mod the title bars for each section appear to be cropped and not showing fully,

I had the same problem with ezPortal, please see the thread below...

http://www.simplemachines.org/community/index.php?topic=271882.msg3002449#msg3002449

I'm assuming it'd be the same sort of fix, could we get it addressed for an update asap?



Thank you for the link.  I just installed this and was wondering how to fix it also, this link pointed me in the right direction.  Here's how for those that want to fix it.

Edit the UltimateProfile.template.php file located in Themes/default to reflect the following.
find (I did a search on "catbg" to find each section

<div id="some_id_here">
<h3 class="catbg">
                        <span class="left"></span>
some code here
</h3>


replace it with

<div id="some_id_here">
               <div class="cat_bar">
<h3 class="catbg">
some code here
</h3>
                </div>


Thanks for the help. It has worked on all sections except for the 'Add Comments' section.

I thought I might need to change the Profile.template.php file...

From this...

<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3>


To this...

<div class="cat_bar">
<h3 class="catbg">
<span class="left"></span>
', $context['member']['name'] ,': ', $txt['profile_comment_add'], '
</h3></div>


However that hasn't worked unfortunately.

Any ideas?

Has anyone figured out how to fix the 'Add Comments' section?

fix the width of add comment..


someone found a solution or fix to the problem of feedback?
Title: Re: Ultimate Profile
Post by: novill on December 18, 2012, 06:54:14 AM
Quote from: hcfwesker on December 09, 2012, 05:09:14 PM
Quote from: Inti31 on December 04, 2012, 02:49:13 PM
i added a 3rd media box else I placed my last profile visitors into it...

Mind sharing the edits for that?  People been asking for that for quiet some time.

I would be interested to how can i make this modification with this mod.
Title: Re: Ultimate Profile
Post by: electricwildflower on January 01, 2013, 02:41:40 PM
Need some support i tried in the smfx2 but i think it might be the mod specific.

Anway when i add someone as a buddy i get the option of adding or cancel after that i get re directed to my forum index with no way of knowing if i have added a person or not.

also when i look at the buddy list on my profile it shows I haven't added my buddies yet.

Is there a bug or a problem or something that can sort it out ?
Title: Re: Ultimate Profile
Post by: Kindred on January 01, 2013, 03:56:55 PM
If you read back a few ages or use search, you would note that the buddy functionality is fairly broken for many installations...
I spent several hours debugging the problem for one of the charter members, and found the problem, but I have no idea how it can be fixed, since, logically speaking, the problem should not exist.
Title: Re: Ultimate Profile
Post by: electricwildflower on January 01, 2013, 05:46:03 PM
Ah it's ok i must of missed it i will disable it for now
Title: Re: Ultimate Profile
Post by: Skaty on January 13, 2013, 10:24:34 PM
Turkish Translate, thanks for the mod.



<?php
// Version: 0.9.1; UltimateProfile
// This file is a part of Ultimate Profile mod
// Author: Jovan Turanjanin

$txt['ultimate_profile'] = 'Gelişmiş Profil';

$txt['pictures'] = 'Profil Fotoğrafları';
$txt['customized'] = 'Gelişmiş Profil';
$txt['buddies'] = 'Arkadaşlar';

$txt['profile_customized'] = 'Gelişmiş Profil';
$txt['profile_customized_info'] = 'Bu bölümde kendinizle ilgili bazı bilgiler verebilirsiniz.';

$txt['profile_customize_enable'] = 'Gelişmiş profil aktif edilsin mi?';
$txt['profile_customize_private'] = 'Gelişmiş profilimi sadece ekli arkadaşlarım görebilsin.';
$txt['profile_comments_disable'] = 'Yorumları kapat.';
$txt['profile_comments_budd_only'] = 'Sadece ekli arkadaşlarım profile mesajı bırakabilsin';
$txt['profile_comments_notif_disable'] = 'Yeni profil mesajı bildirimini kapat.';
$txt['profile_pictures_budd_only'] = 'Fotoğraflarımı sadece ekli arkadaşlarıma göster.';
$txt['profile_num_buddies_shown'] = 'Profilde gösterilecek arkadaş sayısı';

$txt['profile_about'] = 'Hakkımda';
$txt['profile_about_desc'] = 'Bu kısma kendiniz hakkında bir şeyler yazın, örneğin ne türde oyunlardn hoşandığınızı olabilir.';
$txt['profile_interests'] = 'İlgi alanları';
$txt['profile_interests_desc'] = 'Oyunlar, Müzik, Spor, Hobiler...';
$txt['profile_media'] = 'Medyam';
$txt['profile_media_desc'] = 'Bu kısımda bazı kodlar kullanabilirsiniz, örneğin en sevdiğiniz video ya da müzik dosyalarını yayınlamak için olabilir. HTML ve CSS kullanılabilir.';
$txt['profile_css'] = 'Özelleştirme';
$txt['profile_css_desc'] = 'Bu alana profilinize özel bir görünüm katmak için HTML ya da CSS kodları ekleyebilirsiniz.';

$txt['profile_pictures_over'] = 'İzin verilen profil fotoğrafı limitini aştınız.';
$txt['profile_pictures_add_not'] = 'Bu profile fotoğraf eklemek için izniniz yok.';
$txt['profile_pictures_fields'] = 'Tüm alanların girilmesi zorunludur.';
$txt['profile_pictures_upload_fail'] = 'Fotoğraf yükleme başarısız.';
$txt['profile_pictures_pic_not'] = 'Yüklenen dosya bir resim değil.';

$txt['profile_pictures_edit_not'] = 'Bu profildeki fotoğrafları düzenleme yetkiniz yok.';
$txt['profile_pictures_delete_not'] = 'Bu profildeki fotoğrafları slime yetkiniz yok.';
$txt['profile_pictures_not_found'] = 'İstenen fotoğraf bulunamadı.';


$txt['profile_comment_field'] = 'Bir yorum girmelisiniz.';


$txt['profile_contact'] = 'Bağlantı Kur :)';
$txt['profile_buddies'] = 'Arkadaşları';
$txt['profile_buddies_no'] = 'Henüz ekli bir arkadaş yok.';

$txt['profile_pictures'] = 'Profil Fotoğrafları';
$txt['profile_pictures_no'] = 'Şuan yüklü fotoğraf yok.';

$txt['profile_about_me'] = 'Hakkımda';
$txt['profile_about_no'] = 'Bunu daha sonra yazacağım. :)';

$txt['profile_interests'] = 'İlgi Alanlarım';

$txt['profile_pictures_show'] = 'Fotoğrafları Göster';
$txt['profile_buddies_show'] = 'Arkadaşları Göster';

$txt['comment'] = 'Yorum Ekle';
$txt['profile_comment'] = 'Yorum';
$txt['profile_comments'] = 'Yorum';
$txt['profile_comment_add'] = 'Yorum Ekle';
$txt['profile_comment_reply'] = 'Cevapla';
$txt['profile_comment_delete'] = 'Yorumu Sil';
$txt['profile_comment_delete_confirm'] = 'Bu yorumu silmek istediğine emin misin?';
$txt['profile_comment_no'] = 'Henüz bir yorum yok. İlk yorumu eklemek ister misin?';
$txt['profile_comments_buddies_only'] = 'Sadece ekli arkadaşlar yorum bırakabilir.';

$txt['profile_picture_caption'] = 'Profil Fotoğrafları';
$txt['profile_picture_title'] = 'Başlık';
$txt['profile_picture_description'] = 'Açıklama';
$txt['profile_picture_path'] = 'Fotoğraf Yolu';
$txt['profile_picture_not_allowed'] = 'Fotoğrafları görmeye yetkiniz yok.';

$txt['profile_picture_add'] = 'Fotoğraf Ekle';
$txt['profile_picture_edit'] = 'Fotoğrafı Düzenle';
$txt['profile_picture_delete'] = 'Fotoğrafı Sil';

$txt['profile_picture_previous'] = '&laquo; Önceki';
$txt['profile_picture_next'] = 'Sonraki &raquo;';

// %s will be replaced with member's name
$txt['profile_picture_members'] = '%s fotoğrafları';

$txt['profile_album_title'] = 'Albüm Başlığı';
$txt['profile_album_basic'] = 'Temel albüm';
$txt['profile_album_parent'] = 'Albüm';
$txt['profile_albums_pic_count'] = 'Fotoğraflar';

$txt['profile_album_add'] = 'Albüm Ekle';
$txt['profile_album_edit'] = 'Albümü Düzenle';
$txt['profile_album_delete'] = 'Albümü Sil';
$txt['profile_album_delete_confirm'] = 'Albümü silmek istediğinizden emin misiniz? İçindeki tüm fotoğraflar da silinecektir!';

$txt['profile_albums_add_not'] = 'Bu profile albüm ekleme yetkiniz yok.';
$txt['profile_albums_edit_not'] = 'Bu profiledeki albümleri düzenleme yetkiniz yok.';
$txt['profile_albums_delete_not'] = 'Bu profiledeki albümleri silme yetkiniz yok.';
$txt['profile_albums_fields'] = 'Tüm alanları doldurmak zorunlu.';
$txt['profile_albums_parent_not'] = 'The selected parent album does not exist.';
$txt['profile_album_not_found'] = 'İstenen albüm bulunamadı.';


$txt['profile_enable_all'] = 'Gelişmiş profili tüm üyelerde aktif et?';
$txt['profile_enable_pictures'] = 'Fotoğraf yüklemeye izin ver?';
$txt['profile_pictures_path'] = 'Fotoğraf yolu';
$txt['profile_pictures_url'] = 'Fotoğraf URL';
$txt['profile_pictures_number'] = 'İzin verily fotoğraf sayısı <div class="smalltext">(sınırsız için 0 girin)</div>';
$txt['profile_pictures_width'] = 'Yüklenen fotoğrafın genişliği (px olarak)';
$txt['profile_buddies_shown'] = 'Profilde gösterilecek varsayılan arkadaş sayısı';
$txt['profile_allow_customize'] = 'Profil özelleştirmesine izin ver';
$txt['profile_allow_mediabox'] = 'Medya kutusuna izin ver';


$txt['profile_notif_com_subject'] = '%s, Yeni Yorum Bıraktı';
$txt['profile_notif_com_body'] = '[b]%s[/b], senin [url=%s]profiline[/url] yeni bir yorum bıraktı.';
$txt['profile_notif_com_user'] = 'Bildirim';

$txt['profile_notif_piccom_subject'] = '%s, Fotoğrafa Yorum Bıraktı';
$txt['profile_notif_piccom_body'] = '[b]%s[/b], bir fotoğrafına yeni bir yorum bıraktı. [url=%s]Buraya[/url] tıklayarak görebilirsiniz.';

$txt['report'] = 'Profili Rapor Et';
$txt['profile_report_this'] = 'Admine Rapor Et';
$txt['profile_report_text1'] = 'Moderatöre Rapor Et';
$txt['profile_report_text2'] = 'Profilde uygunsuz bir içerik görürseniz yöneticilere bildirmek için bu fonksiyonu kullanın.';
$txt['profile_report_text3'] = 'Yorumunuz';
$txt['profile_report_submit'] = 'Gönder';
$txt['profile_report_own'] = 'Panpa, insan kendi profilini ispiyonlar mı?';

$txt['profile_report_subject'] = 'Profil Rapor Edildi';
$txt['profile_report_email1'] = 'İlgili profil, "%s"';
$txt['profile_report_email2'] = ' Rapor eden';
$txt['profile_report_email3'] = 'Moderatörü olduğunu bölüm';
$txt['profile_report_comment'] = 'Rapor mesajı';

$txt['buddy_center'] = 'Arkadaş Merkezi';
$txt['buddy_explanation'] = 'Arkadaşlık isteğiniz onay için gönderildi.';
$txt['buddy_order_up'] = 'Yukarı kaydır';
$txt['buddy_order_down'] = 'Aşağı kaydır';
$txt['buddy_approve'] = 'Arkadaşı Onayla';
$txt['buddy_remove'] = 'Arkadaşı Sil';
$txt['buddy_empty'] = 'Arkadaş listeniz şuan boş.';
$txt['buddy_unapproved'] = 'Onaylanmamış arkadaşlar.';
$txt['buddy_pending'] = 'Bekleyen Arkadaşlıklar';
$txt['buddy_already_added'] = 'Bu kişi zaten arkadaş listenizde ekli.';

$txt['buddy_notif_new_subject'] = '%s, sizi ekledi';
$txt['buddy_notif_new_body'] = '[b]%s[/b] seni arkadaşı olarak ekledi. [url=%s]Buraya[/url] tıklayarak onaylayabilir ya da reddedebilirsiniz.';

$txt['buddy_top3'] = 'En 3';
$txt['buddy_top6'] = 'En 6';
$txt['buddy_top9'] = 'En 9';
$txt['buddy_top12'] = 'En 12';

?>

Title: Re: Ultimate Profile
Post by: Skaty on January 18, 2013, 10:44:23 AM
Hi, want to ad a simple box to my ultimate profile.


Like this one.
(http://i.imgur.com/705t0.png)

i try with some of the boxes but can't figure it out.  can someone tell me what is the basic box code ?





function up_block_buddies() {
global $settings, $txt, $context, $scripturl, $modSettings;

if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
echo '
<div id="up_buddies">
<h3 class="windowbg">
<span class="left"></span>
<a href="', $scripturl ,'?action=profile;area=buddies;u=', $context['member']['id'], '">', $txt['profile_buddies'] ,'</a>
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<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['real_name'] , '</a><br />
<em>', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/buddy_' . ($data['is_online'] ? 'useron' : 'useroff') . '.gif' . '" alt="' . $txt[$data['is_online'] ? 'online' : 'offline'] . '" align="middle" />' : $txt[$data['is_online'] ? 'online' : 'offline'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $txt[$data['is_online'] ? 'online' : 'offline'] . '</span>' : '', '</em>
</td>';
if ($i == 3)
echo '
</tr>';

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

echo '
</table>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
} else
return false;

}

Title: Re: Ultimate Profile
Post by: hcfwesker on January 19, 2013, 07:30:51 PM
Quote from: Skaty on January 18, 2013, 10:44:23 AM
Hi, want to ad a simple box to my ultimate profile.

All edits done in UltimateProfile.template.php , and I'll use the label newcustomblock but you can change it to what you want.

Think of where you want the box to be added, and the position.  This part if code is at the top of the file.

'left' => array(
'summary',
'user_info',
'contact',
'buddies',
),
'right' => array(
'pictures',
'about_me',
'interests',
'media',
'other_info',
),
'bottom' => array(
'write_comment',
'show_comments',
),
);


So if you want it on the left side below the summary box  ..

'left' => array(
'summary',
'newcustomblock',
'user_info',
'contact',
'buddies',
),



This next part doesn't matter where you add it, so this is a good spot.


Find
function up_block_contact() {

Add BEFORE
function up_block_newcustomblock() {
global $settings, $txt, $context, $scripturl, $modSettings;

echo '
<div id="up_other_info">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">';
echo '
                              ADD CONTENT HERE

</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
}


^^^  has the label for newcustomblock  and a place for where to add your content.  If you want it to align like other blocks, the info inside, use the code for instant messengers as a guide in the same file.

Like this one for yahoo.
<dt><img src="http://opi.yahoo.com/online?u=', urlencode($context['member']['yim']['link_text']), '&amp;m=g&amp;t=0" alt="', $txt['yim'], '" /></dt>
<dd>', $context['member']['yim']['link_text'], '</dd>


Which breaks down like this.
<dt>LEFT SIDE TEXT/CONTENT</dt>
<dd>ALIGNED TO THE RIGHT TEXT/CONTENT</dd>

Title: Re: Ultimate Profile
Post by: Skaty on January 19, 2013, 11:38:10 PM
Thank you @hcfwesker, everything is okay but can't find where to add        ',' or ';'

giving me this error.
syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';'

trying to add this code


function up_block_newblock() {
global $settings, $txt, $context, $scripturl, $modSettings;

echo '
<div id="up_other_info">
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">';
echo '


// Start SMF Trader System
global $sourcedir;
include_once $sourcedir . '/Trader2.php';


$tradecount = GetTraderCount($context['member']['id']);


GetTraderInformation($context['member']['id']);

$context['neturalcount'] = 0;
$context['pcount'] = 0;
$context['ncount'] = 0;
foreach($context['trader_mem_data'] as $row)
{
if ($row['salevalue'] == 0)
{
$context['pcount'] = $row['total'];
}
else if ($row['salevalue'] == 2)
{
$context['ncount'] = $row['total'];
}
else if ($row['salevalue'] == 1)
{
$context['neturalcount'] = $row['total'];
}

}


$context['tradecount_nonetural'] = ($context['pcount'] +  $context['ncount']);

if ($modSettings['trader_use_pos_neg'])
$tradecount = ($context['pcount'] -$context['ncount']);

echo '


<dt class="clear">' . $txt['smftrader_title'] . '</dt>
<dt>' . $txt['smftrader_profile'] . '</dt><dd>(<a href="' . $scripturl .  '?action=trader&id=' . $context['member']['id'] . '">' . ($modSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount) . '</a>)</dd>
<dt>' . $txt['smftrader_positivefeedbackpercent']  . '</dt><dd>' , $context['tradecount_nonetural'] != 0 ? round(($context['pcount'] / $context['tradecount_nonetural']) * 100, 2) : 0 , '%</dd>
<dt>' . $txt['smftrader_positivefeedback'] . '</dt><dd>' . $context['pcount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumlu.gif" alt="positive" /></dd>
<dt>' . $txt['smftrader_neutralfeedback']  . '</dt><dd>' .  $context['neturalcount'] . '&nbsp;<img src="' . $modSettings['smileys_url'] . '/default/notr.gif" alt="neutral" /></dd>
<dt>' . $txt['smftrader_negativefeedback']  . '</dt><dd>' .  $context['ncount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumsuz.gif" alt="negative" /></dd>
<dt>' . $txt['smftrader_totalfeedback']  . '</dt><dd>' .  ($context['pcount'] - $context['ncount']) . '</dd>';
global $user_info;
if ($user_info['id'] != $context['member']['id'])
echo '
<dt class="clear"><a href="' . $scripturl .  '?action=trader&sa=submit&id=' . $context['member']['id'] . '">' . $txt['smftrader_submitfeedback'] . $context['member']['name'] . '</a></dt>
';
// END SMF Trader System



</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
}
Title: Re: Ultimate Profile
Post by: Arantor on January 19, 2013, 11:55:04 PM
You have a stray echo ' before the // Start SMF Trader System. Try removing just that line on its own.
Title: Re: Ultimate Profile
Post by: hcfwesker on January 20, 2013, 01:34:17 AM
Like Arantor said, remove that stray echo'   , but, you'll want to actually move it AFTER

// END SMF Trader System

so it prints up the closing divs for the box.

Had you explained what you wanted to do with the new box, I coulda given the exact instructions, but all I had to go on was this :P

Quote from: Skaty on January 18, 2013, 10:44:23 AMa simple box
Title: Re: Ultimate Profile
Post by: Skaty on January 20, 2013, 03:13:45 AM
it is all treasure for me :)  just starting to learning with create a simple box ... and learning english too :D

now is all ok i think, thanks both of you.  but i'm gonna back with new q for tips :)
Title: Re: Ultimate Profile
Post by: hcfwesker on January 20, 2013, 03:26:44 AM
paste the exact code you're using now.  Did you move that echo'  statement down below?
Title: Re: Ultimate Profile
Post by: Skaty on January 20, 2013, 03:43:27 AM
i did move the echo' down below.

the box is not fit fith text now.

(http://i.imgur.com/I7EXEjh.png)


function up_block_trader() {
global $settings, $txt, $context, $scripturl, $modSettings;

echo '
<div id="up_other_info">
<div class="windowbg creator">
', $txt['trader'] ,'
<span class="topslice"><span></span></span>
<div class="content">';





// Start SMF Trader System
global $sourcedir;
include_once $sourcedir . '/Trader2.php';


$tradecount = GetTraderCount($context['member']['id']);


GetTraderInformation($context['member']['id']);

$context['neturalcount'] = 0;
$context['pcount'] = 0;
$context['ncount'] = 0;
foreach($context['trader_mem_data'] as $row)
{
if ($row['salevalue'] == 0)
{
$context['pcount'] = $row['total'];
}
else if ($row['salevalue'] == 2)
{
$context['ncount'] = $row['total'];
}
else if ($row['salevalue'] == 1)
{
$context['neturalcount'] = $row['total'];
}

}


$context['tradecount_nonetural'] = ($context['pcount'] +  $context['ncount']);

if ($modSettings['trader_use_pos_neg'])
$tradecount = ($context['pcount'] -$context['ncount']);

echo '


<dt class="clear">' . $txt['smftrader_title'] . '</dt>
<dt>' . $txt['smftrader_profile'] . '</dt><dd>(<a href="' . $scripturl .  '?action=trader&id=' . $context['member']['id'] . '">' . ($modSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount) . '</a>)</dd>
<dt>' . $txt['smftrader_positivefeedbackpercent']  . '</dt><dd>' , $context['tradecount_nonetural'] != 0 ? round(($context['pcount'] / $context['tradecount_nonetural']) * 100, 2) : 0 , '%</dd>
<dt>' . $txt['smftrader_positivefeedback'] . '</dt><dd>' . $context['pcount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumlu.gif" alt="positive" /></dd>
<dt>' . $txt['smftrader_neutralfeedback']  . '</dt><dd>' .  $context['neturalcount'] . '&nbsp;<img src="' . $modSettings['smileys_url'] . '/default/notr.gif" alt="neutral" /></dd>
<dt>' . $txt['smftrader_negativefeedback']  . '</dt><dd>' .  $context['ncount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumsuz.gif" alt="negative" /></dd>
<dt>' . $txt['smftrader_totalfeedback']  . '</dt><dd>' .  ($context['pcount'] - $context['ncount']) . '</dd>';
global $user_info;
if ($user_info['id'] != $context['member']['id'])
echo '
<dt class="clear"><a href="' . $scripturl .  '?action=trader&sa=submit&id=' . $context['member']['id'] . '">' . $txt['smftrader_submitfeedback'] . $context['member']['name'] . '</a></dt>
';
// END SMF Trader System
echo '





</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
}
Title: Re: Ultimate Profile
Post by: hcfwesker on January 21, 2013, 12:48:14 PM

Try replacing yours with this.

function up_block_trader() {
global $settings, $txt, $context, $scripturl, $modSettings, $sourcedir;

echo '
<div id="up_other_info">
<h3 class="catbg">
<span class="left"></span>
', $txt['trader'] ,'
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="noborder">';

// Start SMF Trader System
include_once $sourcedir . '/Trader2.php';


$tradecount = GetTraderCount($context['member']['id']);


GetTraderInformation($context['member']['id']);

$context['neturalcount'] = 0;
$context['pcount'] = 0;
$context['ncount'] = 0;
foreach($context['trader_mem_data'] as $row)
{
if ($row['salevalue'] == 0)
{
$context['pcount'] = $row['total'];
}
else if ($row['salevalue'] == 2)
{
$context['ncount'] = $row['total'];
}
else if ($row['salevalue'] == 1)
{
$context['neturalcount'] = $row['total'];
}

}


$context['tradecount_nonetural'] = ($context['pcount'] +  $context['ncount']);

if ($modSettings['trader_use_pos_neg'])
$tradecount = ($context['pcount'] -$context['ncount']);

echo '


<dt class="clear">' . $txt['smftrader_title'] . '</dt>
<dt>' . $txt['smftrader_profile'] . '</dt><dd>(<a href="' . $scripturl .  '?action=trader&id=' . $context['member']['id'] . '">' . ($modSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount) . '</a>)</dd>
<dt>' . $txt['smftrader_positivefeedbackpercent']  . '</dt><dd>' , $context['tradecount_nonetural'] != 0 ? round(($context['pcount'] / $context['tradecount_nonetural']) * 100, 2) : 0 , '%</dd>
<dt>' . $txt['smftrader_positivefeedback'] . '</dt><dd>' . $context['pcount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumlu.gif" alt="positive" /></dd>
<dt>' . $txt['smftrader_neutralfeedback']  . '</dt><dd>' .  $context['neturalcount'] . '&nbsp;<img src="' . $modSettings['smileys_url'] . '/default/notr.gif" alt="neutral" /></dd>
<dt>' . $txt['smftrader_negativefeedback']  . '</dt><dd>' .  $context['ncount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumsuz.gif" alt="negative" /></dd>
<dt>' . $txt['smftrader_totalfeedback']  . '</dt><dd>' .  ($context['pcount'] - $context['ncount']) . '</dd>';
global $user_info;
if ($user_info['id'] != $context['member']['id'])
echo '
<dt class="clear"><a href="' . $scripturl .  '?action=trader&sa=submit&id=' . $context['member']['id'] . '">' . $txt['smftrader_submitfeedback'] . $context['member']['name'] . '</a></dt>
';
// END SMF Trader System
echo '
</dl>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
}
Title: Re: Ultimate Profile
Post by: Skaty on January 21, 2013, 06:02:29 PM
Awesome :) thank you. now i have just last issue about ultimate profile.

i have special profile areas. when the area is empty is shown in profile, when it is fill then area is jumping in another box. so how can i dissepear empty areas and not to jump when it is filled.

i used this code but i think it is need something different.
(empty($field['value'])))

(http://i.imgur.com/qgPjZjG.jpg)
Title: Re: Ultimate Profile
Post by: hcfwesker on January 21, 2013, 08:11:00 PM
It's impossible to tell without actually seeing the edits, because you have made custom edits to the file for what you have.  No guarantees , but attach your file and I'll see what may can be done
Title: Re: Ultimate Profile
Post by: Skaty on January 21, 2013, 10:03:51 PM
Okay :)

i did the special profile fields with own smf system, didn't use extra mod.
Title: Re: Ultimate Profile
Post by: hcfwesker on January 21, 2013, 11:10:06 PM
Quote from: Skaty on January 21, 2013, 10:03:51 PM
Okay :)

i did the special profile fields with own smf system, didn't use extra mod.

Try this fix I reported a long time ago.

http://www.simplemachines.org/community/index.php?topic=298641.msg3167994#msg3167994
Title: Re: Ultimate Profile
Post by: Ab-47 on January 22, 2013, 03:30:46 AM
It's an epic mod, I like it and may use it on my personal forums. Thanks for sharing.
Title: Re: Ultimate Profile
Post by: Skaty on January 22, 2013, 05:00:20 AM
Quote from: hcfwesker on January 21, 2013, 11:10:06 PM
Quote from: Skaty on January 21, 2013, 10:03:51 PM
Okay :)

i did the special profile fields with own smf system, didn't use extra mod.

Try this fix I reported a long time ago.

http://www.simplemachines.org/community/index.php?topic=298641.msg3167994#msg3167994

Okay, but this time didn't show some of them like skype in contact me ?

how i can do it for both area to show like this:

(http://i.imgur.com/ZOJMKZw.jpg)
(http://i.imgur.com/8RTTWxA.png)
Title: Re: Ultimate Profile
Post by: hcfwesker on January 22, 2013, 11:05:39 AM
i use a mod that adds skype which places it with other IM messengers.  you're using custom profile fields and they have to be grouped together, depending on what location you set them as from default.
Title: Re: Ultimate Profile
Post by: Skaty on January 22, 2013, 09:14:00 PM
Understood. Thank you so much for your help. i learn thing from you and your forum (http://i.imgur.com/CWwz7.gif)
Title: Re: Ultimate Profile
Post by: hcfwesker on January 22, 2013, 11:02:06 PM
No prob, bud.  And here's the MOD to add Skype & Google+ http://custom.simplemachines.org/mods/index.php?mod=3338
Title: Re: Ultimate Profile
Post by: scvoyager on January 23, 2013, 02:33:32 AM
So has anyone come up with a youtube fix for this mod?
Title: Re: Ultimate Profile
Post by: electricwildflower on January 23, 2013, 07:00:37 AM
Quick question

I want to edit the profile layout so it looks more better check the attachment below to see how it currently looks.

What i want to do is move the about me section under the contact me section then bring up the interests section to where the about me section is ?

i know i can do it using the template but unsure where to look and what needs editing
Title: Re: Ultimate Profile
Post by: hcfwesker on January 23, 2013, 12:30:45 PM
Quote from: scvoyager on January 23, 2013, 02:33:32 AM
So has anyone come up with a youtube fix for this mod?

What's the actual issue?  Details are cool.

Quote from: electricwildflower on January 23, 2013, 07:00:37 AMWhat i want to do is move the about me section under the contact me section then bring up the interests section to where the about me section is ?

UltimateProfile.template.php

At the top of the file, just move what you want in this section of the code.

'left' => array(
'summary',
'user_info',
'contact',
'buddies',
),
'right' => array(
'pictures',
'about_me',
'interests',
'media',
'other_info',
),
'bottom' => array(
'write_comment',
'show_comments',
),
);


From what you're asking, this is what you would want it to end up like ...

'left' => array(
'summary',
'user_info',
'contact',
'about_me',
'buddies',
),
'right' => array(
'pictures',
'interests',
'media',
'other_info',
),
'bottom' => array(
'write_comment',
'show_comments',
),
);

Title: Re: Ultimate Profile
Post by: scvoyager on January 23, 2013, 04:58:16 PM

Quote
What's the actual issue?  Details are cool.
I have been through this entire topic twice and to embed a youtube in the profile everything points to embed the old "object" code which is not available anymore. I need to have it easy for members and want to find out if their is a fix to embed the "iframe" code.
Title: Re: Ultimate Profile
Post by: Kindred on January 23, 2013, 06:16:28 PM
the object embed code still works...
There's an option on youtube listed as "Use old embed code"

iframes are ugly stuff anyways...
Title: Re: Ultimate Profile
Post by: hcfwesker on January 23, 2013, 07:25:59 PM
Quote from: scvoyager on January 23, 2013, 04:58:16 PM
I have been through this entire topic twice and to embed a youtube in the profile everything points to embed the old "object" code which is not available anymore. I need to have it easy for members and want to find out if their is a fix to embed the "iframe" code.

Here's codes we use on our site that both work.  READ and FOLLOW the instructions carefully.

First you need to find the youtube video URL ID you want to use for which ever. 

Example::  http://www.youtube.com/watch?v=jKMKLH5pX7Y   <--- the portion in RED is the VIDEOID.  It's the part that comes after the = sign and before the & signs.

In the following 2 codes, there are 2 separate places in each which you MUST add that videoID where stated in both codes.


To embed music on Profile that auto plays, from a Youtube video.  Add anywhere in the Customization box

<div style="text-align:right">
<embed src="http://www.youtube.com/v/VIDEOID?version=3&amp;autohide=0&amp;autoplay=1&amp;loop=1&amp;playlist=VIDEOID&amp;modestbranding=1&amp;theme=dark" type="application/x-shockwave-flash" width="300" height="23" />
</div>



To embed a video in My Media

<div style="display:none"><object width="320" height="265"><param name="movie" value="http://www.youtube.com/v/VIDEOID&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/VIDEOID&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" width="320" height="265" /></object><br />

Title: Re: Ultimate Profile
Post by: Skaty on January 24, 2013, 07:32:42 AM
To entegrate Trader mod to ultimate prof. mod.   add this code to ultimate.prof.template  :)



}


function up_block_trader() {
global $settings, $txt, $context, $scripturl, $modSettings, $sourcedir;

echo '
<div id="up_other_info">
<h3 class="windowbg">
<span class="left"></span>
', $txt['trader'] ,'
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="noborder">';

// Start SMF Trader System
include_once $sourcedir . '/Trader2.php';


$tradecount = GetTraderCount($context['member']['id']);


GetTraderInformation($context['member']['id']);

$context['neturalcount'] = 0;
$context['pcount'] = 0;
$context['ncount'] = 0;
foreach($context['trader_mem_data'] as $row)
{
if ($row['salevalue'] == 0)
{
$context['pcount'] = $row['total'];
}
else if ($row['salevalue'] == 2)
{
$context['ncount'] = $row['total'];
}
else if ($row['salevalue'] == 1)
{
$context['neturalcount'] = $row['total'];
}

}


$context['tradecount_nonetural'] = ($context['pcount'] +  $context['ncount']);

if ($modSettings['trader_use_pos_neg'])
$tradecount = ($context['pcount'] -$context['ncount']);

echo '


<dt class="clear">' . $txt['smftrader_title'] . '</dt>
<dt>' . $txt['smftrader_profile'] . '</dt><dd>(<a href="' . $scripturl .  '?action=trader&id=' . $context['member']['id'] . '">' . ($modSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount) . '</a>)</dd>
<dt>' . $txt['smftrader_positivefeedbackpercent']  . '</dt><dd>' , $context['tradecount_nonetural'] != 0 ? round(($context['pcount'] / $context['tradecount_nonetural']) * 100, 2) : 0 , '%</dd>
<dt>' . $txt['smftrader_positivefeedback'] . '</dt><dd>' . $context['pcount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumlu.gif" alt="positive" /></dd>
<dt>' . $txt['smftrader_neutralfeedback']  . '</dt><dd>' .  $context['neturalcount'] . '&nbsp;<img src="' . $modSettings['smileys_url'] . '/default/notr.gif" alt="neutral" /></dd>
<dt>' . $txt['smftrader_negativefeedback']  . '</dt><dd>' .  $context['ncount'] . '&nbsp;<img src="' .  $modSettings['smileys_url'] . '/default/olumsuz.gif" alt="negative" /></dd>
<dt>' . $txt['smftrader_totalfeedback']  . '</dt><dd>' .  ($context['pcount'] - $context['ncount']) . '</dd>';
global $user_info;
if ($user_info['id'] != $context['member']['id'])
echo '
<dt class="clear"><a href="' . $scripturl .  '?action=trader&sa=submit&id=' . $context['member']['id'] . '">' . $txt['smftrader_submitfeedback'] . $context['member']['name'] . '</a></dt>
';
// END SMF Trader System
echo '
</dl>
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
}


Title: Re: Ultimate Profile
Post by: electricwildflower on January 24, 2013, 08:05:44 AM
Thank you will have a play with it :)
Title: Re: Ultimate Profile
Post by: Dhayzon on January 24, 2013, 09:46:51 AM
Thank you     ultimate.prof.template
(http://i.imgur.com/s8OvH2q.png)
Title: Re: Ultimate Profile
Post by: electricwildflower on January 24, 2013, 10:04:37 AM
^^
That is impressive.

what sort of edits did you do to do that :)
Title: Re: Ultimate Profile
Post by: scvoyager on January 25, 2013, 03:16:50 AM
Quotethe object embed code still works...
There's an option on youtube listed as "Use old embed code"

iframes are ugly stuff anyways...
The key word  is "Use old embed code". I don't expect my members to do such a thing and even if they would the code is no longer available in Asia. Thanks for the input and I will wait for a mod up to date with the times. 
Title: Re: Ultimate Profile
Post by: electricwildflower on January 25, 2013, 02:35:21 PM
Few Quick Questions

I have been editing the look of the ultimate profile using the UltimateProfile.template.php re arranging blocks changing a few widths etc but i need some help on a few things and how to change them if i can. How would i go about the follow edits and can they be done using the profile template.

Change the size of the default profile picture of members.
Move the picture so it sits on top of the name, personal text, posts, position
Is it possible for me to have some of the blocks as a drop down button like the add comment button

also as it possible for me to have a sort of Anchor box so i could sit the photo, name, posts etc on the left hand sidea nd under this a navigation bar which would open up sections on the right which would contain the blocks such as about, comments, my interests ect.

also last question how would i go about adding a custom block which would feature in the settings so people can add text or something.

sorry for all the questions :P
Title: Re: Ultimate Profile
Post by: hcfwesker on January 25, 2013, 03:41:48 PM
Quote from: scvoyager on January 25, 2013, 03:16:50 AMThe key word  is "Use old embed code". I don't expect my members to do such a thing and even if they would the code is no longer available in Asia. Thanks for the input and I will wait for a mod up to date with the times.

This wasn't efficient enough for you?  http://www.simplemachines.org/community/index.php?topic=298641.msg3476170#msg3476170

With all due respect, if you don't expect your members to put a little effort into a simple code that requires just a couple of EASY steps, then why would you expect the MOD author to update this or someone to create one to solely suit your needs? 

Quote from: electricwildflower on January 25, 2013, 02:35:21 PM
Few Quick Questions

1) Change the size of the default profile picture of members.
2) Move the picture so it sits on top of the name, personal text, posts, position
3) Is it possible for me to have some of the blocks as a drop down button like the add comment button

4) also as it possible for me to have a sort of Anchor box so i could sit the photo, name, posts etc on the left hand sidea nd under this a navigation bar which would open up sections on the right which would contain the blocks such as about, comments, my interests ect.

5) also last question how would i go about adding a custom block which would feature in the settings so people can add text or something.

sorry for all the questions :P

I'll try and answer these.

1)

Sources/Profile-View.php

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


$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';

For width and height, you can change the part in red betwwen the 2 " signs and change it to a number value.  Best and quickest advice I can give.  This only affects the Profile page so it won't affect other pages.

2)

UltimateProfile.template.php

Find
<td align="center">
', $context['member']['avatar']['image'], '<br />
<em>', $settings['use_image_buttons'] ? '<img src="' . $context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</em>
</td>

<td>
<dl>


Replace with

<td>
<dl>
<dt>', $context['member']['avatar']['image'], '<br />
<em>', $settings['use_image_buttons'] ? '<img src="' . $context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</em></dt>
                                                        <dd></dd>



3) I've tried replicating the write_comment block to summary for testing, not working but am something I might look into later.

4) Sorry, not even gonna attempt something like that.

5)  Need more input.  From "what settings"?  Plus, the "About Me" box or "My Interests" handles this. 

Title: Re: Ultimate Profile
Post by: Skaty on January 25, 2013, 06:34:36 PM
Quote from: hcfwesker on January 25, 2013, 03:41:48 PM

I'll try and answer these.

1)

Sources/Profile-View.php

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


$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="' . $modSettings['avatar_max_width_external'] . '"' : '';

For width and height, you can change the part in red betwwen the 2 " signs and change it to a number value.  Best and quickest advice I can give.  This only affects the Profile page so it won't affect other pages.


This is for all forum right ?  How can i change the buddies avatar size in ult. profile ?

(http://i.imgur.com/wyqxlEj.png)
Title: Re: Ultimate Profile
Post by: electricwildflower on January 26, 2013, 01:36:24 PM
Thanks i will look into the above.

sorry i might not of worded 5 properly well on the profile you can see the about me block and when people modify there profile they can add text to the about me block.

How would i go about adding my own custom blocks say if i wanted to add one called Music tastes and they can add text ?
Title: Re: Ultimate Profile
Post by: electricwildflower on January 26, 2013, 03:31:41 PM
I tried changing the code and changed it to this as a test

$avatar_width = !empty($modSettings['avatar_max_width_external']) ? ' width="100px"' : '';

but nothing happened on the ultimate profile i even changed it to 100% and just 100 just to make sure i wasn't doing it wrong the avatar still stays the same height, width ?
Title: Re: Ultimate Profile
Post by: hcfwesker on January 26, 2013, 06:48:20 PM
I'll look into the avatar resizing thingy.

Quote from: electricwildflower on January 26, 2013, 01:36:24 PMHow would i go about adding my own custom blocks say if i wanted to add one called Music tastes and they can add text ?

Hold tight, there's some edits involved.

Sources/Profile-Modify.php

Find
// MediaBox field

Add BEFORE

// My Music Tastes
$request = $smcFunc['db_query']('', '
SELECT value
FROM {db_prefix}themes
WHERE id_member = {int:id_member}
AND variable = "upmymusic"',
array(
'id_member' => $memID,
)
);
list($old_html) = $smcFunc['db_fetch_row']($request);

$html = substr(htmLawed(un_htmlspecialchars($old_html), $config_filter), 0, 65533);
$smcFunc['db_query']('', '
UPDATE {db_prefix}themes SET
value = {string:html}
WHERE id_member = {int:id_member}
AND variable = "upmymusic"',
array(
'html' => addslashes(htmlspecialchars($html)),
'id_member' => $memID,
)
);



default/Profile.template.php

Find
if ($modSettings['profile_allow_mediabox'] == 1)
echo '
<dl>
<dt>
<strong>', $txt['profile_media'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_media_desc'], '</span>
</dt>
<dd>
<textarea class="editor" name="default_options[media]" rows="8" cols="65">', @$context['member']['options']['media'], '</textarea><br />
</dd>
</dl>';


Add AFTER
                                 // My Music Tastes
echo '
<dl>
<dt>
<strong>', $txt['profile_upmymusic'], ':</strong>
<br />
<span class="smalltext">', $txt['profile_upmymusic_desc'], '</span>
</dt>
<dd>
<textarea class="editor" name="default_options[upmymusic]" rows="8" cols="65">', @$context['member']['options']['upmymusic'], '</textarea><br />
</dd>
</dl>';



UltimateProfile.template.php

Place the following where you want the box to appear, use the instructions I've already given to you before, http://www.simplemachines.org/community/index.php?topic=298641.msg3476033#msg3476033

'upmymusic',


Find
function up_block_media() {

Add BEFORE
function up_block_upmymusic() {
global $txt, $context;

if (!empty($context['member']['options']['upmymusic'])) {
echo '
<div id="up_interests">
<h3 class="catbg">
<span class="left"></span>
', $txt['profile_upmymusic'] ,'
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">
', parse_bbc($context['member']['options']['upmymusic']) ,'
</div>
<span class="botslice"><span></span></span>
</div>
</div>';
} else
return false;
}



default/languages/UltimateProfile.english.php

Add anywhere before the ?> at the bottom ( rename the title and description to what you want)

$txt['profile_upmymusic'] = 'My Music Taste';
$txt['profile_upmymusic_desc'] = 'Add your favorite Music';



Title: Re: Ultimate Profile
Post by: hcfwesker on January 26, 2013, 07:44:06 PM
Quote from: dhayzon on January 25, 2013, 07:09:06 PMI am modifying some ultimate design profilebut I have a problem in certain dimensions of the images in the profileI want more than 6 images

Sources/Profile-View.php

Find
// Profile pictures

In that area, just below, you'll see the following line..  change 6 to the number you want.
ORDER BY ' . $rand . '
LIMIT 6'



Quote from: dhayzon on January 25, 2013, 07:09:06 PMI need the thumbnails are larger

I cannot find the code that handles these.

Quotethis is my profile tests     http://club-dhayzone.net/profile/dhayzon/

Link is dead.
Title: Re: Ultimate Profile
Post by: electricwildflower on January 27, 2013, 11:52:54 AM
Thank you for the block code i will get round to adding it as soon as i can your a star :)
Title: Re: Ultimate Profile
Post by: vasgod on January 28, 2013, 01:04:17 PM
What are the codes for adding a Youtube video?
on the my media section?
Title: Re: Ultimate Profile
Post by: hcfwesker on January 28, 2013, 05:53:20 PM
Quote from: vasgod on January 28, 2013, 01:04:17 PM
What are the codes for adding a Youtube video?
on the my media section?

http://www.simplemachines.org/community/index.php?topic=298641.msg3476170#msg3476170
Title: Re: Ultimate Profile
Post by: Skaty on January 28, 2013, 10:09:37 PM
Quote from: hcfwesker on January 26, 2013, 06:48:20 PM
I'll look into the avatar resizing thingy.


There is some coding i think :D
Title: Re: Ultimate Profile
Post by: electricwildflower on January 30, 2013, 05:42:17 AM
The extra block added worked like a charm thank you. It will come in use in the future if i want to add other blocks :)
Title: Re: Ultimate Profile
Post by: rapture on January 31, 2013, 11:50:56 PM
Hello, I installed Ultimate Profile mod on our forum, which is running 2.03, and with using the package.  It worked at first, but then it stopped with errors when I tried to pull up the profile page on any user's profile.  I have tried reinstalling it, but still get the same error each time.  When I uninstall it, I no longer the problem with the profile page showing up right.

Title: Re: Ultimate Profile
Post by: hcfwesker on February 01, 2013, 12:42:34 AM
DETAILS.  Need more input.  What was the error, what other mods did you install.  Anything to do with Pretty URLs MOD being installed?  etc ...
Title: Re: Ultimate Profile
Post by: rapture on February 01, 2013, 02:25:59 AM
Yes, my apologies about that.  Reading through the thread, I think that it could be from doing a second install of this then..  From what I'm gathering, I'd need to replace some of the files again or .. something to that effect.

The error that I get is --

Server error
The website encountered an error while retrieving http://www.strangezen.com/baz/forum/index.php?action=profile. It may be down for maintenance or configured incorrectly.

When I remove the mod, that doesn't occur.  I'm guessing about the cause there from reading, though.   The mods I have installed are -

1.   Customize *Child Board*    2.7     
2.   SimplePortal    2.3.5     
3.   SMF Gallery Lite    3.1.4     
4.   Adk Menu Buttons    1.0     
5.   Ultimate Profile    0.9.1     
6.   Activity in Profile    1.1     
7.   SMF 2.0.3 Update    1.0        
8.   SA Chat    RC1 Rev59     
9.   Add Social Media Icons To Profiles    1.0.8 

I know the mod for the activity in the profile supports Ultimate Profile being there as I checked that. 
Title: Re: Ultimate Profile
Post by: hcfwesker on February 01, 2013, 03:02:43 AM
As does this MOD.  Add Social Media Icons To Profiles.   Since i wrote it I'd know lol.  but you can simply make the manual edits for Ultimate Profile template and they'll work fine.

you are using this zip, correct?  ultimate_profile-0-9-1_20.zip

and are you selecting all your custom themes during installation so they get installed on them as well?
Title: Re: Ultimate Profile
Post by: rapture on February 01, 2013, 06:56:43 AM
Quote from: hcfwesker on February 01, 2013, 03:02:43 AM
As does this MOD.  Add Social Media Icons To Profiles.   Since i wrote it I'd know lol.  but you can simply make the manual edits for Ultimate Profile template and they'll work fine.

you are using this zip, correct?  ultimate_profile-0-9-1_20.zip

and are you selecting all your custom themes during installation so they get installed on them as well?

Yes, I am using that zip, and hm.. I didn't get an option to choose the custom themes while doing installation. 

--Edit --

I figured what it was.  It was some left over code that was causing the error from when I was trying out the 123 chat mod.  Went into my error log, and found the code bits to remove it.   For now, that seems to have done it.  Seems to be working for now in the other templates too, etc.  I'll go in and manually adjust for your mod too.  Thanks again!
Title: Re: Ultimate Profile
Post by: Darkwinds on February 05, 2013, 10:33:59 PM
I have been wondering,Could I install this mod into my forum if its 2.0.4
Title: Re: Ultimate Profile
Post by: MC73 on February 05, 2013, 10:39:36 PM
Quote from: Darkwinds on February 05, 2013, 10:33:59 PM
I have been wondering,Could I install this mod into my forum if its 2.0.4

It is working on my 2.0.4 - but i would do a backup just incase
Title: Re: Ultimate Profile
Post by: hcfwesker on February 05, 2013, 10:57:28 PM
Quote from: Darkwinds on February 05, 2013, 10:33:59 PM
I have been wondering,Could I install this mod into my forum if its 2.0.4

If unsure goto the Mod download page, look to the box to the right, select 2.0.4 in the drop down box and click the "parse" button.  If codes come up, then it's compatible, which it is, just checked.
Title: Re: Ultimate Profile - buddy list
Post by: djohns on February 07, 2013, 08:00:12 PM
I guess, the buddy list is still broken?
Title: Re: Ultimate Profile - buddy list
Post by: djohns on February 07, 2013, 10:13:35 PM
I was able to use punjabilokvirsa's solution Reply #2804:

http://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823

It would be nice if the mod author would include punja's solution in the regular code.  I thought it would be in the most recent Ultimate Profile update since punja's solution came out more than a year ago, but apparently not.

I'm running SMF 2.04.  I did have to uninstall UP then delete everyone's buddy list, then reinstall and change the 2 lines of code in buddy.php to get things working. 

Now to see whether the forum users find additional problems. 
Title: Re: Ultimate Profile
Post by: Skaty on February 08, 2013, 10:45:35 AM
Quote from: Skaty on January 28, 2013, 10:09:37 PM
Quote from: hcfwesker on January 26, 2013, 06:48:20 PM
I'll look into the avatar resizing thingy.


There is some coding i think :D

Any progress on this ?
Title: Re: Ultimate Profile
Post by: melanie1986 on February 12, 2013, 05:34:16 PM
this question was raised quite a few pages back and I never found the answer. As I am a novice at doing this sort of thing, on punjabilokvirsa's solution Reply #2804: what is the actual (name) files that need to be changed?
Title: Re: Ultimate Profile
Post by: hcfwesker on February 12, 2013, 05:58:03 PM
Quote from: melanie1986 on February 12, 2013, 05:34:16 PM
this question was raised quite a few pages back and I never found the answer. As I am a novice at doing this sort of thing, on punjabilokvirsa's solution Reply #2804: what is the actual (name) files that need to be changed?

Sources/Buddies.php

Next time, please leave a link to the page or actual post you're referring to in the topic.  I almost gave up and left after clicking the 3rd random page guessing where the right "Reply#" was.

Find
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
Change to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));

Then run the query http://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823
Title: Re: Ultimate Profile
Post by: melanie1986 on February 12, 2013, 06:18:52 PM
sorry  ??? but it was up there a few posts up^^^ :D, but thank you, that should help :)
Title: Re: Ultimate Profile
Post by: melanie1986 on February 26, 2013, 10:35:46 PM
everything works! well almost everything  ::)

The only issue now is our old buddies from the default SMF theme. None of those show up. Do you know how to fix that?
Title: Re: Ultimate Profile
Post by: Dhayzon on February 27, 2013, 08:31:05 PM
very nice customized

  ;D ;D ;D ;D

(http://i.imgur.com/67MTnzX.png)
Title: Re: Ultimate Profile
Post by: Biology Forums on February 27, 2013, 10:12:57 PM
Very nicely done. I like your website's theme too!

Well done.
Title: Re: Ultimate Profile
Post by: melanie1986 on February 27, 2013, 11:37:46 PM
looks gr8 dhayzon :D :D

but I hope someone can answer my question please!  :-X
Title: Re: Ultimate Profile
Post by: Sakurachan on March 02, 2013, 02:38:41 PM
It works fine for me on SMF 2.0.4. ;P
Title: Re: Ultimate Profile
Post by: melanie1986 on March 03, 2013, 01:52:58 PM
Noooooooo *facepalm*

My question was, how do I fix it so that all the buddies show up from before we installed the "Ultimate Profile" ?

I had about 40 or so previously, but they do not show up on the new profile?? only those new ones I add now.
Title: Re: Ultimate Profile
Post by: Biology Forums on March 03, 2013, 04:30:30 PM
Quote from: melanie1986 on March 03, 2013, 01:52:58 PM
Noooooooo *facepalm*

My question was, how do I fix it so that all the buddies show up from before we installed the "Ultimate Profile" ?

I had about 40 or so previously, but they do not show up on the new profile?? only those new ones I add now.

You'll have to edit the source files so that they point to the old database table that stores information about forum buddy's, as opposed to the new database table created by this mod for buddy storage information.
Title: Re: Ultimate Profile
Post by: melanie1986 on March 03, 2013, 05:00:58 PM
can you give me a quick 101 on how to do that please :D
Title: Re: Ultimate Profile
Post by: Biology Forums on March 03, 2013, 05:04:59 PM


function get_extension($filename)
{
return substr(strrchr($filename, '.'), 1);
}

function is_buddy($memID, $buddyID)
{
global $smcFunc, $buddy_list, $modSettings;

// When buddy list if off, everybody is your friend ;)
if (!isset($modSettings['enable_buddylist']) || $modSettings['enable_buddylist'] == '0')
return true;

if (!is_array($buddy_list)) {
$request = $smcFunc['db_query']('', '
SELECT buddy_list
FROM {db_prefix}members
WHERE id_member = {int:id_member}',
array(
'id_member' => $memID,
)
);
list($buddy_list) = $smcFunc['db_fetch_row']($request);

$buddy_list = explode(',', $buddy_list);
}

if (in_array($buddyID, $buddy_list))
return true;
else
return false;
}


I think this would be the code to change, although I am not totally sure since I do not use SMF 2.x. That's the extent of what I know.
Title: Re: Ultimate Profile
Post by: melanie1986 on March 03, 2013, 05:24:31 PM
thank you Liam :D

I'll copy that and make sure I don't make a mess of it :)
Title: Re: Ultimate Profile
Post by: Dhayzon on March 12, 2013, 04:27:12 PM
how to get the comments of all users in this way

to place it in a php block SimplePortal

Title: Re: Ultimate Profile
Post by: Skaty on March 22, 2013, 08:56:57 AM
any way to resize these avatars ?

(http://i.imgur.com/WpdCi60.png)
Title: Re: Ultimate Profile
Post by: smitch6 on March 28, 2013, 03:37:29 AM
how do you create new albums pls?
Title: Re: Ultimate Profile
Post by: Kindred on March 28, 2013, 06:57:48 AM
???
Title: Re: Ultimate Profile
Post by: Biology Forums on March 28, 2013, 06:04:42 PM
Quote from: dhayzon on March 12, 2013, 04:27:12 PM
how to get the comments of all users in this way

to place it in a php block SimplePortal

You mean, you want to get all the latest comments in people's profiles into a portal block?
Title: Re: Ultimate Profile
Post by: Biology Forums on April 07, 2013, 06:30:11 PM
I noticed that when emails are sent, the links are inactive. The links are fine in the PM though :-\
Title: Re: Ultimate Profile
Post by: PatternInChaos on April 27, 2013, 01:58:42 PM
Is there a way I could see the number of overall comments on the ultimate profile? I would be thankful for any snippet of code to integrate this ^^

Edit: nevermind, I found it
Title: Re: Ultimate Profile
Post by: Skaty on April 28, 2013, 06:56:44 AM
Quote from: Skaty on February 08, 2013, 10:45:35 AM
Quote from: Skaty on January 28, 2013, 10:09:37 PM
Quote from: hcfwesker on January 26, 2013, 06:48:20 PM
I'll look into the avatar resizing thingy.


There is some coding i think :D

Any progress on this ?

any any :D
Title: Re: Ultimate Profile
Post by: neonsyrup on June 09, 2013, 12:03:58 AM
Which script can I change the text, for example, in about me it says: I will write this later. :)

I just want to change it to "This user hasn't edited this yet."
Title: Re: Ultimate Profile
Post by: hcfwesker on June 09, 2013, 05:11:15 AM
Quote from: neonsyrup on June 09, 2013, 12:03:58 AM
Which script can I change the text, for example, in about me it says: I will write this later. :)

I just want to change it to "This user hasn't edited this yet."

default/languages/UltimateProfile.english.php
Title: Re: Ultimate Profile
Post by: moyack on June 23, 2013, 01:53:27 PM
Please upload in the first post, in the correction mark, that you have to modify the file BUDDIES.PHP.

http://www.simplemachines.org/community/index.php?topic=298641.msg3286153#msg3286153
Title: Re: Ultimate Profile
Post by: DeroZ on June 24, 2013, 05:11:20 PM
can anyone share a customized template? =/
Title: Re: Ultimate Profile
Post by: Chris B. on June 25, 2013, 03:37:25 PM
I seem to be having only one problem after upgrading my forums from 2.0 to 2.0.4 thru package manager. The photos in Profile Photo are uploading but only showing text, no pictures. I checked and the settings are the same, nothing changed there and the 2.0.4 parser coding is same for al files.

Not sure where the problem lies right now in the programming.

Chris
Title: Re: Ultimate Profile
Post by: electricwildflower on July 05, 2013, 01:07:10 PM
Got a quick question.

Been away from simple machines forum for a while so not had the chance to check up on any updates but my question is have the buddies list been fixed yet ?

i currently run 0.9.1 and the buddies list is disabled due to being broke.

Cheers
Title: Re: Ultimate Profile
Post by: Kindred on July 05, 2013, 01:52:17 PM
http://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823
Title: Re: Ultimate Profile
Post by: Rain Forest on July 15, 2013, 10:21:06 AM
Hi :)

I I've looked through this topic but didn't seem to find an answer to my question.

In buddylist (Profile > Modify Profile > Buddylist) the 'add a buddy' disappeared..

Before:
(http://s20.postimg.org/jddd853f1/before.jpg)

After:
(http://s20.postimg.org/7zqtwxswd/after.jpg)

I know that when you click on a member's username you can click on 'add as buddy' but I am using Private Profile (http://www.simplemachines.org/community/index.php?topic=507200.0) so that wont' work. :)

I hope someone can bring it the 'add a buddy' back :)
Title: Re: Ultimate Profile
Post by: Kindred on July 15, 2013, 11:19:49 AM
Did you already make the buddy code correction as listed several times?
http://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823


AFAIK, the only way to add a buddy is to do it through their profile...   If you have combined two different mods that basically conflict with each other, then you have issues....


Title: Re: Ultimate Profile
Post by: Rain Forest on July 15, 2013, 12:12:25 PM
Quote from: Kindred on July 15, 2013, 11:19:49 AM
Did you already make the buddy code correction as listed several times?
http://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823

Yup, I did. No changes which are related to my problem.

Quote from: Kindred on July 15, 2013, 11:19:49 AM

AFAIK, the only way to add a buddy is to do it through their profile...   If you have combined two different mods that basically conflict with each other, then you have issues....

Not true. Like I said in the picture above (before .jpg) you can add members by going to Profile > Modify Profile > Buddylist.
Title: Re: Ultimate Profile
Post by: electricwildflower on August 03, 2013, 04:50:58 PM
All worked fantastically but where do i run this code as in which file do i run it .

<?php
require_once 
'SSI.php';
$space "<br />\n<br />\n";


$request $smcFunc['db_query']('''
SELECT id_member, buddy_list
FROM {db_prefix}members
ORDER BY id_member ASC'
,
array()
);

while ($row $smcFunc['db_fetch_assoc']($request)) {
if ($row['buddy_list']) {
$exp explode(','$row['buddy_list']);
$fil array_filter($exp);
if (count($exp) != count($fil)) {
echo "$space {$row['id_member']}: ";
var_dump($row['buddy_list']);/*
echo "$space exp:";
var_dump($exp);
echo "$space fil: ";
var_dump($fil);*/
echo "$space fixed: ";
$fixed implode(',',$fil);
var_dump($fixed);
echo "$space";
if (function_exists('updateMemberData')) updateMemberData($row['id_member'], array('buddy_list' => $fixed));

}
}
}

$smcFunc['db_free_result']($request);
Title: Re: Ultimate Profile
Post by: electricwildflower on September 05, 2013, 03:45:58 PM
Anyone fancy sharing a template or is there anywhere we can upload our templates to share. I did find the website link below but they have disabled new registration which is a shame as some of us still use the mod. It would be great to be able to share templates, any extras people have added that is of course if we can. ;)

http://dev.turanjanin.net/forum/index.php (http://dev.turanjanin.net/forum/index.php)
Title: Re: Ultimate Profile
Post by: Kat9119 on September 30, 2013, 03:23:37 PM
Is there any way to show ALL photos on the main profile page? so people don't have to click on "profile pictures" to see the rest of them?

If not, is there a way to display ALL photos on the first page of the "profile pictures"? Right now it only displays 10. and then you have to choose page #2
Title: Re: Ultimate Profile
Post by: Rownan_ on October 23, 2013, 09:55:08 PM
I am loving the package thank you so much for this but I had two questions.

1.) Is there any way to get the block images that are under each category to be rounded on both sides, because it looks like it isn't scaling the image so only one of the rounded sides shows and it makes for an unappealing display. An example of what I'm talking about would be here --taintedgamers.com/index.php?action=profile;u=1-- you can see how the image behind Summary - Rownan isn't right.

2.) Is there any way you can integrate your "Contact Me" section with the "Gamer ID" mod by KiLLuMiNaTi-7- --custom.simplemachines.org/mods/index.php?mod=2769--
Title: Re: Ultimate Profile
Post by: melanie1986 on October 23, 2013, 10:16:00 PM
I've tried to play around with the number of photos on display. No luck there for me. :(
Title: Re: Ultimate Profile
Post by: inter on October 24, 2013, 11:44:22 AM
Subs-Members.php

find:
    $smcFunc['db_query']('', '
SELECT ID_PICTURE


replace:
$request = $smcFunc['db_query']('', '
SELECT ID_PICTURE
Title: Re: Ultimate Profile
Post by: sturmkatze on October 24, 2013, 12:09:55 PM
I don't remember if I it was ever answered: Can you change this so that more than 12 buddies show AND can I shrink the avatars to like 80 px or so?
Title: Re: Ultimate Profile
Post by: Kindred on October 24, 2013, 12:12:00 PM
sure... you CAN....  just edit the code. :P

I don't think that the author of this mod is doing updates, though.
Title: Re: Ultimate Profile
Post by: sturmkatze on October 24, 2013, 12:17:19 PM
:P Would one have an example how some lowly non-coder such as myself could accomplish this feat?

I really DO love this mod -- just needs tweaks. Has anyone got any profile layout templates available? I do believe that would also be useful. I waded through all the threads once. It has gotten to a seriously LONG list...

Quote from: Kindred on October 24, 2013, 12:12:00 PM
sure... you CAN....  just edit the code. :P

I don't think that the author of this mod is doing updates, though.
Title: Re: Ultimate Profile
Post by: hcfwesker on October 24, 2013, 12:47:49 PM
Quote from: Rownan_ on October 23, 2013, 09:55:08 PM2.) Is there any way you can integrate your "Contact Me" section with the "Gamer ID" mod by KiLLuMiNaTi-7- --custom.simplemachines.org/mods/index.php?mod=2769--

Like the attached pic below?   Though the MOD as is has no Nintendo IDs, those I had to custom add.  Replay back and confirm thats what you needed and I'll supply the edits. 
Title: Re: Ultimate Profile
Post by: Rownan_ on October 24, 2013, 07:34:35 PM
Quote from: hcfwesker on October 24, 2013, 12:47:49 PM
Quote from: Rownan_ on October 23, 2013, 09:55:08 PM2.) Is there any way you can integrate your "Contact Me" section with the "Gamer ID" mod by KiLLuMiNaTi-7- --custom.simplemachines.org/mods/index.php?mod=2769--

Like the attached pic below?   Though the MOD as is has no Nintendo IDs, those I had to custom add.  Replay back and confirm thats what you needed and I'll supply the edits.

Yeah that is exactly what I am looking for, that would be perfect.
Is there any solution to the squared blocks for the category backgrounds by any chance to or no?
Title: Re: Ultimate Profile
Post by: hcfwesker on October 24, 2013, 10:37:50 PM
Quote from: Rownan_ on October 24, 2013, 07:34:35 PMYeah that is exactly what I am looking for, that would be perfect.

Themes/default/UltimateProfile.template.php

Find
'contact',

Add Before
'gamer_contact',

Find
function up_block_contact() {

Add BEFORE
function up_block_gamer_contact() {
global $settings, $txt, $context, $scripturl;

echo '
<div id="up_contact">
<h3 class="catbg">
<span class="left"></span>
Gaming System Contacts
</h3>
<div class="windowbg creator">
<span class="topslice"><span></span></span>
<div class="content">';

echo '
<dl>';

if (!isset($context['disabled_fields']['gamer_xbgt']) && !empty($context['member']['gamer_xbgt']['link']))
echo '
<dt>', $context['member']['gamer_xbgt']['link'], '</dt>
<dd>', $context['member']['gamer_xbgt']['link_name'], '</dd>';

if (!isset($context['disabled_fields']['gamer_psn']) && !empty($context['member']['gamer_psn']['link']))
echo '
<dt>', $context['member']['gamer_psn']['link'], '</dt>
<dd>', $context['member']['gamer_psn']['link_name'], '</dd>';

if (!isset($context['disabled_fields']['gamer_steam']) && !empty($context['member']['gamer_steam']['link']))
echo '
<dt>', $context['member']['gamer_steam']['link'], '</dt>
<dd>', $context['member']['gamer_steam']['link_name'], '</dd>';

if (!isset($context['disabled_fields']['gamer_xfire']) && !empty($context['member']['gamer_xfire']['link']))
echo '
<dt>', $context['member']['gamer_xfire']['link'], '</dt>
<dd>', $context['member']['gamer_xfire']['link_name'], '</dd>';

echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>';

return true;
}




Quote from: Rownan_ on October 24, 2013, 07:34:35 PMIs there any solution to the squared blocks for the category backgrounds by any chance to or no?

It's not the MOD, but your custom theme's css and how it displays 'catbar' and 'catbg'

Title: Re: Ultimate Profile
Post by: Rownan_ on October 25, 2013, 08:08:18 PM
Quote from: hcfwesker on October 24, 2013, 10:37:50 PM
Quote from: Rownan_ on October 24, 2013, 07:34:35 PMYeah that is exactly what I am looking for, that would be perfect.

Themes/default/UltimateProfile.template.php

Find
'contact',...

Thank you so much, I needed that very badly.
Title: Re: Ultimate Profile - Profile Picture Problem
Post by: mrneil1964 on November 08, 2013, 09:08:50 PM
I 'inherited' a site database with posts and member profiles from an old site that went belly up, and I'm rebuilding that site on a new server.  I only got the site database, not the avatars, profile pics, attachments etc.  Therefore, the 'Profile Pictures' section in each member profile contains captions and links to picture files that don't actually exist.  They appear in the profile as captions below 'blank' pics. 

I'd like to clear these 'dead' pointers out of the profiles.  The regular SMF attachments integrity check doesn't pick them up.  Does anyone know of a way to do a 'UP integrity check' ?

Many thanks in advance for any suggestions.

Cheers,

Neil
Title: Re: Ultimate Profile
Post by: recursiveMAX on December 02, 2013, 07:35:46 PM
Could anyone help me figure out how to make the user's avatar and buddy avatars a certain specific width (100px)? The ultimate profile is spilling out of the skin, and I think it is because my forum uses 200x300 avatars as opposed to the standard 100x100. I've been fiddling with the UltimateProfile.template but I haven't been able to figure it out...any help is extremely appreciated!
Title: Re: Ultimate Profile
Post by: Burke ♞ Knight on December 08, 2013, 05:23:51 PM
Installed onto a site, and when go to profile, get this error:

Unknown column 'com.time' in 'field list'
File: /Sources/Profile-View.php
Line: 246
Title: Re: Ultimate Profile
Post by: Kindred on December 08, 2013, 08:05:58 PM
it would seem that you did not fully install the mod...

did you do a manual installation?
Title: Re: Ultimate Profile
Post by: Burke ♞ Knight on December 08, 2013, 08:23:18 PM
Nope.
It had no errors, and claimed to have installed correctly.

I wonder if it has anything to do with the custom profile fields I have already set up...
Title: Re: Ultimate Profile
Post by: Illori on December 08, 2013, 08:26:18 PM
Quote from: Illori on August 20, 2011, 12:34:56 PM
Quote from: SunKing on July 31, 2011, 05:51:48 PM
To quickly restate what has been posted several times and perhaps obscured, if you are getting the error:
Unknown column 'com.time' in 'field list'
File: /home/content/88/6470888/html/Sources/Profile-View.php
Line: 246

Here:




I am not going to explain to you the inner workings of phpMyAdmin nor how to log into anything through your host. If you have questions with these, try using Google or contacting your host.

Once you have phpMyAdmin open, and you have clicked on your database at the top of the left-hand column, you'll notice tabs at the top.

Structure    SQL    Search    Query    Export    Import    Operations

Select the SQL tab and type/paste the following line into that box:

ALTER TABLE smf_profile_comments ADD time INT NOT NULL AFTER date

Make sure to replace smf_ with your table prefix.

Now click Go and the query will be run. This should fix the problem.



Title: Re: Ultimate Profile
Post by: Burke ♞ Knight on December 08, 2013, 08:31:42 PM
That did it. :)

Thank's Illori. :)

This is why I think all mods that add to the database, should remove what they add when uninstalling them.
I know some have the option, but they all should.
Title: Re: Ultimate Profile
Post by: Arantor on December 08, 2013, 08:32:29 PM
Those that set it up properly will automatically do so if the user selects the relevant option.
Title: Re: Ultimate Profile
Post by: Burke ♞ Knight on December 08, 2013, 08:37:37 PM
Neither Profile Comment nor this mod have the option.

However, having dealt with mod approval work, I know that now they are told to do so, when making mods and submitting them. :)
Title: Re: Ultimate Profile
Post by: Arantor on December 08, 2013, 08:38:47 PM
That's because they don't do it properly in the first place. Too many mods ported from 1.x don't do it because it was easier not to bother.
Title: Re: Ultimate Profile
Post by: Burke ♞ Knight on December 08, 2013, 09:26:33 PM
Now that have it running, I see the fix for the buddy page, yet there is still buddy issues.
You can't add buddies. It hides the link to do so, and if go to edit buddies, you get 2 buddy lists, and no add member box.
Title: Re: Ultimate Profile
Post by: Kindred on December 09, 2013, 12:13:13 AM
There is an add buddy option in each users profile page...

Seems to work correctly for me after the buddy fix.
Title: Re: Ultimate Profile
Post by: Burke ♞ Knight on December 09, 2013, 12:21:13 AM
Yes, I finally got it to work right.
Wonder why the add box on the page was removed, though... *shrugs*
Title: Re: Ultimate Profile
Post by: Cmely on February 23, 2014, 05:21:15 AM
Hi everybody,

I have a permission problem with UP : I would like to make it available to only specific groups in my forum.
So what I did was :
- In UP admin panel, I unchecked "Enable UP for all members"
- In membergroups permission, I unchecked also "Edit UP"

But this changed nothing, all members can still access and edit their UP.

Do you have any ideas on how I could solve that ?

Thanks in advance !
Title: Re: Ultimate Profile
Post by: CerebralJam on April 17, 2014, 09:21:31 AM
VERY STRANGE... I looked at this thread, and it didn't seem to have any more replies after 2009.  I went away and ended up posting in the support area the following: 

Hi there, I wasn't sure where to post this, but am hoping someone out there can help me anyway.  I have looked in the mod section and the mod Ultimate Profile has not been updated in the support thread since 2009.  It has been working fine for me, until today, I noticed when I tried to access my own profile, there is a link in there for 4shared that appears to have been deleted by the 4shared website - along with my membership!  :D  I've been away/quiet for a long time.

Anyway, my problem is, when I click my profile I immediately get transferred to 4shared with a 'this file is no longer available for download' message.

How do I get into the profile, database file?  I've tried looking via mysql but the fields I require to edit are not on my profile list it throws up.  The only time I see ultimate profile is in the packages list and I don't know what to do here as it doesn't give specific members profile details.  Does anyone know where this stuff is stored?  Whatever and how disable this link?  It is not giving me a chance to do so - the redirect is so swift.  It wasn't doing this before.  Any help would be appreciated.  Thank you.

UPDATE:  I have actually managed to solve this problem and will leave the answer here should anyone else be unfortunate enough to run into it.

Go to Modification Settings>Ultimate Profile.  Then uncheck allow Media Box and save.  You should now be able to access your own profile!  Or the problematic one.  In Modify Profile, go to Ultimate Profile and leave this page open.  Then (if like me you have two tabs open) recheck the Media Box and save.  You should now be able to see the offending link and delete it.  Voila!  Easier than I thought and doesn't involve touching anything in database.

Thanks again, I will now delete my other post.  :)
Title: Re: Ultimate Profile
Post by: Kindred on April 17, 2014, 09:47:36 PM
strange... because I never did that and I never had that offending link.
Title: Re: Ultimate Profile
Post by: Cmely on May 15, 2014, 04:53:25 AM
With Ultimate Profile come the Portfolio in wich user's can add their pictures and organize them in album.

It is also possible to customize completely the design of the UP page. Does someone knows if it is possible (and how) to give to the portfolio the same design than the Ultimate Profile Page ?
Title: Re: Ultimate Profile
Post by: hcfwesker on May 21, 2014, 12:28:27 AM
Quote from: Cmely on May 15, 2014, 04:53:25 AMDoes someone knows if it is possible (and how) to give to the portfolio the same design than the Ultimate Profile Page ?

I have a theory, and you can try it, just revert changes back if it doesn't work.  Since I haven't tested there may be other edits involved, but this is just from glancing at the package files ...

ProfilePictures.template.php

Find
function template_pictures_view()
{
global $context, $settings, $txt, $scripturl;


Add AFTER
// 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 -->

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


Not entirely sure since I'm not sure what the exact page link you are referring to.

Title: Re: Ultimate Profile
Post by: Arantor on May 21, 2014, 12:33:36 AM
That seems lovely and secure. Just ripe for an XSS vulnerability.
Title: Re: Ultimate Profile
Post by: Cmely on May 21, 2014, 07:51:46 AM
@hcfwesker :

First of all, thank you very much for your help, you put me on the right tracks !

Here is a profile  (http://www.lux-optima.com/index.php?action=profile;u=5)example and here is the corresponding portfolio (http://www.lux-optima.com/index.php?action=profile;area=pictures;u=5;album=5)
Here is another profile  (http://www.lux-optima.com/index.php?action=profile)example and here is the corresponding portfolio (http://www.lux-optima.com/index.php?action=profile;area=pictures;u=1)

I have few comments though :
1. The code you provided have to be pasted at least  in template_pictures_view() and in template_album_show()
2. The test on 'profile_allow_customize' doesn't trigger on my forum. So I've disabled it. I may be wrong but I don't think it was really mandatory in so far as the Portfolio can be accessed only if the member have enable Ultimate Profile. It seems to me to be redundant here.

But, once again, thank you hcfwesker, this was really important to me :)
Title: Re: Ultimate Profile
Post by: Biology Forums on June 26, 2014, 02:31:16 AM
The person who created this mod did not include a way to remove 'buddies' that have deleted their account.
Title: Re: Ultimate Profile
Post by: SilverKnight on August 22, 2014, 07:45:45 PM
Hi guys, i am Ireheart (or Silverknight on here)

I have made a Git repository for Ultimate Profile here:

-- github link removed - see next post for reasons - Kindred --

Feel free to submit bug-fixes\patches\additions towards this, the end goal is to keep this mod up to date without having to navigate the 155 pages on here to find resolutions to your problems which have already been resolved.

So far punjabilokvirsa's solution has been applied, any fixes\"neutral" additions will be accredited towards the author.
Title: Re: Ultimate Profile
Post by: Kindred on August 23, 2014, 01:13:01 AM
Silverknight...

The original author never released this mod under an open source license.
That means that the license defaults to the most restrictive, closed source one.

Which, in the end, means that you can not modify and/or distribute modified versions of this mod without express permission form the author.

Unless you have completely recoded the mod, you need to remove that from GitHub as it violates the github ToS.
Title: Re: Ultimate Profile
Post by: MarkJ on August 25, 2014, 10:32:28 AM
I have this mod up and running - damn good it is too - but I have an issue with uploaded profile image sizes as they become huge compared to the original?  This seems odd to me, and if anything I would like it the other way around as in images are optimised on upload.  Just wondering if this can be corrected as it will just eat up server space as is.  Anyone know why this is happening?
Title: Re: Ultimate Profile
Post by: ʜᴏᴍɪᴄɪᴅᴇ on September 01, 2014, 08:27:33 PM
how do i remove the text "online" i tied doing it in the UltimateProfile.template.php file but everytime i deleted the Online text the number "1" would replace where the original "online" text was
Title: Re: Ultimate Profile
Post by: Kindred on September 01, 2014, 08:31:01 PM
Well, HOW did you "delete the online text"?
Title: Re: Ultimate Profile
Post by: ʜᴏᴍɪᴄɪᴅᴇ on September 17, 2014, 03:42:49 PM
Quote from: Kindred on September 01, 2014, 08:31:01 PM
Well, HOW did you "delete the online text"?

deleted a node in the file
Title: Re: Ultimate Profile
Post by: Kindred on September 17, 2014, 03:49:49 PM
WHAT?


Sorry, that is nonsensical...   WHAT did you delete?

(and you can not just randomly delete code...)
Title: Re: Ultimate Profile
Post by: avisona30 on September 18, 2014, 01:41:01 AM
Hey author of this mod please update this for smf 2.0.8

Thank you
Title: Re: Ultimate Profile
Post by: br360 on September 18, 2014, 01:59:06 AM
This works fine in 2.0.8. You don't even have to emulate.
Title: Re: Ultimate Profile
Post by: avisona30 on September 19, 2014, 02:14:24 AM
Hi I need support about this mod.

I install it my SMF 2.0.8 forum. but problem is after install it when I try to open Modification Settings under admin panel it's show a blank page. now tell me what to do. Other parts of forum working fine.
Title: Re: Ultimate Profile
Post by: Kindred on September 19, 2014, 06:43:52 AM
First... "Now tell me what to do" is rather demanding.   

Second... When you installed the mod, were there any errors? Because what you describe is not normal behavior for a proper installation.

Other mods installed?
What theme?
Title: Re: Ultimate Profile
Post by: margarett on September 19, 2014, 07:01:00 AM
Just to add something:
A blank page is a PHP error. So you should check in your server logs for it. That's the first step to debug the issue ;)

Quote from: Kindred on September 19, 2014, 06:43:52 AM
When you installed the mod, were there any errors?
^^ This. I confirm it installs perfectly clean in 2.0.8. So make sure you had no errors when installing it.
Title: Re: Ultimate Profile
Post by: avisona30 on September 19, 2014, 10:27:57 AM
Quote from: Kindred on September 19, 2014, 06:43:52 AM
First... "Now tell me what to do" is rather demanding.   

Second... When you installed the mod, were there any errors? Because what you describe is not normal behavior for a proper installation.

Other mods installed?
What theme?

I tried with SMF default curve them.


I have these mods install

1. last login 2.9

2. PM Attachments 1.6

3. Activity in Profile 1.1

4. FantasticSmileys 1.0

5. Auto Code Live
Links 1.0.1
6.
Simple ImgBR
Upload Image in
CSS - upload by
URL
1.0

7. BxK's WAP Mod 1.6

8. Tinypic Plugin 1.0.0

9. Do not enter 1.1

10. Ultimate Profile 0.9.1

11. Users Online
Today 2.1

12. SMFPacks
Shoutbox 1.0.5

13. Addthis widget in
first post 2.0

14. YouTube BBCode 2.6

15.
Show Joined,
Location,
Username In Topic
View
1.0

16.
Add Facebook
Like, Tweet, and
Google +1
Title: Re: Ultimate Profile
Post by: Akshtsaklani7 on September 20, 2014, 01:17:31 AM
Well I really want this mod on my forum but I am facing 2 problems..

1. Avatar size of the person who comments appears huge (bigger than the page itself). You may see comment on my profile for example, screenshot attached.

2. The people who were my buddies before installing the mod do not appear in my buddy list. And I cannot send them a friend request as well (you are already buddies error).

Please Help
Title: Re: Ultimate Profile
Post by: avisona30 on September 20, 2014, 02:13:25 AM
Is there anybody here who can solve my problem. author of this mod busy I think 
Title: Re: Ultimate Profile
Post by: avisona30 on September 20, 2014, 02:30:15 AM
Hey it's irritating me lot. when I install this mod in SMF 2.0.8 Modification Settings under admin panel is not working means when I click that tab my forum shows blank page.

now I uninstalled this mod and found horrible think. when I click Modification Settings tab it's open and there I found Ultimate profile tab and I click on that saw some square box.

now tell me how to completely uninstalled this mod from my forum.
Title: Re: Ultimate Profile
Post by: Kindred on September 20, 2014, 07:33:57 AM
avisona30,
Quote from: Kindred on September 19, 2014, 06:43:52 AM
When you installed the mod, were there any errors?

Also
this is not a real time support site. You posted a partial response, yesterday (and didn't answer the most important question that was asked (see above).   It is generally considered good form to wait a least 24 hours for a response (which you did not)

As for uninstall...   I believe that whatever you have done proves my point...  you probably DID have errors during the install (and ignored them) and then had further errors during the uninstall (and ignored them) which leaves your system is a very odd state of having a partially instaled/uninstalled mod sitting in the code.

If this is the case, then the only solution (other than a clean file load) is to manually remove the mod code


Akshtsaklani7,

I think there was a bug in the buddies system in this mod...   do a search of this topic for the fix
Title: Re: Ultimate Profile
Post by: avisona30 on September 20, 2014, 08:49:41 AM
Then tell me how to remove the code manually. and what means of fresh file install.



And sorry for not showing patients.
Title: Re: Ultimate Profile
Post by: Kindred on September 20, 2014, 08:54:20 AM
go to the mod site.
select 2.0.8 fro the dropdown next to "manual install for" and click the button.

This will tell you all of the actions that were taken during the install process.
Do those in reverse.
(if it says add ---   then remove that code.  If it says replace... with...   then find the new code and replace it back with the old code)
Title: Re: Ultimate Profile
Post by: Akshtsaklani7 on September 22, 2014, 11:59:19 AM
Quote from: Akshtsaklani7 on September 20, 2014, 01:17:31 AM
Well I really want this mod on my forum but I am facing 2 problems..

1. Avatar size of the person who comments appears huge (bigger than the page itself). You may see comment on my profile for example, screenshot attached.

2. The people who were my buddies before installing the mod do not appear in my buddy list. And I cannot send them a friend request as well (you are already buddies error).

Please Help

Bump
Title: Re: Ultimate Profile
Post by: Kindred on September 22, 2014, 01:21:49 PM
Quote from: Kindred on September 20, 2014, 07:33:57 AM
Akshtsaklani7,

I think there was a bug in the buddies system in this mod...   do a search of this topic for the fix
Title: Re: Ultimate Profile
Post by: Biology Forums on October 07, 2014, 10:58:18 PM
Anyone else find that the report function doesn't work?
Title: Re: Ultimate Profile
Post by: queennikki1972 on October 10, 2014, 12:30:18 PM
I have the buddy list in ultimate profile showing only in certain members of the default Registered Members Group.. all people are same member group but cannot see buddies.. except a few
Title: Re: Ultimate Profile
Post by: Kindred on October 10, 2014, 01:26:55 PM
Quote from: Kindred on September 20, 2014, 07:33:57 AM
I think there was a bug in the buddies system in this mod...   do a search of this topic for the fix
Title: Re: Ultimate Profile
Post by: Biology Forums on October 23, 2014, 10:05:30 PM
Report member fix:

In profile.php, replace:

// Find all of this forum's administrators.
$request = db_query("
SELECT ID_MEMBER, emailAddress, lngfile
FROM {$db_prefix}members
WHERE ID_GROUP = 1 OR FIND_IN_SET(1, additionalGroups)
AND notifyTypes != 4
ORDER BY lngfile", __FILE__, __LINE__);


With

$request = db_query("
SELECT ID_MEMBER, realName, emailAddress, lngfile
FROM {$db_prefix}members
WHERE (ID_GROUP = 1 OR FIND_IN_SET(1, additionalGroups))
ORDER BY lngfile", __FILE__, __LINE__);
Title: Re: Ultimate Profile
Post by: Kindred on October 23, 2014, 10:37:08 PM
Hmmmm..., why?  I think it works as it is... (?)
Title: Re: Ultimate Profile
Post by: Arantor on October 23, 2014, 10:56:19 PM
Fairly sure notifyTypes != 4 is that way for a reason.
Title: Re: Ultimate Profile
Post by: Kindred on October 23, 2014, 11:15:46 PM
and why put realname in the query... I don't think it is needed.
Title: Re: Ultimate Profile
Post by: Biology Forums on October 23, 2014, 11:43:48 PM
realname isn't needed, accident.

with notifytypes in it, the query doesn't work, I don't know why...
Title: Re: Ultimate Profile
Post by: Arantor on October 23, 2014, 11:44:53 PM
Define 'doesn't work'.

I could imagine a precedence issue where the AND gets processed before the OR where () should be used.

As in:

// Find all of this forum's administrators.
$request = db_query("
SELECT ID_MEMBER, emailAddress, lngfile
FROM {$db_prefix}members
WHERE (ID_GROUP = 1 OR FIND_IN_SET(1, additionalGroups))
AND notifyTypes != 4
ORDER BY lngfile", __FILE__, __LINE__);
Title: Re: Ultimate Profile
Post by: Biology Forums on October 24, 2014, 12:34:42 AM
Doesn't work as in, it doesn't send an email nor does it print anything when I print_r the query.

I tried yours, and it also didn't send. What does AND notifyTypes != 4 do exactly?

Quote from: Kindred on October 23, 2014, 10:37:08 PM
Hmmmm..., why?  I think it works as it is... (?)

No, it doesn't for me and on a fresh install...
Title: Re: Ultimate Profile
Post by: Arantor on October 24, 2014, 12:40:07 AM
Notify types corresponds to the notification types in your profile settings. As in, 4 is 'for topics and boards I've requested notification on, notify me of: NOTHING AT ALL'.

Which means you sort of need to exclude type 4 for those who don't want notification. I suggest you check your profile settings to see if you have opted out of such.
Title: Re: Ultimate Profile
Post by: Biology Forums on October 24, 2014, 12:43:50 AM
I do have it on nothing at all... Interesting. Problem is, I don't want to change it to any of the other three options (I'm on my forum everyday anyway), so it would be best to remove it completely, right?
Title: Re: Ultimate Profile
Post by: Arantor on October 24, 2014, 12:45:57 AM
Um, what?

The whole point is that you're sending notifications to people... if they want them. So leave it how it is because it was working how it was supposed to work.
Title: Re: Ultimate Profile
Post by: Biology Forums on October 24, 2014, 12:50:02 AM
This notification is a report that's sent to admins only. I'm the only prominent admin.
Title: Re: Ultimate Profile
Post by: Arantor on October 24, 2014, 12:56:09 AM
Then I don't understand what the problem is. You don't want it on any of the other options, you're on the forum every day... so what exactly is the problem with leaving it alone?
Title: Re: Ultimate Profile
Post by: Biology Forums on October 24, 2014, 02:01:52 AM
I don't know why it's not sending...

The query specifies, you must be an admin And you're not on option 4.
I'm an admin and I am on option 4.

Therefore, in order for the script to work, I need to be on option 1, 2, or 3, but not 4.

Hence, it's better to remove that condition.

Is this the correct logic?
Title: Re: Ultimate Profile
Post by: Kindred on October 24, 2014, 06:20:33 AM
well... it might be -- in your case alone.

In most cases - by the standard logic, if the admin has said "don't send me notifications" then the exclusion for case=4 is absolutely correct.
So, your "fix" breaks the standard logic because you have decided to bypass the logic.
Title: Re: Ultimate Profile
Post by: Arantor on October 24, 2014, 10:37:13 AM
No, it's not the correct logic at all.

The condition says: you must be an admin and have told SMF you want to receive notifications. You have told it you do not - therefore you won't receive any.

It is working to the correct design of SMF.

But since this is for reports and you're already active every day, why do you need them by email? You already turned off all other such notifications.
Title: Re: Ultimate Profile
Post by: Apllicmz on November 09, 2014, 03:44:49 PM
good Work
when Update dont forget portuguese file
Here and attach

<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['ultimate_profile'] = '&Uacute;ltimo perfil';
$txt['permissionname_edit_ultimate_profile'] = 'Editar &uacute;ltimo perfil';
$txt['permissionname_simple_edit_ultimate_profile_own'] = 'Editar seu &uacute;ltimo perfil';
$txt['permissionname_simple_edit_ultimate_profile_any'] = 'Editar  &uacute;ltimo perfil de outras pessoas';
$txt['permissionname_edit_ultimate_profile_own'] = 'Pr&oacute;prio perfil';
$txt['permissionname_edit_ultimate_profile_any'] = 'Qualquer perfil';
$txt['permissionhelp_edit_ultimate_profile'] = 'Esta permiss&atilde;o permite ao utilizador editar o &uacute;ltimo perfil.';
$txt['cannot_edit_ultimate_profile_own'] = 'Você n&atilde;o tem permiss&atilde;o para editar o seu pr&oacute;prio &uacute;ltimo  perfil.';
$txt['cannot_edit_ultimate_profile_any'] = 'Você n&atilde;o tem permiss&atilde;o para editar qualquer &uacute;ltimo perfil.';

]]></add>
        </operation>
    </file>
   
    <file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
$txt['ultimate_profile'] = '&Uacute;ltimo perfil';
$txt['permissionname_edit_ultimate_profile'] = 'Editar &uacute;ltimo perfil';
$txt['permissionname_simple_edit_ultimate_profile_own'] = 'Editar seu &uacute;ltimo perfil';
$txt['permissionname_simple_edit_ultimate_profile_any'] = 'Editar  &uacute;ltimo perfil de outras pessoas';
$txt['permissionname_edit_ultimate_profile_own'] = 'Pr&oacute;prio perfil';
$txt['permissionname_edit_ultimate_profile_any'] = 'Qualquer perfil';
$txt['permissionhelp_edit_ultimate_profile'] = 'Esta permiss&atilde;o permite ao utilizador editar o &uacute;ltimo perfil.';
$txt['cannot_edit_ultimate_profile_own'] = 'Você n&atilde;o tem permiss&atilde;o para editar o seu pr&oacute;prio &uacute;ltimo  perfil.';
$txt['cannot_edit_ultimate_profile_any'] = 'Você n&atilde;o tem permiss&atilde;o para editar qualquer &uacute;ltimo perfil.';

]]></add>
        </operation>
    </file>
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on November 19, 2014, 01:08:18 AM
Could someone tell me what to edit out to remove this:


(problem number 5 in attached picture)


Thank you! :D
Title: Re: Ultimate Profile
Post by: Kindred on November 19, 2014, 08:17:26 AM
well, WHERE is "problem #5" actually DISPLAYED?

You include screen shot cuts without actually indicating what screen the shot is from.
A URL showing the issue in addition to a screen shot is often useful as well.
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on November 19, 2014, 08:30:50 AM
Thank you for the reply as always Kindred,

The problem I'm referring to is found on a members profile..

I'd like to remove the text version of "Online" as the image replaces it's need..

testing account:

www.420connect.info
u: smftest
pw: smftest


I've attached my UltPro.template & profile.template should these be of any use for someone who knows what to look for! :)


Thanks again, and help received if much appreciated!
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on November 19, 2014, 03:19:54 PM
Just to update I've solved that now ^^ with the help of TrayBake :) (Y)



Another small thing I'd like to add...

On the page where a member edits their ultimate profile..

easy fix:
The description of the "My Media" box

- Could anyone tell me where I'd be able to add to the description people see?

better fix:
or alternatively would it be possible to enable the "my media" box to allow the new format of youtube video embedding..

<iframe width="560" height="315" src="//www.youtube.com/embed/qpgTC9MDx1o" frameborder="0" allowfullscreen></iframe>

rather than

<object width="560" height="315"><param name="movie" value="//www.youtube.com/v/uJRhKMDt6Lk?version=3&amp;hl=en_GB" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="//www.youtube.com/v/uJRhKMDt6Lk?version=3&amp;hl=en_GB" type="application/x-shockwave-flash" width="560" height="315" /></object>




As always, thank you in advance for any help you can provide! :)
Title: Re: Ultimate Profile
Post by: hcfwesker on November 27, 2014, 05:55:12 PM
Quote from: 420connect.info on November 19, 2014, 03:19:54 PM
easy fix:
The description of the "My Media" box

- Could anyone tell me where I'd be able to add to the description people see?

Themes/default/languages/UltimateProfile.english.php

$txt['profile_media_desc'] = 'You can paste codes for your favorite videos, music... here. Also, HTML and CSS are supported.';
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on November 30, 2014, 08:53:39 AM
Thank you hcfwesker! :)







Also, can anyone help getting the referral system to integrate with the ultimate profile mod?
(wasn't sure if this would be best posted here or the referral mod's topic...
http://www.simplemachines.org/community/index.php?topic=226191.1180)

Thank you
Title: Re: Ultimate Profile
Post by: AumoeLooure on December 20, 2014, 05:35:04 AM
I keep getting this error after installing Ultimate Profile:

"Unknown column 'com.time' in 'field list'

So I tried to uninstall it, and even though it no longer lists it as there even in the FTP, it still lists the Ultimate Profile control panel in Mod settings.

Please help! I can't for the life of me get the profiles back!
Title: Re: Ultimate Profile
Post by: Kindred on December 20, 2014, 07:17:37 AM
how did you uninstall it?

Did you just delete it?  That does not uninstall a mod....
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on February 06, 2015, 12:13:04 PM
Can someone help me allow BBC in about me / interests / my media boxes.
and display the buttons for them above the boxes where you enter your text.


Thank you
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on February 06, 2015, 03:34:32 PM
Quote from: 420connect.info on February 06, 2015, 12:13:04 PM
Can someone help me allow BBC in about me / interests / my media boxes.
and display the buttons for them above the boxes where you enter your text.


Thank you


update: manage to enable bbc in the boxes,
struggling to add the bbc above them and for it to work with the box.
Title: Re: Ultimate Profile
Post by: 420Connect.co.uk on February 18, 2015, 10:15:02 AM
:P I can't stop playing with ultimate profile! :P


This time I'm wondering if it would be easy enough to combine the pages where you edit your my media/interests etc. info with the default smf 'index.php?action=profile;area=forumprofile' page?

so all their profile information would be entered on one page, instead of having the extra 'index.php?action=profile;area=customized' page.

Many thanks in advance!
Title: Re: Ultimate Profile
Post by: Kindred on February 18, 2015, 03:34:41 PM
actually, no... not that easy.
Title: Re: Ultimate Profile
Post by: GleamPlay.com on May 24, 2015, 09:37:09 PM
Hi, is it possible to change the style of Buddy List back to the old one?

New one:
http://i.imgur.com/O6aywlo.png


Thanks!!!
Title: Re: Ultimate Profile
Post by: excalibur2015 on July 07, 2015, 09:57:49 PM
Hi , forgive me if this is in the wrong place but I cannot find the info I was looking for and have added this here to see if you can help.

I have installed SMF 2.0.10 full install and wondered if the Ultimate Profile would work in the new update , The file installed with not  a problem but when I went to the profile page I got this message.

Unknown column 'com.time' in 'field list'
File: /home/innocent/public_html/Sources/Profile-View.php
Line: 246

Can anyone tell me the answers to the following questions.

1. Is Ultimate Profile compatible with 2.0.10
2. If so do I have to modify a file to get it to work with the system?.
3. if it is not compatible with 2.0.10 can anyone take up the task of getting it to work and if possible for the 2.1.0 which is going through tests at the moment .

I am a novice at this and my members have expressed an interest as have I to get this mod to work in the profile area.

Thanks
Title: Re: Ultimate Profile
Post by: melanie1986 on July 07, 2015, 10:28:54 PM
Hi Ex, we have the latest updates on our SMF2. and the UP works a treat. If no one else answers I'll see if I can get my boss man to post here for you.
Title: Re: Ultimate Profile
Post by: Kindred on July 08, 2015, 12:07:07 AM
The error suggests that a) the install was not actually without problem and you ignored an error telling you that the install would not be compete or b) your mod did not actaully fully install... Especially the database part
Title: Re: Ultimate Profile
Post by: Illori on July 08, 2015, 05:58:03 AM
if you had searched this mods support topic you would have found this at least a few times.

this is not related to the mod not installing cleanly or errors during the install. this error happens after the install has been completed. seems that a column is missing in the database and has to be added.

Quote from: Illori on December 08, 2013, 08:26:18 PM
Quote from: Illori on August 20, 2011, 12:34:56 PM
Quote from: SunKing on July 31, 2011, 05:51:48 PM
To quickly restate what has been posted several times and perhaps obscured, if you are getting the error:
Unknown column 'com.time' in 'field list'
File: /home/content/88/6470888/html/Sources/Profile-View.php
Line: 246

Here:




I am not going to explain to you the inner workings of phpMyAdmin nor how to log into anything through your host. If you have questions with these, try using Google or contacting your host.

Once you have phpMyAdmin open, and you have clicked on your database at the top of the left-hand column, you'll notice tabs at the top.

Structure    SQL    Search    Query    Export    Import    Operations

Select the SQL tab and type/paste the following line into that box:

ALTER TABLE smf_profile_comments ADD time INT NOT NULL AFTER date

Make sure to replace smf_ with your table prefix.

Now click Go and the query will be run. This should fix the problem.



Title: Re: Ultimate Profile
Post by: excalibur2015 on July 08, 2015, 07:58:53 AM
Thanks for your help in this matter . I had looked at this section but did not match the information at that time , my mistake and I apologise.

melanie1986 I appreciate your help and if there is any other information from your boss I would be grateful .

Kindred, I have noted your statement but I assure you I never install any mod or theme which is not compatible with the current one smf2 I have at this present time , also kindred I never install any mod that shows signs of having a problem with the installation after showing an error in the system . All mods I install  have been clean as far as I have been aware and nothing has shown up in the system as being a problem .

I do take your point that it may have been an error which did not show or that the installation was not as clean and full as I thought but why did the system not state there was a problem with the installation and incorrectly stated it had installed correctly . I ran a check on the system to see if there were any errors anywhere and it came back it was running perfectly . Only when I pressed the profile button did the error in the database line show.

Illori thank you for the information you posted and I will try and get that sorted once I have sorted the other problems which are not related to this one . That is on another part of this site and will be searching for the answer to this one.
Title: Re: Ultimate Profile
Post by: Cruiser57 on July 17, 2015, 11:42:58 AM
Hi...

I' like to get a little help for the Media-Box in Ultimate Profile... (field is stored in _themes DB).

I'd like to enter following code to play a video on my Ultimate Profile:
<video controls="controls" autoplay="autoplay"> 
<source src="../video.webm" type="video/webm" /> 
<source src="../video.ogv" type="video/ogg" /> 
<source src="../video.mp4" type="video/mp4"/>
</video>

When I enter this text and save it, the field is "empty" and nothing happens...

I've put this text directly to the SQL-Database, and after saving, I got my video in my Profile.

So, I believe, the might be a "Blocker" somewhere in the PHP-Code.  Has anyone a hint, how to get rid of this "Blocking Code" ?

(If I use "normal text", I can save it correctly in the Media-Box)

Thanks for any Help

Tom
Title: Re: Ultimate Profile
Post by: Kindred on July 17, 2015, 11:55:00 AM
you do **NOT** want to "get rid" of that blocking code.   it is there for the security of your site.
Without it, someone could post a hack script and take control of your site  -- this is the same reason that HTML code will not work within a post either.
Title: Re: Ultimate Profile
Post by: Cruiser57 on July 18, 2015, 03:41:18 AM
Hi, and thanks for your reply...

from that point of vue, you're completely right.

Is there any "allowed" way, to have a Video in the Media-Box instead ?

Thanks, Tom

Title: Re: Ultimate Profile
Post by: Kindred on July 18, 2015, 08:32:12 AM
get one of the youtube or other video BBC mods?maybe?
Title: Re: Ultimate Profile
Post by: hispanomc on September 05, 2015, 07:58:56 PM
Hey guys i am having problems with my ultimate profile comments.

Look at the image.

For some reason the profile photos on the comments are HUGE... ¿How can i change the size of the profile picture while comenting?

Thanks in advance

Title: Re: Ultimate Profile
Post by: Switz_d0d on September 14, 2015, 12:50:21 AM
Can anyone walk me through how to add the "Like Posts" modification to have the total likes earned to show on the ultimate profile area.  Perhaps under "Last Active".  It appears in the postbits, and is supposed to show up in the profile, however, when I installed ultimate it went away because i would assume it is not located anymore where it used to be.

Here is the like mod's parse for 2.10
http://custom.simplemachines.org/mods/index.php?action=parse
Title: Re: Ultimate Profile
Post by: Kindred on September 14, 2015, 01:13:58 AM
Well, it "disappeared" because the ultimate profile mod uses a completely different template to display the profile... And was built before the likes mod, therefore it has no code to access the likes...

So, you would have to code it in fresh...
Title: Re: Ultimate Profile
Post by: Switz_d0d on September 15, 2015, 01:12:43 PM
That is what I need help with lol.  What file should I edit for Ultimate Profile.  And what code should I use to add the the members "Total Likes"? 

There are other things I want to add the the Ultimate Profile user area like the country flags mod, mottos, forum rank, etc etc.  I just need to see how one is done.  I'll also do one for Dream Portal (if I keep DP, their site has been offline which contains all of their mods).  But I need to learn somewhere and it appears this mods developer remains pretty active to take questions. 

Thanks
Title: Re: Ultimate Profile
Post by: Kindred on September 15, 2015, 01:31:16 PM
no idea what code you need to add... you would be best served to ask in the support topic for those other mods...

as for what file:

ultimateprofile.template.php :)
Title: Re: Ultimate Profile
Post by: Switz_d0d on September 15, 2015, 03:48:46 PM
Alright thanks.  It adds the Total Likes to their post bits so I would assume that if I dig around what was added there it should roughly translate to ultimateprofile.template.php

Title: Re: Ultimate Profile
Post by: Rene88 on October 04, 2015, 11:11:43 AM
Hello

is there a dutch translation?
i cant find it.
Title: Re: Ultimate Profile
Post by: Rene88 on October 11, 2015, 03:47:41 PM
nvm i translate myself :)

but another quiestion. hope someone can help.
all new memebers get the ultimate profiel selection to edit but existing users dont have it.
Title: Re: Ultimate Profile
Post by: Kindred on October 12, 2015, 01:53:34 AM
sounds like you need to check the permissions
Title: Re: Ultimate Profile
Post by: Rene88 on October 12, 2015, 06:57:25 AM
Thanks! that was the problem! fixt it :)
Title: Re: Ultimate Profile
Post by: Voku on October 13, 2015, 04:50:06 PM
Is there any way to add an "Edit comment" button on the profile comments?
Title: Re: Ultimate Profile
Post by: Kindred on October 13, 2015, 07:03:46 PM
Not easily...  you would have to also write the script to allow editing as well as add the button
Title: Re: Ultimate Profile
Post by: neosymmetrical on November 17, 2015, 10:13:14 AM
Quote from: punjabilokvirsa on January 17, 2012, 08:02:05 PM
I've discovered a bug in the code of Ultimate Profile 0.9.1 (don't know about previous versions). It was creating empty buddies in the buddy_list field of smf_members table when the person added their first buddy. This in turn meant that UP's code to check if guests should be allowed see the other person's UP or their pictures was always true. In other words, guests could see the locked pictures.

The problem is php's explode function:
explode(',', '')
creates
array(1) {
  [0]=>
  string(0) ""
}


But the developer's code (and normal human beings) expect it to be:
array(0) {
}


So to fix, change line 365 and 404 from:
$buddies = explode(',', $user_profile[$_GET['u']]['buddy_list']);
to:
$buddies = array_filter(explode(',', $user_profile[$_GET['u']]['buddy_list']));

In English, array_filter removes the bogus entry.

But that's not all folks, if you've used this mod for a while, you will also need to run a script to cleanup all the empty entries that have corrupted your users. To do this, run the following code in the root forum directory (comment out the updateMemberData line if you want to see what it does). Remove it when done, please.

<?php
require_once 
'SSI.php';
$space "<br />\n<br />\n";


$request $smcFunc['db_query']('''
SELECT id_member, buddy_list
FROM {db_prefix}members
ORDER BY id_member ASC'
,
array()
);

while ($row $smcFunc['db_fetch_assoc']($request)) {
if ($row['buddy_list']) {
$exp explode(','$row['buddy_list']);
$fil array_filter($exp);
if (count($exp) != count($fil)) {
echo "$space {$row['id_member']}: ";
var_dump($row['buddy_list']);/*
echo "$space exp:";
var_dump($exp);
echo "$space fil: ";
var_dump($fil);*/
echo "$space fixed: ";
$fixed implode(',',$fil);
var_dump($fixed);
echo "$space";
if (function_exists('updateMemberData')) updateMemberData($row['id_member'], array('buddy_list' => $fixed));

}
}
}

$smcFunc['db_free_result']($request);


I got everything besides the last bit, I'm not sure how to run that last code.
Title: Re: Ultimate Profile
Post by: Kindred on November 17, 2015, 10:58:02 AM
create a new file called "upreset.php" (or anything you want to call it) 
paste that code into it
run it in your browser like any other page
Title: Re: Ultimate Profile
Post by: hcfwesker on December 01, 2015, 07:33:33 PM
SMF 2.0.11

This may seem like a big request, but going to shoot for it anyway.  When creating a board you can select a theme to force users on when viewing it.  Well, some forums, like ours, have several themes and when members customize their profile on a specific theme, some other themes mess up the look.  So just wondering if it's possible that member's can select what theme they want their profile to be viewed on when other member's visit.

I'm not expecting anyone to take on the task, would be nice though :)  Mostly just wondering if it is possible
Title: Re: Ultimate Profile
Post by: live627 on December 01, 2015, 07:42:42 PM
A good start could be appending ;theme=1  to the URL.
Title: Re: Ultimate Profile
Post by: Jade Elizabeth on December 01, 2015, 08:13:12 PM
Quote from: hcfwesker on December 01, 2015, 07:33:33 PM
SMF 2.0.11

This may seem like a big request, but going to shoot for it anyway.  When creating a board you can select a theme to force users on when viewing it.  Well, some forums, like ours, have several themes and when members customize their profile on a specific theme, some other themes mess up the look.  So just wondering if it's possible that member's can select what theme they want their profile to be viewed on when other member's visit.

I'm not expecting anyone to take on the task, would be nice though :)  Mostly just wondering if it is possible

That's actually a really fantastic idea.

Quote from: live627 on December 01, 2015, 07:42:42 PM
A good start could be appending ;theme=1  to the URL.

But then you'd have to re-append the original themes id on exit...if they even exit that page they could close the tab and come back to a surprise.
Title: Re: Ultimate Profile
Post by: hcfwesker on December 02, 2015, 09:49:03 PM
Quote from: live627 on December 01, 2015, 07:42:42 PM
A good start could be appending ;theme=1  to the URL.

Ya forcing a global theme change I understand that.  But this is more like how you chaneg the theme when viewing a specific board that forces a theme

(https://i.gyazo.com/47545ba24839d1cd20e7b51f151fa9d4.png)

^ something like that, added in with the 'per user' ultimate profile options.  So if i build my profile look based on a dark theme, a member using a light theme would see it different; not to mention themes use different tables/css format layout.  So, with an option, the theme I use when making my profile design, I would be able to force other users to view that theme when visiting my own profile ... along with other members having the same option.

Title: Re: Ultimate Profile
Post by: Rene88 on December 22, 2015, 04:49:40 PM
Hello

is there a way to add a permissions so that a user (not all) cant send Profiel Messages?
i have a user i want to block sending Profiel Messages.

hope someone can help.
Title: Re: Ultimate Profile
Post by: Kindred on December 22, 2015, 05:09:55 PM
that would require recoding the mod to add more permissions and permissions checks
Title: Re: Ultimate Profile
Post by: Shambles on December 22, 2015, 05:30:16 PM
Quote from: Rene88
is there a way to add a permissions so that a user (not all) cant send Profiel Messages?
i have a user i want to block sending Profiel Messages.

hope someone can help.
Enable the SMF warning system and set a warn level that prevents him/her using PMs
Title: Re: Ultimate Profile
Post by: Illori on December 22, 2015, 05:33:12 PM
Quote from: Shambles on December 22, 2015, 05:30:16 PM
Enable the SMF warning system and set a warn level that prevents him/her using PMs

the warning system does not do anything to stop sending PM's
Title: Re: Ultimate Profile
Post by: Shambles on December 22, 2015, 05:59:40 PM
Quote from: Illori on December 22, 2015, 05:33:12 PM
Quote from: Shambles on December 22, 2015, 05:30:16 PM
Enable the SMF warning system and set a warn level that prevents him/her using PMs

the warning system does not do anything to stop sending PM's

I have to dispute that.

A full warning on my 2.0.11 system prevents that member sending PMs

(http://i.imgur.com/b3GIiWs.png)
Title: Re: Ultimate Profile
Post by: Illori on December 22, 2015, 06:03:52 PM
well that was not documented...

still i am not sure that is what that person wants to do. that also stops the user from posting.

either we are off topic for this mod support topic or the person we are replying to most likely does not mean what we think they do.
Title: Re: Ultimate Profile
Post by: Kindred on December 22, 2015, 07:40:33 PM
The question is not about pm, the question was regarding profile comments which is a feature of the ultimate profile mod
Title: Re: Ultimate Profile
Post by: margarett on December 22, 2015, 08:29:08 PM
A bit more off-topic :P

Quote from: Illori on December 22, 2015, 06:03:52 PM
well that was not documented...
Indeed it isn't. But the code says so
(it's also the first time I looked at this :P )

elseif (isset($_SESSION['ban']['cannot_post']) || (!empty($modSettings['warning_mute']) && $modSettings['warning_mute'] <= $user_info['warning']))
{
$denied_permissions = array(
'pm_send',
Title: Re: Ultimate Profile
Post by: Rene88 on December 23, 2015, 01:35:32 PM
Thanks for the reply's but idd i mean Profile Comments. Sending PM for this user is all ready blocked.
i now want to block that the user cant post profile comments on any profile (ultiemate Profile)
Title: Re: Ultimate Profile
Post by: Kindred on December 23, 2015, 01:45:19 PM
right... and, as I said - there is no way to do that without adding extra code and possibly a complete new permission...
Title: Re: Ultimate Profile
Post by: Suki on December 23, 2015, 01:53:25 PM
This is what I did on a similar mod:

// Does an ignored user wants to see your wall? never!!!
if (isset($context['Breeze']['settings']['owner']['kick_ignored']) && !empty($context['Breeze']['settings']['owner']['kick_ignored']) && !empty($context['Breeze']['settings']['owner']['ignoredList']))
{
// Make this an array
$ignored = explode(',', $context['Breeze']['settings']['owner']['ignoredList']);
if (in_array($user_info['id'], $ignored ))
redirectexit('action=profile;area=static;u='.$context['member']['id']);
}


Basically, you need to fetch the profile's owner data, there is some info stored in $context['member']  but I don't remember it if also contains the list of ignored users.

The list of ignored users its a comma separated string, you just need to explode it into an array and check the ID of the user viewing that profile against that array, if it exists send the user somewhere else or show him/her a message or whatever.

This code needs to be placed in the Sources code for the ultimate profile mod, I don't know this mod very well so I can't tell you exactly where it should be placed.
Title: Re: Ultimate Profile
Post by: Kindred on December 23, 2015, 01:56:20 PM
and it would need to be modified as well, since it specifically is looking for stuff in an array called Breeze under context
Title: Re: Ultimate Profile
Post by: goodnightgraphics on May 13, 2016, 11:52:38 PM
Where would I find the code to clean up the template for comments on profile photos?

The layout is a mess on my site.
Title: Re: Ultimate Profile
Post by: uamsameter on September 19, 2016, 01:04:57 PM
hi there,
I know it's been over 120days since last reply but I don't know a better place to post my question.

which is: is this mod fully compatible with version 2.0.11?

or what are the challenges and solutions to using it on 2.0.11.

thanks in advance.
Title: Re: Ultimate Profile
Post by: Kindred on September 19, 2016, 02:49:06 PM
almost any mod for 2.0.x will work on any other 2.0.x version..

http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version

and, as I pointed out in the other thread, where you had issues...
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Ultimate Profile
Post by: uamsameter on September 19, 2016, 06:00:06 PM
okay, mean one.
Thanks
Title: Re: Ultimate Profile
Post by: uamsameter on September 20, 2016, 12:27:26 PM
hello people,
I have one last question before I install this mod.

does this mod allow you to add new fields to profile as in the default profile set-up where you can add new fields and set them to either show on registration, to be compulsory and other options.

thanks in advance.

To the mean one: be nice this one time.
Title: Re: Ultimate Profile
Post by: Kindred on September 20, 2016, 03:30:11 PM
this mod does not allow for anything like that.

Core SMF, however does allow for the addition of profile fields, and this mod will respect those additions.
Title: Re: Ultimate Profile
Post by: uamsameter on September 20, 2016, 03:35:45 PM
Thanks for your reply.

I assume that by "Core SMF", you mean the inbuilt SMF feature (and not the core theme)

right?
Title: Re: Ultimate Profile
Post by: Kindred on September 20, 2016, 03:36:23 PM
yes. :)

that theme was poorly named
Title: Re: Ultimate Profile
Post by: memokal on December 10, 2016, 01:16:29 PM
Hello. I take that error :

Unknown column 'comment_member_id' in 'where clause'
Dosya: /home/wwwunder/public_html/Sources/Profile-View.php
Satır: 218

I dont know what to do. Can you please tell me what to do step by step. I dont even know where can i reach the database.
Title: Re: Ultimate Profile
Post by: memokal on December 24, 2016, 08:59:58 AM
Hello in ultimate profile mod i get :

" 403
Forbidden

Access to this resource on the server is denied!"

ERROR when i try to delete an album.  I can see that is a issue with permissions but  where can i, which file and how can i make it. Please heeelp
Title: Re: Ultimate Profile
Post by: Ayelwen on January 14, 2017, 05:12:11 PM
I've installed Ultimate Profile, it completed, but nothing has changed.

I have searched all over for options on how to configure, couldn't find anything.
The FAQ link on the first page, is broken, so thats useful.

I was going to try and Uninstall, and Reinstall the package. When I try to Uninstall the package, this error shows up:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Title: Re: Ultimate Profile
Post by: Kindred on February 07, 2018, 12:43:59 PM
just noticed some mysqli db_fetch_assoc errors appearing when deleting members


this change is needed to make the mod code updated for mysqli compatability (and thus working on 2.0.15)

Code (in Subs-Members.php) Select

$smcFunc['db_query']('', '
SELECT ID_PICTURE
FROM {db_prefix}profile_pictures
WHERE id_member IN ({array_int:users})',
array(
'users' => $users,
)
);

require_once($sourcedir . '/Profile-Pictures.php');
while ($row = $smcFunc['db_fetch_assoc']($request)) {
delete_picture($row['ID_PICTURE']);
}


Code (change to) Select

//modified Ultimate Profile mod for mysqli updates
$request = $smcFunc['db_query']('', '
SELECT ID_PICTURE
FROM {db_prefix}profile_pictures
WHERE id_member IN ({array_int:users})',
array(
'users' => $users,
)
);

require_once($sourcedir . '/Profile-Pictures.php');
while ($row = $smcFunc['db_fetch_assoc']($request)) {
delete_picture($row['ID_PICTURE']);
}
$smcFunc['db_free_result']($request);



there may be other places that similar updates need to be made, but I haven't triggered them yet.
Title: Re: Ultimate Profile
Post by: StarredSkies on May 13, 2018, 06:13:53 PM
Hi! Having some trouble with profile avatars showing up within the package. As you can see here (https://beastsofbeyond.com/index.php?action=profile;u=115), users who have uploaded their avatar to the server are not having their profile avatars show up within the ultimate profile buddy list. Inspect element shows this error as: "Failed to load resource: the server responded with a status of 404 ()"
As of right now, we are using SMF 2.0.15 and the 0.9.1 version of the mod.

Also, this is more of a curiosity question, but is there any way to put the avatar on the left side of the commenting bar (scroll down (https://beastsofbeyond.com/index.php?action=profile;u=1)) instead of having it above their comment?

Just updated for mysqli compatibility also, thanks Kindred!
Title: Re: Ultimate Profile
Post by: brettuk on July 24, 2018, 05:44:31 AM
Hi,

I am also having some trouble with the installation process, I am receiving the following error:

Call to undefined function mysql_query()

Thanks
Title: Re: Ultimate Profile
Post by: Arantor on July 24, 2018, 05:50:39 AM
The mod has not been updated for PHP7, or for SMF 2.0.14.
Title: Re: Ultimate Profile
Post by: Kindred on July 24, 2018, 10:02:27 AM
interestingly enough, it seems to be working properly on 2.0.15 with php 5.6
Title: Re: Ultimate Profile
Post by: Arantor on July 24, 2018, 10:36:42 AM
If you already had it installed and then upgraded, it would be fine. But this issue is in the plugin install...
Title: Re: Ultimate Profile
Post by: Kindred on July 24, 2018, 01:15:16 PM
lol... can't even remember my own posts...
plus I made a mysqli edit to the code as noted about 5 posts above...

Title: Re: Ultimate Profile
Post by: Arantor on July 24, 2018, 01:48:38 PM
So it's exactly as I originally said, not updated to work on 2.0.14 or PHP 7.
Title: Re: Ultimate Profile
Post by: Kindred on July 24, 2018, 02:33:10 PM
:P
Title: Re: Ultimate Profile
Post by: overdue on January 09, 2019, 01:40:48 PM
Will this be updated for 2.0.15?
Title: Re: Ultimate Profile
Post by: -Rock Lee- on January 09, 2019, 02:22:10 PM
Quote from: overdue on January 09, 2019, 01:40:48 PM
Will this be updated for 2.0.15?

I already answered in the other topics, look at this: How can I install a mod that doesn't work in my SMF version? (https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)


Regards!
Title: Re: Ultimate Profile
Post by: anakmacan on May 30, 2019, 12:59:06 AM
My forum's moved to different server, after that profile pictures uploaded to the profile page dont show up, can anyone help to resolve this?
Title: Re: Ultimate Profile
Post by: Kindred on May 30, 2019, 04:10:35 AM
1- did you move all the files?
2- Did you run repair_settings.php to reconfigure all of the directories, paths and URLs to your new server?
Title: Re: Ultimate Profile
Post by: anakmacan on May 30, 2019, 06:36:03 PM
Yes i did, first my new hosting company help moving all the files, and then i run repair_settings.php, everything else works.. except for that profile pictures part in the ultimate profile.
Title: Re: Ultimate Profile
Post by: Kindred on May 31, 2019, 04:37:26 AM
and did you correct the path/url in the mod settings?
/index.php?action=admin;area=modsettings;sa=ultprofile;
Title: Re: Ultimate Profile
Post by: Azzlaer on July 12, 2019, 08:38:15 PM
Error al instalar en SMF Ultima version

Call to undefined function mysql_query()
Title: Re: Ultimate Profile
Post by: -Rock Lee- on July 13, 2019, 01:47:07 PM
Quote from: Azzlaer on July 12, 2019, 08:38:15 PM
Error al instalar en SMF Ultima version

Call to undefined function mysql_query()

¿Que version de php estas usando? puede ser por eso te marca el error por que te dice no esta definido la funcion. Ademas trata de escribir en ingles en este foro sino tenes hacerlo en el de español (https://www.simplemachines.org/community/index.php?board=16.0) para ayudarte mejor ;).

It may be an error in the PHP version used so you can not read the value, in case you do not understand Spanish :).


Regards!
Title: Re: Ultimate Profile
Post by: Diego Andrés on July 15, 2019, 02:15:58 PM
To get it working replace the following code on helper.php before installing

Code (helper.php) Select
if ($db_type == 'mysql') {
$request = mysql_query('
SELECT variable, value
FROM ' . $db_prefix . 'settings
WHERE variable = "global_character_set"
AND value="UTF-8"');

if (mysql_num_rows($request) > 0) {
mysql_free_result($request);

mysql_query('ALTER TABLE ' . $db_prefix . 'profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `description` `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_pictures CHANGE `filename` `filename` TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

mysql_query('ALTER TABLE ' . $db_prefix . 'picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'picture_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

mysql_query('ALTER TABLE ' . $db_prefix . 'profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
mysql_query('ALTER TABLE ' . $db_prefix . 'profile_albums CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
}
}


Code (Replace) Select
if ($db_type == 'mysql') {
$request = $smcFunc['db_query'](' ', '
SELECT variable, value
FROM {db_prefix}settings
WHERE variable = "global_character_set"
AND value="UTF-8"');

if ($smcFunc['db_num_rows']($request)  > 0) {
$smcFunc['db_free_result']($request);

$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_pictures DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_pictures CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_pictures CHANGE `description` `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_pictures CHANGE `filename` `filename` TINYTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}picture_comments DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}picture_comments CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');

$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_albums DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci');
$smcFunc['db_query']('', 'ALTER TABLE {db_prefix}profile_albums CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL');
}
}
Title: Re: Ultimate Profile
Post by: shadav on August 17, 2019, 02:37:08 PM
installed this mod on 2.0.15 and now have an error on profile

Database Error
Unknown column 'buddy_id' in 'field list'
File: /Sources/Profile-View.php
Line: 168

suggestions on how to fix it?
Title: Re: Ultimate Profile
Post by: -Rock Lee- on August 19, 2019, 03:00:50 PM
Did you make sure it was installed correctly? because the error mark is that column is not found in the database. But I think it should be updated as the call does in that part, you can see what code appears in that line please.


Regards!
Title: Re: Ultimate Profile
Post by: LBW on September 22, 2019, 10:21:18 AM
Please assist with the following error:

QuoteUnknown column 'com.time' in 'field list'
File: /home/vol11_1/epizy.com/epiz_24303111/htdocs/Sources/Profile-View.php
Line: 244

Current version: 2.0.15

Just to state: I'm not sure how to find line 244 on Mysql
Title: Re: Ultimate Profile
Post by: Kindred on September 23, 2019, 04:01:29 AM
Looks like the mod was not fully installed
Title: Re: Ultimate Profile
Post by: shadav on October 01, 2019, 11:39:24 PM
i'd forgotten about this.... tried to install again....

I fixed the helper.php like Diego Andres posted

when i visit my profile i get the same error again

Unknown column 'buddy_id' in 'field list'
File: /Sources/Profile-View.php
Line: 166


line 166 is
'num_limit' => $number

lines 148 to 181
// Prepare the buddy list.
if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
$buddies = array();

if (in_array(@$context['member']['options']['num_shown_buddies'], array(3, 6, 9, 12)))
$number = $context['member']['options']['num_shown_buddies'];
else
$number = $modSettings['profile_buddies_shown'];

$request = $smcFunc['db_query']('', '
SELECT buddy_id
FROM {db_prefix}buddies
WHERE id_member = {int:id_member}
AND approved = 1
ORDER BY position ASC, time_updated DESC
LIMIT 0, {int:num_limit}',
array(
'id_member' => $context['member']['id'],
'num_limit' => $number
)
);
while ($row = $smcFunc['db_fetch_assoc']($request))
$buddies[] = $row['buddy_id'];

loadMemberData($buddies);
foreach ($buddies as $buddy) {
$user_data = $user_profile[$buddy];
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['id_attach'] > 0 ? '<img src="' . (empty($user_data['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $user_data['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '" alt="" class="avatar" border="0" />');
$user_data['is_online'] = (!empty($user_data['show_online']) || allowedTo('moderate_forum')) && $user_data['is_online'] > 0;

if ($buddy != $memID)
$context['member']['buddies_data'][$buddy] = $user_data;
}
}
Title: Re: Ultimate Profile
Post by: Diego Andrés on October 03, 2019, 10:24:57 PM
It installed fine for me, I'd have to have a look at it again.
Title: Re: Ultimate Profile
Post by: shadav on October 04, 2019, 10:56:42 AM
thank you :) whenever you get time
Title: Re: Ultimate Profile
Post by: jsx on October 24, 2019, 02:57:07 AM
When I want to install this modification an error appears:

Call to undefined function mysql_query()

I use on the server PHP 7.0
Title: Re: Ultimate Profile
Post by: -Rock Lee- on October 24, 2019, 09:36:09 AM
QuoteFunctions

    Do not use database-specific functions to send a query to the database (i.e. - mysql_query() for MySQL). Use $smcFunc['db_query']().
    Do not use database-specific functions to handle query results (i.e. - mysql_fetch_array() or mysql_fetch_assoc() in MySQL). Most of the time, the associative array returned by $smcFunc['db_fetch_assoc']() should be used. In rare cases like when using list(), $smcFunc['db_fetch_row']() may be used.
    Always use $smcFunc['db_free_result']() to free the resource when they are no longer needed.

https://wiki.simplemachines.org/smf/Coding_Guidelines

You have to update the line where you make the call in the database ... replacing the sentence should work.


Regards!
Title: Re: Ultimate Profile
Post by: shadav on June 11, 2020, 10:12:57 PM
Quote from: shadav on October 01, 2019, 11:39:24 PM
i'd forgotten about this.... tried to install again....

I fixed the helper.php like Diego Andres posted

when i visit my profile i get the same error again

Unknown column 'buddy_id' in 'field list'
File: /Sources/Profile-View.php
Line: 166


line 166 is
'num_limit' => $number

lines 148 to 181
// Prepare the buddy list.
if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
$buddies = array();

if (in_array(@$context['member']['options']['num_shown_buddies'], array(3, 6, 9, 12)))
$number = $context['member']['options']['num_shown_buddies'];
else
$number = $modSettings['profile_buddies_shown'];

$request = $smcFunc['db_query']('', '
SELECT buddy_id
FROM {db_prefix}buddies
WHERE id_member = {int:id_member}
AND approved = 1
ORDER BY position ASC, time_updated DESC
LIMIT 0, {int:num_limit}',
array(
'id_member' => $context['member']['id'],
'num_limit' => $number
)
);
while ($row = $smcFunc['db_fetch_assoc']($request))
$buddies[] = $row['buddy_id'];

loadMemberData($buddies);
foreach ($buddies as $buddy) {
$user_data = $user_profile[$buddy];
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['id_attach'] > 0 ? '<img src="' . (empty($user_data['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $user_data['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '" alt="" class="avatar" border="0" />');
$user_data['is_online'] = (!empty($user_data['show_online']) || allowedTo('moderate_forum')) && $user_data['is_online'] > 0;

if ($buddy != $memID)
$context['member']['buddies_data'][$buddy] = $user_data;
}
}


I tried again to install this on another project on a 2.0.17 and still i get the same error when I go to view a profile
Database Error
Unknown column 'buddy_id' in 'field list'
File: /Sources/Profile-View.php
Line: 153

line 153
'num_limit' => $number
lines 135 to 168
// Prepare the buddy list.
if (isset($modSettings['enable_buddylist']) && $modSettings['enable_buddylist'] == '1') {
$buddies = array();

if (in_array(@$context['member']['options']['num_shown_buddies'], array(3, 6, 9, 12)))
$number = $context['member']['options']['num_shown_buddies'];
else
$number = $modSettings['profile_buddies_shown'];

$request = $smcFunc['db_query']('', '
SELECT buddy_id
FROM {db_prefix}buddies
WHERE id_member = {int:id_member}
AND approved = 1
ORDER BY position ASC, time_updated DESC
LIMIT 0, {int:num_limit}',
array(
'id_member' => $context['member']['id'],
'num_limit' => $number
)
);
while ($row = $smcFunc['db_fetch_assoc']($request))
$buddies[] = $row['buddy_id'];

loadMemberData($buddies);
foreach ($buddies as $buddy) {
$user_data = $user_profile[$buddy];
$user_data['avatar_image'] = $user_data['avatar'] == '' ? ($user_data['id_attach'] > 0 ? '<img src="' . (empty($user_data['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $user_data['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $user_data['filename']) . '" alt="" class="avatar" border="0" />' : '') : (stristr($user_data['avatar'], 'http://') ? '<img src="' . $user_data['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($user_data['avatar']) . '" alt="" class="avatar" border="0" />');
$user_data['is_online'] = (!empty($user_data['show_online']) || allowedTo('moderate_forum')) && $user_data['is_online'] > 0;

if ($buddy != $memID)
$context['member']['buddies_data'][$buddy] = $user_data;
}
}


admin error logs
Database Error: Unknown column 'buddy_id' in 'field list'


SELECT buddy_id
FROM smf_buddies
WHERE id_member = 1
AND approved = 1
ORDER BY position ASC, time_updated DESC
LIMIT 0, 6Apply Filter: Only show the errors from this fileFile: /Sources/Profile-View.php
Line: 153
Title: Re: Ultimate Profile
Post by: Kindred on June 11, 2020, 11:41:44 PM
I think there might have been a need to add a column manually...  but it's been so long since I installed this mod and I made huge tweaks to it to make it play nicely with half a dozen other mods that I don't recall exactly what was done.
Title: Re: Ultimate Profile
Post by: Kindred on July 10, 2020, 04:01:29 PM
This mod DOES work on 2.0.17 with no errors.
There are some tweaks needed, however.

(There may be some additional changes needed to the installer - specifically for mysqli and a missing column)

first, the change for mysqli in Subs-Members.php (after the mod is installed)

Quote from: Kindred on February 07, 2018, 12:43:59 PM
just noticed some mysqli db_fetch_assoc errors appearing when deleting members


this change is needed to make the mod code updated for mysqli compatability (and thus working on 2.0.15)

Code (in Subs-Members.php) Select

$smcFunc['db_query']('', '
SELECT ID_PICTURE
FROM {db_prefix}profile_pictures
WHERE id_member IN ({array_int:users})',
array(
'users' => $users,
)
);

require_once($sourcedir . '/Profile-Pictures.php');
while ($row = $smcFunc['db_fetch_assoc']($request)) {
delete_picture($row['ID_PICTURE']);
}


Code (change to) Select

//modified Ultimate Profile mod for mysqli updates
$request = $smcFunc['db_query']('', '
SELECT ID_PICTURE
FROM {db_prefix}profile_pictures
WHERE id_member IN ({array_int:users})',
array(
'users' => $users,
)
);

require_once($sourcedir . '/Profile-Pictures.php');
while ($row = $smcFunc['db_fetch_assoc']($request)) {
delete_picture($row['ID_PICTURE']);
}
$smcFunc['db_free_result']($request);



there may be other places that similar updates need to be made, but I haven't triggered them yet.

I also removed the tables in the mod and converted them to divs.
(this version also has a block for the SMF-Trader system)
Title: Re: Ultimate Profile
Post by: Grammy on May 31, 2021, 10:50:08 AM
I actually have this working in 2.1RC3 with only this one error:

Undefined index: image_href

Found on line 147 of Ultimateprofile.template.php:



<em>', $settings['use_image_buttons'] ? '<img src="' . $context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</em>


image_href is used in other 2.1RC3 files...  do I need to add some sort of "if exist" or $verify_context or something?  (Like I even know what I'm asking.)   :D
Title: Re: Ultimate Profile
Post by: Grammy on May 31, 2021, 03:28:36 PM
Time ran out to modify my last post, but this sorted the error, and now it's not throwing any errors. 

<em>', $settings['use_image_buttons'] ? '<img src="' . $verify_context = &$context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</em>

(Really close to having this behaving for 2.1 just as it did in 2.0.)   :)
Title: Re: Ultimate Profile
Post by: Shades. on June 01, 2021, 09:38:46 PM
Quote from: Kindred on July 10, 2020, 04:01:29 PM
This mod DOES work on 2.0.17 with no errors.
There are some tweaks needed, however.

(There may be some additional changes needed to the installer - specifically for mysqli and a missing column)

first, the change for mysqli in Subs-Members.php (after the mod is installed)

I tried to install this on 2.0.18 and it won't even allow me to install to make the edits you posted:
QuoteCall to undefined function mysql_query()
Title: Re: Ultimate Profile
Post by: Kindred on June 02, 2021, 12:46:49 PM
Quote from: Shades. on June 01, 2021, 09:38:46 PM
Quote from: Kindred on July 10, 2020, 04:01:29 PM
This mod DOES work on 2.0.17 with no errors.
There are some tweaks needed, however.

(There may be some additional changes needed to the installer - specifically for mysqli and a missing column)

first, the change for mysqli in Subs-Members.php (after the mod is installed)

I tried to install this on 2.0.18 and it won't even allow me to install to make the edits you posted:
QuoteCall to undefined function mysql_query()

Quote from: Shades. on June 01, 2021, 09:38:46 PM
Quote from: Kindred on July 10, 2020, 04:01:29 PM
(There may be some additional changes needed to the installer - specifically for mysqli and a missing column)
Title: Re: Ultimate Profile
Post by: Shades. on June 02, 2021, 05:29:29 PM
Lol I read that but misunderstood! Was having a brain loss moment! :o ;D
Title: Re: Ultimate Profile
Post by: Grammy on June 03, 2021, 07:49:05 AM
Quote from: Kindred on June 02, 2021, 12:46:49 PM
This mod DOES work on 2.0.17 with no errors.
There are some tweaks needed, however.

(There may be some additional changes needed to the installer - specifically for mysqli and a missing column)

first, the change for mysqli in Subs-Members.php (after the mod is installed)

Hi, Kindred (anyone else who wanted to weigh in), just wanted to get your thoughts on this please?

Two screenshots attached, the first (darker background) is 2.0.17 and the second is 2.1RC3 (lighter tiled background).

This is working perfectly on 2.0.17 (you can see all the fields are populated in some respect).  The tiled background only appears within my profile summary, using Ultimate Profile's CSS option field.

In 2.1RC3, I did have two errors, both appearing in the Ultimateprofiletemplate.php file: karmaMode (I just commented that bit out) and Undefined index: image_href which I sorted by editing line 147:

<em>', $settings['use_image_buttons'] ? '<img src="' . $verify_context = &$context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</em>

I now have no errors, no matter how much I click around with it.  Some fields can be populated, such as media, "about me", "interests".  The tiled background background you see is, again, done by adding CSS to the option field, and only appears in my profile summary. 

I have gone through all the edits and includes, compared them with the 2.0.17 files, etc., and can see no reason for this, but the "Pictures", "Buddies" and "Comments" fields are not only unpopulated but don't really provide any clickable function to add anything.  Also, there are no "mini headers" above each field in 2.1RC3, as there are in 2.0.17 and no "side field" on the left for edits.  (The 2.1RC3 issues were occurring even before sorting the errors and didn't correct after.)

All the tables appear in both databases.  I have mysql (version 5.1.73) and 7.1.26 PHP for both forums.

All that to ask:  while I'm investigating why 2.1RC3 is not functioning completely and if the files are essentially identical between both forums and the includes are present, would I then study the database tables to proceed?

All this is only for the purposes of testing; no live forums are involved, so I'm not afraid to break anything.   :)
Title: Re: Ultimate Profile
Post by: Kindred on June 03, 2021, 08:39:55 AM
I have not looked at this for 2.1 yet.....         I'll eventually get around to it and put it on my test site, but it'll be a month or so before I can look at it.
Title: Re: Ultimate Profile
Post by: Grammy on June 03, 2021, 09:10:47 AM
Quote from: Kindred on June 03, 2021, 08:39:55 AM
I have not looked at this for 2.1 yet.....         I'll eventually get around to it and put it on my test site, but it'll be a month or so before I can look at it.

Thanks, there's no rush.  I'll keep tinkering, in the meantime.   :)
Title: Re: Ultimate Profile
Post by: Shades. on June 03, 2021, 03:29:01 PM
So how did yall get it to work on 2.0.17? What changes need to be made in the installer? :o O:)
Title: Re: Ultimate Profile
Post by: Grammy on June 03, 2021, 04:11:06 PM
Quote from: Shades. on June 03, 2021, 03:29:01 PM
So how did yall get it to work on 2.0.17? What changes need to be made in the installer? :o O:)


Oh, it works fine on 2.0.17!  It's 2.1RC3 I had to wrestle with, but I'm happy to report that I just whipped it's..... uh....  I prevailed.   :D

I did the 2.0.17 manually and, if I recall, I did have to improvise on some "find" strings.  The database.php and helper.php go white (like they usually do) when you navigate to them, but they do add the tables to the database.  I'll take a peek at my edits and get back to you on what had to be tiptoed around, edit-wise.   :)
Title: Re: Ultimate Profile
Post by: Grammy on June 03, 2021, 04:27:39 PM
Quote from: Grammy on June 03, 2021, 04:11:06 PM
Quote from: Shades. on June 03, 2021, 03:29:01 PM
So how did yall get it to work on 2.0.17? What changes need to be made in the installer? :o O:)


Oh, it works fine on 2.0.17!  It's 2.1RC3 I had to wrestle with, but I'm happy to report that I just whipped it's..... uh....  I prevailed.   :D

I did the 2.0.17 manually and, if I recall, I did have to improvise on some "find" strings.  The database.php and helper.php go white (like they usually do) when you navigate to them, but they do add the tables to the database.  I'll take a peek at my edits and get back to you on what had to be tiptoed around, edit-wise.   :)

If you want to try installing it manually, just let me know which files failed in the package manager (...cough....Profile-Modify.php....cough.....)   and I'll paste the edits here.   :)
Title: Re: Ultimate Profile
Post by: Shades. on June 03, 2021, 06:03:11 PM
Quote from: Grammy on June 03, 2021, 04:27:39 PM
Quote from: Grammy on June 03, 2021, 04:11:06 PM
Quote from: Shades. on June 03, 2021, 03:29:01 PM
So how did yall get it to work on 2.0.17? What changes need to be made in the installer? :o O:)


Oh, it works fine on 2.0.17!  It's 2.1RC3 I had to wrestle with, but I'm happy to report that I just whipped it's..... uh....  I prevailed.   :D

I did the 2.0.17 manually and, if I recall, I did have to improvise on some "find" strings.  The database.php and helper.php go white (like they usually do) when you navigate to them, but they do add the tables to the database.  I'll take a peek at my edits and get back to you on what had to be tiptoed around, edit-wise.   :)

If you want to try installing it manually, just let me know which files failed in the package manager (...cough....Profile-Modify.php....cough.....)   and I'll paste the edits here.   :)

Well I just installed it manually on a test forum and everything appears to be good so far! (Fingers crossed) But yeah took me a minute to figure out the edits in "Profile-Modify.php" but I think I got it, we'll see lol! Thanks! 8)
Title: Re: Ultimate Profile
Post by: Grammy on June 03, 2021, 06:05:43 PM
Quote from: Shades. on June 03, 2021, 06:03:11 PM

Well I just installed it manually on a test forum and everything appears to be good so far! (Fingers crossed) But yeah took me a minute to figure out the edits in "Profile-Modify.php" but I think I got it, we'll see lol! Thanks! 8)

That one was a stinker, wasn't it?  And it REALLY stunk up the joint in 2.1RC3, ha!   :D   Glad you got it going! 
Title: Re: Ultimate Profile
Post by: Shades. on June 03, 2021, 06:17:41 PM
I had errors after installing, it was conflicting with another mod that I was trying out but after removing that mod I have no errors now so I'll be sure and make full backups if I decide to use it on my live site cause its loaded with mods lol! O:) 8)

Oh...forgot to mention my install was on 2.0.18 ;)
Title: Re: Ultimate Profile
Post by: Grammy on June 03, 2021, 06:22:42 PM
Quote from: Shades. on June 03, 2021, 06:17:41 PM
I had errors after installing, it was conflicting with another mod that I was trying out but after removing that mod I have no errors now so I'll be sure and make full backups if I decide to use it on my live site cause its loaded with mods lol! O:) 8)

Oh...forgot to mention my install was on 2.0.18 ;)

Oh, that reminds me, I need to test it with Pretty URLs and maybe a portal to see how it behaves. 

If you do eventually throw a "image_href" error, line 147, UltimateProfile_template.php, this sorted it for me:

<em>', $settings['use_image_buttons'] ? '<img src="' . $verify_context = &$context['member']['online']['image_href'] . '" alt="' . $context['member']['online']['text'] . '" align="middle" />' : $context['member']['online']['text'], $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $context['member']['online']['text'] . '</span>' : '', '</em>

But of course, that's my duct-tape.  Bigger brains than mine may weigh in on this, ha!   :D
Title: Re: Ultimate Profile
Post by: live627 on June 04, 2021, 09:14:25 AM
If only there was a galaxy brain somewhere 😂
Title: Re: Ultimate Profile
Post by: Grammy on June 04, 2021, 09:41:51 AM
Quote from: live627 on June 04, 2021, 09:14:25 AM
If only there was a galaxy brain somewhere 😂


Oooooo.........   

😀
Title: Re: Ultimate Profile
Post by: aegersz on July 12, 2021, 11:46:47 PM
Bug: count(): Parameter must be an array or an object that implements Countable

fix at +1000 /var/www/html/Sources/Profile-Pictures.php (PHP 7.3 and above) :

find:
if (count($parents) > 0) {

replace:
if (is_countable($parents) && count($parents) > 0) {
Title: Re: Ultimate Profile
Post by: Marina3 on December 10, 2022, 01:54:28 PM
Version of mod for SMF 2.1.3?
Title: Re: Ultimate Profile
Post by: Kindred on December 10, 2022, 04:29:37 PM
As the author has not been here in 4 years, it is unlikely.
Title: Re: Ultimate Profile
Post by: Melonking on February 08, 2023, 02:42:34 PM
Just a quick round up of how to install this mod on SMF 2.0.19

Firstly, after downloading the ultimate_profile-0-9-1_20.zip; open the zip file and make the changes listed here: https://www.simplemachines.org/community/index.php?topic=298641.msg4024349#msg4024349

Then open "index.php" from the zip and replace the <operation></operation> section with the following:
        <operation>
            <search position="before"><![CDATA['buddy' => ['Subs-Members.php', 'BuddyListToggle'],]]></search>
            <add><![CDATA[
        'buddies' => ['Buddies.php', 'BuddiesMain'],]]></add>
        </operation>

Then re-zip the mod and upload it to your forum - then install as normal.

Once its installed; do the fix mentioned here: https://www.simplemachines.org/community/index.php?topic=298641.msg3961061#msg3961061

Then make the edits listed here (you dont need to run the last script) - This needs to be done in the Buddies.php - found in Sources
https://www.simplemachines.org/community/index.php?topic=298641.msg3254823#msg3254823

Finally before you use this mod - if you have used the buddy system piror to installing - you'll need to reset all buddies; otherwise it creates a conflict where members cant add old buddies. To do that run the following SQL (or do it manually in an SQL editor - just set each member buddy field to empty):
UPDATE oal_members SET buddy_list = ''
Hope that helps someone  :D
Title: Re: Ultimate Profile
Post by: Melonking on February 08, 2023, 07:11:49 PM
Oh I have another fix to add - this will solve the issue of people being able to post invisible comments on the profile of someone who has comments disabled!

After installing - Open Profile.php in your sources - find this section:
'comment' => array(
    'file' => 'Profile-Actions.php',

And add this line below it:
'enabled' => (@$context['member']['options']['comments_disable'] != 1),
This will disable the Add Comment tab on the profile of members who have comments disabled!