WHMCS sell in multiple currencies for the same customer

# Hello,
# Recently I came across this strange scenario where I had to sell product A in USD and product B in EUR for the same customer on my website xsl.tel. (In the current WHMCS currency system, the customer can select a currency at registration and must create a new account with a new email address to use a different currency.)
# Unfortunately WHMCS has no such function due to its core design (database structure) and I could not find an addon that could help with this scenario.
# I had to use my brain to find out, so I came up with this solution.
# Basically, we use our licensed WHMCS installation to work with multiple databases based on client cookies, which we set up using a small PHP script, and then redirect the coming client to the requested WHMCS page.

# Professionals
# * -> This solution lets you share your current clients with DB Views for sub-installations (or distribute your clients across multiple databases).
# * -> You can run (test, develop, etc.) an unlimited number of WHMCS licenses on the same installation.
# * -> You can run WHMCS installations in multiple currencies / languages.
# * -> You can run cron for any newly created system.

# Disadvantage
# * -> Pipe response-to-answer ticket function is lost because you can not pass parameters to the pipe.php file. (However, this is possible via the pop3 import function).
# * -> Paypal IPN does not work with sub-installations (IPN is only sent to the main installation).
# * -> Some modules may not work. I did not test everything.
# * -> You can log in to one system per browser for both the administrator and the client.
# * -> Enabling WHMCS automatic data retention removed the client data when I ran the optional step of merging the two system client data.

# Let's go to work
# In this tutorial, you need to create a new database called eudb_name
# The following steps assume that you already have WHMCS installed and have no data on it.
# Edit your configuration.php as follows (do not forget to change the database name, database usernames, and DB user passwords).
// ======= BEGIN of configuration.php content

Code:

<? php
$ license = & # 39; YOUR LICENSE & # 39 ;;
$ db_host = & # 39; localhost & # 39 ;;
$ cc_encryption_hash = & # 39; some_random_chars_here & # 39 ;;
Switch ($ _ COOKIE['clientbase']) {
Case "us":
$ db_username = & usdb_usr & # 39 ;;
$ db_password = & usdb_password & # 39 ;;
$ db_name = & usdb_name & # 39 ;;
$ mysql_charset = & utmp8 & # 39 ;;
$ attachments_dir = "/ path / to / us / attachments";
$ downloads_dir = "/ path / to / us / downloads /";
$ templates_compiledir = "/ path / to / us / templates_c /";
break;
case "eu":
$ db_username = & # 39; eudb_usr & # 39 ;;
$ db_password = & # 39; eudb_password & # 39 ;;
$ db_name = & # 39; eudb_name & # 39 ;;
$ mysql_charset = & utmp8 & # 39 ;;
$ attachments_dir = "/ path / to / eu / attachments";
$ downloads_dir = "/ path / to / eu / downloads /";
$ templates_compiledir = "/ path / to / eu / templates_c /";
break;
                // if no cookie is set, we pass default us db to our client
Default:
$ db_username = & usdb_usr & # 39 ;;
$ db_password = & usdb_password & # 39 ;;
$ db_name = & usdb_name & # 39 ;;
$ mysql_charset = & utmp8 & # 39 ;;
$ attachments_dir = "/ path / to / us / attachments";
$ downloads_dir = "/ path / to / us / downloads /";
$ templates_compiledir = "/ path / to / us / templates_c /";
break;
}

// ======= END of the configuration.php content

# Then create a new folder in your public HTML folder and name it "us".
# and create .htaccess and index.php files and edit them as follows

# ======= BEGIN of .htaccess content

Code:

Rewrite Engine On
RewriteCond% {REQUEST_FILENAME}! -F
RewriteCond% {REQUEST_FILENAME}! -D
RewriteRule ^ (. *) $ Index.php? Uri = $ 1 [QSA,PT,L]

# ======= END of .htaccess editing

# Make sure you change the domain in the cookie you set and the URL of your whmcs installation
// ======= BEGIN contents of index.php

