Jump to content

Safer codes for xat.me and groups


Admin

Recommended Posts

  • Bot Service Providers

You are now able to use autologin: [chat:WIDTH:HEIGHT:CHATID:CHATNAME:autologin]
You are now able to use . (dots) on Facebook URLs
You are now able to use youtube for playlists
You are now able to use width / height with % (percentages), e.g: 50% or [chat:45%:35%:5:xat_test]

[xatradio] is no longer available, you need to use [radioswf] or [radiohtml] for your radio embed. If you want to use the generators need to use [radiohtml5] and [radio]

 

 

@Sydno xatwiki update xD

  • Award 1
Link to comment
Share on other sites

  • Advanced Members
4 hours ago, Lamingtons said:

You are now able to use autologin: [chat:WIDTH:HEIGHT:CHATID:CHATNAME:autologin]
You are now able to use . (dots) on Facebook URLs
You are now able to use youtube for playlists
You are now able to use width / height with % (percentages), e.g: 50% or [chat:45%:35%:5:xat_test]

[xatradio] is no longer available, you need to use [radioswf] or [radiohtml] for your radio embed. If you want to use the generators need to use [radiohtml5] and [radio]

 

 

@Sydno xatwiki update xD

hight width for chat ?

Link to comment
Share on other sites

  • Bot Service Providers

 

19 minutes ago, Angelo said:

Can you provide an example please? @Lamingtons

 

Facebook URLs now are working according to their rules.

 

Autologin is working as [chat:728:486:5:xat_test:autologin] without autologin is [chat:728:486:5:xat_test]

 

Youtube playlist is working as [youtube:500:400:Rpr_HNJ0Y3A:autoplay=1&list=PL63F0C78739B09958]

Rpr_HNJ0Y3A is the VIDEO ID(obviously)

PL63F0C78739B09958 is the PLAYLIST ID

 

All the sizes are now working with percentages e.g: [chat:45%:35%:123:Chat] it is useful for users that want to make their pages responsible(that will be adjusted automatically according to your resolution)

 

Others thing are just information about what was fixed.

 

 

 

52 minutes ago, iMoHd said:

but why not worked on my chat?

Isn't working on chats yet, hopeful it will be fixed soon.

  • Award 1
Link to comment
Share on other sites

  • Advanced Members
9 hours ago, Lamingtons said:

You are now able to use width / height with % (percentages), e.g: 50% or [chat:45%:35%:5:xat_test]

Still cant use it for css when adding images to your xat.me (or, at least not in my case)

 

Example:

url('http://i.imgur.com/x4SXnPZ.png') top 60px left 50% no-repeat,

Turns into:

url('http://i.imgur.com/x4SXnPZ.png') top 60px left 50nope-repeat,

Alternative to centering, for lack of better options:

url('http://i.imgur.com/x4SXnPZ.png') top 60px center no-repeat, 

 

Link to comment
Share on other sites

  • Bot Service Providers
5 minutes ago, TrueRedDevil said:

Still cant use it for css when adding images to your xat.me (or, at least not in my case)

 

Example:


url('http://i.imgur.com/x4SXnPZ.png') top 60px left 50% no-repeat,

Turns into:


url('http://i.imgur.com/x4SXnPZ.png') top 60px left 50nope-repeat,

Alternative to centering, for lack of better options:


url('http://i.imgur.com/x4SXnPZ.png') top 60px center no-repeat, 

 

 

As I said, it was unblocked on this code but you can't use it on CSS for security reasons.

Link to comment
Share on other sites

  • Advanced Members

For all the people that have been saying font is broken (including myself):

  1. Put [font:font_name] in your HTML box. If the font includes spaces, use an underscore*.
  2. Use font-family in your CSS box along with the google font you used in the first step. Use plus signs (+) instead of spaces.
  3. Update and enjoy.

 

Example:

  • HTML:
[font=Open_Sans]
<div id="text">
  ABCDEFG
</div>
  • CSS:
#text{
	font-family:Open+Sans;
}

 

*You can alternatively use &#43; which will be replaced with +.

 

Note: Fonts that include the word "Script" in their name cannot be used due to the blacklisting of this word.

  • Award 1
Link to comment
Share on other sites

  • Advanced Members
7 hours ago, Lamingtons said:

As I said, it was unblocked on this code but you can't use it on CSS for security reasons.

What security problem would correctly aligning an object cause... nor was it ever mentioned that it was blocked for those reasons

 

I feel its dumb enough that things get blocked because a very small minority could abuse something, we have a report button and a team of staff and volunteers for this

Link to comment
Share on other sites

  • Bot Service Providers
5 hours ago, TrueRedDevil said:

What security problem would correctly aligning an object cause... nor was it ever mentioned that it was blocked for those reasons

 

I feel its dumb enough that things get blocked because a very small minority could abuse something, we have a report button and a team of staff and volunteers for this

Still same, it was blocked for security reasons so it's hard get it unblocked.

Link to comment
Share on other sites

  • Bot Service Providers

New updates!

 

We needed autologin, why not more things?

 

[chat:WIDTH:HEIGHT:CHATID:CHATNAME:EXTRA]

 

E.g: [chat:600:400:5:xat_test:noradio]

 

EXTRA:

autologin // is now the correct flag

noradio  // will disable radio by default

nosound // will disable sound by default

nostored // will not load old messages like is used on unlisted/inactive chats

transparent //  will load chats in transparent mode using wmode="transparent"  

 

Fonts is now working with spaces so will not break the + anymore

 

E.g: [font:Open Sans]

 

Thanks to @Techy on getting some codes.

 

 

(soon will be fixed these codes on chat groups)

 

Any wiki editor update http://xat.wiki/sc.

@Sydno @Daniel  @Crow @Angelo

Link to comment
Share on other sites

  • Volunteers

I'm just wondering whether to change this:

  • nostored will not store old messages, similar to the 'Don't store chat messages' option
  • nostored will not store old messages, like the 'Don't store chat messages' option
  • nostored will not store old messages, the same as the 'Don't store chat messages' option

Choose one for me :3

Link to comment
Share on other sites

  • Advanced Members
26 minutes ago, Crow said:

I'm just wondering whether to change this:

  • nostored will not store old messages, similar to the 'Don't store chat messages' option
  • nostored will not store old messages, like the 'Don't store chat messages' option
  • nostored will not store old messages, the same as the 'Don't store chat messages' option

Choose one for me :3

First.

  • Award 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.