Extension:RandomUsersWithAvatars
|
RandomUsersWithAvatars Release status: stable |
|
|---|---|
| Implementation | Tag |
| Description | Shows the avatars of randomly chosen wiki users who have uploaded an avatar. |
| Author(s) | David Pean Jack Phoenix |
| Last version | 1.1 (20th of December, 2009) |
| MediaWiki | 1.11 |
| License | GNU General Public License 2.0 or later |
| Download | Download snapshot Subversion [Help] |
| Example | Halopedia main page (while not logged in) |
|
Check usage (experimental) |
|
RandomUsersWithAvatars parser hook extension displays randomly chosen avatars of your wiki's users on the page wherever you place the tag. For example, <randomuserswithavatars count=15 row=5/> would display a total of 15 avatars, 5 per row.
It should also be noted that if only one user has uploaded an avatar and no other user has done so, using <randomuserswithavatars> causes a PHP warning about invalid arguments for foreach in the main extension file and no avatars are displayed. For example, if 2 or more users have uploaded an avatar, then this tag will work properly.
It's recommended to add some styling to the output of <randomuserswithavatars> tag, so you can add the following CSS styles into your wiki's MediaWiki:Common.css:
/* Meet the Community */ .random-users-avatars { padding: 0px 0px 0px 10px; } .random-users-avatars h2 { border-bottom: none; margin: 0px 0px 0px 0px; padding: 7px 0px 8px 0px; } .random-users-avatars img { border: 1px solid #DCDCDC; display: block; float: left; height: 50px; margin: 0px 8px 8px 0px; width: 50px; }
[edit] Installation
- Download the files from SVN and place them in $IP/extensions/RandomUsersWithAvatars/
- Add
into your wiki's LocalSettings.phprequire_once("$IP/extensions/RandomUsersWithAvatars/RandomUsersWithAvatars.php");
- Installation can now be verified through your wiki's Special:Version.
| Social tools | |
|---|---|
| SocialProfile | Overview • UserStatus (GSoC 2011 project) • Roadmap • Developer info • Screenshots • History |
| Other social extensions | Automatic Board Welcome • BlogPage • FanBoxes • NewUsersList • PictureGame • PollNY • QuizGame • RandomFeaturedUser • RandomGameUnit • RandomUsersWithAvatars • SiteMetrics • UserWelcome |
| Semanticness | Semantic Social Profile |
| Other related extensions (which do not depend on SocialProfile) |
Comments • LinkFilter • NewSignupPage • RandomImageByCategory • Video • VoteNY • WikiTextLoggedInOut |
