Profile image

Brunei Darussalam
Topics: 2
Posts: 5
Rep: 0
hey i want to change the size of profile image to 250 x 250 is this possible?
2014-04-18 19:15:26
Brunei Darussalam
Topics: 2
Posts: 5
Rep: 0
and is there any way to add [Administrator] in red after the nick in the profile wher userlevel is for example 5?
2014-04-18 21:08:27
Brunei Darussalam
Topics: 2
Posts: 5
Rep: 0
and how do i know what the {var1} {var2} etc. means in the profile.php file? srry im new to coding :)
2014-04-19 13:24:40
Chris Day
Topics: 9
Posts: 71
Rep: 32
1a) open up /template/modules/profile.php
1b) go to line 29 (<input type="text" name="pic" class="form-control" value="{var2}" placeholder="e.g. http://www.someurl.com/picture.png" />)
1c) add style="height: 250px; width: 250px;" after value="{var2}"

2) This will be in the next version im going to make a new function in the user() class that will output a name as HTML so it can be used in places such as profile, leaderbvoards, forums, chat rooms etc ...

3) when you use
page::buildElement(array($someVar. $someVar2, $someVar3))
the first variable in the array replaces {var1}, the second replaces {var2} and so on...
2014-04-19 13:41:47
Brunei Darussalam
Topics: 2
Posts: 5
Rep: 0
Thank you Chris <3
2014-04-19 13:43:41