This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

writing a torrent script or module

Hello browsers and browsets. I just would like to know if anyone knows how to or know of any torrent modules or scripting. Can a script or module be written in to drupals CMS app that allows me to have a web interface to mangage download and upload files. I want to implement this in to my site. When a customer purchase something, that purchase is downloaded. I want after payment transaction is complete for the customer to be able to come back to my site to a secure torrent page. There they can enter a password and retrieve their download.

code for getting USER_ID & other info.

I couldn't find this in a search. I need to get the ID of the user who is accessing a module I am programming.

What is the PHP code I need to use to obtain this?
Is there a method that will return it or a global variable?
Or a session variable?

thanks for the help and advice.

form_alter hook, form_id and drupal 4.6

Greetings,

I'm an old hand at programming but new to drupal. I'm making some modifications to some pre-existing custom modules. I need to make some forms from one module redirect to pages in another module upon submission. It appears to me that the form_alter hook will do the job. However, I haven't been able to find documentation for using the hook in 4.6 (only newer versions). Is this hook available in Drupal 4.6 and if so how do I determine the "form_id" of the form I want to redirect?

Thanks in advance for your help!

Video Thumbnail in blocks

so I got the Video module installed an running.

it works great execpt 2 things

thing 1

i got some blocks like random video, Top Videos and that stuff.

but only shows text not the thumbnail.

thing 2

my idea was to let all of the people to upload funny videos and it goes into the podcast feed.

but podcasts only work with videos that quicktime can play.
is there a way i can set that you only can upload .mov, .mpeg and so on

thx!

Q: Is there a way to allow users to make playlists from nodes?

This is probably a kind of weird question but please hear me out.

I want to have a node that allows users to create a top XX list of other nodes. I would want it where they can reference other nodes and have those referenced nodes show up as links. For example:

1. The first item I chose for my playlist was
. This item is super cool.
2. The 2nd thing
is this. It rules.
3. Finally your playlist can't be complete without
. Everybody knows this owns.

Is there a definitive method for creating advanced searches through cutom content types created in cck?

Is there a definitive method for creating advanced searches through custom content types created in cck? I'd like to build a search box that searches only my cck developed content types. I would need check boxes, radio button and drop downs.

Can someone point me in the right direction?

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions