Drupal Module Changes
- Status Closed
- Budget $30 - $250 USD
- Total Bids 10
We have a small programming job that should not take more than 4-5 hours for an experienced developer.
We offer an SMS delivery service that allows our users to send sms messages to mobile phones via our drupal 6 site. We would like to add an accounting feature to the User's profile page to provide the user with their credit balance.
We need to de-increment the 'available message credits' value currently stores in a cck profile field each time the user sends a message.
- A single text message is made up of 160 chars so this will have to be taken into consideration. In the case where a user sends a message that is between 1 and 160 chars the available message credit should then be: credit_balance - 1. But If a user sends a message containing 320 chars then the available message credits' value should then be credit_balance -2.
- So your programmer will have to count the chars in the message and then set something like $message_size accordingly. 640 chars is the max size we will allow users to type for a single message so this function can just contain 4 case statements perhaps?
Our SMS send function passes the users username and password to the SMS gateway for authentication each time a message is being sent. In the event where a user attempts to send a message when their available message credit is ==0 the function should not work. So perhaps the easiest way to prevent the user from sending an SMS message when their available message credit ==0 is to set the password to NULL which would cause authentication to fail and the SMS Gateway to respond with "Bad username or password".
That is all ! :) easy right?
We have lots of drupal 6 module work to be done so if you are interested in being our ONE AND ONLY drupal 6 programmer let us know. Perhaps we can have a telephone call over skype. We would like to get this work done ASAP and are willing to pay $[url removed, login to view]
ClifGet free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online