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

Pictures users can upload ot displaying

I am using the chameleon/marvin theme with some modified css files. Nothing else has been modified. I want my users to be able to upload pictures either for some avatar type use or just to share. The problem is, they won't display. The modules are installed and checked and all the permissions have been given. I can go in to my account and upload a picture. That picture shows up in the correct directory when I check it through ftp. I get a link that says, "Kato's picture" when I look at the specific person's user page.

Remove "My Account" Access

I have tied in Drupal 4.7 with my existing storefront, which is ASP/MySql. I am using the User Import module to synch user accounts. My user accounts will be managed from within the existing ASP programming framework.

Accordingly, I need to disable the 'My Account' functionality on the Drupal pages; passwords, signatures, etc. will be updated outside of Drupal, in my existing ASP application. 'My Account' says however 'Locked', I cannot just turn it off from the Drupal Admin account..

Related terms again- is it just me?

Has anyone ever succeeded in getting related terms to work in 4.6? I distinctly remember it working in 4.5.2. Is it a theme issue of the related terms links not being printed out or is it something else?

I find it disappointing not to be able to use one of taxonomy's most powerful features.

Desperate need of help about now

I am really in a pickel right now and have two issues with my Drupal site. Any kind of help would be appreciated, but I simply can't solve either of these issues.

Issue #1:

Here is the site in it's current form: NGL Site

When you are viewing it in FireFox, the site looks great. There is an exception though and this is causing the site to display improperly in IE and Opera. When you look at it in FireFox, there is a blank space up at the top above the title. This space is not there in IE and Opera and forces a few things to meld together and it does not work correctly.

Here are the 3 css files that are handling this website...any help with what is causing that little space at the top in FireFox so I can correct it and then work from there to make sure nothing is overlapping would be much appreciated. (I moved the files to a different directory than where they normally reside for downloading and viewing).

drupal.css
common.css
style.css

On a side note, how do you all feel about the look of the site now? It's still in a stage of reconstruction, but still works well.

Issue #2:

I noted that it looked good in FireFox. The problem is, it only looks good for resolutions greater than 1024x768.

Image support revisted....

HI all

I have spent the past 2 hours searching and reading about including images in posts, so much so that I am now either totally confused or have information overload. So I am looking for a clear cut view of including the ability for users to add images to posts. I have read about the image module, the upload module, img_assist, image_filter and goodness knows how many others. One thing I am set on however is the use of TinyMCE as the editor of choice.

How to access global $user on login fail

I've been mucking around with drupal for a while(just restarted my site with a clean 4.6.5 version from fantastico in cpanel). And I'm having a minor but large problem.

I'm working on customizing blocks to display for specific users, and that works fine; I can show specific blocks to specific users and everything. BUT, there's an interesting problem that I can hack around, but don't know if it's a the cause of, which is:

When I login as a "Unrecognized username or password" from user/login, drupal no longer recognizes the $user variable, and thus my call to in_array:

if(in_array('anonymouse user',$user->roles))

gives me this error:
warning: in_array(): Wrong datatype for second argument in /home/.../public_html/includes/common.inc(1815) : eval()'d code on line 17.

Now I was getting this error when I was a moron and wasn't putting in the "global $user", but I now have that in the code, and thus $user is defined(whereas I'm pretty sure the pointer isn't working because $user is somehow no longer declared on this specific page), or at least should be since I have the code entered directly into the block body, with php code checked and everything correct(it works on every page except on bad logins).

I can simply put a $user conditional in the if statement as in: if( $user && in_array('role',$user->roles) )
and it works fine, but I was wondering if there were some more coherant way to get the $user variable on the login fail page?

Pages

Subscribe with RSS Subscribe to RSS - Post installation