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

Can I trust $user->uid

Hi

Once a user is logged in with the correct password and username, can i always trust:

$user->uid

to provide the real user id. What I mean is that it is never simply read off a cookie which would be open to user manipulation, or anything else which would be easy to spoof.

Thanks

Ward

embedding flash video

First off, I've really enjoyed working with Drupal. My site still has a long ways to go, especially in the appearance department (my graphics guy is getting lazy on me), but Drupal has proven to be very flexible and I love all the built in features and modules.

I'm having a bit of a problem getting embedded flash video to display properly on the frontpage of my site as a blog post. I have everything setup correctly on the flash side of things; i even made a test html page outside of drupal to make sure that it worked correctly, you can see it here (there's one swear word on the clip, don't watch it if that offends you):

http://www.mancrabs.com/test

That page is just the snippet of html made by Flash 8, and as you can see it works perfectly fine as a plain html page loading from the server. But when I put the same html code into my blog post, this is the result:

http://www.mancrabs.com/testingflash

Also, if I publish that test blog post to the front page, all the other blog posts beneath it disappear, along with the right side-bar and the footer. Am I missing something totally obvious, or is this not supported without using one of the media modules?

I was using WMV, but the problem (besides compatibility) is that they autoload automatically, killing my bandwidth if I have more than one video on the front page. Having 3 or 4 videos load when the user only wants to watch one of them is a huge waste of bandwidth. With flash, I can set the videos up so that they dont start to load until the play button is clicked. I ended up using screenshots on the front page as links to separate pages containing the embeded videos, but I with flash I could avoid all that.

Custom Database Error page

Is there a way to edit the database error page? The code is obvisouly in a file somewhere, but which one?

non drupal folders get 404

I just installed RoundCube webmail client to the subdomain /rc/ on my site breakingchaos.com.

However, whenever I go to breakingchaos.com/rc/ or breakingchaos.com/rc/index.php drupal generates a "Page not found" error.

Any ideas how i can fix this?

Cheers

Search for not categorized content?

One can find different kinds of content using Administer->Content but it doesn't seem to be possible to find "not categorized nodes" or nodes which are eg. missing in a category.

When there are more than one person adding content (or maybe it is even enough with one person ;) nodes sometimes don't get properly categorized. Depending on how the website is built this can be a rather big problem.

I have one "main" category where it is compulsory to choose one of the terms but not in the 2 subcategories.

Generation of variables?

Hello,

Please kick me for my ignorance, but I for the life of me can't find where the page.tpl.php variables are generated. I know, for example, that $sidebar_left is assigned in the engine file. However, where is the HTML code for it generated?

Any and all help much appreciated.

- Adam

Pages

Subscribe with RSS Subscribe to RSS - Post installation