Code:

    $ value) {
$ newArgs[] = "{$ key} = {$ value}";
}
$ queryargs = implode (& # 39; && # ;, $ newArgs);
header ("Location: https: // my.xsl.tel/ {$ _ GET['uri']}? {$ queryargs} ");

// ======= END of the contents of index.php

# create another folder now and call it "eu" for our EUR currency create the same files, except that you change index.php as follows
// ======= BEGIN contents of index.php

Code:

<? php
setcookie ("clientbase", "eu", NULL, "/", "xsl.tel", 1, 1);
$ args = $ _REQUEST;
unset ($ args['uri']);
$ newArgs = array ();
foreach ($ args as $ key => $ value) {
$ newArgs[] = "{$ key} = {$ value}";
}
$ queryargs = implode (& # 39; && # ;, $ newArgs);
header ("Location: https: // my.xsl.tel/ {$ _ GET['uri']}? {$ queryargs} ");

// ======= END of the contents of index.php

# MySQL works
# Now you need to export your current whmcs database (usdb_name) to mysqldump / in our tutorial and import it into our (eudb_name) or any other database (db_name)

# now if you navigate to your whmcs.domain / eu / (change the name to another to see if it is different from the whmcs.domain / us /).
# If everything works as expected, we will continue to set up cron jobs for new systems.

# Looks like we can not pass a cookie from the command line. So with this command we will run cron through wget. (Do not forget to change the domain.)
# ======= BEGIN of cron job

Code:

* / 5 * * * * wget -O / dev / null https: // my.xsl.tel/us/crons/cron.php > / dev / null 2> & 1
* / 5 * * * * wget -O / dev / null https: // my.xsl.tel/eu/crons/cron.php > / dev / null 2> & 1

# ======= END of the cron job

# Use only if you want to use the pop3 import feature to import tickets into your subsystems
# ======= BEGIN of cron job

Code:

* / 5 * * * * wget -O / dev / null https: // my.xsl.tel/us/crons/pop.php> / dev / null 2> & 1
* / 5 * * * * wget -O / dev / null https: // my.xsl.tel/eu/crons/pop.php > / dev / null 2> & 1

# ======= END of the cron job

# For security reasons, you can restrict access to / crons / folders from your server IP address to prevent bots from bombarding your cron.php with requests. So create a .htaccess file with the following instructions
# ======= BEGIN of .htaccess content

Code:

Order Allow, Deny
Allow IP OF SERVER 127.0.0.1

# ======= END of .htaccess content

# Log in to our new admin area / eu / whmcs and change the currency to EUR and the WHMCS system URL to the appropriate folders we created above. Finished.

# Optional step Merge clients and contacts from main usdb_name and eudb_name PERFORM this query in mysql as the root / allowed user for both databases
# ======= BEGIN of MySQL clients are merged

Code:

DROP TABLE eudb_name.tblclients;
CREATE VIEW eudb_name.tblclients AS SELECT * FROM usdb_name.tblclients;

DROP TABLE eudb_name.tblcontacts;
CREATE VIEW eudb_name.tblcontacts AS SELECT * FROM usdb_name.tblcontacts;

# ======= END of merging MySQL clients

# because I can not edit this post in the future. I would like to add that this tutorial is posted on the xsl.tel blog. You may want to check this URL for future updates for this tutorial
https://blog.xsl.tel/2019/05/whmcs-r…es-on-one.html

[SELL] 301 Nuke – Ultimate Protection Against Google Punishment! -. :: GSA SEO & Marketing Forum ::.

I used 301 Nuke on my websites for about 6 months (before I released the product) and I was very successful in ranking my websites (many to # 1). However, Nuke is just a tool and can be very powerful if used properly. For example, I tried the following as an experiment:

1) Enter my Money Site URL into 301 Nuke with 5 of my primary keywords with variations (these created redirected Tier 1 301 URLs).
2) I did a 301 Nuke explosion and took the created URLs and put them back into 301 Nuke for a second explosion (using these only created Tier 2 301 redirected URLs) with my primary keyword.
3) I then blew up my second Tier 2 URLs with Scrapebox

