gcphost
Retired Forum Member-
Posts
47 -
Joined
-
Last visited
About gcphost

Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
gcphost's Achievements
Member (2/3)
0
Reputation
-
Please use the revised file here, I failed to realize some of the setting variables seem to conflict with the user login system of WHMCS (oops!) - updating the names has fixed the issue. $plug_banned=array("ru", "ro"); $plug_url = ""; # URL to WHMCS API file $plug_urlapi = ""; # URL to WHMCS API file $plug_username = ""; # Admin username goes here $plug_password = ""; # Admin password goes here $plug_packagenum=array("2"); validate_country.zip
-
Well in a few hours I managed to write a hook to do this, thanks anyway! http://forum.whmcs.com/showthread.php?p=189832#post189832
-
Hi WHMCS users! Here is my most recent hook! It is designed to suspend packages ordered by users in certain countries, defined by an array. A user orders a product defined in an array inside the hook The users IP address and Country is validated against a list of countrys to deny activation If the users country is in the list the hook will suspend the users product & notify both the user and admin It is a very simple hook and requires minor configuration to operate correctly. $url = ""; # URL to WHMCS , no trailing slash $urlapi = ""; # URL to WHMCS API file $username = ""; # Admin username goes here $password = ""; # Admin password goes here $packagenum=array("2"); # Array of the packages to validate on $banned=array("ru", "ro" ,"us"); # Array of lower case country codes to validate on The $packagenum should contain an array of packages you want to validate, for example, package #2 for me is a Free Trial package The $banned should contain an array of country codes, lower case, that match the WHMCS profile fields & the iptolocation fields (they are standard codes), example - ru, ro, us, au, de If there are more questions about the config please reply, everything else seems standard. Installing: Download the database script @ http://gamecp.com/iptocountry.sql Import the table to your WHMCS database Configure the validate_country.php with a list of packages and countrys to ban Upload the validate_country.php file to your hooks folder Enjoy! If you find this useful send me a donation! gcphost AT gmail DOT com via PayPal - or email me - as I accept many forms of payment. validate_country.zip
-
Hi I did start testing shortly after writing this - with AfterShoppingCartCheckout - as I have used this before, I seem to be able to gather the information I need with this - and I guess I could simply use the API to cancel, or suspend, the users order - then notify both admins and client that the order requires manual approval. Still open to suggestions.
-
Hi all I need to make a hook that can disable auto-activation of a product. The hook would determine if a user was a bad user - and would then prevent their package from auto-activating thus requiring manual activation. I tried AcceptOrder but didnt see any results, so I am left wondering what to do with it. My goal is this: user orders hook checks the users location if the location is one of a few in an array the order will be set to manual activation, not auto accepted I am happy to also cancel the order if auto activation cant be disabled. If someone can point me to a few hooks - or ideas - on how to do this, I'd be great-full. Basically I am trying to disable auto activation of a free trial product from Russia and Romania - the two largest abusers of my free trial. This is the only valid solution I can come up with. Thanks!
-
The license add-on should be required, you could mod this for other things but this is designed for the whmcs license add-on. You can mail me, gcphost AT gmail DOT com if you want to donate to receive it - or be a developer.
-
Hi I have not yet needed to do any updates, the module I made works really simple and fairly well with the whmcs license add-on they sell. I had several people interested, a few donations, but no follow ups and no new developers. I'd love to have a new dev expand on this, otherwise I may just leave it fairly simple - to allow anyone - to expand.
-
Thats great! Drop me a mail gcphost AT gmail DOT com and say you'd like to develop on it and I will send it over this week. I've been using it since I wrote the first post and I love it! 10x better then WHMCS's crappy plugin.
-
Over 80% of my "legit" users do, sorta stupid not to when we promote it and want users to try before they by, saves a lot of hassle. Question still stands, what do you do to help prevent or avoid the abusers? Not offering a trial is not a solution.
-
Hi all I've been using WHMCS + the free trial add-on for the license add-on for some time now. Users continue to massively abuse the free trials, registering multiple accounts or multiple trials per account. I built a new license manager to show me who has multiple trials, based on their license domain or ip. It still takes hours each day to bust the trial abusers, I then must IP Ban then on the server itself to ensure that even if they manage to register a new trial - it wont work - most keep the same ip, some dont and get right by their ban. What do you do to prevent trial abusers?
-
Hi If you rename it to licenses_manager, the folder and file, it will replace what WHMCS provides and works much better. * Please note when emailing me to include the url to this topic as I have other mods for sale, I may get confused.
-
Great! drop me an e-mail, I cant upload files here.
-
Hello WHMCS users! I have created a new license manager for the WHMCS License Add-on. Here are some upgrades this features over the default one provided by WHMCS its open sorce, you can edit it & add new features you can search with multiple values you can see similar licenses based on ips or domains there is a back to list button when editing licenses you can sort by column It is easy to use as a new add-on or a direct replacement for the WHMCS one (just name it licenses_manager). I have attached 2 screen shots. You will find this looks nearly identical to what WHMCS provides (same layout) but the backend has changed to enable the new features. Want the module? I am happy to provide the module for a small donation or to those who are willing to contribute the the development of the module. Contact me at gcphost AT gmail DOT com or send me a message/reply here.
-
my $.02 says to contact whmcsbb, if you cant - or they dont reply - id question using their software.
