1
dr007
How to upload avatars using ftp
  • 2004/10/27 11:14

  • dr007

  • Just popping in

  • Posts: 6

  • Since: 2004/10/25


Can I upload avatars using ftp? as I can't see any avatar when i try to select avatar for my profile. Or is it that XOOPS 2.9 doesn't have any default avatar package?
I'd be extremely happy if anyone could help me.

2
limecity
Re:How to upload avatars using ftp
  • 2004/10/27 11:49

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Yes, you can upload through FTP,
then you will need to add something to the sql database.

Click on this page, and you can learn it step by step.

3
iHackCode
Re:How to upload avatars using ftp

Here is the link to the avatar tutorial for uploading the avatars and creating entries for the avatar images.

https://xoops.org/modules/news/article.php?storyid=1816&com_id=11141&com_rootid=11141

you can use the info in the tutorial to make your own sql file.

explaining the file
INSERT INTO `xoops_avatarVALUES (001'www.xoops.net.br-001.jpg''Avatar-001''image/jpeg'100000000011'S');


INSERT INTO `xoops_avatar` ----tells to insert this info in the xoops_avatar table (but if you installed XOOPS with a different prefix than "xoops" then you will have to change it

VALUES (001, ----the number the avatar is (1st, 2nd, 3rd. like 1st one upload , 2nd one. blah)

'www.xoops.net.br-001.jpg' ----image name

'Avatar-001' ----the name you give the image (also the name you will see when u select the avatar in xoops)

'image/jpeg' ----the type of image it is ('image/gif' is for gif images)

Yea the rest uh..?

here is a pic and an example


INSERT INTO `xoops_avatarVALUES (1'savt417f97e722083.gif''Woot''image/gif'109888099913'S')


image from table "xoops_avatars" -browse
Resized Image

and a pic of what it shows in XOOPS admin area
Resized Image

4
carnuke
Re: How to upload avatars using ftp
  • 2004/10/27 14:33

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


dr007, let me just add that simplest way to upload avatars in small amounts is in XOOPS admin. The tutorial I produced is for uploading several and uses a different process.

I am in the process of creating another tutorial that will illustrate how to collect avatars or make your own and then upload them in bulk similar to the first tutorial. Currently the tutorial uses Mikhail's 342 avatars download package.

However ... you can use this tutorial and upload a different set of 342 avatars, providing they all have the same names as the one in the package.

Another option is to cut the .sql file down to the number of lines (avatars) that you want, maybe only 100.

5
iHackCode
Re: How to upload avatars using ftp

Yea. .im not good at this stuff.. i'll be over there..

So How U Make That Tutorial?

Login

Who's Online

143 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits