En vous promenant sur Beamreactor, nous stockons votre IP 48h pour des raisons de sécurité.

Lecteur Markdown

oneliner Documentation › ONELINER_DOCUMENTATION_EN

Oneliner Documentation En

Feature: Oneliner #

Shoutbox — short message area in near real-time. Logged-in users post messages of up to 215 characters. Duplicate detection per user over 24 hours, pagination, automatic URL-to-link conversion.

Installation and Configuration

Via FTP: Upload the oneliner/ directory into /plugins/.

Via package manager: Select oneliner from the available plugins list.

Paths:

  • Main plugin: /plugins/oneliner/oneliner.php
  • Configuration: /plugins/oneliner/conf/oneliner.conf.inc.php
  • Locales: /plugins/oneliner/locale/

Configuration parameters (oneliner.conf.inc.php):

| Variable | Default | Description |

|---|---|---|

| $ollimit | 10 | Messages displayed per page (max 100) |

| $basedisplevel | — | Level to read |

| ONELINER_LEVEL_USER | BASE_LEVEL_USER | Level to post |

Required SQL table: oneliner

Usage

Posting a Message #

  • Text input (max 215 characters)
  • Submission via POST
  • Duplicate detection: the same user cannot post the same message twice on the same day

Display #

  • Messages in reverse chronological order
  • Link to the author's profile
  • URLs in messages converted to hyperlinks (via the redirector)
  • Censorship filter (configurable banned words)

Hooks and Entry Points

text
?obj=oneliner.php		 — Message display
?obj=oneliner.php&page=N  — Page N

Message submission via POST to the same URL.

de en fr