Scrapebox -> Tier 2 URLs -> Tier 1 URLs -> Money Site

With this method, a website that ranked # 5 for months was ranked # 1 in just over a week :)

Sell ​​- Limitless Hosting – cPanel Web Hosting – 5 Locations – FROM $ 0.50 / MONTH

Embed

HTML:

BBCode:

Link image:

Sell ​​- ShineServers.Com – FLAT 70% Off, SSD Storage, CLOUDLINUX, MariaDB, cPanel, Unlimited BW

Started in 2010 with the goal of providing a full range of secure web hosting services; Shine Servers currently serves thousands of satisfied customers and still counts. Registered by name of "Shine Servers LLP"In New Delhi, India and serving the world, we have a total experience of 10 years in the web hosting industry.Quality and customer service are our stronghold and you can be sure about the quality of our service and our servers We are passionate about customer service and therefore all our services are managed by us completely and at no additional cost, and you do not have to worry about your services as this is our job – we provide 24/7 technical support Every minute to serve the thousands of customers we serve from around the world.

Included in all shared hosting accounts:

  • SSD disks for DATA AND SQL.
  • Several website builders
  • Multiple CMS instant installations
  • SSH available on request
  • Ruby on Rails
  • Attracta SEO Tools
  • MySQL, PHP, Perl, Curl
  • cPanel + Softaculous
  • Immediate installation of over 300 scripts
  • Optimized WordPress and Joomla
  • Lightspeed web server optimized
  • Premium technical support around the clock
  • 100% availability guarantee
  • 30-day money-back guarantee *
  • CloudLinux & CDN from Cloudflare
  • Daily / weekly backups
  • Webmail (Roundcube, Horde, SquirrelMail) *
  • CURL, ImageMagick, GD, PHP, MySQL, CGI, IonCube, Zend Optimizer and more!
  • Weekly virus scan
  • Extended spam protection
  • Extremely secure hosting environment
  • ZERO-Oversold warranty
  • FREE migration

Payment mode: PayPal, Credit / Debit Cards, Bitcoin, Altcoins & Payza

Here are some possible configurations:

Web Hosting Plans

STARTER From 5.99 USD / month

-10 GB storage performance for solid-state drives
-Unlimited premium bandwidth
– Newest cPanel
One click installer Softaculous
-CloudFlare CDN plugin
-Unlimited add-on domains
-Unlimited subdomains
– Unlimited parked domains
-Unlimited MySQL databases
-Unlimited FTP accounts
-Unlimited e-mail accounts
-Unlimited freight forwarders
-Unlimited auto-responder
-SSH access
-Ruby On Rails *
-Perl, CGI, Python, cURL, GD2, PHP Loader from ionCube, phpMyAdmin
-Activation Time: Immediately


Click to place your order

MEDIUM from 9.99 USD / month

-15 GB of storage for solid-state drives
-Unlimited premium bandwidth
– Newest cPanel
One click installer Softaculous
-CloudFlare CDN plugin
-Unlimited add-on domains
-Unlimited subdomains
– Unlimited parked domains
-Unlimited MySQL databases
-Unlimited FTP accounts
-Unlimited e-mail accounts
-Unlimited freight forwarders
-Unlimited auto-responder
-SSH access
-Ruby On Rails *
-Perl, CGI, Python, cURL, GD2, PHP Loader from ionCube, phpMyAdmin
-Activation Time: Immediately

Click to place your order

ADVANCE From 12.99 USD / month

-25 GB of storage for solid-state drives
-Unlimited premium bandwidth
– Newest cPanel
One click installer Softaculous
-CloudFlare CDN plugin
-Unlimited add-on domains
-Unlimited subdomains
– Unlimited parked domains
-Unlimited MySQL databases
-Unlimited FTP accounts
-Unlimited e-mail accounts
-Unlimited freight forwarders
-Unlimited auto-responder
-SSH access
-Ruby On Rails *
-Perl, CGI, Python, cURL, GD2, PHP Loader from ionCube, phpMyAdmin
-Activation Time: Immediately

Click to place your order

Our goal is to provide innovative solutions that meet the ever-changing needs of our customers
SEMrush

We understand that every minute is a minute too much.

Shine Servers now offers this community the following low cost server configurations! There has never been a better time to test Shine Server. *

Accelerate your website hosting with our powerful web hosting platform.

We are not a typical website hosting provider. Our entire hosting platform is created by our experienced staff looking for performance. We use an extremely fast SSD (Solid State Drive) for your databases and files.

You do not see a plan that fits your needs? Do not worry! *
We can offer you a configuration tailored to your needs. *
Contact us with your requirements and we will send you an offer within 12 hours!
As simple as that!

How to reach us:
Write us an eMail :
Direct contact via the contact form: https://www.shineservers.com/contact.php
Website: www.shineservers.com || www.shineservers.in

Sell ​​- Sell Website Coupon Ezine – Earned $ 20,800 + With $ 3,100 + Net Profit. | Forum Promotion

3.5+ Years Premium Coupon Site – Earned $ 20,800 + with $ 3,100 + net profit.

CouponEzine.com – The website specializes in coupons, deals, promotions and discounts in many niches such as Internet, Beauty, Clothing & Apparel, Gifts, Health and Home & Garden. This is a potential and profitable niche in today's digital age.

You can extend the coupon business to many other niches, such as e-commerce, software, engineering, sports, electronics, or websites, if you like.

Total revenue for 4 years 2016, 2017, 2018, 2019 is in excess of $ 20,800 and commission income in excess of $ 3,100. The domain itself is also one 14 years old premium domain

  • Profit in 2016: $ 495.94
  • Profit 2017: 2,257.94 dollars
  • Profit in 2018: $ 303.58
  • Profit in 2019: $ 129.65

What is included in the sale?

  1. Full website source code (WordPress) + domain (free push on NameSilo)
  2. Facebook Fanpage: https://www.facebook.com/couponezine/
  3. Twitter account: https://twitter.com/couponezineweb/
  4. Pinterest account: https://www.pinterest.com/couponezine/
  5. Gmail account: couponezine@gmail.com
  6. WordPress.com account: couponezine@gmail.com

What is NOT included in the sale?

  • Web hosting account (or any hosting area .You need to buy your own hosting before you can bid)
  • Account at Commission Junction (CJ.com) and revenue at CJ
  • ShareASales account and revenue at ShareASales
  • Impact Account and Revenue on Impact
  • Vultr partner account
  • Digital Ocean partner account
  • GreenCloudVPS partner account
  • MyThemeShop partner account
  • ————————
  • CloudFlare SSL account
  • Akismet.com account

What is required to maintain business operations?

  • Write content (you can write yourself or hire freelancers, I've written and hired myself at Upwork).
  • Pay Domestic Fee: $ 12 / year for the .COM extension. Expires on 09-Jun-2020
  • Pay for the hosting fee: $ 10 / month VPS plan on Vultr
  • Do more SEO activities (I have limited skills in this area)

How does the business generate revenue?

I write and publish articles and promotions. Visitors read these promotions and click on the coupons, offers, promotions and buy products and services through my affiliate links. Then you earn me a commission.

The main commission of the partners comes from the CJ network (CJ.com).

Send me a message if you need more information.

Many Thanks,
Peter

Sell ​​- Generate more leads and track your affiliate business

Embed

HTML:

BBCode:

Link image:

Sell ​​Bitcoins – Which NON-KYC P2P Exchange is Recommended?

According to https://bitcoin.stackexchange.com/tour, this website seems to be the answer to all questions about technologies that support Bitcoin

We work together to create a library with detailed answers to all questions
Question about technologies that support the Bitcoin currency in the EU
Past, present or future.

Against this background, I assume that "everyone" also includes questions about replacement technologies such as P2P-NON-KYC exchange.

So my question is which P2P NON KYC exchange except Bisq is recommended for buying and selling Bitcoin.

It should now be clear that this question is not about "current or future market values, energy costs or availability of service providers".