News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Ultimate Profile

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

Previous topic - Next topic

Tearstar

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

Yağız...

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.

MATTEK

SMF 2.0.1

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

enCyde

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.

Yağız...

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?

ukhalik2

users can set their own options when this mod installed?

how to stop them doing this?

Yağız...

They can always set their own options, it's not related to this mod.

enCyde

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

ukhalik2

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?

Yağız...

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?

truhe

#2150
i think this is the same problem as mentioned here:
http://www.simplemachines.org/community/index.php?topic=298641.msg2629233#msg2629233
(SMF buddies to UP buddies)
did you find the script ?

Yağız...

Nope ... I'm waiting for Jovan to post it there.

enCyde

QuoteAttach your Sources/Profile.php please.


here it comes, thank you!

Yağız...

The codes are there. Can I have a link and a test account from your forum?

enCyde

www.encyde.se

just register and I will remove it when you are finish..


thank you so much.

Yağız...


enCyde

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

Yağız...

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.

rocknroller

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.


MATTEK

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

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

Advertisement: