Jump to content

RstsTeam

Member
  • Posts

    14
  • Joined

  • Last visited

2 Followers

About RstsTeam

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

RstsTeam's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Thank you, i managed to find my issue. It was connection timeout that was killing return of 'success' or 'error'
  2. Okay so i managed to solve issue number 1. Now i have remaining issue when i return anything it's always sucess and when i return $data WHMCS just won't show anything but it's still passed as success ``` } catch (Exception $e) { // Record the error in WHMCS's module log. logModuleCall( 'vps', __FUNCTION__, $params, $e->getMessage(), $e->getTraceAsString() ); return $e->getMessage(); } return 'success'; } /* testing code $data = array( 'error' => 'Custom error testing', 'success' => 'success', 'data' => $data ); return $data; } */
  3. ``` } catch (Exception $e) { // Record the error in WHMCS's module log. logModuleCall( 'vps', __FUNCTION__, $params, $e->getMessage(), $e->getTraceAsString() ); return $e->getMessage(); } return 'success'; } /* testing code $data = array( 'error' => 'Custom error testing', 'success' => 'success', 'data' => $data ); return $data; } */ /* use WHMCS\Database\Capsule; ``` It's Lavarel framework https://developers.whmcs.com/advanced/db-interaction/ //This is example custom filed that i have on //product $vpsusername = $customfields['VPS Username']; /* Now I can enter and save VPS Username field in WHMCS client product admin area but I would like to automatically generate service username and password and update customfield value in database. By looking into database I found how is value of customfield saved. */ SELECT * FROM `tblcustomfieldsvalues` ORDER BY `tblcustomfieldsvalues`.`updated_at` DESC relid 216 Hello, I'm building custom server module for automatic vps setup based on client order. Main part is finished when order is accepted server building is started and everything is working great. Now I want to extend and improve module with new functions. 1. On module _Create i would like to update automatically generated service username and password and update that generated values to customfield values in database. How to do that and if it's even possible? 2. I have an issue where I can't get custom return in latest WHMCS update. Earlier you could return success or custom message. Now custom message is not accepted for some reason only success or error is . Question is how to get custom errors or custom return messages back from remote script. Only success is accepted as whmcs solution or I'm missing something. Thank you in advance
  4. Hello Maybe i was not online at that moment. Module is still active please join our Discord and DM Lucas. Our Discord Server https://discord.gg/cb3jRbA
  5. Hello maybe i was not online at that moment. Module is still active please join our Discord and DM Lucas. Thank you
  6. Server Module for phpMyAdmin (Create , Delete Database , Change Password) Offer your clients free or paid database by simply creating new product. We have created this for our game servers but it can be very usefull in many other projetcs Database name must be from 4-12 characters long alphanumerical plus underscore allowed Database and User Name name is generated from Userid_Serviceid_DatabaseName for example (2_68_testdb) Any error on creating account will be announced by the module to administrator. Module will terminate account automatically if cancelation request is received. Welcome email with database details for you to use in your scripts.* You must configure new email template for this feature. One click auto login to phpMyAdmin User can change password from Services under Actions Tab https://ibb.co/bG97Xa https://ibb.co/mB3ZCa https://ibb.co/buYqkv https://ibb.co/nzuwQv The module price is 50€ one time payment. You can ask for testing version in our Discord channel. Module can be edited to your wishes. Discord Channel
  7. Server Module for phpMyAdmin (Create , Delete Database , Change Password) Offer your clients free or paid database by simply creating new product. We have created this for our game servers but it can be very usefull in many other projetcs Database name must be from 4-12 characters long alphanumerical plus underscore allowed Database and User Name name is generated from Userid_Serviceid_DatabaseName for example (2_68_testdb) Any error on creating account will be announced by the module to administrator. Module will terminate account automatically if cancelation request is received. Welcome email with database details for you to use in your scripts.* You must configure new email template for this feature. One click auto login to phpMyAdmin User can change password from Services under Actions Tab https://ibb.co/bG97Xa https://ibb.co/mB3ZCa https://ibb.co/buYqkv https://ibb.co/nzuwQv The module price is 50€ one time payment. You can ask for testing version in our Discord channel. Module can be edited to your wishes. Discord Channel - - - Updated - - - https://ibb.co/bG97Xa https://ibb.co/mB3ZCa https://ibb.co/buYqkv https://ibb.co/nzuwQv - - - Updated - - - https://ibb.co/bG97Xa https://ibb.co/mB3ZCa https://ibb.co/buYqkv https://ibb.co/nzuwQv
  8. This module is now for sale Currently we have following features. - Database name must be from 4-12 characters long alphanumerical plus underscore allowed - Checking if database name is already taken on checkout (Gonna update this later to check it first) - Any error on creating account will be announced by the module to administrator. - We decided to allow only one database per client/game server. If you by any chance need more open a support ticket. - Module will terminate account automatically if cancelation request is received. - Welcome email with database details for you to use in your scripts. - Only clients with active game server will be able to create order. - One click auto login to phpMyAdmin - Client is allowed to change Password
  9. I have decided to create module by my own. The offers i got are insane... Anyway advanced working module. Gonna expand it day by day If you are interested contact me.
  10. Hello to all again. I have finnaly managed to get some spare time to create this provisioning module. Module now can create phpMyAdmin user with password. And it can create desired database for the user. This is just basic and i will extend this module over next few days. I would like to thank again for all offers. Except for those rip offs If anyone is interested in module for himself contact me.
  11. Hello, I'm looking for somewone who is willing to create server module for phpMyAdmin. Module should connect to phpMyAdmin via assinged account for example (myusername , mypassword) The module should have following functions -Order new database -Create Database (user inserts database name) phpMyAdmin user should be created as same user as WHMCS (email/pass) - Login button in service area with auto login to phpMyAdmin - Change Password for database - Delete database. This will be used as free addon for my game servers. So users can create their own databases easy with few clicks. If anyone is willing to create a custom server provisioning module please let me know. It should be fair easy with few SQL queries. I already have something done via hooks but i want it to be as server module. Thanks - - - Updated - - - Or if somewone knows where i can get this module https://forum.whmcs.com/showthread.php?42609-Easily-Sell-MySQL-Databases-via-phpMyAdmin-This-Module!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated