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

gbsothere

Click on another member's profile.  In the "Contact Me" field, you will see "Add to Buddy List".  Click that and you will see a message that you will be added when that poster approves your request.  Approval is done when a poster receives a system PM announcing the request.  He or she clicks the link and there will be a small icon showing that looks like a smalll cluster of "people".  Clicking that approves the request.

You can test by creating a newbie test account and sending a request to it.  Then log in with that account and accept.  Your avatar will appear in that test account's buddy list and if the test account has an avatar, it will appear in yours.  Otherwise, just his or her name will appear.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

excon

Quote from: tyty1234 on September 17, 2009, 05:01:06 AM
excon, have you tried asking the mod author of the awards mod as well for help?

Yes tyty1234, but unfortunately this is his answer. :'(

Quote from: Fustrate on September 12, 2009, 01:37:04 AM
excon - you'll have to ask the Ultimate Profile person about that, I know nothing about how it works.

4b11l

Hello,

Quick question. Did a search and looked through the faq, but couldn't ifnd it.

How can I make the profile show more pictures? Currently, it only shows 6 pictures, I can't seem to make it so that more pictures are available. More specifically, I want to show 9 pictures instead. (this is not referring to how many pictures I can add in settings. I know I can change to 9, but these 9 pictures seem to rotate in showing only 6 at a time)

Also, how can I space out the pictures? I have them centered, but they are all in the middle since it only shows 3 across each row.

4b11l

Is anyone getting problems with their site being flagged as containing a virus?

This was one of the most recent mods installed on my forum.

It seems like it's a javascript file and it's pointing to ohionotaryone.com

distante

with witch antivirus happed that?

4b11l

Quote from: distante on September 18, 2009, 02:24:11 AM
with witch antivirus happed that?

Avast antivirus. I am not saying this mod caused the problem; I was just wandering if anyone else had any problems so I know how to narrow down.

Smasher

Quote from: gbsothere on September 17, 2009, 04:00:58 PM
Click on another member's profile.  In the "Contact Me" field, you will see "Add to Buddy List".  Click that and you will see a message that you will be added when that poster approves your request.  Approval is done when a poster receives a system PM announcing the request.  He or she clicks the link and there will be a small icon showing that looks like a smalll cluster of "people".  Clicking that approves the request.

You can test by creating a newbie test account and sending a request to it.  Then log in with that account and accept.  Your avatar will appear in that test account's buddy list and if the test account has an avatar, it will appear in yours.  Otherwise, just his or her name will appear.

It appears that I was missing this because I was on an Admin account. As soon as I signed on as a regular user I did see what you were talking about. Thank You
Site in Development

Powered by SMF 2.0.4
     - EzPortal 1.0
     - SA Facebook Integration

gbsothere

#967
Quote from: 4b11l on September 18, 2009, 12:35:22 AM
Hello,

Quick question. Did a search and looked through the faq, but couldn't ifnd it.

How can I make the profile show more pictures? Currently, it only shows 6 pictures, I can't seem to make it so that more pictures are available. More specifically, I want to show 9 pictures instead. (this is not referring to how many pictures I can add in settings. I know I can change to 9, but these 9 pictures seem to rotate in showing only 6 at a time)

Also, how can I space out the pictures? I have them centered, but they are all in the middle since it only shows 3 across each row.



You can increase number of displayed pictures. Open Sources/Profile.php.
Code (Find) Select

