-
Posts
1,387 -
Joined
-
Last visited
-
Days Won
42
Posts posted by PauloV
-
-
On 8/15/2020 at 6:43 PM, domaingood said:
Is this fully working with blesta v4.11.1 + PHP 7.4 + MYSQL 8?
We are using Redhat 8
Best Regards,
Hello Domaingood
Sorry for the late replies to all on Blesta Foruns and Discord
It should work in v4.X > + PHP 7.X > + MySql/MariaDB 8 >
1 hour ago, domaingood said:Blesta 4.12 Beta Also What about HashKey Its giving me Error
$LIVE_host = "resellers.resellone.net";
$LIVE_port = 52000;
$LIVE_sslport = 52443;
$TEST_host = "horizon.opensrs.net";
$TEST_port = 55000;
$TEST_sslport = 55443;
I have Changed your File Still not working
$connectData["osrs_username"] = $user;
$connectData["osrs_password"] = "placeholder";
$connectData["osrs_key"] = $key;
$connectData["osrs_environment"] = "PROD";
$connectData["osrs_host"] = "resellers.resellone.net";
$connectData["osrs_port"] = "52000";
$connectData["osrs_sslPort"] = "52443";Can you send me the error module log to see?
Regards,
PV -
On 2/1/2020 at 8:00 AM, domaingood said:
Hi download links not working
Hello
Links fixed. It was because we have migrated all insfrastucture recently
P.S- Sorry all Blestars for not updataing "yet" all my Modules/Plugins
-
3 hours ago, Tyson said:
Sure, upgrade to Blesta v4.7.0+ and ensure the Order plugin is using v2.20.0+. The domain module should then make the service's domain field available via ::getServiceName or the configuration value service.name_key.
Thanks Tyson I Will test it on Monday
Have a nice weekend
-
Hello Blestars
Is there a way to add a variable to the Cart Summary wen adding a service to Cart?
Exemple, I need to add the Domain Name to the Cart Summary next to the Package Name
Thanks in advance
PV
-
Hello
We have made some years in 2015 lol, long time ago a tool to map/move services from one module to outher in this case was moving from "Blesta Universal Module" to "OpenSRS Module"
We only need the Services ID from Module A (cPanel) and Module B (Direct Admin)
Here is the code exemple on the Plugin:
public function install($plugin_id) { $sendreport = null; $module_A = array('1','2','3'); // put here the Service Package Id's from Module A $module_B = array('4','5','6'); // put here the Service Package Id's equivalent to Module A to migrate $module_migrate_map = array_map(null, $module_A, $module_B); foreach ($module_migrate_map as &$value) { $upackages = $this->Record->select(array("pricing_id","package_id"))->from("package_pricing")->where("package_pricing.package_id", "=", $value[0])->fetchAll(); $sendreport .= "Module A Package ID = ". $value[0]."\n"; foreach ($upackages as $upackage) { $upricings = $this->Record->select(array("id","period","term"))->from("pricings")->where("pricings.id", "=", $upackage->pricing_id)->fetchAll(); $sendreport .= "Module A Package Price ID = ". $upackage->pricing_id."\n"; foreach ($upricings as $upricing) { $gterm = $upricing->term; if ($upricing->period == "month") $gterm = ($upricing->term / 12); $sendreport .= "Module A Price Period = ". $upricing->period."\n"; $sendreport .= "Module A Package Price Term = ". $gterm." -> Original Term = ".$upricing->term." \n\n"; $sendreport .= "Module B Package ID = ". $value[1]."\n"; $opackages = $this->Record->select(array("pricing_id","package_id"))->from("package_pricing")->where("package_pricing.package_id", "=", $value[1])->fetchAll(); foreach ($opackages as $opackage) { $sendreport .= "Module B Price ID = ". $opackage->pricing_id."\n"; $opricings = $this->Record->select(array("id","period","term"))->from("pricings")->where("pricings.id", "=", $opackage->pricing_id)->where("pricings.period", "=", "year")->where("pricings.term", "=", $gterm)->fetchAll(); foreach ($opricings as $opricing) { $opricingid = $opricing->id; $sendreport .= "Module B Package Price Period = ". $opricing->period."\n"; $sendreport .= "Module B Package Price Term = ". $opricing->term."\n"; $sendreport .= "\n\n---------------BEGINING---------------\n"; $oservices = $this->Record->select(array("id"))->from("services")->where("pricing_id", "=", $upricing->id)->fetchAll(); foreach ($oservices as $oservice) { $sendreport .= "Migrate from A to B Imported Service ID = ". $oservice->id."\n"; $this->Record->where("pricing_id", "=", $upricing->id)->where("module_row_id", "=", "2")->update("services", array("pricing_id"=>$opricingid, "module_row_id"=>"3")); $this->Record->where("service_id", "=", $oservice->id)->where("key", "=", "user1")->update("service_fields", array("key"=>"domain")); $this->Record->from("service_fields")->where("service_id", "=", $oservice->id)->where("key", "in", array("opt1","opt2","pass","user2"))->delete(); } $sendreport .= "\n------------------END-------------------\n\n"; } } } } $sendreport .= "\n\n"; } mail("notify@mydomain.com", "Blesta - Migrate from Module A to Module B Report", $sendreport); }
Hope this help someone
Regards,
PV- Tyson, Michael and Blesta Addons
- 3
-
On 7/30/2019 at 4:51 AM, Gabriel Gutierrez said:
Thanks PauloV!
Hello
Please download on the first post the updated version, replace and test it
Make sure you open the port 55443 on your firewall
Regards,
PV -
Hello @Gabriel Gutierrez
Let me try to test it tomorow on 4.6 and I will reply with an updated Version
Regards,
PV
-
For a dev, all actions have to be able to run pre eventes and after events, thas common sence
For me this is a priority one inclusion and its very easy for Paul/Tyson/etc to include in next release
- Blesta Addons and activa
- 2
-
++1 defenitly must have. If dont we have to make 2 steps like open a Ticket to inform the client the reason.
-
+1 a must have.
-
-
+1 to Portugal/Europe
- Blesta Addons and activa
- 2
-
1 hour ago, Blesta Addons said:
Welcome back again ?
in my opinion the renewal price is a good addition, sometimes you need to make a promo without offering promo code, this way you can offer promo for renewal or registering with a easy way. it left now the transfer price wit the same logic as renew price, the transfer price will be only used in order form as it happen only the first time of contract. after making a unified commands for domains modules will solve all other issues, after this two steps we can release our custom order form to the community. (used here https://nh.ma) we can't release it as we have some tweak in our modules and some core files .
In Portugal to add Promos ,the product/service has to have an inicial date and end date visible to the client or elese we are fine €€€€ big time lol
Yes, I know what your are sayng, and even now in our WHMCS we have diferent prices, but in Blesta we opt to not have diferent prices, for now -
1 hour ago, Blesta Addons said:
and the important thing is blesta has module for virtualmin, maybe someone can create a importer/migrator from cPanel module to virtualmin
I think that could be a WHMCS/cPanel killer in this critical fase on almost alf world is in the same boat
For exemple 1 click migrate all from cPanel to Direct Admin or Virtualmin lolIts not hard, the only problem is the Background job, because can take hours, days or even weeks to migrate depending on the hardware
-
Check my post here
-
On 6/15/2019 at 7:09 PM, Amit Kumar Mishra said:
@Paul i see, you have given the renewal pricing option in 4.6
but there is no one commenting in this thread, if the domain manager is working as expected
if any one would let the community know about this, would be of great importance
Cool, but now in our company we will put the same prices for registering/renewing we have think a lot and since almost every 6 months or so the proces are changed, we cannot spend time in changing the prices everytime, so we will always put the higher price for both to minimise riscs on rasing prices that we have not notice.
-
Hello blestars
My 2 cents on this mater
We are ditching cPanel for good, mass migrations servers to Virtualmin, the Virtualmin handle 100% cPanel Backups restore witout any issues and so we only need to point the DNS's to the new servers
We only made a few changes on Virtualmin. On Webmin, we add ports 2096/2097 to redirect to Usermin port 2000 and 2086/2087/2082/2083 ports to Virtualmin port 10000
We also pré-installed on the hostname phpMyAdmin and RoundCube with the Mobile Theme (https://github.com/messagerie-melanie2/Roundcube-Plugin-Mobile) to all users have normal acess to a known Webmail and MariaDB Database managment (Virtualmin alredy bring there own DataBase Managmente and Webmail software). and add a Link on Usermin Painel to open RoundCube WebmailFinally we add CSF Firewall like so:
cd /usr/src rm -fv csf.tgz wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh
- Install the csf webmin module in:
Webmin > Webmin Configuration > Webmin Modules > From local file > /etc/csf/csfwebmin.tgz > Install Module (sometimes because the webmin cache we have to make this step twice)After you install the module, you can simply log in to Virtualmin, chick on Webmin (top left) and then: System > ConfigServer Security & Firewall
Also we add PHP verions 5.4, 5.6, 7.2 (now by default virtualmin alredy brings php 5.4 and 7.2)
#we install remi repository to add more php versions and modules yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum install php56 php56-php-bcmath php56-php-cli php56-php-devel php56-php-fpm php56-php-gd php56-php-mbstring php56-php-mysqlnd php56-php-opcache php56-php-pdo php56-php-pspell php56-php-xmlrpc php56-php-memcached php56-php-iconv php56-php-zlib php56-php-mcrypt php56-php-simplexml #you cann add/remove extensions abose :)
We also add ioncube like so:
cd /usr/local wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip unzip ioncube_loaders_lin_x86-64.zip rm ioncube_loaders_lin_x86-64.zip
And add to php.ini on Virtualmin the line for exemple for php7.2
zend_extension = /usr/local/ioncube/ioncube_loader_lin_7.2.so
To start migrate you can do it on Virtualmin GUI or on CLI, on CLI (https://www.virtualmin.com/documentation/id%2Cvirtualmin_for_cpanel_users) you can make a batch file with mass import in a very easy way like so:
virtualmin migrate-domain --type cpanel --source /home/cpanel_username_backup_file.tar.gz --user cpanel_username_here --pass 'cpanel_username_password_here' --webmin #for multiple just add a .sh file with a somethin like this: virtualmin migrate-domain --type cpanel --source /home/cpanel_username_backup_file1.tar.gz --user cpanel_username1_here --pass 'cpanel_username_password1_here' --webmin virtualmin migrate-domain --type cpanel --source /home/cpanel_username_backup_file2.tar.gz --user cpanel_username2_here --pass 'cpanel_username_password2_here' --webmin virtualmin migrate-domain --type cpanel --source /home/cpanel_username_backup_file3.tar.gz --user cpanel_username3_here --pass 'cpanel_username_password3_here' --webmin #and so on...
Its more easy and less troblen then DirectAdmin, Plesk or even Interworx
Common problems after migration:
#Error 500
.htacess file with the directive "Options +FollowSymlinks" just comment that line#Rong php version (client can change PHP on Virtualmin painel)
#Some notes for anyonw that never try Virtualmin/Webmin
Virtualmin/Webmin (port 10000) Root = WHM (so many features that in the first time we "lost" inside, but the more time we spent the more you will likeit, its a lot better and more mature then cPanel)
Virtulmin/Webmin User (port 10000) = cPanel (A lot more options than cPanel)
Usermin = Webmail (but with a loit more option like POP/IMAP external emails sincronizing and SPAM filters more advanced than cPanel)The only thing is that dosent support CloudLinux (its not a downside) and dosent support Softaculous (Virtualmin has is own Software inside that you can add toyr own scripts or buy the Pro License that is 200$ per year with unlimited accounts)
The GPL verion dosent support Reseller accounts, but you can bypass this if you dont want to spend now any money, just creat on Webmin New users with permissions to only acess there clients accounts, is like a Reseller accouny but witout any limit on creating, or do it like us and create for each reseller a VPS or CLOUD server for that reseller maybe is cheper than buy a Virtualmin Pro license, on this critical faseAny problems or any douths you can ask me and I will try to fill in
P.S- We are migrating more than 5k clients from cPanel to Virtualmin and we have tested a lot Virtualmin since last year iin migrations and compability (we have several CLOUD on production with dozens of clients with CentoS 7 + Virtualmin), because of our new CLOUD platform that we have created.- Blesta Addons, Jono, katycomputer and 2 others
- 4
- 1
-
5 hours ago, Paul said:
Welcome back @PauloV Good to see you!
Thanks Paul
-
On 6/2/2019 at 9:01 PM, netflim said:
Hello We are reselling domain from OpenSRS I want to move blesta can donate if can make better order and automated system for
Manage Nameservers
Lock/Unlock Registrar
Update Contact Details
Get EPP Code
Manage DNS Records
Synchronize Domain Transfer Status
Supports IDN
Domain Redemption Fees
Hourly Cloud billing
Amazon Web Services (AWS) & Vultr with 1-Click Free OS Installation with Wordpress, Drupal & Magento LAMP via API@Paul Thanks
Hello,
I didnt update, but if you need some customisation just ask me on PM
Regards,
-
Hello to all
Finally some action, lol
to Paul, Cody, Tyson, etc (belestars staff )
Why not simple make the this approche like I have done 4 years ago ?
My Original Post:
Quote========= Patch files for diferent prices to work (Registration / Transfer / Renew) ========
for this to work correctly you have to download the correct pach files below and replace the original ones (make a backup of the original, to reverse if you dont whant) that are:
app/modules/packages.php (this only make a smal change to a funtion to make it public and not private)
plugins/order/lib/order_types/domain/order_type_domain.php (this make some changes to detect if it is a transfer or a normal registration and it gets the correct prices and/or tld's for it)
Patch for blesta 3.3 - Download Patch Files
Patch for blesta 3.4 - Download Patch Files
Patch for blesta 3.5 - Download Patch Files
Note: Wen applying this pach files, if you have any outher Domain Module, you have to make some small changes on your Domain Module to be able to work 100%, it only needs to add the two new types "domaintransfer" and "domainrenew", if you whant help for this please post here.
==================================================================This fixes almost everything, you can add diferent prices for diferent Types (Register/Transfer/Renew) and only needs 2 simples modifications on CORE to detect the type and apply the prices, after that wen registering or transfering a domain, the cron that register or transfer, applies the price added on type "Renew".
Simples has that
For multiples prices upload, just make a simples CSV/XML/JSON option to be able to upload all proces at once, I thin it resolves everithing and there is no need to make huge core changes
I hope to help more in this foruns very busy this few years also on CLOUD buisness now and so more work eheh
Regards to all blestars
-
Hello
@GosuHost Thanks
@turner2F Just replace and upgrade like @GosuHost said dont forget !!!!BACKUP BACKUP BACKUP!!!! always
For the sub accounts emails, I will see how to implement
Regards,
PV
-
1 minute ago, turner2f said:
Thanks for the update ?
1) - Would there be a way to limit the file size, the amount of files and the type of files that can be uploaded ?2) - Would there be a way to manually allocate / assign a random ticket to a user's account ?
Sometimes we get tickets from clients that work together at the same company that are not registered in the the system, and we would like to assign their ticket to an existing account .
3) - After upgrading to Blesta 4.2.2 and PHP 7.0, would we just over write the old "Support Manager Pro" files with the new ones. Or do we have to delete first ?4) - Will there be any changes to the database ? Would we lose any of our current tickets ?
Hello
1- Yes. I will add to the To-do list
2- Yes. I will add this next relase
3- =BACK BACKUP BACKUP FIRST EHEH ? =Just overwrite, dont forget to go to System->Plugin->Upgrade on Support Manager Pro
4- Yes, there some changes to the DB but you will not loose anything on the upgrade
-
Hello Blestars
New update added Check first post
Regards,
PV
-
Hello,
Sorry the late reply.
Its should work
Regards,
PV
[Module] Opensrs - Beta 1.0.8 Relesed :)
in The Marketplace
Posted
Hello
On your logs the comand is completed sucessfully