Leaderboard
Popular Content
Showing content with the highest reputation on 06/19/2014 in all areas
-
Example of setting/displaying variables: /order/controllers/checkout.php public function complete() { ... $account = array('user' => "username", 'email' => "me@mydomain.com"); $this->set("account", $account); } /order/views/templates/{type}/checkout_complete.pdt <div class="col-md-12"> ... Username: <?php $this->Html->_($account['user']);?><br /> Email: <?php $this->Html->_($account['email']);?> <?php // Auto-populate a form field $this->Form->create(); $this->Form->fieldText("username", $this->Html->ifSet($account['user']), array('id' => "username")); $this->Form->fieldText("email", $this->Html->ifSet($account['email']), array('id' => "email")); $this->Form->end(); ?> </div>3 points
-
Good Morning Paul (here in Portugal is 07h00 AM), glad that you go back home safe We hope that you and your family has got a great week on Miami That is what I like about this kind of Conferences, it brings new ideas to us, and also boosts our mind to work harder and trie to make better then outhers You make me laugh wen you said "...but the OP dosen't seem to mind. " Its offtopic but still a great conversation betwin us all I Will change the title a litle eheh2 points
-
This thread got sort of off topic, but the OP doesn't seem to mind. I made it back home safely, 4800+ miles traveled. Saw lots of cool people at HostingCon, and lots of girls in bikini's on the streets of Miami. Glad to be back though, energized for 3.3.2 points
-
[Wip] Admin Theme
PauloV and one other reacted to medfordite for a topic
I am releasing what I have done so far. You can install this at your own risk. It will ovewrite some files so please read the included readme file! By installing, you agree to not hold me responsible. First - here is what I have for now: I hope you like it and feel free to edit it/change it/ mash it up, or whatever you want to do with it! wood.zip2 points -
hi, thanks. but i am noob with oop. i will try to though. thanks.1 point
-
Hi, I just made this quick domain sync (which updates reg. date and expiry date into the blesta database directly) php script which seems to be working fine for me, i am posting it here for anyone else's use: ITS FOR RESELLERCLUB ONLY BEFORE YOU USE: BACKUP DATABASE , BACKUP DATABASE <?php $db_host = "localhost"; $db_name = "loremipsum"; // your blesta database name $db_username = "loremipsum"; // your blesta database username $db_password = "loremipsum"; // your blesta database password $uid = "123456"; // your logic boxes or reseller club user id $key = "loremipsumloremipsumloremipsum"; // your logic boxes or reseller club api key // ============================================ // No change is required after this point //============================================= $conn = mysql_connect($db_host, $db_username, $db_password) or die("Unable to Connect"); $db = mysql_select_db($db_name, $conn) or die("Unable to Select"); $q0 = "SELECT * FROM `service_fields` WHERE `key` = 'domain-name'"; $r0 = mysql_query($q0) or die("Query Failed: Get Domains"); while ($a0 = mysql_fetch_array($r0)) { $q1 = "SELECT * FROM services WHERE id_value = " . $a0["service_id"] . " LIMIT 1"; $r1 = mysql_query($q1) or die("Query Failed: Get Record"); $a1 = mysql_fetch_array($r1); $domain = $a0["value"]; $url = "https://httpapi.com/api/domains/details-by-name.json?auth-userid=" . $uid . "&api-key=" . $key . "&domain-name=" . $domain . "&options=OrderDetails"; $handle = fopen($url, "rb"); $content = stream_get_contents($handle); $content = json_decode($content); fclose($handle); $regdate = date("Y-m-d H:i:s", $content->creationtime); $expdate = date("Y-m-d H:i:s", $content->endtime); $q2 = "UPDATE services SET date_added = '" . $regdate . "', date_renews = '" . $expdate . "' WHERE id = " . $a1["id"] . " LIMIT 1"; $r2 = mysql_query($q2) or die("Query Failed: Update Exp. Date for " . $domain); } echo "Done"; ?> Its a quickly done script which has nothing to do with blesta, just put in the required details, upload an run once. It will update all your domain's reg / expiry date. Thanks.1 point
-
Not at the moment, just for accounting purposes and out of blesta invoices right now. Don't have a need for payroll services yet. I switched from Quickbooks online and Wave is just a heck of a lot easier to use, not bulky. I wish it had a budgetting feature...but other than that I love it.1 point
-
I can not localize Wave....that is the only reason. In general Wave is the easiest thing I ever used...it simply works.1 point
-
I finally got my demo! I have so many questions! LOL However, I must say the clustering has me amused!1 point
-
That sound WONDERFUL to me! I'm okay manually creating friendly names. It just looks cleaner.1 point
-
Again, sorry to hear. We wish you all the best in whatever is next, and if we can be of any help now or in the future please let us know. Thanks for the contribution, I'm sure people will find it useful.1 point
-
World Cup (And Some Outher Things :p)
eversmile_host reacted to Paul for a topic
Yeah it was good. Cody and Tyson wanted to stay in California and work on Blesta 3.3, so I brought my wife. I stopped by the cPanel/WHMCS booth for 10 min or so and talked with Matt and their team. The responsive bootstrap interface is something they pretty much had to do, and it looks alright.. overall probably a net positive for them. Don't forget, we did that already with 3.2 -- they can follow the leader.1 point -
How To Use Blesta ?
kikloo reacted to eversmile_host for a question
Hi, Glad to see Indian in Blesta Forum @Licensecart will help you soon1 point -
We are likely going to be updating the SolusVM module so that you can use a configurable option for clients to select the OS template. The plus side is that you can enter whatever friendly looking name you want for the templates. The bad side is that you'll have to do so for all the templates you want to be available. Pulling them automatically from SolusVM's API would be the simplest way to ensure they are all available as soon as they are added to SolusVM.. but this should be a good solution in the interim.1 point
-
If you are going to spin up something other than cPanel, go Interworx all the way. It's a beauty of a control panel. (note: I have zero experience with Plesk)1 point