* Keyarn * Graham My question is asuming i replace it with the an of the number you showed me without pasting the code will it work?
2017-03-03 16:48 · (0)
* Graham * Keyarn no you can change it to one of the numbers I listed not 'any number'
as for the code its what I use for debugging it's just a tool to help when creating templates
use it or not it's up to you
2017-03-03 08:12 (edited 2017-03-03 08:16 by Graham ) · (0)
* Keyarn * Graham Xo you mean i should past the above code in my forum twig? Or i should just just change de number to any number and it will work
2017-03-03 07:47 · (0)
* Graham * Keyarn It is in 16 32 64 128 and 150 just change the number
{{avatar_src}} is set within the post_view routine that outputs the post so it changes constantly for each avatar on the page and has no value outside that routine (except maybe the last avatar from the array ) and does not indicate the avatars of online users
2017-03-02 23:45 (edited 2017-03-03 21:00 by Graham ) · (0)
* Keyarn * Graham ok sir but what of dis
{{avarta_src}}
or  post.author.avatars[64]

Copy code
plz will it work? Because that profile.avatars [16] is very small and if i increase de with or de length then it wont look brighter again and i want it to be bright plz sir elp me
2017-03-02 21:00 · (0)
* Graham * Keyarn
The class would have to be defined within the twig for it to work
and it will only work when a forum function is on the page
the value also needs to be wrapped in {{...}}
.ford {background-image : url( {{ profile.avatars[16] }} ); background-repeat : no-repeat; background-position : right bottom; }
Copy code
Then just add the class to the element
2017-03-01 23:30 (edited 2017-03-02 00:45 by Graham ) · (0)
* Keyarn * Graham Sir plz will dis work?
.ford {background-image : url( profile.avatars[16] ); background-repeat : no-repeat; background-position : right bottom; }
Copy code
asin i want to use the profile icon as background somewhere plz sir i want to know
2017-03-01 21:34 · (0)
* Keyarn * Graham Ok you mean it will not work or what
2017-02-23 21:33 · (0)
* Graham * Keyarn it may be possible to convert part of it but not all
xtscript does not have the equivalent of some of the javascript
2017-02-23 11:11 · (0)
* Keyarn * Graham But sir is there any way to code the above javascript to xtscript. Plz i want to keep it away from source code viewers plz teach me sir
2017-02-23 10:08 · (0)

Online: Guests: 1