News:

Wondering if this will always be free?  See why free is better.

Main Menu

Ultimate Profile

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

Previous topic - Next topic

wynnyelle

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

Afro

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.

MATTEK

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

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Yağız...

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

wynnyelle

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.

MATTEK

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

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Yağız...

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?

MATTEK

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

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Yağız...

Hmm, can you see the comment section on anyones' profile?

MATTEK

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

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Yağız...

Do those members have any buddies?

MATTEK

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

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

chadon

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

MATTEK

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

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

matthew_s

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

fairytears

Is there a way to limit image sizes that people post in the comments box?
Thank you :)

Yağız...

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

chadon

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'

Yağız...

Can you delete and retry?

MATTEK

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.

SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Advertisement: