Difference between revisions of "User:Ethan"

From xat wiki
Jump to: navigation, search
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This guide explains how xats can be used for the purchase of kisses, powers, chat promotions, short registered names, inactive chats, and official relationship statuses.
+
__NOTOC__
==Buying xats==
+
SetScroller is a feature aimed at advanced users who want to set the chat scroller automatically from their server. e.g. showing tweets, displaying now/next on their radio station.
{{img|scalable=no|image=https://i.imgur.com/AyygzNL.png|float=left|description=
 
Click on the"Get xats" button in the chatroom to open xat's store.}}
 
You can now buy xat currency (xats) to purchase things in the chat box, and subscriber time (days) to enable special features.
 
To buy xats, you first need to be a registered user. To register for xat, click '''[http://xat.com/web_gear/chat/register.php register]'''. If you are already a registered user, click your name in any chat and click the '''"Get xats"''' button. Alternatively, you can click the '''"Get xats"''' icon on the smiley row. Ensure that the proper registered name and identification number is displayed on the "Get xats" page.
 
xat currently accepts several payment methods (see below).
 
===What are the payment methods?===
 
Below is a table regarding what payment methods are available on xat, in which countries they're available and which ones you shouldn't use if you don't want a [[Reserve]] to be placed on your account.
 
{| class="wikitable" style="text-align:center"
 
|-
 
!Payment method
 
!Available in
 
!Reserve
 
  
|-
+
To use it, you will need your chat's '''id''' and '''pw''', which can be found in your chat's Extra features link.
|Paysafecard
 
|Italy, France, Spain, UK, Brazil, US
 
|{{No}}
 
|-
 
|PaymentWall
 
|Italy, France, Spain, UK, Brazil, US
 
|{{No}}
 
|-
 
|PayPal
 
|Italy, France, Spain, UK, Brazil, US
 
|{{Yes}}
 
|-
 
|PayBySkrill
 
|Italy, France, Spain, UK, Brazil, US
 
|{{Yes}}
 
|-
 
|}
 
*'''Note''': Only "top countries" are listed. To see what payment methods are available in other countries, check the [http://xat.com/buy buy] page.
 
*'''Note''': PaymentWall contains multiple payment methods, to see what payment methods are available in your country visit: https://www.paymentwall.com/payment-methods and select your country.
 
==Using xats==
 
{{img|scalable=no|image=https://i.imgur.com/AyygzNL.png|description=
 
Click on the 8 ball to open up the interface for kisses.}}
 
===Kisses===
 
A kiss is a large animation which appears over the entire chat box and is visible to all users (unless they have ignored you). To send a kiss, click on the magic 8ball in the line of smileys above the text box. You cannot send a kiss on a chat if you are currently banned.
 
  
A kiss costs 25 xats to send. On the kiss dialog box, enter your message, as well as your account password, and click on the kiss you want to send. To preview a kiss, enter an optional message, exclude your password, and click on a kiss. Only you will see this.
+
==Usage==
  
===Marriages/BFFs===
+
You can use the API manually via a web page here: http://xat.com/web_gear/chat/SetScroller.php
{{img|scalable=no|image=https://i.imgur.com/oKnQC9m.jpg|width=186|float=left|description=
 
Heart for couples, plus sign for best friends.}}
 
  
Marriages and BFFs (Best Friends Forever) allow you to pair up on xat. Once you marry or BFF another user, your names will always appear next to each other on the visitor's list in any chat where you are both present. The person with the highest rank takes priority in the order of pairing on the user list. You can marry/BFF anyone you want as long as neither of you are already in a relationship, but remember that they can divorce you for free at any time for any reason. To get married/BFFed, click on the person's name, and click the "Marry/Best Friend" button. Best Friends will be connected with a cross, while married pairs will be connected with a heart.
+
'''Example''':
 +
{{pre|<nowiki>http://xat.com/web_gear/chat/SetScroller.php?Message=Hello%20all!&id=12345&pw=1234567890</nowiki>}}
 +
Or you can access the API using a programming language.
  
{{img|image=https://i.imgur.com/3XD8EA4.png|description=
+
'''Example of how to access the API in PHP''':
Window to divorce a user, contains a "message" field to display publicly and a "password" field to confirm it. After you've filled out these fields, click on the image with 2 people arguing.}}
+
{{pre|<nowiki>
 +
$message = "Hello all!"
 +
$id = 12345;
 +
$pw = 1234567890;
  
Divorces are free. To get divorced, click on anyone's name and click the Divorce button. If you change your mind and want to remarry, it will cost another 200 xats, so make sure you are certain. An animation will show to the entire chat when you divorce.
+
$url = "http://xat.com/web_gear/chat/SetScroller.php?Message=".urlencode($message)."&id={$id}&pw={$pw}";
 +
$ch = curl_init();
 +
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
 +
curl_setopt ($ch, CURLOPT_URL, $url);
 +
curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
 +
$content = curl_exec ($ch);
 +
print "$content\n";
 +
curl_close ($ch);
 +
</nowiki>
 +
}}
  
===Promotion===
+
'''Notes''':
  
Want to bring more users to your group? There are two ways to promote your group.
+
*You are limited to 1 update every minute.
  
====Promoting a Group====
+
*The above uses the GET HTTP method, POST will also work.
  
You can use your xats to promote your group. This will put your group on the xat homepage. You must adhere to all promotion rules. If you do not abide by these rules, your promotion will end and your xats will not be refunded. To check prices, read the promotion rules, or purchase a promotion for your group, see [[Promotion]].
+
*If you reset your chat you will need to update your software to go to the new ID and PW. If you change your group password you'll need to update to use the new pass.
 
 
You must be at least a member in order to promote a group. If you have just been made a member, you may need to wait a few minutes. The group you are trying to promote must be open to all users (not members only). Some groups can't be promoted, like Lobby, Help, etc. Groups can be promoted for a minimum of 30 minutes to a maximum of six hours.
 
 
 
====Banner Advertisements====
 
 
 
You can also attract users to your group by uploading a banner advertisement, which will be displayed above or below chat boxes at other groups. Your banner must be appropriate, and should be 728x90 pixels. To get started, see the [[Advertise]] article.
 
 
 
===Group transfer===
 
 
 
You can use your xats to purchase groups that haven't been used by their owner in at least three months. The cost of a group transfer can range from 1,000-18,000 xats. It primarily depends on how popular the name is. If the group has been visited by an owner recently, it probably won't be available for transfer. You can check prices and availability [http://xat.com/web_gear/chat/TransferGroup.php here].
 
 
 
===Powers===
 
 
 
Powers are extra features that can be used in the chat. Clicking your name and then "Powers" will give you a list of all available powers. Power costs vary and can sometimes require subscription days for purchase. Limited powers (which are unavailable for purchase on the powers page) can be purchased from other users at [http://xat.com/Trade Trade]. You need subscription days to use powers. If you run out of subscription days, you will keep your powers, but you will be unable to use them until you have days again. Check out the [http://xat.com/getpowers powers page] and the [[Powers]] support article for more information.
 
 
 
===Shortnames===
 
 
 
Short registered names (4-9 characters) can also be purchased with xats. The cost is typically 1,000-25,000 xats, but may be more for exceedingly popular or common terms. Changing a shortname to any other registered name will cause you to lose that shortname. A shortname also puts you higher on the visitors list. You can't use any words in a shortname that you couldn't use in a normal registered name (restricted words like staff, or inappropriate words). Check out the [http://xat.com/web_gear/chat/BuyShortName.php shortname page] for more information.
 
 
 
==Transferring/Trading==
 
 
 
xats and days can be transferred to another user. To transfer to another user, click on their name, and click the "Transfer" button. Enter the amount of xats/days you want to transfer, your password, and an optional message. The xats/days will be removed from your account and given to the other user. There is a minimum transfer requirement of 10 xats or 1 day. This will be higher if the user has one or more [[Mint]] powers.
 
 
 
You can also trade xats, days, and powers with other users. For more information, see the [[Trading]] article.
 

Revision as of 12:35, 4 September 2016

SetScroller is a feature aimed at advanced users who want to set the chat scroller automatically from their server. e.g. showing tweets, displaying now/next on their radio station.

To use it, you will need your chat's id and pw, which can be found in your chat's Extra features link.

Usage[edit]

You can use the API manually via a web page here: http://xat.com/web_gear/chat/SetScroller.php

Example:

http://xat.com/web_gear/chat/SetScroller.php?Message=Hello%20all!&id=12345&pw=1234567890

Or you can access the API using a programming language.

Example of how to access the API in PHP:

$message = "Hello all!"
$id = 12345;
$pw = 1234567890;

$url = "http://xat.com/web_gear/chat/SetScroller.php?Message=".urlencode($message)."&id={$id}&pw={$pw}";
$ch = curl_init();
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
$content = curl_exec ($ch);
print "$content\n";
curl_close ($ch);

Notes:

  • You are limited to 1 update every minute.
  • The above uses the GET HTTP method, POST will also work.
  • If you reset your chat you will need to update your software to go to the new ID and PW. If you change your group password you'll need to update to use the new pass.