Extension:DynBox
From MediaWiki.org
| WARNING: The code or configuration described here poses a major security risk.
Site administrators: You are advised against using it until this security issue is resolved. Problem: Vulnerable to Cross-site scripting attacks, because it passes user input directly to the browser. This may lead to user accounts being hijacked, among other things. Solution: strictly validate user input and/or apply escaping to all characters that have a special meaning in HTML |
| The author of this extension is no longer maintaining it! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
| This extension stores its source code on a wiki page. Please be aware that this code may be unreviewed or maliciously altered. They may contain security holes, outdated interfaces that are no longer compatible etc. Note: No localisation updates are provided for this extension by translatewiki.net. |
|
DynBox Release status: stable |
|||
|---|---|---|---|
| Implementation | Tag, MyWiki | ||
| Description | Display customisable Dynamic HTML CSS boxes | ||
| Author(s) | Romain GEORGES (Lecidtalk) | ||
| Last version | 0.3 (2008-12-25) | ||
| MediaWiki | 1.5.6+ | ||
| Database changes | No | ||
| License | BSD | ||
| Download | DynBox.php Changelog |
||
| Example | diablotins.org | ||
|
|||
|
|||
| Check usage and version matrix | |||
The DynBox extension allows to display customisable Dynamic HTML CSS boxes for messages and news. It is a parser hook for MediaWiki who helps to edit Mouse:Hover "Pop-up" boxes for news or flash displays.
Contents |
Installation [edit]
- Copy the code from the page with the code
- Place the code in a file called
DynBox.php - Create a directory
DynBoxin your$IP/extensionsdirectory - Move the file to this
$IP/extensions/DynBoxdirectory - Add to the end of LocalSettings.php:
require_once("$IP/extensions/DynBox/DynBox.php");
- Installation can now be verified through Special:Version on your wiki
Usage [edit]
DynBox put Div in absolute CSS mode, so in your Wiki code add anywhere :
<dynbox title="My Title" posx=XXpx posy=XXpx iconcolor="color" iconbgcolor="color" boxcolor="color" boxbgcolor="color" color="color" bgcolor="color"> some text </dynbox>
Configuration [edit]
- title
- title of the icon
- 'some text
- content of the news box
- posx
- CSS compatible right-from position
- posy
- CSS compatible top-from position
- iconcolor
- text icon color
- iconbgcolor
- background icon color
- boxcolor
- title of the popped box color
- boxbgcolor
- border of the popped box color
- color
- text in the popped box color
- bgcolor
- background of the popped box color