Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi there!
I´ve been searching a lot in the forums, but it seems like nobody had this question before :-)
I need to add inside each user´s profile some info (different info for each user) that cannot be editable by the user, just viewable.
i.e. the fee they didn´t pay to the Institution yet.
I cannot do that with the default user profile... the only module that I didn´t try yet is the CRM one... but as that is a complex module, with so many fetures... I wanted to do it in a simpler way (if it´s doable, of course ;-)
I collect the user's first and last name at registration time and store them (via hook_user) in a custom table (profile.module to general for my needs.)
I'm using the Blue Marine theme and would like to display the full name above the navigation instead of the user (account) name.
Where's the user name string above the navigation stored? (I haven't messed with themes at all--completely focused on functionality until now.)
Also, what's the best way to go about adding the full name to the user object so it's available globally?
I just installed the google sitemap module, and when i go to /gsitemap I get an XML file that appears to be working correctly, except at the top there are a ton of errors. It appears to be these two errors repeated over and over:
warning: sprintf(): Too few arguments in /home/username/public_html/includes/database.inc on line 154.
−
user error: Query was empty
query: in /home/username/public_html/includes/database.mysql.inc on line 66.
They're in preformatted text tags at the top of the xml, and as I say they repeat like 30 or so times each. After that though, the file appears to be normal, with entries for my nodes in url tags. Anyone know what could be causing this? I did the mysql query needed by the module. And "username" in the above errors is my webserver username.