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

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

0 Members and 2 Guests are viewing this topic.

Offline TomYork

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #105 on: July 27, 2005, 05:58:32 PM »
Parse error: parse error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/httpd/vhosts/chilebuses.cl/httpdocs/galerianueva/includes/upload.php on line 330

the error show in member.php


What happen?
* La prueba más clara de la sabiduría es una alegría continua...*

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 #106 on: July 28, 2005, 12:25:26 AM »
the error show in member.php
you've made a mistake somewhere. restore backups and try again.
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 Marquis2000

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #107 on: July 28, 2005, 01:58:39 PM »
Wie bekomme ich das Avatarbild in die user_logininfo.html mit {user_avatar_current} gehts leider nicht wieso???

Gruß Marquis

Offline NTH

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #108 on: July 31, 2005, 08:45:33 AM »
Hi!
I have a question.
I installed this mod, but doesen't work.
No error message, but I when upload my avatar, no show it.
Plz help me!
View this site: http://fv.fpn.hu/

Offline jkn

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #109 on: September 08, 2005, 04:11:29 PM »

***removed***

sorry guy's .. my mistake!  :oops:

Offline sigma

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • http://cydonian.com
Re: [Mod] Avatar v2.01
« Reply #110 on: November 11, 2005, 02:12:25 AM »
Is there anyway to give guests a generic avatar when they post comments?

Offline sigma

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • http://cydonian.com
Re: [Mod] Avatar v2.01
« Reply #111 on: November 11, 2005, 02:56:59 PM »
Ok, Ive installed the mod. Its very cool.

Just a few questions.

1. Is there a way to center the avatar in the comments_bit template. right now it looks odd. I cant figure out how to make it stick to the left. Example: http://cydonian.com/photos/details.php?image_id=1036 (scroll down)

2. For some reason when the user uploads his image the word 'Custom' does not appear in the list box. Its just blank. No text. Where can I fix this? what did i miss?

3. Im going to try and do the uploads.php over again because now I cant upload images to my site. It gives me an error. Has this happened to anyone else?

4. and last, any way I can give a generic avatar to guests when they post comments?

Offline sigma

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • http://cydonian.com
Re: [Mod] Avatar v2.01
« Reply #112 on: November 12, 2005, 05:19:52 AM »
So...

1. I fixed. You can adjust the width of the space in the comments by editing the hspace=\"0\" field in the details.php. look for the following code.
Code: [Select]
"user_avatar_current" => ($config['avatar_use']) ? "<img src=\"".TEMPLATE_PATH."/avatars/".(($user_row_comment['user_avatar'] == "") ? "blank.gif" : $user_row_comment['user_avatar'])."\" name=\"icons\" border=\"0\" hspace=\"0\" alt=\"\">" : "",
2. Still cant get the word 'Custom' to show up in the list when user uploads custom avatar. Still searching for an answer. Anyone?

3. I must of missed a line in upload.php because i redid the edit uploading images works fine.

4. Guest Avatar? Turns out you can just change the blank.gif to a generic avatar.

All i need to do is solve #2

Diggin' this mod.

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 #113 on: November 12, 2005, 05:31:18 AM »
Check Step 8 make sure you have this line:
Code: [Select]
$lang['custom'] = "Custom";
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 sigma

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • http://cydonian.com
Re: [Mod] Avatar v2.01
« Reply #114 on: November 12, 2005, 05:41:07 AM »
Yea its there.

Strange.

Offline drbier

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • Mallorca-Tour - Das Party Portal -
Re: [Mod] Avatar v2.01
« Reply #115 on: November 17, 2005, 08:58:03 AM »
Hallo Leute!
Wollte mir grad das Mod instalieren und bekomm es nicht zum laufen... :(
bei mir schaut es im kontrollzentrum so aus: (wird alles angezeigt die Klammern sollten ja verborgen sein oder)?

Freiwillige Angaben
Homepage:    
ICQ:    
Avatar:
{if user_avatar_file} Upload avatar:
Max. allowed 50x50px
ODER
{endif user_avatar_file} Select from the list:    {if user_avatar_file}

{endif user_avatar_file}

Bitte um hilfe!

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 #116 on: November 17, 2005, 02:34:26 PM »
bug fixes
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 drbier

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • Mallorca-Tour - Das Party Portal -
Re: [Mod] Avatar v2.01
« Reply #117 on: November 17, 2005, 02:42:31 PM »
Verstehe nicht ganz?
Was meinst Du mit Bug-Fixes?
vlg

Offline GeneT

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: [Mod] Avatar v2.01
« Reply #118 on: November 21, 2005, 09:05:08 PM »
Hi V@no,

when i use this mod it works great, thanks for that!
But one question:

I have made it so that when a user post a comment, his/her avatar is is also posted, and these avatars stays undependent of who is logged in.
I would like to integrate this feature with my guestbook, link: http://www.4homepages.de/forum/index.php?topic=7409.60

When the user1 has posted his/her contribution in the guestbook, his/her avatar is there while he/she is logged in, but when I log in as a user number 2, all avatars are changed to his/her avatar.
So the avatars displayed in the guestbook are all the one avatar the current logged in person has.

Anyway to fix it?
I did add these two things:

guestbook.php
"user_avatar_current" => ($config['avatar_use']) ? "<img src=\"".TEMPLATE_PATH."/avatars/".(($user_row_comment['user_avatar'] == "") ? "blank.gif" : $user_row_comment['user_avatar'])."\" name=\"icons\" border=\"0\" hspace=\"15\" alt=\"\">" : "",

guestbook_comment_bit.html
{if user_avatar_current}
{user_avatar_current}
{endif user_avatar_current}

Can you tell what is still missing?
Should this post have been posted in the guestbook thread, if so, i am sorry.

Sincerly
GeneT

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 #119 on: November 22, 2005, 01:15:59 AM »
1) it seems that you added it in the wrong place
2) even if the line was in the right place it would not work.
3) since the guestbook does not save the user's ID, only name, I see no possibility combine both these mods, exept of do quiet many changes in the guestbook code AND guestbook database table
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)