Drupal is up and running but how do I ...?

Is profile data included in the $user array?

I want to use custom profile data in a custom block (i.e. use the user's first name). Is the profile data automatically included in the $user var? Example, I feel like the code below should print a custom profile field named profile_fname in a custom block:

global $user
print( $user->profile_fname);

File Upload

We are having a tough time uploading large images. I haven't seen any posts about problems with large files. We are using the core upload module and have also tried the attachment module with the file browser. Neither allows me to upload anything over 3MB. Is there a solution that will allow us to upload images as large as 20MB?
Please let me know if any of you have come across similar problems and or solutions.
Thanks in advance,
michael

Administration menus will not expand (not clickable)

I am experiencing an issue with some administration menus in which they will not expand and are not clickable. At first I thought this was an issue with pathauto as that is where it was manifesting itself but now I notice that there are a few other modules that are experiencing the same behavior.

Max_Allowed_Packet Problem When Updating Certain Nodes

I know others have also brought this problem to the group, but I am having some unique issues.

I am getting the following error:

user error: Got a packet bigger than 'max_allowed_packet' bytes
query: UPDATE node SET status = '1', moderate = '0', promote = '0', sticky = '0', title = . . .

/var/www/html/includes/database.mysql.inc on line 66.

warning: Cannot modify header information - headers already sent by (output started at /var/www/html/includes/common.inc:384) in /var/www/html/includes/common.inc on line 192.

. . . only when I am trying to update particular nodes on my website.

I have been told by others that I need to change my etc/my.cnf settings to increase my max_allowed_packet size, and I plan to do this early tomorrow. (I would prefer not to restart mysql or apache during peak traffic times.)

However, a couple of peculiar items:

1. I get this error only when updating certain pages - and they are not that large... only a few KB (literally). I can create a new page, insert and update the same content, and not generate this message.

2. I do not get this error message, if I update the node directly from PHPMyAdmin. (Not advisable, obviously, for revisions, etc. but I was just experimenting.)

Selling content access - what to do about multiple purchases?

Hi,

I'm working on a site where customers can buy access to a flash based training programme. That's fine for a single purchase - I'm planning to change the users role to give them access and I've hacked the roleDelay module so that a purchase only gives them access for 1 year to the content page containing the movie.

But what can I do about multiple purchase - say a company wants to buy 10 logins at once? Do I have to do more hacking to automatically create 10 user accounts with pre-set privileges?

IFRAME – Parent Page Problem

IFRAME – Parent Page Problem

I am having a problem with iframe and scrolling.

The issue I have an imbedded photo gallaery I generated with JAlbum. If you select a item lower in the main index page of the first iframe page and go to a subpage within the iframe the scroll bars of the parent page leave you low on the page requiring a manual scroll to the top.
You can see the problem here:

http://overdahl.com/node/51

Pages

Subscribe with RSS Subscribe to RSS - Post installation