06-06-2020, 02:42 PM
|
|
Loving Mysidia!
|
|
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 38,465
|
|
Quote:
Originally Posted by kristhasirah
if you want to move the avatar in the user profile, then you need to edit the class_userprofile.php
PHP Code:
private function aboutme(){
$mysidia = Registry::get("mysidia");
$document = $mysidia->frame->getDocument();
$title = new Comment($mysidia->lang->basic.$mysidia->input->get("user"));
$title->setBold(TRUE);
$title->setUnderlined(TRUE);
$membersince = $mysidia->db->select("users", array("membersince"), "username = '{$mysidia->input->get("user")}'")->fetchColumn();
$basicinfo = "<br><strong>Member Since:</strong> {$membersince}<br>
Gender: {$this->gender}<br>
Favorite Color: {$this->color}<br>
Nickname: {$this->nickname}<br>
Bio: {$this->bio}";
$document->add($title);
$document->add(new Image($this->avatar, "avatar", 100));
$document->add(new Comment($basicinfo));
}
$document->add(new Image($this->avatar, "avatar", 100)); <- this is the code for the image, and the one you need to change, to something like:
$document->add(new Comment("<img src='{$this->avatar}'/>")); and add the size, style like any normal <img src=''>
please take in mind im no coder and i'm just guessing, haven't tried to edit that part of the script.
|
I can't get that to do anything either lol the 100 right after avatar at least changes the avatar's sizing. But I can't move it. :/
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
|