• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

How can I forbid that the user can set an image as avatar?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to have a lightweight forum, and want to forbid that the user can upload an avatar or set an external image as avatar.

I want to have very fast Forum, most of our user are with 56K moden online.

Thank you indeed for the wonderful forum!
Kia
[originally posted on jforum.net by kia]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

kia wrote:Hi,
I want to have a lightweight forum, and want to forbid that the user can upload an avatar or set an external image as avatar.

I want to have very fast Forum, most of our user are with 56K moden online.

Thank you indeed for the wonderful forum!
Kia


In the Administration Console you have these avatar controls:
Avatar:
Max. Avatar Size ( in KB )
Max. avatar width ( in pixels )
Max. avatar height ( in pixels )

I haven't tried setting the size to "0" to see if that prevents any avatars ...

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, you can edit the file templates/default/user_form.htm and remove the avatar form fields.

From templats/default/post_*.htm, you can edit the templates used to show a message and remove the code that tries to display an avatar.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

GatorBait3 wrote:
I haven't tried setting the size to "0" to see if that prevents any avatars ...



This works in that they cannot set avatars, but not neatly. They still get the option but are told that the uploaded avatar is too large when they try to upload it.
[originally posted on jforum.net by chris222]
 
please buy this thing and then I get a fat cut of the action:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic