News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Ultimate Profile

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

Previous topic - Next topic

Neverhurry

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!
I am using SMF 2.0.1, curve themes.

toothmkr57

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?

[unplugged]

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.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



toothmkr57


[unplugged]

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Neverhurry

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).
I am using SMF 2.0.1, curve themes.

LC

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.

kherezae

QuoteHi,

I have this mod and the Subaccounts 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 [nofollow]

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!

Suranyi

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 [nofollow]

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?

[unplugged]

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.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Suranyi

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 [nofollow]

(not spam I just haven't accumulated 10 posts)

[unplugged]

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


« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Suranyi

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

Suranyi

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.

anakmacan

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 ?

qtime

Which version do I need for smf 1.1.11?

[unplugged]

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



qtime

thanks for the fast reply!

[unplugged]

Thanks for the fast thanks!  ;D
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



rhksweorg

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



Advertisement: