1
Bender
Where to change max. allowed emoticon(Smilie) size(120px)?
  • 2004/6/30 12:16

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10



Hope i didn´t overlook an option but in which file is the value 120 that limits the size of emoticons for uploading?

Those days 120px might easily being crossed with all these shield holding smilies out there and other funny ones.

[size=x-small]I know a workaround would be:

- upload a small image via administration
- delete it by ftp (note the name)
- ftp upload the image which is too big
- rename it to the name of the file you deleted[/size]

This seems to be working but it is what it is .... just a workaround.

2
Bender
Re: Where to change max. allowed emoticon(Smilie) size(120px)?
  • 2004/7/12 20:21

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


In case someone need this:


This can be solved by editing \html\modules\system\admin\smilies\smilies.php

edit lines 131 and 166 (xoops 2.07 reference)

$uploader = new XoopsMediaUploader(XOOPS_UPLOAD_PATH, array('image/gif''image/jpeg',
'image/pjpeg''image/x-png'), 100000, [b][color=FF0000]120[/color], [color=0000FF]120[/color][/b]);


Just change the red number for the width
and the blue one for the height you want to allow.

Login

Who's Online

481 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 481


more...

Donat-O-Meter

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

Latest GitHub Commits