Karenderia Multiple Restaurant System

Karenderia Multiple Restaurant System 5.4.5

No permission to download

iHamed

New member
May 5, 2022
0
0
0
Let me see what I can do, cause it is a new learning curve for me about yii.
I can see the controllers and views are in the /protected folder
anyone can tell me which file is executed when the purchase is made?
I haven't got that far after installing karenderia, haven't even finish setup one restaurant item hahaha...
I'm analyzing the protected/modules/mobileappv2/components/fcmPush.php file it has the firebase post, where I used the same place as foodomaa, I think it will serve as a hand on the wheel!
 
  • Like
Reactions: Donalds duck

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
I'm analyzing the protected/modules/mobileappv2/components/fcmPush.php file it has the firebase post, where I used the same place as foodomaa, I think it will serve as a hand on the wheel!
this is great news, as we can use free firebase SMS service
 

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
firebase Cloud Messaging is for OTP auth only :cautious:
 

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
I forgot to copy this before:

1. /protected/views/admin/sms-settings.php

put these code above "<li class="<?php echo $provider_selected=="twilio"?"uk-active":"";?>"><a href="#"><?php echo t("Twilio")?></a></li>"

<!-- [START EDIT** this is for Whatsapp tab] -->
<li class="<?php echo $provider_selected=="whatsapp"?"uk-active":"";?>"><a href="#"><?php echo t("Whatsapp")?></a></li>
<!-- [END EDIT** this is for Whatsapp tab] -->
 

Attachments

  • image_2021-07-20_203714.png
    image_2021-07-20_203714.png
    35.8 KB · Views: 39

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
Here is the complete mod in 1 zip with instruction

Previously I just share the codes and some missing, some copy the wrong code hahaha...
It's better to share the files.
 

Attachments

  • Whatsapp-wassenger-mod-v0.1.0.zip
    146.6 KB · Views: 37
  • whatsapp-notification.jpg
    whatsapp-notification.jpg
    46.7 KB · Views: 21
Last edited:
  • Like
Reactions: arkobd

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
Got the answer from the person who make modification on that private forum.
The price is $100.
His system is like this:
KMRS server -> "Our API server" -> whatsapp API Server, then whatsapp server send the notification
"Our API server": we have to have a physical windows computer at home (must ON all the time) or renting a VPS server with windows 10 installed.

This is a crappy system, I don't like it at all.
1. If you use your own PC at home that means you waste electricity. What if the electricity fails, we must buy UPS. What if UPS battery dies before electricity comes back ON, we must buy a generator.
2. If you rent VPS with windows operating system, VPS is not cheap with big storage (windows OS minimum needs 20GB), big RAM, big CPU power, plus you have to buy windows 10 License. The monthly VPS fee will be the same as the Wassenger service.
3. You have to pay $100 for his modification.

The good news is, I found where to inject the command to send whatsapp notification using traditional whatsapp API.
If this is successful, then the whatsapp sending will be free, don't have to pay wassenger service. No need to ask restaurant owner and drivers to register their phone with callmebot.
This will be the progress for today. Just the finding, not actually working on the coding yet.

-Arrocy-
 
Last edited:

Jasonm90

New member
May 5, 2022
0
-4
0
Got the answer from the person who make modification on that private forum.
The price is $100.
His system is like this:
KMRS server -> "Our API server" -> whatsapp API Server, then whatsapp server send the notification
"Our API server": we have to have a physical windows computer at home (must ON all the time) or renting a VPS server with windows 10 installed.

This is a crappy system, I don't like it at all.
1. If you use your own PC at home that means you waste electricity. What if the electricity fails, we must buy UPS. What if UPS battery dies before electricity comes back ON, we must buy a generator.
2. If you rent VPS with windows operating system, VPS is not cheap with big storage (windows OS minimum needs 20GB), big RAM, big CPU power, plus you have to buy windows 10 License. The monthly VPS fee will be the same as the Wassenger service.
3. You have to pay $100 for his modification.

