-
Posts
9,522 -
Joined
-
Last visited
-
Days Won
186
Everything posted by Michael
-
@Mujahed has helped me get this working this guy is a legend :p. In each controller in /app/controllers/admin_*.php add the following code: $this->structure->set("blesta_staff_id", $this->Session->read("blesta_staff_id")); in this function: public function preAction() { } Eg admin_billing.php: public function preAction() { parent::preAction(); // Require login $this->requireLogin(); Language::loadLang(['admin_billing']); $this->structure->set("blesta_staff_id", $this->Session->read("blesta_staff_id")); [...] } This allows you to use this command to get the staff_id: <?php $blesta_staff_id; ?>
-
Let me try mine. Edit: Works for me on both Licensecart and Licensedemo: https://screencast.com/t/Ex1cs343Q So it has to be something to do with the web hosting / vps set-up or CloudFlare or something else.
-
it should work, unless you have an owned license which hasn't got the latest support and updates?
-
You're welcome
-
Ok I recommend a full re-installation to see if that fixes it. The structure looks fine on that table so it shouldn't have any issues.
-
I did ask for the structure of the table so I can check it on mine. Is there any clients or services on your system?
-
Yep and that's empty, so there's nothing there. What's the structure? It looks like something deleted the order forms.
-
Are you using CloudFlare? did you run admin/upgrade/. Can you check the database under: order_forms table is there any results?
-
Make reCaptcha as company settings and add it to Form Class
Michael replied to Blesta Addons's topic in Feature Requests
I believe Paul wants that so it can be added to the support tickets. -
That depends on the Softaculous team mate they do it manually
-
ok so it error'ed and only printed out the hostname correct?
-
no errors?
-
correct tools > logs > promox click the background row.
-
Ok click on the proxmox row and there should be 3 boxes more or less whats in them?
-
I always say manually.
-
I believe a hostname has to be a subdomain.
-
Good luck mate if you need help I'll see what I can do.
-
You have to clear the CACHE! /cache/ and in 1 remove "nav". it's posted a lot on the forum, that's why Naja7host made the admin tools clear the cache automatically.
-
If you open a feature request at requests.blesta.com I'll +1 it. File needs to be editing I believe is: /components/auth/oath/oath.php
-
Closing as not a bug.
-
I'm confused now if you are a spammer, since you asked how to make a test account on Blesta, you never mentioned the website. You can only make a account on account.blesta.com if you buy a license. There's a demo on blesta.com/demo/ and it will give you a "clients" tab on the admin area. otherwise you are talking a load of nonsense.
-
Hi guys, Is there a way to grab the current logged in staff ID in the admin area / client id? I've tried: $client->first_name thinking as they use the same table that would work. $staff->first_name & $admin->first_name trying to see if that works as the above didn't. Tried grabbing them like: $staff->staff_id & $admin->staff_id & $staff_first_name & $staff_id & $session->staff_id but none seem to work Merci.
-
All the themes stuff are in structure.pdt, this is mine: <h1 class="headercrumb"> <?php // $this->Html->ifSet($logged_in) if (strpos($_SERVER['REQUEST_URI'], "customers") && $page_title != "Our Customers" || strpos($_SERVER['REQUEST_URI'], "order") !== false){ $today_date = date('Y-m-d H:i:s'); if($client->date_added == $today_date){ echo "Welcome "; echo $client->first_name; echo "..."; }else{ echo "Welcome back "; echo $client->first_name; echo "!"; } }elseif (strpos($_SERVER['REQUEST_URI'], "category") == true){ echo "Categories"; }elseif( $page_title != '' ){ echo $page_title; }else{ echo ($this->Html->ifSet($title) ? $this->Html->_($title, true) : $this->_("AppController.client_structure.default_title", true)); } ?> </h1>
-
Ah did you mean something else mate lol?
-
Nice idea for a feature request: https://requests.blesta.com that should get a lot of +1's since it would be cool for vps providers, management companies who sell hours to do and webs designers maybe who want to charge per time.