Greetings,
I was interested in using some of the provided code to implement a new area in the user profile
displaying the latest games and achievements utilizing API from an XCDP site.
First question is am I allowed to modify your code?
If so, is the $user->gamertag variable available to other Drupal areas?
I'm fairly new to php and Drupal and still learning how to call hooks and such areas.
My current code is working with a hard coded variable-I just ned to know how to hook into the users gamertag field.
Thanks
Comments
Comment #1
pobster commentedYou can do whatever you like with the code, but if you do anything useful with it - please post patches for the code to share what you've done with other users. It pains me that I've had several people commenting that they've added extra functionality to (some of) my modules, yet they're unwilling to share the code... It's not like I get paid for creating these modules either, in fact - I've seen people charging for CDs on eBay which include my modules... Anyways, blah, blah...
The addition to the $user variable is permanent (to a certain extent obviously!) so you can interact with it anywhere. I'm sure when you follow the module code it'll be clear what you need to do, it's fairly straightforward I think? Just play with it and experiment, that's all I used to do.
Pobster
Comment #2
pobster commented