
The email address is already associated with a Freelancer account. Enter your password below to link accounts:
Username:
Link your Facebook account to a new Freelancer account
Email address:
Valid username
Project Description:
Hello All!
We have a small programming job that should not take more than 4-5 hours for an experienced developer.
Details:
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 $100.00
Thansk
Clif
Freelancer.com (formerly GetAFreelancer, Scriptlance and vWorker/Rentacoder) is the world's largest freelancing, outsourcing and crowdsourcing marketplace for small business. Hire freelancers to work in software, writing, data entry and design right through to engineering and the sciences, sales and marketing, and accounting & legal services.
Find freelance jobs and make money online! We have freelance coders, writers, programmers, designers, marketers and more. Getting the best web design, custom programming, professional writing or affordable marketing has never been easier!
© Copyright 2013 Freelancer Technology Pty Limited (ACN 142 189 759)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)