Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index
  • Search

Search found 15 matches

Go to advanced search

Advanced search
Search found 15 matches
  • 1
  • 2
  • Next
by elicast
Sat Mar 25, 2017 12:43 am
Forum: Database Server
Topic: Remote MySQL Conection
Replies: 1
Views: 9980

Remote MySQL Conection

Hello all, in cpanel have this feature, Remote MySQL® Add a specific domain name to allow visitors to connect to your MySQL databases. Applications like bulletin boards, online shopping cart, and content management systems require databases to operate. see image: http://stmip.net/2017-03-24.png How ...
  • Jump to post
by elicast
Thu Mar 24, 2016 4:10 pm
Forum: Scripting / API
Topic: test connection to the server via api
Replies: 1
Views: 7844

test connection to the server via api

Hello I have a problem with the app, I created a function that when creating a User he conetcar with vestacp saw there and saves the user in the local database. problem is trying to create User and can not connect to vesta it saves place even without having created the account by the api. then, as I...
  • Jump to post
by elicast
Mon Oct 05, 2015 7:05 pm
Forum: Scripting / API
Topic: Suspend multiple users API
Replies: 1
Views: 55567

Suspend multiple users API

to suspend more than one user through the api

thus works hand control through

create bin v-suspend-mulit-user

Code: Select all

#!/bin/bash
for user in "$@"
do
    echo "Suspend user $user"
    v-suspend-user $user
done

Code: Select all

execute: v-suspend-mulit-user user1 user2 user3
code by: tjebbeke
  • Jump to post
by elicast
Sun Oct 04, 2015 10:49 pm
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

erro 1 E_ARGS Not enough arguments provided
  • Jump to post
by elicast
Sat Oct 03, 2015 7:37 pm
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

I'm trying to use around and is not working, only manually. You have to help me. $vst_username = 'admin'; $vst_password = 'NmSmGFbqgH'; $vst_command = 'e-bloquear-users-revenda user1 user2'; $postvars = array( 'user' => $vst_username, 'password' => $vst_password, 'returncode' => 'yes', 'cmd' => $vst...
  • Jump to post
by elicast
Fri Oct 02, 2015 2:43 pm
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

now I worked when I put 'do' along the lines of 'echo'

I really want to thank you for your attention

there is a small problem, the last User does not block, only blocks if I write to the end

http://prntscr.com/8mx0ug

but otherwise it is already working as I wanted, thank you
  • Jump to post
by elicast
Fri Oct 02, 2015 12:43 pm
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

see img: http://prntscr.com/8mvqyf

can not take User
  • Jump to post
by elicast
Fri Oct 02, 2015 10:53 am
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

[root@VestaAdminTestes ~]# sudo bash /usr/local/vesta/bin/e-bloquear-revenda
'usr/local/vesta/bin/e-bloquear-revenda: line 3: syntax error near unexpected token `do
'usr/local/vesta/bin/e-bloquear-revenda: line 3: `do
  • Jump to post
by elicast
Fri Oct 02, 2015 10:42 am
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

thank you for your cooperation, but see the picture, everything is correct, but does not work

see: http://prntscr.com/8muomt
  • Jump to post
by elicast
Fri Oct 02, 2015 12:54 am
Forum: Web Interface
Topic: API Suspened Users
Replies: 13
Views: 17059

Re: API Suspened Users

It is giving error

http://prntscr.com/8mqw2x

[root@VestaAdminTestes ~]# sudo /usr/local/vesta/bin/e-bloquear-revenda hdlio934hkds
sudo: unable to execute /usr/local/vesta/bin/e-bloquear-revenda: No such file or directory
[root@VestaAdminTestes ~]#
  • Jump to post

Search found 15 matches
  • 1
  • 2
  • Next

Go to advanced search



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password