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

sturmkatze

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?

Kindred

sure... you CAN....  just edit the code. :P

I don't think that the author of this mod is doing updates, though.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

sturmkatze

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

hcfwesker

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. 

Rownan_

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?

hcfwesker

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'


Rownan_

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.

mrneil1964

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

recursiveMAX

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!

Burke ♞ Knight

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

Kindred

it would seem that you did not fully install the mod...

did you do a manual installation?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Burke ♞ Knight

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

Illori

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.




Burke ♞ Knight

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.

Arantor

Those that set it up properly will automatically do so if the user selects the relevant option.
Holder of controversial views, all of which my own.


Burke ♞ Knight

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

Arantor

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.
Holder of controversial views, all of which my own.


Burke ♞ Knight

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.

Kindred

There is an add buddy option in each users profile page...

Seems to work correctly for me after the buddy fix.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Burke ♞ Knight

Yes, I finally got it to work right.
Wonder why the add box on the page was removed, though... *shrugs*

Advertisement: