Closed

Joomla Modify Form - AUSSIE APPLICANTS PLEASE!

I need someone to write up this pseudocode in php and to implement all its functionality.

Cheers

/**************************************************************************/

// this is the new script that needs to be written.

/**************************************************************************/

if button == pressed {

if payment or credit already subtracted received previously {

call standard form submit function

exit

}

if (paid_listing) == 1 {

if (credit == 0) {

$category_type = [url removed, login to view] //example includes house,unit,commercial,etc

$listing_type =[url removed, login to view] //exmaple includes for sale, for lease, etc

if (category_type == X1 && listing_type ==y1) { //value Z,Y,X1,Y1,etc are hard coded, and not variables

$price = Z

$credit = Y

}

if (category_type == X2 && listing_type ==y2) {

$price = Z

$credit = Y

}

if (price == 0) {

echo ("Error, please contact the system administrator with the listing type and category type selected") //situation where price has not been [url removed, login to view] echo should be shown in a modal window.

exit function //do not save, return to original page

}

call paypal function (price, full address, item number, date) //call paypal function with price passed to function somehow, already available in ezportal.

if (paypal_payment == success) {

call the standard form submit function

}

if (paypal_payment == fail) {

echo("Error, payment could not be processed") //(to be shown in a modal window)

}

}

call subtract credit function (not sure which function this is) //case where credit exists, code will need to be modified.

if (credit subtract == success) {

call the standard form submit function

}

}

call standard form submit function //case where paid_listing = 0

}

/**************************************************************************/

//Modify the credit subtract function to have the functionality below

/**************************************************************************/

subtract credit function { //this will need to be integrated into the current function as it updates the tables for record keeping.

$category_type = [url removed, login to view] //example includes house,unit,commercial,etc

$listing_type =[url removed, login to view] //exmaple includes for sale, for lease, etc

if (category_type == X1 && listing_type ==y1) {

$credit = Y

}

if (category_type == X2 && listing_type ==y2) {

$credit = (old_credit * 2) //option where credit will equal old credit multiplied by 2

//this code will use $credit to override the credit subtraction amount from the original credit

}

}

/**************************************************************************/

Modify the front end property page for adding property

/**************************************************************************/

there should be a function somewhere which prevents you from adding properties if you have no credit and if paid listing is on. change this to allow property listing irregardless of credit or paid listing selection.

i assume something if

if (paid_listing == 0 && credit == 0) {

make look like (credit > 0)

}

Skills: Joomla, MySQL, PHP, Real Estate

See more: example of commercial script, example of a commercial script, Pseudocode, modify something, aussie, form submit php, joomla item page modify, modal php, php modify form, joomla contact script, modify contact form, modify contact, php modal, modal form, error exists page, joomla contact form item, exit page script php, php script echo, contact form modal, form date date joomla, change front house, form submit page, joomla form paypal payment, exmaple, property joomla full

About the Employer:
( 0 reviews ) Australia

Project ID: #4654598

8 freelancers are bidding on average $160 for this job

gopalvora

hi ready to start thanks

$134 AUD in 5 days
(180 Reviews)
6.9
linuxfreak1985

Hi there, We are experts in PHP Open Source (any kind of PHP/MySQL work),wordpress and Ajax/Web 2.0 technology. Some of the projects we completed for php are mentioned below [url removed, login to view] More

$309 AUD in 5 days
(96 Reviews)
6.3
mrlonganh

Hi, I'm ready to help you now.

$105 AUD in 3 days
(102 Reviews)
6.2
scriptphp87

Hello Please read more than private message thank you

$103 AUD in 3 days
(64 Reviews)
6.0
FASTGuru

Expert PHP Developer here. I can write it quickly. Please discuss in PMB if you have any question and lets start. Thank you!

$136 AUD in 5 days
(38 Reviews)
5.0
farhaoui

Hi, we are a team of programmers and designers with expertise and experience in PHP, Mysql, jQuery and Ajax. We have coded and designed websites for various types of businesses very successfully. We have developed many More

$93 AUD in 3 days
(44 Reviews)
4.9
bdphpguru

Sir, I hope I am able to help you. I have more than 2 years experiences in web development. Details given upon discussion. Regards, Bdphpguru

$77 AUD in 0 days
(4 Reviews)
2.7
infinityinfocom

hello .....................................

$315 AUD in 5 days
(4 Reviews)
2.5
shamsulislam2202

Hi, I read the pdf. I hope to finish it in time.

$120 AUD in 5 days
(0 Reviews)
0.0
brajkishoriims

I have 3 years experience in web development with one of the top Elance company like Synapse India Pvt Ltd in and maintaining various projects in Core PHP, Code Igniter and Zend framework, Joomla, Magento and also usi More

$83 AUD in 15 days
(0 Reviews)
0.0