Jump to content

Server

Houses on the Forums

Started by Sebastian Graham , May 02 2016 06:11 PM


  • Please log in to reply
6 replies to this topic

#1

Sebastian Graham
  • Sebastian Graham
  • Witch/Wizard
  • Student
  • 62 posts
  • IGN:Sebastian Graham

I recently noticed that a person's house doesn't show along with the other information on the left when someone makes a post. It shows their profile pic, rank, and number of posts, and stuff, but I think it should also have their House. I know I could just ask, but 1) That's just weird and, frankly, embarrassing, and 2) It would be a lot easier to just have it right there.

 

-Oops. I forgot to switch the tag to Website.  :unsure:


  • 2

#2

Pandette
  • Pandette
  • Special Advisor to the Wizengamot
  • Administrators
  • 2648 posts
  • IGN:iarepandemonium

this is much harder to sync up.


  • 0

#3

Meow_Magic
  • Meow_Magic
  • O.W.L. Student
  • Student
  • 127 posts
  • IGN:Meow Scarlet

For this reason, this is why my nyan cat and signature type is the color(s) that they are


  • 0

#4

Sebastian Graham
  • Sebastian Graham
  • Witch/Wizard
  • Student
  • 62 posts
  • IGN:Sebastian Graham

this is much harder to sync up.

 

Maybe it could be a setting, like some of the other information. In your profile page, you set which house you're in.


  • 0

#5

Adiduss
  • Adiduss
  • O.W.L. Student
  • Student
  • 133 posts
  • IGN:Hayden Song/River Potter

Maybe it could be a setting, like some of the other information. In your profile page, you set which house you're in.

A lot of people mention their house in part of their profile anyway (especially signatures)
Only downside, I guess, would be that they can't be seen from mobile without going to the full version
  • 0

#6

Nomsy
  • Nomsy
  • Developer
  • Administrators
  • 242 posts
  • IGN:Nomsy Savage

The problem is your UUID is tied to your minecraft account. It would be a bit difficult to sync up with your forum account because I can only fetch information from Mojang and our servers by using UUIDs. However, if I was able to do it it would look like this:

<?php
require('/lib/knockturn.class.php');

namespace '//nomsy/knockturn/';

class Profile extends Player {
    function __construct($playerInfo) {
        $this->playerInfo = new Player();
    }
   function getHouse(uuid) {
       return $this->$playerInfo(uuid)->$houseName();
   }
}

$x = new Profile();
return tmpl('<div class="player">{{$x("myUuid")}}</div>');
?>

The reason I included the code is, well, something along the lines of what you are asking is already in the works. It will just be a while before you see it pushed into production.


  • 0

#7

jamierocks
  • jamierocks
  • Muggle
  • Student
  • 7 posts

Could use lukegb's mcassoc service -> https://mcassoc.lukegb.com/ (for having the forums accounts connected to minecraft profiles)

PHP library -> https://github.com/lukegb/mcassoc.php

 

Yes this is what Bukkit used (and may very well still use)


  • 0



Also tagged with one or more of these keywords: Server

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users