Change log for version 3.1 to version  4.0


Config floder

path  =  your host server path/config/ 


1) carpooling.php (add this line after currency code)

 

  $config['currency_symbol'] = '$';

$config['comfort_upload_dir']='uploads/comfort/';

 

path =  your host path\carpooling\views\admin\templates

 

1) carpooling.php 

 

  $config['currency_symbol'] = '$';

$config['comfort_upload_dir']='uploads/comfort/';

 


Controller floder


path  =  your host server path/controllers/


1) paypal.php 

2) addtrip.php

3) booking.php

4) trip.php

5) home.php

6) register.php

7) communication.php

8) enquiry.php

9) login.php

10) otp.php

11) pages.php

12) profile.php

13) rating.php

14) search.php

15) user.php 

16) vechicle.php


Admin controller


path  =  your host server path/controllers/admin/


1) admin.php

2) advertisement.php

3) category.php

4) comfortlevels.php

5) country.php

6) currency.php

7) dashbord.php

8) language.php

9) login.php

10) payment.php

11) radius.php

12) settings.php

13) subscriber.php

14) testimonoals.php

15) traveller.php

16) vehicle.php


Language floder


path  =  your host server path/language/


1) English -> change en_lang file

2) German  -> chenage ge_lang file

3) Spanish -> change sp_lang file


Libraries floder


path  =  your host server path/libraries/


1) Auth_travel.php

2) carpooling.php

3) carpooling_mgt

4) Auth.php


Model floder


path  =  your host server path/model/


1) payment_model.php

2) customer_model.php

3) enquiry_model.php

4) feedback_model.php

5) home_model.php

6) rating_model.php

7) trip_model.php

8) social_model.php

9) search_model.php

10) routes_model.php

11) banner_model.php

12) company_model.php

13) comport_level_model.php

14) currency_model.php

15) subscriber_model.php

16) message_mopdel.php

17) tesimonials_model.php

18) page_model.php

19) admin_user_model.php

20) travel_model.php

21) radius_model.php

22) comport_level_model.php

23) vehicle_model.php

24) logo_model.php

25) vehiclescategory_model.php

26) category_model.php

27) language_model.php

28) country_model.php

29) country_model.php

30) advertisement_model.php

31) vehicels_model.php

 

Frontend Assests


path  =  your host server path/themes/carpooling/assets/js/


JS Floder


1) trip.js

2) update_trip.js

3) travel-details-rules.js


Frontend view


path  =  your host server path/themes/carpooling/views/


1) payments_list.php 

2) payments_list_passenger.php

3) paymentSuccess.php

4) trips.php

5) trip_detail.php

6) addtrip_individual.php

7) trips_passenger.php

8) update_trip.php

9) updatetrip_individual.php

10) vechicle.php

11) vechicle_form.php

12) vechicles.php

13) received_rating.php

14) register.php

15) route_map.php

16) search.php

17) search_ajax.php

18) search_ajax_more.php

19) search_map.php

20) settings.php

21) paymentCancel.php

22) pending_rating.php

23) public_profile.php

24) login.php

25) login_popup.php

26) menu.php

27) newpassword .php

28) nofeedbacks.php

29) page.php

30) passanger_questions.php

31) past_trip.php

32) past_trip_passenger.php

33) feedbacks.php

34) footer.php

35) footer_home.php

36) forgetpassword_popup.php

37) header.php

38) header_home.php

39) header_login.php

40) home.php

41) ask_question.php

42) book_detail.php

43) change_password.php

44) comment_popup.php

45) enquery_list.php

46) enquery_list_passenger.php

47) enquiries.php

48) forgetpassword.php

49) given_rating.php

50) dashboard.php


Admin view


path  =  your host server path/views/admin


1) success_payment.php

2) success_payment_list.php

3) consolidate_payment_details.php

4) failed_payment_list.php

5) failed_payment.php

6) edit_settings.php

7) currency.php

8) currency-list.php

9) currency_form.php

10) admin_form.php

11) change_password.php

12) edit_profile.php

13) social_media_form.php

14) consolidate_payment.php

15) subscriber-list.php

16) subscriber.php

17) email_template_form.php

18) email-template-list.php

19) email-template.php

20) advertisement-list.php

21) advertisement.php

22) advertisement_form.php

23) testimonials-form.php

24) testimonials-list.php

25) testimonials.php

26) pages.php

27) page_form.php

28) page-list.php

29) admins.php

30) traveller-form.php

31) traveller-list.php

32) traveller.php

33) radius-list.php

34) radius-form.php

35) radius.php

36) comfort_level_form.php

37) comfort_level.php

38) comfort_level_list.php

39) vehicle-list.php

40) vehicle.php

41) vehicletype_form.php

42) category-list.php

43) category-form.php

44) category.php

45) language-list.php

46) language.php

47) country-list.php

48) country.php

49) header.php

50) country_form.php

51) payment_form.php


Admin config


path  =  your host server path/views/admin/templates/


1) carpooling.php


Database 


Delete currency table and use this


CREATE TABLE IF NOT EXISTS `tbl_currency` (
  `currency_id` int(6) NOT NULL AUTO_INCREMENT,
  `currency_name` varchar(120) DEFAULT NULL,
  `currency_symbol` varchar(15) DEFAULT NULL,
  `currency_code` varchar(255) DEFAULT NULL,
  `created_date` datetime DEFAULT NULL,
  PRIMARY KEY (`currency_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=26 ;


INSERT INTO `tbl_currency` (`currency_id`, `currency_name`, `currency_symbol`, `currency_code`, `created_date`) VALUES
(1, 'Australian Dollar ', '$', 'AUD', '2016-03-01 19:38:43'),
(2, 'Canadian Dollar', '$', 'CAD', '2016-03-01 19:29:19'),
(3, 'Euro', '€', 'EUR', '2016-03-01 19:30:29'),
(4, 'British Pound', '£', 'GBP', '2016-03-01 19:30:52'),
(5, 'Japanese Yen', 'Â¥', 'JPY', '2016-03-01 19:31:16'),
(6, 'US Dollar', '$', 'USD', '2016-03-01 19:31:43'),
(7, 'New Zealand Dollar', '$', 'NZD', '2016-03-01 19:32:15'),
(8, 'Swiss Franc', 'CHF', 'CHF', '2016-03-01 19:33:19'),
(9, 'Hong Kong Dollar', '$', 'HKD', '2016-03-01 19:33:43'),
(10, 'Singapore Dollar', '$', 'SGD', '2016-03-01 19:34:09'),
(11, 'Swedish Krona', 'kr', 'SEK', '2016-03-01 19:34:31'),
(12, 'Danish Krone', 'kr', 'DKK', '2016-03-01 19:35:04'),
(13, 'Polish Zloty', 'zt', 'PLN', '2016-03-01 19:35:23'),
(14, 'Norwegian Krone', 'kr', 'NOK', '2016-03-01 19:36:15'),
(15, 'Hungarian Forint', 'Ft', 'HUF', '2016-03-01 19:36:34'),
(16, 'Czech Koruna', 'Kc', 'CZK', '2016-03-01 19:37:26'),
(17, 'Israeli New Shekel', 'ILS', 'ILS', '2016-03-01 19:37:48'),
(18, 'Mexican Peso', '$', 'MXN', '2016-03-01 19:38:10'),
(19, 'Brazilian Reals', 'R$', 'BRL', '2016-03-01 19:38:43'),
(20, 'Malaysian Ringgit', 'RM', 'MYR', '2016-03-01 19:39:03'),
(21, 'Philippine Peso', 'P', 'PHP', '2016-03-01 19:39:22'),
(22, 'New Taiwan Dollar', 'NT$', 'TWD', '2016-03-01 19:39:40'),
(23, 'Thai Baht', 'B', 'THB', '2016-03-01 19:40:00'),
(24, 'Turkish Lire', 'TRY', 'TRY', '2016-03-01 19:40:18'),
(25, 'Russian roubles', 'RUB', 'RUB', '2016-03-01 19:40:41');

 

--new query-----


Delete tbl_email_templete use this 


CREATE TABLE IF NOT EXISTS `tbl_email_template` (
  `tplid` int(11) NOT NULL AUTO_INCREMENT,
  `tplshortname` varchar(250) NOT NULL,
  `tplsubject` varchar(250) NOT NULL,
  `tplmessage` text NOT NULL,
  `tplmailid` varchar(100) DEFAULT NULL,
  `isactive` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`tplid`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;


INSERT INTO `tbl_email_template` (`tplid`, `tplshortname`, `tplsubject`, `tplmessage`, `tplmailid`, `isactive`) VALUES
(1, 'Activate your {COMPANY_NAME} account', 'Activate your {COMPANY_NAME} account', '

Hello {NAME}


\r\n\r\n

Thank you for registering with {COMPANY_NAME}


\r\n\r\n

Before we can complete your registration, we need to verify your e-mail address. Please click on the link below to complete your registration.


\r\n\r\n

{SITE_PATH}user/access/{code}


\r\n\r\n

If you have problems following the link, please copy and paste it into your browser to complete your registration.


\r\n\r\n

A request to create account was received from your {COMPANY_NAME} Account - {EMAIL} from the IP - {IP}


\r\n\r\n

Enjoy!


\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(2, '{COMPANY_NAME}:Password changed', '{COMPANY_NAME}:Reset password-{EMAIL}', '

A request to reset password was received from your Carpooling Account - {EMAIL}


\r\n\r\n

Your password has been reset to {LINK}


\r\n\r\n

Enjoy!


\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to care@carpoolingscript.com
\r\nIf you have any query please send mail to care@carpoolingscript.com
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(3, 'Thank you for subscribe {COMPANY_NAME}', 'Thank you for subscribe {COMPANY_NAME}', '

Hello {EMAIL}


\r\n\r\n

Thank you for subscribe with {COMPANY_NAME}


\r\n\r\n

You just subscribed to get updates from us. Your email ID is in our Subscribers’ list now. Any future updates will be automatically intimated to you on this email ID.


\r\n\r\n

Enjoy!


\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(4, '{COMPANY_NAME}:Trip enquiry', '{COMPANY_NAME}:Trip enquiry', '

Hello {NAME}


\r\n\r\n

Thank you for enquiry with {COMPANY_NAME} trips.


\r\n\r\n

Please you will wait for trip owner acceptance for this trip.


\r\n\r\n

{TRIP}


\r\n\r\n

A request to create account was received from your {COMPANY_NAME} Account - {EMAIL} from the IP - {IP}


\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(5, '{COMPANY_NAME}:Trip enquiry', '{COMPANY_NAME}:Trip enquiry', '

Hello {NAME}


\r\n\r\n

Seems like a Passenger is interested in the trip you have posted. The Passenger has enquired about the trip. Here are the details about the Passenger.


\r\n\r\n

Traveller_name: {NAME}


\r\n\r\n

Passanger_name: {PNAME}


\r\n\r\n

Passanger_email: {PEMAIL}


\r\n\r\n

Passanger_mobile: {PMOBILE}


\r\n\r\n

You may choose to either accept or reject the enquiry. You may also contact the Passenger should you want to.


\r\n

A request to create account was received from your {COMPANY_NAME} Account - {EMAIL} from the IP - {IP}


\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(6, '{COMPANY_NAME}:Trip enquiry acceptance', '{COMPANY_NAME}:Trip enquiry acceptance', '

Hello {NAME}


\r\n\r\n

Congratulations! Your trip enquiry has been accepted and the Driver is ready to take you along. Here are the details of the Driver.


\r\n\r\n

Passanger_name: {NAME}


\r\n\r\n

Traveller_name: {TNAME}


\r\n\r\n

Traveller_email: {TEMAIL}


\r\n\r\n

Traveller_mobile: {TMOBILE}


\r\n\r\n

You may contact the Driver for any questions regarding the trip.


\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(7, '{COMPANY_NAME}:Trip enquiry rejection', '{COMPANY_NAME}:Trip enquiry rejection', '

Hello {NAME}


\r\n\r\n

We regret to inform you that the trip you enquired about has been rejected by the Driver, who posted the trip. Alternatively, you may search for other trips through the link below:


\r\n\r\n

{LINK}


\r\n\r\n

Enjoy!


\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(8, '{COMPANY_NAME}:Passanger questions', '{COMPANY_NAME}:Passanger questions', '

Hello {NAME}


\r\n\r\n

Trip_owner_name: {NAME}


\r\n\r\n

Passanger_name: {PNAME}


\r\n\r\n

Passanger_email: {PEMAIL}


\r\n\r\n

Passanger_questions: {PQUESTIONS}


\r\n\r\n

Enjoy!
\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(9, 'Trip feedback', 'Trip feedback', '

Hello {NAME}


\r\n\r\n

You just received a feedback from the Passenger about the trip. Here are the details of the Passenger, who has given the feedback.


\r\n\r\n

Feedbacks


\r\n\r\n

{FEEDBACK}


\r\n\r\n

Enjoy!
\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 0),
(10, 'payment notification for car owner', 'payment notification for car owner', '

Dear {NAME}, 


\r\n\r\n

Congratulations! A Rider just now made made a payment towards a trip posted by you.


\r\n\r\n

Vehicle Number - {VEHICLE_NUMBER}


\r\n\r\n

Trip Name - {TRIP_NAME}


\r\n\r\n

Trip Date - {TRIP_DATE}


\r\n\r\n

Amount - {CURRENCY} {AMOUNT}


\r\n\r\n

Regards,

\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(11, 'payment notification for traveller', 'payment notification for traveller', '

Dear {NAME},


\r\n\r\n

You just now made a successful payment towards a trip. Kindly find the Trip details and your Payment details below. 


\r\n\r\n

Trip Name :  {TRIP_NAME}


\r\n\r\n

Trip Date : {TRIP_DATE}


\r\n\r\n

TXN ID : {TXN_ID}


\r\n\r\n

Amount Paid: {CURRENCY} {AMOUNT}


\r\n\r\n

 

\r\n\r\n

Regards,

\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(12, 'payment notification for admin', 'Payment Notification', '

Dear Admin,

\r\n\r\n

Just now a Rider paid a Car Owner for a trip. Kindly find the details of the Trip, Car owner, and the Rider.  


\r\n\r\n

Payment Information


\r\n\r\n

Car Owner Name - {OWNER_NAME}


\r\n\r\n

Vehicle Number - {VEHICLE_NUMBER}


\r\n\r\n

Traveller Name : {TRAVELLER_NAME}


\r\n\r\n

Trip name : {TRIP_NAME}


\r\n\r\n

TXN ID : {TXN_ID}


\r\n\r\n

Amount paid: {CURRENCY} {AMOUNT}


\r\n\r\n

Regards,

\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(13, 'Activate your {COMPANY_NAME} account', 'Activate your {COMPANY_NAME} account', '

Hello {NAME}


\r\n\r\n

Thank you for registering with {COMPANY_NAME}


\r\n\r\n

Before we can complete your registration, we need to verify your e-mail address. Please enter the below OTP to complete your registration.


\r\n\r\n

Your one time password is {code}


\r\n\r\n

Enjoy!

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(14, 'Your {TRIP} has been de-activated.  ', 'Your {TRIP} has been de-activated.  ', '

Hello {NAME}


\r\n\r\n

Your trip of {TRIP}, which was planned in the vehicle {VEHICLE_NUMBER} has been de-activated by the Admin.


\r\n\r\n

Please contact {ADMIN_EMAIL} for assistance.


\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(15, 'Your booked trip {TRIP} has been de-activated.', 'Your booked trip {TRIP} has been de-activated.', '

Hello {NAME}


\r\n\r\n

The {TRIP} you had booked and paid has got de-activated. Please contact the Car Owner for further assistance on this.


\r\n\r\n

Name: {TNAME}


\r\n\r\n

Email: {EMAIL}


\r\n\r\n

Contact no : {MOBILE}


\r\n\r\n

We regret for the inconvenience caused.

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(16, 'Your enquired trip {TRIP} has been de-activated.', 'Your enquired trip {TRIP} has been de-activated.', '

Hello {NAME}


\r\n\r\n

The {TRIP} about which you had enquired got de-activated. Please contact the Car Owner for further assistance on this.


\r\n\r\n

Name: {TNAME}


\r\n\r\n

Email: {EMAIL}


\r\n\r\n

Contact no : {MOBILE}


\r\n\r\n

We regret for the inconvenience caused. You may search for other similar trips.

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(17, 'Your {TRIP} has been re-activated.  ', 'Your {TRIP} has been re-activated.  ', '

Hello {NAME}


\r\n\r\n

Congratulations! The {TRIP} in {VEHICLE_NUMBER}, which had got de-activated earlier, is now activated.

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(18, 'Your booked trip {TRIP} has been re-activated.', 'Your booked trip {TRIP} has been re-activated.', '

Hello {NAME}


\r\n\r\n

The {TRIP} in {VEHICLE_NUMBER}, which you had booked and paid, got re-activated. You may now go ahead and travel through this trip.

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1),
(19, 'Your enquired trip {TRIP} has been re-activated.', 'Your enquired trip {TRIP} has been re-activated.', '

Hello {NAME}


\r\n\r\n

The {TRIP} about which you had enquired got re-activated. You may now go ahead and pay for the trip and get your seat confirmed.

\r\n\r\n


\r\nThe {COMPANY_NAME} Team
\r\n
\r\n
\r\nIf you have not initiated this request, send mail to {ADMIN_EMAIL}
\r\nIf you have any query please send mail to {ADMIN_EMAIL}
\r\nThis is an automated email, please don't reply.

', NULL, 1);

 

--new query-----

 

Add one filed in order table

tbl_orders

order_curreny (new filed name)

 

 

--new query-----

 

DELETE THE OLD tbl_t_login_logs and create new table 

 

CREATE TABLE IF NOT EXISTS `tbl_t_login_logs` (
  `login_log_id` int(11) NOT NULL AUTO_INCREMENT,
  `login_id` int(11) DEFAULT NULL,
  `login_ip` text,
  `login_time` date DEFAULT NULL,
  PRIMARY KEY (`login_log_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;