We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Custom Front End Interface Topic is solved
Re: Custom Front End Interface
Thank you for the clarification. I tested your scenario on my server running v0.3.1 and was not able to recreate the problem.superstar wrote: i think still you don't understand what i said ! i don't say about password box is blank .. i know the password box is blank for account security .. i mean when you change first name (or) last name (or) did't change anything and just click ( Update Profile ) the panel password was auto changed to blank (or) something .. and can't be login to panel with yours password ..
current password auto changed without enter any password in password box ..
I suggest .. u should try first with urs v0.3.1 .. go to account setting and just click ( Update profile ) .. then logout and try to login with urs password
you will see the password was wrong
Again .. pls try first with v0.3.1 .. v0.3 are fine just issue in v0.3.1
Could you upload or send me the contents of your "process/updatesettings.php" file so I can further diagnose the problem?
Re: Custom Front End Interface
i am just using urs git clone code process/updatesettings.php and don't change anythingcdg wrote:Thank you for the clarification. I tested your scenario on my server running v0.3.1 and was not able to recreate the problem.superstar wrote: i think still you don't understand what i said ! i don't say about password box is blank .. i know the password box is blank for account security .. i mean when you change first name (or) last name (or) did't change anything and just click ( Update Profile ) the panel password was auto changed to blank (or) something .. and can't be login to panel with yours password ..
current password auto changed without enter any password in password box ..
I suggest .. u should try first with urs v0.3.1 .. go to account setting and just click ( Update profile ) .. then logout and try to login with urs password
you will see the password was wrong
Again .. pls try first with v0.3.1 .. v0.3 are fine just issue in v0.3.1
Could you upload or send me the contents of your "process/updatesettings.php" file so I can further diagnose the problem?
Code: Select all
<?php
session_start();
if (file_exists( '../includes/config.php' )) { require( '../includes/config.php'); } else { header( 'Location: ../install' );};
if(base64_decode($_SESSION['loggedin']) == 'true') {}
else { header('Location: ../login.php'); }
// Setup variables for API call
$language = $_POST['language'];
$vst_returncode = 'yes';
$password = $_POST['password'];
$fname = $_POST['fname'];
$lname = $_POST['lname'];
$email = $_POST['email'];
$ns1 = $_POST['ns1'];
$ns2 = $_POST['ns2'];
$ns3 = $_POST['ns3'];
$ns4 = $_POST['ns4'];
$ns5 = $_POST['ns5'];
$ns6 = $_POST['ns6'];
$ns7 = $_POST['ns7'];
$ns8 = $_POST['ns8'];
$cookie = $_POST['cookie'];
$postvars = array(
array('user' => $vst_username,'password' => $vst_password,'returncode' => $vst_returncode,'cmd' => 'v-change-user-password','arg1' => $username,'arg2' => $password),
array('user' => $vst_username,'password' => $vst_password,'returncode' => $vst_returncode,'cmd' => 'v-change-user-contact','arg1' => $username,'arg2' => $email),
array('user' => $vst_username,'password' => $vst_password,'returncode' => $vst_returncode,'cmd' => 'v-change-user-language','arg1' => $username,'arg2' => $language),
array('user' => $vst_username,'password' => $vst_password,'returncode' => $vst_returncode,'cmd' => 'v-change-user-name','arg1' => $username,'arg2' => $fname,'arg3' => $lname),
array('user' => $vst_username,'password' => $vst_password,'returncode' => $vst_returncode,'cmd' => 'v-change-user-ns','arg1' => $username,'arg2' => $ns1,'arg3' => $ns2,'arg4' => $ns3,'arg5' => $ns4,'arg6' => $ns5,'arg7' => $ns6,'arg8' => $ns7,'arg9' => $ns8)
);
$curl0 = curl_init();
$curl1 = curl_init();
$curl2 = curl_init();
$curl3 = curl_init();
$curl4 = curl_init();
if(isset($password)){
curl_setopt($curl0, CURLOPT_URL, $vst_url);
curl_setopt($curl0, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl0, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl0, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl0, CURLOPT_POST, true);
curl_setopt($curl0, CURLOPT_POSTFIELDS, http_build_query($postvars[0]));
$r1 = curl_exec($curl0);
}
else{$r1 = 'x0';}
if($email != $_POST['email-x']){
curl_setopt($curl1, CURLOPT_URL, $vst_url);
curl_setopt($curl1, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl1, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl1, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl1, CURLOPT_POST, true);
curl_setopt($curl1, CURLOPT_POSTFIELDS, http_build_query($postvars[1]));
$r2 = curl_exec($curl1);
}
else{$r2 = 'x0';}
if($language != $_POST['language-x']){
curl_setopt($curl2, CURLOPT_URL, $vst_url);
curl_setopt($curl2, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl2, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl2, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl2, CURLOPT_POST, true);
curl_setopt($curl2, CURLOPT_POSTFIELDS, http_build_query($postvars[2]));
$r3 = curl_exec($curl2);
}
else{$r3 = 'x0';}
if($fname != $_POST['fname-x'] || $lname != $_POST['lname-x']){
curl_setopt($curl3, CURLOPT_URL, $vst_url);
curl_setopt($curl3, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl3, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl3, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl3, CURLOPT_POST, true);
curl_setopt($curl3, CURLOPT_POSTFIELDS, http_build_query($postvars[3]));
$r4 = curl_exec($curl3);
}
else{$r4 = 'x0';}
if($ns1 != $_POST['ns1-x'] || $ns2 != $_POST['ns2-x'] || $ns3 != $_POST['ns3-x'] || $ns4 != $_POST['ns4-x'] || $ns5 != $_POST['ns5-x'] || $ns6 != $_POST['ns6-x'] || $ns7 != $_POST['ns7-x'] || $ns8 != $_POST['ns8-x']){
curl_setopt($curl4, CURLOPT_URL, $vst_url);
curl_setopt($curl4, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl4, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl4, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl4, CURLOPT_POST, true);
curl_setopt($curl4, CURLOPT_POSTFIELDS, http_build_query($postvars[4]));
$r5 = curl_exec($curl4);
}
else{$r5 = 'x0';}
if(isset($cookie)){
setcookie("theme", base64_encode($_POST["cookie"] . ".css"), time() + (10 * 365 * 24 * 60 * 60), '/');
}
header('Location: ../profile.php?settings=open&returncode=' . $r1 . '.' . $r2 . '.' . $r3 . '.' . $r4 . '.' . $r5);
?>
Code: Select all
if(isset($password)){
Code: Select all
if($password != ''){
Re: Custom Front End Interface
Okay, I see the problem now. The correct solution although is to changesuperstar wrote:but now i am fine just change to
Code: Select all
if(isset($password)){
btw: are u already test about this in urs v0.3.1 ? if u don't believe me test its bro :DCode: Select all
if($password != ''){
Code: Select all
if(isset($password)){
Code: Select all
if(isset($_POST['password'])){
Re: Custom Front End Interface
yes .. it is ... i like urs userinterface project that why just searching the bugs to be perfect project :Dcdg wrote:Okay, I see the problem now. The correct solution although is to changesuperstar wrote:but now i am fine just change to
Code: Select all
if(isset($password)){
btw: are u already test about this in urs v0.3.1 ? if u don't believe me test its bro :DCode: Select all
if($password != ''){
toCode: Select all
if(isset($password)){
Like I said, I did test it in a server running v0.3.1 and did not encounter the error, but I will add this to the next update.Code: Select all
if(isset($_POST['password'])){
Re: Custom Front End Interface
Version 0.4.0 has just been released, compared to version 0.3.0, VWI now features:
Automated Installation
Automated Updater
Automated Uninstaller
Web Based Configuration
Update Checker
Connection Checker
Theme Switcher
Translation Support
Softaculous Support
Google Analytics
New Documentation
Upgraded Download System
Default Language Selector
Infrastructure Upgrades
UI Upgrades
Stability & Bug Fixes
Thank you to everyone who has been testing it out. Please let me know of any improvements or bugs. Thanks!
Automated Installation
Automated Updater
Automated Uninstaller
Web Based Configuration
Update Checker
Connection Checker
Theme Switcher
Translation Support
Softaculous Support
Google Analytics
New Documentation
Upgraded Download System
Default Language Selector
Infrastructure Upgrades
UI Upgrades
Stability & Bug Fixes
Thank you to everyone who has been testing it out. Please let me know of any improvements or bugs. Thanks!
Re: Custom Front End Interface
very nice :Dcdg wrote:Version 0.4.0 has just been released, compared to version 0.3.0, VWI now features:
Automated Installation
Automated Updater
Automated Uninstaller
Web Based Configuration
Update Checker
Connection Checker
Theme Switcher
Translation Support
Softaculous Support
Google Analytics
New Documentation
Upgraded Download System
Default Language Selector
Infrastructure Upgrades
UI Upgrades
Stability & Bug Fixes
Thank you to everyone who has been testing it out. Please let me know of any improvements or bugs. Thanks!
Re: Custom Front End Interface
Great Job !
-
- Posts: 28
- Joined: Thu Jan 04, 2018 5:33 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: Custom Front End Interface
Looks miles better than the current one and a lot easier to use for users...
I would make everything a bit smaller on under the bandwidth, disk space etc header to make it more pleasing to the eye and would limit having to scroll down but apart from that I am quite excited to see the end product.. :)
I would make everything a bit smaller on under the bandwidth, disk space etc header to make it more pleasing to the eye and would limit having to scroll down but apart from that I am quite excited to see the end product.. :)
Re: Custom Front End Interface
Thank you! I will take a look into the options to make it look better. I was thinking of possibly removing everything below the manage list and disk space breakdown, but I'll see what looks best. Or what users think looks better.liamgibbins wrote: ↑Wed Feb 07, 2018 9:01 pmLooks miles better than the current one and a lot easier to use for users...
I would make everything a bit smaller on under the bandwidth, disk space etc header to make it more pleasing to the eye and would limit having to scroll down but apart from that I am quite excited to see the end product.. :)
Re: Custom Front End Interface
Very nice
What is the status with development ?
when i use the application i get some error in logs
[:error] [pid 31739] [client xxxx:32960] PHP Notice: Undefined index: r5 in /home/admin/web/domain/public_html/profile.php on line 498
What is the status with development ?
when i use the application i get some error in logs
[:error] [pid 31739] [client xxxx:32960] PHP Notice: Undefined index: r5 in /home/admin/web/domain/public_html/profile.php on line 498