[ABD]Linked Profile Picture 0.3.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Lisbon
Registered User
Posts: 831
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [RC2]Linked Profile Picture 0.3.0

Post by Lisbon »

Theres a minimum size and a maximun size (pixel) for the picture?
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

There's no limit to sizes since the picture is linked, it will show up as max 250px in the profile and when you click on it max400. That is set in the CSS. A smaller picture like 200px will show as 200px in both places, while a 500px image will show by the max values. :)
User avatar
Lisbon
Registered User
Posts: 831
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [RC2]Linked Profile Picture 0.3.0

Post by Lisbon »

How many pictures wi cam put whit this mod? 1 or 2?
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

It's 1 link, so 1 picture.
But if you stack 2 photos in an editor and them save as one picture... :P
JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: [RC2]Linked Profile Picture 0.3.0

Post by JeRicHoOL »

iEric wrote:
JeRicHoOL wrote:Parse error: syntax error, unexpected T_ARRAY in /viewtopic.php on line 316
The 1st edits (that is line 316) for viewtopic - find:

Code: Select all

$user->setup('viewtopic', $topic_data['forum_style']); 
When it's ready it looks like:

Code: Select all

$user->setup(array('viewtopic', 'mods/Linked_Profile_Picture'), $topic_data['forum_style']); 
Did you upload the lang file?
Line 316 looked like this.

Code: Select all

$user->setup('viewtopic'array('viewtopic', 'mods/Linked_Profile_Picture'), $topic_data['forum_style']);
Now I changed it like you said.

Code: Select all

$user->setup(array('viewtopic', 'mods/Linked_Profile_Picture'), $topic_data['forum_style']); 
Thanks man. :)
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

Glad you got it sorted out. :)

What happened was you performed an "inline after-add" instead of the "inline replace-with".
JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: [RC2]Linked Profile Picture 0.3.0

Post by JeRicHoOL »

JeRicHoOL wrote:There's only a little problem. When you don't have a profile picture the profile looks like this.

http://i107.photobucket.com/albums/m287 ... 292328.gif

There's a black area (I marked it with a grey X). Ignore the white stuff. I just censored my information :lol: . This doesn't look good of course so I'm asking you if there's a way to solve this issue. My style is subsilver based by the way.

Thanks in advance.
I have noticed this problem only appears when I have a signature. I checked the profile of another user who doesn't have a signature and the profile was shown correctly.

I hope you can help me out with the problem.

Thanks in advance.
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

Yes. you can send me your code of meberlist_view.html and I can have a look at it. But try first to go through the edits in that file. I think it is one of the edits for "colspan".
JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: [RC2]Linked Profile Picture 0.3.0

Post by JeRicHoOL »

I have re-checked it and I edited it correctly. I pm'd you the file.
I hope you can solve this little problem. ;)
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

Thanks. Glad you got it sorted out. :)
User avatar
Lisbon
Registered User
Posts: 831
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [RC2]Linked Profile Picture 0.3.0

Post by Lisbon »

JeRicHoOL wrote:this problem only appears when I have a signature. I checked the profile of another user who doesn't have a signature and the profile was shown correctly.

I hope you can help me out with the problem.

Thanks in advance.
This problem is solved?
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

Yes ...it was not a problem. :)
MydnyteSyn
Registered User
Posts: 383
Joined: Sun Oct 07, 2007 10:02 am

Re: [RC2]Linked Profile Picture 0.3.0

Post by MydnyteSyn »

How about posting how you corrected it for others who may wish to do the same?
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden

Re: [RC2]Linked Profile Picture 0.3.0

Post by iEric »

It was not a problem - So, there's nothing to correct. ;)
MydnyteSyn
Registered User
Posts: 383
Joined: Sun Oct 07, 2007 10:02 am

Re: [RC2]Linked Profile Picture 0.3.0

Post by MydnyteSyn »

This is a great mod :) I'm having 2 minor issues, though. Hopefully you can help. I've included 2 screenshots to better aid in explaining my dilemma. The forum that I help a friend host is using two themes, both based off subSilver2.

Width Adjustment - This screen shot shows my user profile using the ClassyDark theme. This theme's width is 800w. When I include this mod in this template, it stretches the users profile and it becomes unaligned with the rest of the forum. Could you tell me how I correct this?

Signature width messed up - This screen shot shows the other admins profile, using the same ClassyDark theme. He doesn't have a profile image uploaded. When a profile image isn't uploaded, it reduces the area for the signature. Prior to installing this mod, the signature spanned the full 800 width and now it doesn't. Could you please tell me how to correct this?

I have it looking perfect in the second theme we're using, so there aren't any issues there.

Return to “[3.0.x] Abandoned MODs”