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

How to restrict image upload only to user created albums ?

Is there any way I can restrict image upload only to user created albums ie user can see only his albums when uploading images, but can view all af them ?!?

I am using szasam gallery and views module together with Drupal 4.7.

Thnak you already in advance :)

Stupid syntax problem

Hey all

I'm having a really stupid moment... I've found an error with my module which I know how to fix but I can't work out for the life of me how to put it into the code... It's VERY simple and I'm embarrassed to be having trouble getting it right...

Anyways, here's an example of what I need to do:

Authenticated users can change permissions

I'm not sure if this is a recent problem, or simply one that I've only just noticed, but on one of my sites Authenticated users can go to admin/access and change the permissions they have.

That can't be right?!

Is there something that I'm not doing to make that impossible?

Wrong URL for images in img_assist

Hi,

I recently moved my Drupal set up from root (/) to a subdirectory (/drupal). But the image URLs generated by img_assist are not containing the "/foo", so I am not able to see any images.

That is, img_assist is generating:
img src="http://www.example.com/system/files/image/foo.jpg"

instead of:
img src="http://www.example.com/drupal/system/files/image/foo.jpg"

credit card payments

Hi everyone,

I've already posted this on the general discussion forum but didn't get any reply.

I'm developing an ecommerce site for a commercial activity that needs to sell their products online.

I've currently developed the product catalogue and plugged in the shopping cart fucntionality.
One problem I get is that I get a blank page whne I try to checkout.

But anyway, what I'm really interested in is in how to go on about credit card payments.
I heard PAYFLOW and SECURE PAY could be two good options to use for it.

Hook for cancelling a user from being deleted?

Hi,

I need a hook that stops a user from being deleted if it has unpaid bills in the database. In my module, I believe I can use hook_user to catch 'delete', but can I actually fully cancel delete and display an error message with the reason?

Thanks!

Pages

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