Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Dijboy - marraskuu 01, 2013, 10:16:19 IP

Otsikko: [Help] Creating extra tabs in member profiles accounts
Kirjoitti: Dijboy - marraskuu 01, 2013, 10:16:19 IP
I think this is the correct place to post this. If it isn't, then apologies beforehand.

I will start off by posting an image to better convey my message.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg27.imageshack.us%2Fimg27%2F8346%2Fmjrg.png&hash=63de59bd2ca581f0b95a7913cc740c73b28db4a6)

Basically, my site is a gaming site and in order to make it content centered I want to create two extra panels (see red text) or menus that displays a player's achievements and other stuffs. First of all, is it possible. And secondly, if so, what would need to do in order to implement this? It would need to be a blank page and like the Custom profile fields, be able to input [img] codes to display images.

If i'm a little vague, then please say so, so i can be thourough in what I want.

Thanks,
Dijboy.
Otsikko: Re: [Help] Creating extra tabs in member profiles accounts
Kirjoitti: Arantor - marraskuu 01, 2013, 10:25:31 IP
Creating the extra tabs is the *easy* part, pretty much half a dozen lines of code (though note you have to have sub menu items there, you cannot have the top level items actually functioning in 2.0). Creating all the other stuff on those tabs, that's considerably harder. Like hundreds and hundreds of lines of code, database changes, strewn across at least 3 files, probably 4.

I'd start with adding an awards mod rather than trying to roll your own...
Otsikko: Re: [Help] Creating extra tabs in member profiles accounts
Kirjoitti: Dijboy - marraskuu 06, 2013, 03:05:13 AP
Thanks for the reply, I think i'll just revert to Custom Profile Fields instead.