• [MOD] Member personal photo v1.1.3 by V@no (2011-10-23) 4 0 5 1
Currently:  

Author Topic: [MOD] Member personal photo v1.1.3 by V@no (2011-10-23)  (Read 327630 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #210 on: September 10, 2006, 07:49:12 PM »
PS: I understand why you didn't post the solution in the first time - you want us to learn to think logicly, to try to understand by ourself things we used to just don't understand - but it works ;) Thanks.
Exactly! if one just following blindly directions from others they will never learn, or at least will take alot longer to learn ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #211 on: September 10, 2006, 10:55:24 PM »
So, my next goal is to display the userpicture in the PM's. I've allready managed to display the userpictures on the main pm-page (pmfolder template), but how about the pm-view template next to the username (from XXX)

when i use {userpic} it displays "my" userpic (of course) ;)

so, i open the pm.php, i think i have to use ".$userpic_img.", but where ? Most possible maybe here?:
Code: [Select]
"from" => "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$next_prev_cache[$id]['user_id'])."\">".stripslashes($next_prev_cache[$id]['user_name']."</a>"),

Offline Forty

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #212 on: September 18, 2006, 02:46:30 PM »
I need the Code or downloadlink for the install. The Downloadlink is broken.

Edit: i am sorry i found the sql code after the link :D

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #213 on: September 23, 2006, 07:00:18 PM »
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #214 on: October 12, 2006, 01:32:03 PM »
Hi! This mod is really great, I have a problem. I want to add an userpic to an user but i can't add it in control panel (mygallery/admin.php)
how can i add it in a user?
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline Parador

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #215 on: October 13, 2006, 12:51:17 PM »
I have the same problem... how can a user or I upload a picture ?

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no - memberlist MOD etc
« Reply #216 on: October 24, 2006, 10:36:45 AM »
some questions

i want to put the userpict on the memberlist MOD that i found in the forum?
and other--- i want to put the userpict close to the autor name of the photo on details.php page

thanks for the help

Offline qpatrick

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #217 on: November 01, 2006, 11:45:22 AM »
works in 1.7.4

Offline chull

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #218 on: February 08, 2007, 10:17:37 PM »
Hello,

really Great Mod!!! :D

Is it possible to show an standard photo if the user hasn't uploaded a photo. Like this:




Greetz and Thanks

Chull

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #219 on: February 08, 2007, 10:57:42 PM »
Hello,

really Great Mod!!! :D

Is it possible to show an standard photo if the user hasn't uploaded a photo. Like this:




Greetz and Thanks

Chull
was already posted how to do this: http://www.4homepages.de/forum/index.php?topic=6797.msg34005#msg34005

Offline chull

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #220 on: February 09, 2007, 01:56:11 PM »
Thanks, works perfect.  :D :D

I have installed the addon to show an random user on the home page. There is a big error. Where it should show the User name it is shown all the time my User name. I don't know why it is my. And the other problem is, if somebody hasn't upload a photo, there isn't shown the noimage.png (from the addon I asked above) photo.

Know somebody waht to do?

Thanks and many Greetz

Chull

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #221 on: February 09, 2007, 09:03:14 PM »
I don't know why it is my. And the other problem is, if somebody hasn't upload a photo, there isn't shown the noimage.png (from the addon I asked above) photo.
Check this message to see if that is your issue: http://www.4homepages.de/forum/index.php?topic=6797.msg34586#msg34586

As for the username I have no idea as I am not even using this mod.

Offline Parasco

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #222 on: February 18, 2007, 08:19:34 PM »
Hiya, how can we change the following code to show member.jpg if no user_pic exists?

Code: [Select]
//User Pic
      "userpic_img" => ($config['userpic'] && $user_row['userpic']) ? ROOT_PATH."data/userpic/".$user_row['userpic'] : "",
//End User Pic

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #223 on: February 19, 2007, 07:17:45 AM »
Hiya, how can we change the following code to show member.jpg if no user_pic exists?

Code: [Select]
//User Pic
      "userpic_img" => ($config['userpic'] && $user_row['userpic']) ? ROOT_PATH."data/userpic/".$user_row['userpic'] : "",
//End User Pic

Read a few post above yours  :!:

Offline buetler

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Member personal photo v1.1.1 by V@no
« Reply #224 on: May 09, 2007, 03:18:32 PM »
I have read the whole thread hoping to find a solution but it seems nobody had a similar problem.
I'm using 1.7.4 and it just does not work for me - user picture does not show up.
I have tried to redo all the steps - the same effect.
I noticed that once I upload user picture it is not stored in data/userpic folder. I checked properties and it is 777.
Can't figure out why it is not uploading the pic.

Can anyone help? What could be a reason for it?

update: reinstall the whole thing from scratch. Still don't know what the problem was
« Last Edit: May 12, 2007, 10:53:37 AM by buetler »