Xatframe/it

From xat wiki
Revision as of 19:28, 19 June 2020 by Luana (talk | contribs) (Created page with "3. Poi, passa il mouse su "gruppo" in alto a destra del tuo gruppo, clicca su "personalizza" e inserisci la tua password di gruppo.")

Per personalizzare ulteriormente lo sfondo esterno del tuo gruppo, puoi fornire un link ad un documento HTML che sarà incorporato tramite iframe (noto come "xatframe") dietro la tua chat. All'interno della pagina incorporata, puoi utilizzare qualsiasi combinazione di HTML/CSS/JavaScript che ti piace, incluse le animazioni, i contenuti generati, ecc

Questo sostituisce lo stile CSS personalizzato che veniva utilizzato nelle chat Flash.

Libreria

La libreria fornisce una lista di xatframe inviati dagli utenti che sono gratuiti per la comunità.

Aggiunta di un xatframe al tuo gruppo

Figura 1: Aggiunta di un xatframe al tuo gruppo

1. Vai alla libreria di xatframe.

2. Clicca "copia" su qualsiasi xatframe. (Figura 1)

3. Poi, passa il mouse su "gruppo" in alto a destra del tuo gruppo, clicca su "personalizza" e inserisci la tua password di gruppo. Alternatively, visit the edit group page.

4. Add the URL to the "xatframe" field on the appearance tab. (Figure 1)

5. Save changes and the xatframe will be live on your group.

Note: You must also use an outer background when using a xatframe so that there is a fallback if users have xatframes disabled.

Submitting a xatframe

You can submit a xatframe so that it will appear on the xatframe library (forum account required). Your xatframe must follow the rules listed on the forum and below in order to be approved.

Making your own xatframe

If you want to create your own xatframe, you will first need to have somewhere to host it. For this, we recommend you use https://github.io as it is easy to set up and is already pre-unblocked. If you wish to use your own domain, you will need to have it unblocked by making a ticket.

For more information on setting up GitHub pages, you can visit their website.

Once you have a webpage set up, you can combine HTML/CSS/JavaScript code to create your design and then use it on your chat, or submit it to the xatframe library.

Settings

Figure 2: xatframe setting options

You can disable or enable xatframes through an automatic pop-up window or by hovering over "group" at the top right of a group and clicking "xatframe". You can do this for all groups (global), the current group or both. (Figure 2)

Changes will not take effect until you refresh the page.

Rules

You must ensure the xatframe you use complies with the rules below, even if taken from a third party.

Note: xat reserves the right to change these rules without notice.

IMPORTANT: Failure to follow these rules may result in your chat group being deleted or permanently delisted and having all of its media removed. xat may also apply a block to your account, depending on the offence.

  • Must be suitable for viewing by all ages.
  • No IP trackers or content that can be used to track IP addresses.
  • Do not store any cookies etc. without permission.
  • No chats to be embedded in an iframe.
  • Do not use animations that may be intrusive to the chatting experience.
  • Flashing images should not be used.
  • Do not use malicious code of any kind (e.g. with mouse clicks or key presses).
  • No commercial adverts or content of that nature.