The good news is, I found where to inject the command to send whatsapp notification using traditional whatsapp API.
If this is successful, then the whatsapp sending will be free, don't have to pay wassenger service. No need to ask restaurant owner and drivers to register their phone with callmebot.
This will be the progress for today. Just the finding, not actually working on the coding yet.

-Arrocy-
This all what makes u the well Known Member of Babiato Family... Ur research, contribution & above all time n dedication.. Once again , happy knowing u @arrocy

Awaiting for the solution u were talking abt (y)
 

iHamed

New member
May 5, 2022
0
0
0
1º go on "protected/components/Ajax.php", search for "merchantList()" put the code under "foreach ($res as $val) {
$class='' ".


//aqui vai esse codigo

$photo=Yii::app()->functions->getOption("merchant_photo",$val['merchant_id']);
if (empty($photo)){
$photo='temtudologo.png';
}

$logo='<a href="'.websiteUrl()." /store/menu/merchant/".$val['restaurant_slug'].'">';

$logo.='</a>';

// aqui finaliza onde vai o codigo


2º down in "if (getOptionA('home_search_mode')" remove the id, and put the code below.

$logo.='<img title="" alt="" src="'.uploadURL()." /$photo".'" class="imagemdalista">',
stripslashes($val['restaurant_name']).$action,


3º go in "assets/css/admin.css" --- and put the following css


.imagemdalista {
width: 106px;
height: 96px;
background: no-repeat center;
background-size: cover;
max-width: 125px;
border-radius: 10px;
margin-top: 7px;
align-items: center;
}


4º finished.


putting my code here to display merchant image instead of ID, any questions give me a PM.
 

Attachments

  • 1626915417198.png
    1626915417198.png
    220.7 KB · Views: 55

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
I am done with whatsapp api mod and I did make a function test to use traditional whatsapp api. I just realized that whatsapp api won't allow auto send, so android/ios/desktop app should pop-up, then click send.
I think the best free solution will be using callmebot api. But as of today, callmebot put a footer message "I need your support". If you want to remove the footer, callmebot charge $0.40/month (40 cents)
 

iHamed

New member
May 5, 2022
0
0
0
I am done with whatsapp api mod and I did make a function test to use traditional whatsapp api. I just realized that whatsapp api won't allow auto send, so android/ios/desktop app should pop-up, then click send.
I think the best free solution will be using callmebot api. But as of today, callmebot put a footer message "I need your support". If you want to remove the footer, callmebot charge $0.40/month (40 cents)
however, it is still more affordable to use at 0.40 cents a month, there are certain apis that are much more expensive
 
  • Love
Reactions: Donalds duck

arrocy

Active member
Null Master
Trusted Uploader
Jun 16, 2020
185
213
43
however, it is still more affordable to use at 0.40 cents a month, there are certain apis that are much more expensive
Yes, $0.40 is a lot cheaper than wassenger $19. But if you don't mind the footer text, it's still free.
 
  • Like
Reactions: WonderMiddel

arkobd

Active member
Sep 8, 2018
466
78
28
I am done with whatsapp api mod and I did make a function test to use traditional whatsapp api. I just realized that whatsapp api won't allow auto send, so android/ios/desktop app should pop-up, then click send.
I think the best free solution will be using callmebot api. But as of today, callmebot put a footer message "I need your support". If you want to remove the footer, callmebot charge $0.40/month (40 cents)
yes it's good
 

ONSHOST

Member
Jan 3, 2021
81
23
8

@arrocy

Karenderia Multiple Restaurant System​

I have added the items and categories and publish and merchant also activated even though i am not getting items on merchant page and showing
  • This restaurant has not published their menu yet.

please guide me how to get the items in menu. thank you.
 

Attachments

  • kar.jpg
    kar.jpg
    90.3 KB · Views: 23

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu