News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Ultimate Profile

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

Previous topic - Next topic

andyv123

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

KameL

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)




naturalwoman

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

GinaD

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?


Xavi-Nena

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.

Özgür

@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.
So Long

Xavi-Nena

woo woo thank you so much Özgür´ I have been wondering bout that one for a while now. ;) thanks again.

Özgür

You are welcome. Can you upload your ultimate.profile.php (in default theme) ?
So Long

GinaD

Please disregard my post.  I found a playlist that works for me :)

Xavi-Nena

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?

Özgür

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


Özgür

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

Xavi-Nena

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.

n-joy


Mattwagna

Okay since no one answered my question, can someone look through these files & see if there's an error/bug please?


dharma77

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.

GinaD

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

JovanT

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

Advertisement: