Tags:
create new tag
view all tags

SID-01616: Profile pictures

Status: Answered Answered TWiki version: 5.1.0 Perl version:
Category: CategorySkin Server OS: Last update: 13 years ago

Hello,

your help please: Is it possible to add the poster's profile picture next to every post?

Thanks!

-- lior meuc - 2013-01-03

Discussion and Answer

Do you mean in signatures? This can be done by defining a Parameterized Variable, such as:

   * Set USERSIG = <img src="%IF{ "'%FORMFIELD{ "Image" topic="%USERSWEB%.%DEFAULT%" }%'!=''" then='%PUBURLPATH%/%USERSWEB%/%DEFAULT%/%FORMFIELD{ "Image" topic="%USERSWEB%.%DEFAULT%" }%' else='%PUBURLPATH%/%USERSWEB%/UserProfileHeader/default-user-profile.jpg' }%" height="16" alt="" border="0" /> %USERSWEB%.%DEFAULT%

Which can be used like:

   -- %USERSIG{PeterThoeny}% - 2012-01-03

Shown here in your and my signature.

This setting can be done in Main.TWikiPreferences to take effect site-wide.

-- Peter Thoeny - 2013-01-04

See new proposal at ConfigurableSignaturesWithPictures.

-- Peter Thoeny - 2013-01-04

This is now implemented in SVN trunk; also installed on TWiki.org. The implementation is more sophisticated than the one shown on top here.

-- Peter Thoeny - 2013-01-05

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Profile pictures
SupportCategory CategorySkin
TWiki version 5.1.0
Server OS

Web server

Perl version

Browser & version

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2013-01-05 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.