-
Posts
9,521 -
Joined
-
Last visited
-
Days Won
185
Reputation Activity
-
-
Michael reacted to CanadaCloudHost in Introducing CanadaCloudHost
I don't use wordpress bud and wrong place to ask
-
Michael reacted to WebhostingNZ.com in [Plugin] Announcement -Released-
@Blesta Addons sub is well worth it. He has many useful plugins/modules and if he wants to keep getting paid he will keep them updated, that's the bonus to the sub opposed to a one-off payment.
It really is great value for what you have access to.
-
Michael reacted to Nelsa in [Plugin] Announcement -Released-
It was free before they changed the business model..some plugins made by najhost/blesta addons were free when released and after the business model was changed some end up in paid subscription...that is why you will find that line of text in first post...
-
Michael got a reaction from activa in Mailparse in Directadmin?
yum -y install re2c;pecl install mailparse-2.1.6; I think you need to use them two commands.
http://forum.directadmin.com/showthread.php?t=54620
-
Michael reacted to Paul in Translate Blesta - client view
Then under "Settings > Company > General > Localization" you can set the language as the default language if you want. Or, under My Info you can set the language for your staff user only, and clients can select the language when they sign up.
-
Michael got a reaction from Paul in Translate Blesta - client view
Go to Settings > Company > General > Internationalization > install.
-
Michael got a reaction from Blesta Addons in Translate Blesta - client view
Go to Settings > Company > General > Internationalization > install.
-
Michael reacted to Blestax3 in Owned Lifetime License for Sale (Unused)
True. Not sure what an appropriate price is but i think $275 seems fair.
-
Michael got a reaction from Blestax3 in Owned Lifetime License for Sale (Unused)
You may be best setting a public price mate, and people can then get in touch with you. Good luck selling.
-
Michael got a reaction from Paul in Translate Blesta - client view
You download the packs from translate.blesta.com and extract the zip in your Blesta root.
-
Michael got a reaction from activa in Owned Lifetime License for Sale (Unused)
You may be best setting a public price mate, and people can then get in touch with you. Good luck selling.
-
Michael reacted to CanadaCloudHost in Introducing CanadaCloudHost
We are happy to show to all the community our brand new canada based website.
Here what i have so far.
-
Michael got a reaction from BeZazz in Owned Lifetime License for Sale (Unused)
You may be best setting a public price mate, and people can then get in touch with you. Good luck selling.
-
-
Michael reacted to Blesta Addons in Last Attempt, changing initial currency
a simple tip is to add the fallowing code in set setCurrency()
protected function setCurrency() { if (!$this->client) { $this->SessionCart->setData('currency', 'VND'); } .... ....
-
Michael reacted to WebhostingNZ.com in Google Analytics
You could create a template for each company, then edit each template. Or add some PHP similar to the following:
<?PHP $host = $_SERVER['HTTP_HOST']; if ($host == "YOURCOMPANYBLESTAURL"){ echo 'YOUR CODE'; } elseif ($host == "YOURCOMPANYBLESTAURL"){ echo 'YOUR CODE'; } ?> I'm sure there is a better way than the above but it works for us with our live chat.
-
Michael reacted to Paul in Affiliate module for Blesta
We are revisiting this, and I plan to spend some time to more fully spec out the task. No eta, but we know this needs to get done. It's not going to be as fully featured as some standalone affiliate systems, but it should get the job done.
-
Michael reacted to Tyson in Get username
If you are unable to access the blesta_id from the session:
$user_id = (isset($_SESSION['blesta_id']) ? $_SESSION['blesta_id'] : null); ...then I would suggest following @Blesta Addons's recommendation of creating a plugin.
If you upgrade Blesta to v4.3.0+ then your plugin can make use of the new Requestor object that retrieves some relevant information on the currently-logged-in user. If the user is currently logged into Blesta, you should be able to retrieve their user information by creating a plugin with a model that fetches the user from the database, e.g.:
class MyPluginUserModel extends MyPluginModel { public function getCurrentUser() { // Load information on the current user $requestor = $this->getFromContainer('requestor'); // Fetch additional information on the current user if ($requestor->user_id !== null) { Loader::loadModels($this, ['Users']); // Fetch and return the user if one exists if (($user = $this->Users->get($requestor->user_id))) { return $user; } } // Return null that no user was found return null; } } You just need to make an API call to your "MyPluginUserModel::getCurrentUser" to retrieve the user. If a non-null value is returned, the username would be available in the "username" property:
<?php // Load the API require_once "/home/username/public_html/blesta_api.php"; $user = "API USERNAME"; $key = "API KEY"; $url = "https://blestainstallationurl.com/api/"; $api = new BlestaApi($url, $user, $key); // Fetch the current user's username if they are logged into Blesta $username = null; if (($user = $api->get("MyPlugin.MyPluginUserModel", "getCurrentUser"))) { $username = $user->username; }
-
Michael reacted to Tyson in PDO Not Throwing Exceptions on Errors
The PDO error mode is silent by default. I believe it threw exceptions pre-4.0 so we'll add that behavior back in CORE-2773.
-
Michael reacted to Paul in License Checker / Verification
Just to add, the License Manager consists of a plugin (License server) and module (License generator).
https://docs.blesta.com/display/user/License+Manager
https://docs.blesta.com/display/user/License+Module
-
Michael reacted to Blesta Addons in VN Domain names
We have created a module specially for this case, the module called Generic domains. you can check it in our website, unfortunately the module is not in the Free Subscription .
Note: The module support almost all the TLDs and CCtld .
-
Michael got a reaction from Paul in Ideas about using Blesa for other purposes not just hosting?
You can sell software licenses, game licenses, a client I used to have used it for selling office space. With Blesta the world is your oyster.
-
Michael got a reaction from Chris van der Westhuizen in License Checker / Verification
You can do the Blesta license manager but you have to pay for it to be added to your license then you can add it via: https://blesta.store/plugin/support_manager/knowledgebase/view/7/how-to-use-the-license-manager-plugin/
-
Michael reacted to WebhostingNZ.com in Blesta Installation - Files not writable by Web-Server
If you are upgrading you should NOT delete your blesta.php You only rename blesta-new.php to blesta.php IF and only if you are doing a new install, if it's an upgrade you can just ignore the blesta-new.php or delete it if you don't like it hanging around.
Also as a suggestion, you should never delete a file if you are not 200% sure of what you are doing, best thing to do would be to rename it to something else so you can move/rename it back if it was not the right thing to do.
If you have your blesta.php from before your upgrade I would suggest restoring it, if not restore your whole account if you have a full backup.