Jump to content

bunny

Members
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by bunny

  1. Is there any solution to the problem described below?

    22 hours ago, activa said:

    I Have another case . We cant delete module rows and we are sur all the module rows are unused or used by a canceled service. We are in b3 not tested in v4

     

    On 29.05.2017 at 4:01 PM, Blesta Addons said:

    we have some module no longer used by any active services, also no package is associated with the module . when we want to uninstall we get a error

    The module can not be uninstalled because it is used by one or more uncanceled services.

    we are sure that no active service is related to the module.

    is this a limitation or a bug ?

     

  2. I logged in as a user but the button is not available. Only transfer is available

    		<div class="panel-body">
    							<div class="row">
    								<div class="col-md-8 col-md-offset-2 ">
    									<?php
    									$this->Form->create();
    									?>
    										<div>
    											<div class="form-group">
    												<?php
    												$this->Form->fieldText("domain", $this->Html->ifSet($vars->domain), array('placeholder' => $this->_("Domain.lookup.domain_placeholder", true), 'class' => "form-control input-md"));
    												?>
    											</div>
    											<div class="form-group tlds">
    												<?php
    												foreach ($tlds as $tld => $pack) {
    												?>
    													<label class="form-control dropdown-menu">
    														<?php
    														$this->Form->fieldCheckbox("tlds[]", $tld, in_array($tld, $this->Html->ifSet($vars->tlds, array())));
    														?>
    														<?php $this->Html->_($tld);?>
    													</label>
    												<?php
    												}
    												?>
    											</div>
    										</div>
    										<div>
    <div class="btn-group">
    <?php if ($this->Html->ifSet($logged_in)) { ?>
    <button class="btn btn-primary btn-sm" type="submit" name="lookup" value="1">
    		<i class="fa fa-search"></i> <?php $this->_("Domain.lookup.lookup_btn");?>
    </button>
    <?php } ?>
    <button class="btn btn-primary btn-sm" type="submit" name="transfer" value="1">
    		<i class="fa fa-sign-in"></i> <?php $this->_("Domain.lookup.transfer_btn");?>
    </button>
    </div>
    
    </div>
    										</div>
    									<?php
    									$this->Form->end();
    									?>
    								</div>
    							</div>
    							
    							<?php
    							if ($this->Html->ifSet($domains) && !empty($domains)) {
    								$this->Form->create($this->base_uri . "order/config/index/" . $order_form->label, array('id' => "configure_domain"));
    							?>
    								<hr>
    								<?php
    								if (!isset($availability) || in_array(true, $availability)) {
    								?>
    									<div class="alert alert-success">
    										<p><i class="fa fa-check-circle"></i> <?php $this->_("Domain.lookup.domains_header_available");?></p>
    									</div>
    								<?php
    								}
    								else {
    								?>
    									<div class="alert alert-danger">
    										<p><i class="fa fa-exclamation-circle"></i> <?php $this->_("Domain.lookup.domains_header_unavailable");?></p>
    									</div>
    								<?php
    								}
    								?>
    								
    								<div class="table-responsive">
    									<table class="table table-curved whois">
    										<thead>
    											<tr>
    												<th>
    													<input type="checkbox" id="all_domains">
    												</th>
    												<th><?php $this->_("Domain.lookup.domains_domain_name");?></th>
    												<th><?php $this->_("Domain.lookup.domains_status");?></th>
    												<th><?php $this->_("Domain.lookup.domains_term");?></th>
    											</tr>
    										</thead>
    										<tbody>
    											<?php
    											foreach ($domains as $domain => $pack) {
    												$allow = true;
    												if (isset($availability[$domain]) && !$availability[$domain])
    													$allow = false;
    											?>
    											<tr>
    												<td>
    													<?php
    													$attr = array('id' => "dom_" . $domain);
    													if (!$allow)
    														$attr['disabled'] = "disabled";
    													$this->Form->fieldCheckbox("domains[]", $domain, $allow && in_array($domain, $this->Html->ifSet($vars->domains, array())), $attr);
    													?>
    												</td>
    												<td><?php $this->Form->label($this->Html->_($domain), "dom_" . $domain);?></td>
    												<td>
    													<?php
    													if ($allow) {
    													?>
    														<span class="label label-success"><?php $this->_("Domain.lookup.domain_available");?></span>
    													<?php
    													}
    													else {
    													?>
    														<span class="label label-danger"><?php $this->_("Domain.lookup.domain_unavailable");?></span>
    													<?php
    													}
    													?>
    												</td>
    												<td>
    													<?php
    													$prices = array();
    													foreach ($pack->package->pricing as $price) {
    														$prices[$price->id] = $this->_("Domain.lookup.term", true, $price->term, ($price->term == 1 ? $this->Html->ifSet($periods[$price->period]) : $this->Html->ifSet($periods[$price->period . "_plural"])), $this->CurrencyFormat->format($price->price, $price->currency));
    													}
    													
    													$attr = array('class' => "form-control input-sm");
    													if (!$allow)
    														$attr['disabled'] = "disabled";
    														
    													$this->Form->fieldSelect("pricing_id[" . $this->Html->_($domain, true) . "]", $prices, $this->Html->ifSet($vars->pricing_id), $attr);
    													$this->Form->fieldHidden("group_id[" . $this->Html->_($domain, true) . "]", $pack->group->package_group_id);
    
    													$this->Form->fieldHidden("meta[" . $this->Html->_($domain, true) . "][domain]", $domain);
    													
    													if (isset($vars->transfer))
    														$this->Form->fieldHidden("meta[" . $this->Html->_($domain, true) . "][transfer]", "true");
    													?>
    												</td>
    											</tr>
    											<?php
    											}
    											?>
    										</tbody>
    									</table>
    								</div>
    								<button type="submit" class="btn btn-default pull-right">
    									<i class="fa fa-chevron-circle-right"></i> <?php $this->_("Domain.lookup.order_btn");?>
    								</button>
    							<?php
    								$this->Form->end();
    							}
    							?>
    						</div>
    					<?php
    					$this->WidgetClient->end();
    					?>
    <script type="text/javascript">
    	$(document).ready(function() {
    		
    		$("#all_domains").on("click", function() {
    			$("#configure_domain input[name='domains[]']").not(":disabled").prop('checked', this.checked);
    		});
    		$("#configure_domain").submit(function(event) {
    			var domain_form = this;
    			$("input[name='domains[]']", domain_form).each(function() {
    				if (!$(this).is(":checked")) {
    					$("select[name='pricing_id[" + $(this).val() + "]']", domain_form).attr("disabled", "disabled");
    					$("input[name='group_id[" + $(this).val() + "]']", domain_form).remove();
    				}
    			});
    		});
    	});
    </script>

     

     

  3. <div class="btn-group">
    										<button class="btn btn-primary btn-sm" type="submit" name="lookup" value="1">
    		<i class="fa fa-search"></i> <?php $this->_("Domain.lookup.lookup_btn");?>
    												</button>
    												<button class="btn btn-primary btn-sm" type="submit" name="transfer" value="1">
    		<i class="fa fa-sign-in"></i> <?php $this->_("Domain.lookup.transfer_btn");?>
    												</button>
    												
    											</div>

    domain lookup only for logged users? how to hide this button?

  4. 10 minutes ago, naja7host said:

    can you check the http error log ...

    also can you delete any third party plugins from ftp .

    any disabled function in php.ini ?

     

     

     

     

     

    http error log - there is nothing there. I deleted plugins and nothing has changed, php.ini also we did not change. This system is only for panel Blesta. I'm a little surprised.

     

  5. So something does not work, I use the address, post code, email - business address. Everywhere verified positively, fraud? Thank you very much
     
    "Proxy/VPN/Bad IP Detected! your order has detected as potentially high risk and therefore it has been marked for manual review."

    To sell something you have to be ready  , so now I'm not interested.

  6. what custom module do you need?

    as if you are wanting a opennebula module I have already made one....don't know if that is what you want but just email me at sales[at]cubedata.net with what you want so I could have this on record due to auditing requirements.

    I wanted to test the module but unfortunately: "The captcha entered was invalid. Please try again." I tried 5 times - only numbers.

×
×
  • Create New...