• [Mod] Avatar v2.01 5 0 5 1
Currently:  

Author Topic: [Mod] Avatar v2.01  (Read 450568 times)

0 Members and 1 Guest are viewing this topic.

Offline widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #15 on: February 10, 2003, 12:56:35 PM »
Hi

I tried this and I try to upload a image and it dosnt upload into the folders but if I but a image in the ftp manually it works.

I have made sure the permissions are set

Any Ideas?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #16 on: February 10, 2003, 01:12:59 PM »
make sure that picture width/height is equal or smaller then size u set from Admin Control Panel -> Settings

P.S. Can u show me your site?
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 widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #17 on: February 10, 2003, 01:19:17 PM »
Hi

Yes I have made sure the sizes all smaller. It even says my profile has been updated.

My site address is:

http://www.highrez.com

Username: demo
Password: demo

Thanks

Steve

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #18 on: February 10, 2003, 01:30:37 PM »
yes, thes's right, I had the same problem when was tunning up the script... 8O
u forgot add in top <form> this
Quote
<FORM method="post" action="{url_member}" name="creator" enctype="multipart/form-data">

that will fix two things: upload and image changing.
by the way, dont forget add blank.gif image in /avatars/ folder.  :wink:
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 widgit1981

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #19 on: February 10, 2003, 01:36:46 PM »
Your a star *******

Now fully working thanks to you. This mod certainly makes my day !

Steve
HighRez.com

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #20 on: February 10, 2003, 02:01:58 PM »
I have slightly changed Step 1.4 and Step 8.
now "Custom" option will be showed even if user changed his avatart to blank or any from the list (so he dont need upload his avatar again).
also, now "Custom" word is taken from language pack.
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 Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #21 on: February 10, 2003, 07:30:24 PM »
@v@no: GREAT MOD!

I have one question: It is possible to show the avatar in the memberlist powered by Nicky???

Thanks

Markus

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #22 on: February 10, 2003, 10:41:19 PM »
sure, in memberlist.php find:
Code: [Select]
   $userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";

And replace with:
Code: [Select]
$user_avatar = (!$user_row['user_avatar'] || $user_row['user_avatar'] == "blank.gif") ? "" : "<img src=\"".TEMPLATE_PATH."/avatars/".$user_row['user_avatar']."\">";
    $userlist .= "<td valign=\"top\" align=\"center\">".$user_name."<br/ >".$user_avatar."</td>\n";
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 mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: [Mod] Avatar v2.01
« Reply #23 on: February 11, 2003, 12:39:13 AM »
sorry if this out of the topic, Veno can you share to me what code to add in thumbnail alt properti
so when user not login they got message when try to click the thumbnail
that the image only can have detail view when they register.


 :?  :?

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #24 on: February 11, 2003, 12:41:33 AM »
@v@no: Another GREAT JOB! Thanks a lot!

@mantra: Good idea. Hope, that v@no can help us again.

Cheers,

Markus

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #25 on: February 11, 2003, 12:46:40 AM »
some time ago someone asked that already  :wink:
http://www.4homepages.de/forum/viewtopic.php?t=3304
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 Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #26 on: February 11, 2003, 01:05:43 AM »
FANTASTIC!

Thank U very much!

Markus

Offline Jasondavis

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #27 on: February 11, 2003, 06:23:10 AM »
Yes, V@no thank you! You have really been making a lot of mods lately keep up the great work!

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: [Mod] Avatar v2.01
« Reply #28 on: February 11, 2003, 10:00:49 AM »
Thanks veno ,you make my day :D  :D  :D
If I can sugest maybe  we can put the avatars in root directory so if some one try to change to another  templates we don't have to upload all the same avatars again. :idea:  :idea:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Avatar v2.01
« Reply #29 on: February 11, 2003, 12:43:06 PM »
u can do that.
go through the code u modifyed and search for
Code: [Select]
.TEMPLATE_PATHjust delete it.(dont delete the dot at the end of this, if its there)
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)

 

Post your comments here