$request = db_query('SELECT ID_PICTURE, time, title, filename
FROM ' . $db_prefix . 'profile_pictures
WHERE ID_MEMBER = ' . $memID . '
ORDER BY RAND()
LIMIT 6', __FILE__, __LINE__);


and replace  6   with  10.

Then, open Themes/default/UltimateProfile.template.php.
Code (Find) Select

if ($i == 3)

Code (Replace with) Select

if ($i == 5)


Code (Find) Select

if ($i == 4) $i = 1;

Code (Replace with) Select

if ($i == 6) $i = 1;

[/quote]




Also, about your attack site question; I can only tell you that I have Ultimate Profile on several forums, both 1.1.10 and RC1.2 and I've never had this issue.  I did manage to find a thread about this and others have had it elsewhere on the forum for different reasons.

http://www.simplemachines.org/community/index.php?topic=334397.msg2241394#msg2241394
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

4b11l

Quote from: gbsothere on September 18, 2009, 07:57:13 AM

Then, open Themes/default/UltimateProfile.template.php.
Code (Find) Select

if ($i == 3)

Code (Replace with) Select

if ($i == 5)


Code (Find) Select

if ($i == 4) $i = 1;

Code (Replace with) Select

if ($i == 6) $i = 1;

Also, about your attack site question; I can only tell you that I have Ultimate Profile on several forums, both 1.1.10 and RC1.2 and I've never had this issue.  I did manage to find a thread about this and others have had it elsewhere on the forum for different reasons.

http://www.simplemachines.org/community/index.php?topic=334397.msg2241394#msg2241394

Thanks, can you tell me what the above code does? I was able to change the pictures from 6 to 9 as you suggested. Thanks.

For the second code, it is showing up two times in the file, so I am not sure what it's there for. Is it to space out the images?

I basically want the pictures to just have more space inbetween the individual 3 pictures. Thanks.

Oh, and for the virus, thanks! I didn't mean to say that this mod caused the problem; if that's how it came out. It was just my most recent mods so I just wanted to backtrack and narrow down what I did recently and maybe find out. However, after reading the link, it made sense.

gbsothere

Quote from: 4b11l on September 18, 2009, 04:12:11 PM


Thanks, can you tell me what the above code does? I was able to change the pictures from 6 to 9 as you suggested. Thanks.

For the second code, it is showing up two times in the file, so I am not sure what it's there for. Is it to space out the images?

I basically want the pictures to just have more space inbetween the individual 3 pictures. Thanks.

Oh, and for the virus, thanks! I didn't mean to say that this mod caused the problem; if that's how it came out. It was just my most recent mods so I just wanted to backtrack and narrow down what I did recently and maybe find out. However, after reading the link, it made sense.

The two sections of code in the Ultimate.template.php file are found just below this:

<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" width="80" height="" /></a>
</td>';


and it spaces out your images if you only have three across or makes room for five across. 

:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

4b11l

Quote from: gbsothere on September 18, 2009, 05:38:40 PM
Quote from: 4b11l on September 18, 2009, 04:12:11 PM


Thanks, can you tell me what the above code does? I was able to change the pictures from 6 to 9 as you suggested. Thanks.

For the second code, it is showing up two times in the file, so I am not sure what it's there for. Is it to space out the images?

I basically want the pictures to just have more space inbetween the individual 3 pictures. Thanks.

Oh, and for the virus, thanks! I didn't mean to say that this mod caused the problem; if that's how it came out. It was just my most recent mods so I just wanted to backtrack and narrow down what I did recently and maybe find out. However, after reading the link, it made sense.

The two sections of code in the Ultimate.template.php file are found just below this:

<td align="center" valign="top" style="clear: both;">
<a href="', $picture['url'] ,'"><img src="', $picture['thumb'] ,'" alt="" title="', $picture['title'], '" border="0" width="80" height="" /></a>
</td>';


and it spaces out your images if you only have three across or makes room for five across. 

:)

Thanks it works. Can you tell me what the first value pertains to? It seems like the number pictures are following the second value. I changed it to

   if ($i == 4)
      if ($i == 5) $i = 1;


But, am not sure because it seems the numbers were in relation to the other.

gbsothere

@ 4b11l

It will take someone will more understanding than I to be able to explain that.   :)

This is where the code comes from (JovanT, the mod author):

http://www.simplemachines.org/community/index.php?topic=298641.msg2161699#msg2161699

As he explained a few posts later from the one on this link, he configured the code changes to the UltimateProfile.template.php to result in 5 images across and in two rows.

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Özgür

if ($i == 5) $i = 1;
Meaning, (in this code) if line have 5 columb, just create new line and write other columb into it.
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
etc..
So Long

gbsothere

Quote from: [Daydreamer] on September 19, 2009, 09:18:53 AM
if ($i == 5) $i = 1;
Meaning, (in this code) if line have 5 columb, just create new line and write other columb into it.
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
etc..


I knew help would arrive. 
And the scary thing is that even I understood that.    :D
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

distante

I'm trying to put the text in Spanish but I can't find the text strings, I want to change "My Pictures" to "Mis Fotos" but "My Pictures" isn't anywhere

:-\ any Ideas. ?

gbsothere

"My Pictures" is found in UltimateProfile.english.php

$txt['profile_pictures'] = 'My Pictures';


:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

distante

Quote from: gbsothere on September 19, 2009, 02:13:59 PM
"My Pictures" is found in UltimateProfile.english.php

$txt['profile_pictures'] = 'My Pictures';


:)

Ohh thank you!!!  :D

Metal_13

err... tried this but didnt work... any ideas...
http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063



Unknown column 'com.time' in 'field list'
File: /home/pnoygrp/public_html/forum3/Sources/Profile-View.php
Line: 227

gbsothere

Quote from: Metal_13 on September 21, 2009, 02:24:28 AM
err... tried this but didnt work... any ideas...
http://www.simplemachines.org/community/index.php?topic=298641.msg2178063#msg2178063



Unknown column 'com.time' in 'field list'
File: /home/pnoygrp/public_html/forum3/Sources/Profile-View.php
Line: 227




Beginning with this thread, there's a discussion about the database prefix.  Making sure your database prefix is set correctly may help but, if not, follow the posts through to where the poster mentions the Profile Comments mod.  If you had this previously installed before installing Ultimate Profile, perhaps that solution might be useful to you.

http://www.simplemachines.org/community/index.php?topic=298641.msg2260780#msg2260780
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

distante

#979
Can I put the tag <iframe> or <php> in multimedia or other code box ??? :-\

This isn't dangerous?

Advertisement: