user

Fix for location_user_category.module

  1. <?php
  2. /**
  3. ========User Location Category module=======
  4. * file: location_user_category.module
  5. *  Puts The User Location fieldset in specific profile category,
  6. *  so that is displayed on other tab
zet's picture

location_user_category.module

  1. <?php
  2. /**
  3. ========User Location Category module=======
  4. * file: location_user_category.module
  5. *  Puts The User Location fieldset in specific profile category,
  6. *  so that is displayed on other tab
zet's picture

location_user_category.install

  1. <?php
  2.  
  3. /**
  4.  * @file
  5.  * Installation / uninstallation routines for location_user_category.module.
  6.  */
  7.  
  8. /**
  9.  * Implentation of hook_uninstall().
  10.  */
  11. function location_user_category_uninstall()
zet's picture

location_user_category.module

  1. <?php
  2. /*file: location_user_category.module
  3. ========User Location Category module=======
  4. *- puts The User Location fieldset in specific profile category,
  5. *so that is displayed on other tab than t
zet's picture

User Location on specific Profile category/tab

  1. <?php
  2. /*file: location_user_category.module
  3. ========User Location Category module=======
  4. *- puts The User Location fieldset in specific profile category,
  5. *so that is displayed on other tab than t
zet's picture

location_user_category.info

  1. name = Location User Category
  2. description = Put user locations fieldset on specific profile category.
  3. ;dependencies[] = location
  4. dependencies[] = location_user
  5. package = Location
  6. core = 6.x
zet's picture

User Location on specific Profile category/tab

  1. <?php
  2. /*file: location_user_category.module
  3. ========User Location Category module=======
  4. *- puts The User Location fieldset in specific profile category,
  5. *so that is displayed on other tab than t

Fix for Why isn't my submit function being called?

  1. /**
  2.  * Menu callback.

View of user posts

  1. $view = new view;
  2. $view->name = 'user_tracker';
  3. $view->description = 'Shows posts started by or participated in by a given user';
  4. $view->tag = '';
  5. $view->view_php = '';
  6. $view->base_table = 'node'

Fix for Example of hook_user()

  1. <?php
  2. // Put that as user_example.module
  3. // Tested on D5
  4.  
  5. /**
  6.  * Implementation of hook_user().
  7.  */
  8. function user_example_user($op, &$form_values, &$account, $category = NULL) {
  9.   switch ($op)
Syndicate content