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

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

0 Members and 1 Guest are viewing this topic.

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: [Mod] Avatar v2.01
« Reply #30 on: February 11, 2003, 02:17:17 PM »
BIG Thanks :wink:  :wink:

Offline Stryker

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://www.3dm-mc.com
Re: [Mod] Avatar v2.01
« Reply #31 on: February 13, 2003, 06:56:37 PM »
Thank you very much! You have geat job but can you do intergaton for vBulletin Version 2.2.X?

Thanks again!

Offline Jaap12

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #32 on: February 14, 2003, 01:48:10 PM »
Does this mod work with 1.6?

Ihope so... very intresting mod!!!

drhtm

  • Guest
Re: [Mod] Avatar v2.01
« Reply #33 on: February 22, 2003, 08:33:12 PM »
is it possible to add the avatar in the box 'Registered Users' after a member login right after their name and above the link to 'lightbox'?

And if a user hasn't chosen an avatar is it possible to put a default image or text in that space to remind the user to choose an avatar?

thanks

Offline Der_Nick

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.fetteseite.com
Re: [Mod] Avatar v2.01
« Reply #34 on: February 23, 2003, 02:53:21 PM »
i have a small problem with this mod!!
after saving my avater,the member.php file jumps back to "none" avater!!
i can choose my avatars, my own and the avatar in the list,but i can't save the it!

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] Avatar v2.01
« Reply #35 on: February 23, 2003, 03:15:36 PM »
Quote from: drhtm
is it possible to add the avatar in the box 'Registered Users' after a member login right after their name and above the link to 'lightbox'?

And if a user hasn't chosen an avatar is it possible to put a default image or text in that space to remind the user to choose an avatar?

thanks
hmmm...I like the idea add avatar under the name :wink:
just did it on my site:open /includes/page_header.php
Find:
Code: [Select]
 "url_upload" => (!empty($url_upload)) ? $site_sess->url($url_upload) : $site_sess->url(ROOT_PATH."member.php?action=uploadform"),Add after:
Code: [Select]
"user_avatar_current" => ($config['avatar_use']) ? "<img src=\"".TEMPLATE_PATH."/avatars/".(($user_info['user_avatar'] == "") ? "blank.gif" : $user_info['user_avatar'])."\" border=\"0\" alt=\"\">" : "",
Then, open user_logininfo.html template. Add this:
Code: [Select]
{user_avatar_current}

About default image - just change blank.gif with image u want.
« Last Edit: September 06, 2006, 12:33:57 AM by V@no »
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 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] Avatar v2.01
« Reply #36 on: February 23, 2003, 03:18:12 PM »
did u run install_avatar.php ?
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 Der_Nick

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.fetteseite.com
Re: [Mod] Avatar v2.01
« Reply #37 on: February 23, 2003, 03:25:54 PM »
yes!at the first time it was ok, but now, i run it again:
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_use', '1')
Duplicate entry 'avatar_use' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_user_custom', '1')
Duplicate entry 'avatar_user_custom' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_width', '50')
Duplicate entry 'avatar_width' for key 1

DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('avatar_height', '50')
Duplicate entry 'avatar_height' for key 1

DB Error: Bad SQL Query: ALTER TABLE 4images_users ADD `user_avatar` VARCHAR( 255 ) NOT NULL
Duplicate column name 'user_avatar'

???????

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] Avatar v2.01
« Reply #38 on: February 23, 2003, 03:54:32 PM »
that's ok, u need run it just ones.
well, go over the installation process, I think u missed something or did something wrong.
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 Der_Nick

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.fetteseite.com
Re: [Mod] Avatar v2.01
« Reply #39 on: February 23, 2003, 11:30:04 PM »
shit!
i checked all steps, but i didn't missed anything and i didn't anything wrong?!
wheres my problem? i don't know,sorry

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] Avatar v2.01
« Reply #40 on: February 23, 2003, 11:48:20 PM »
Quote from: Der_Nick
shit!
8O :roll:
did u add this line?
Code: [Select]
$user_avatar = $user_info['user_avatar'];

another thing, if u have access to your database, try to see if user_avatar field under 4images_users table getting updated.
then, add this line just before the code u add in step 1.4.:
Code: [Select]
echo $user_avatar." | ".$user_info['user_avatar']; it should print on TOP-LEFT corner two times filename of your current avatar. if u see only | then it means the code either doesnt read the database or something u missed.
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 Der_Nick

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.fetteseite.com
Re: [Mod] Avatar v2.01
« Reply #41 on: February 24, 2003, 01:52:53 AM »
ok!
i add this line
Quote
$user_avatar = $user_info['user_avatar'];
!!
but i only see this | !! :oops:
but i'm sure, i don't forget to add anything!i checked exactly and found no mistake! :?:
should i check all the files again?  :(

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] Avatar v2.01
« Reply #42 on: February 24, 2003, 02:25:04 AM »
well, I'm pretty much sure u did something wrong.
because when I upload avatar on your site, it gives me a list of avalable avatars like this:
Quote
none
Custom
Custom

yes, two times Custom.
it not supposed to be like that.
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 Der_Nick

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.fetteseite.com
Re: [Mod] Avatar v2.01
« Reply #43 on: February 24, 2003, 01:28:51 PM »
sorry, but it doesn't work!
i do all again with new files from my hd! i do one step to another,slowly, i checked all files two times, i have absolutely no mistake, but it doesn't work!!
i found no mistake?! :(

the same problem with the 2 "custom"!

should i post all my files here?

your mod is great,but i believe,i am too stupid to check this! :!:  :?:


(excuse me for my very bad englisch!!)

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] Avatar v2.01
« Reply #44 on: February 24, 2003, 02:01:22 PM »
if u want, zip your member.php file, and pm it to me.
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)