Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Adding trophies to user profile
I want to add trophies to a users profile- (by making a new tab and whatnot-)
our items are sorted by category, so if I could just put the items in the "trophy" category in their inventory in the tab that'd be awesome (that way when a user gets another one it automatically adds it.)... I just dunno how to do that... I want the tab after "pets" And Id like it to show the tooltip description on hover as well please This is my profileview.php. PHP Code:
|
#2
|
||||
|
||||
I'm afraid I don't exactly know how to work with the setup you have for the profile page since it seems to have a different way of showing the tabs. I can, however, say that this is how I add a new tab with the default code. Maybe it will point you in the right direction?
PHP Code:
PHP Code:
__________________
|
#3
|
||||
|
||||
Sorry I appreciate the help but it doesnt help me at all XD
|
#4
|
||||
|
||||
open classes / class_tab.php
find PHP Code:
then open css / tabs.css find PHP Code:
Hope, this helps
__________________
|
#5
|
||||
|
||||
I got that part XD but now I have no idea how to make the Trophies actually appear
They're under the category "Trophy" in my items.. I tried this- and that didnt work.. >_< //trophies $document->add(new Comment('</div></div><div class="c-tab outer-tab"> <div class="c-tab__content">',false)); $user->getitem(); $profile->display("Trophy", $user); |
#6
|
||||
|
||||
Hmmm.... this works for me. try it...
(profileview.php) you just have to change the names and the path. PHP Code:
__________________
|
#7
|
||||
|
||||
I got it working (dinocanid helped me) but this thread will be supe useful for future tabs I may want to add- Thank you so much!
(Or if someone else needs to know how) |
#8
|
||||
|
||||
:) you're welcome.
__________________
|
|
|
What's New? |
What's Hot? |
What's Popular? |