Aah darn the trophies have allot of new options but what happend to the:
Manually award trophies to a users ?
Gogo Mike where's you sight at?
No idea how do you check it from within a class in xenforo ?
normally i would do a vardump (did a search with no result on the forum)...
Watch the video, remembered it from last week
I cant figure out how to send vars to a template, something with, i'm have to idea i'm missing the point bigtime:
CheckTrophies.php in directory Model
class CustomTrophies_Model_CheckTrophies extends XFCP_XenForo_Model_Trophy
//check user for awarded trophies
Darn i got this far: created add-on, created master style templates, created admin templates, created working code event listeners too add a tab to member profile and admin user edit screen.
Working on the "adminpane" admin template i ran into new challenges. The pane needs to show a list of...
Is there a way to add the theme templates in the add-on?
I'm working with the $template->create() and made 2 theme templates but they do not showup in the add-on export xml.
Is there a way ? (besides not using $template->create )
gaaaaah! I wasn't even aware that admin templates existed..... i also found where to create them (development tab > add admin template)... gosh.. it worked instantly, a big thank you goes out to Ragtek :) !!
I'm working on the customTrophies add-on but i'm running into some trouble with the following:
I only found the admin tab options Ragtek suggested (admin_user_edit_tabs
and admin_user_edit_panes) inside an XML file -> install/data/admin_templates.xml
So i copied a part of the necessary the...
I'm currently looking into Xenforo and i;m trying to create an add-on too enable the use of custom trophies. See http://xenforo.com/community/threads/suggestion-manually-award-trophies.3239/page-2#post-224015
After reading http://xenforo.com/community/threads/creating-an-addon.5416/...
To make the trophy system more complete this would me a nice feature indeed!
It looks like its not that hard to change..... There already is a class in Trophy.php called
class XenForo_Model_Trophy extends XenForo_Model
with a function to ad awards (doh) to a user
/** * Award the specified...
Jaxel what do you mean ? It works perfectly well, the above script does add a tab to your profile page, maybe your using a different skin (i'm using Flexile) or maybe its just me not getting your point.... (very plausible :cautious: )