CrimsonGT
Retired Forum Member-
Posts
48 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by CrimsonGT
-
I am currently hooking "ShoppingCartCheckoutCompletePage" and sending a notification e-mail to our admins when it occurs. However, I only want to send a notification when a certain Product is ordered, and I assume I will need to query this from the Database directly, but not sure the best way. How can I determine what Product ID an order is for?
-
Find Client ID in AfterShoppingCartCheckout Hook
CrimsonGT replied to CrimsonGT's topic in Developer Corner
Ah perfect, thank you so much. Been using my own tables so much I actually forgot I had access to the full WHMCS Database from within a module lol. -
As we don't currently have any notifications when a new Dedicated Server has been ordered (we do manual setups), we only notice them when we are going through accepting orders. I am working on creating a hook for "AfterShoppingCartCheckout" but "$vars['params']['clientsdetails']['userid'];" doesn't exist for that hook. I need the Client ID to create a new Support Ticket with the client via code, so I have to figure out some way to find it. Is there any way to find the Client ID in this hook, or maybe there is a better hook that I can use once a customer has ordered/paid for a Dedicated Server?
-
I have been developing an Addon Module for a week or so now, and have been avoiding completing my code that requires forms. With my forms, when the input data from the user is submitted, I need to write the data to the WHMCS Database. Whenever I try and use a separate file for the form action, such as form_output.php, the WHMCS Database is no longer accessible (would require I manually do the connection). What would be the best approach to accept user input with an HTML Form or any similar methods, and then write the data to the WHMCS Database?
-
I am currently working on developing my first WHMCS Addon Module, and so far everything has gone very well. However, I need to make multiple content pages, and the only way to display output according to the Wiki Article is to echo it in the output function. How can I create individual pages when the only way to display content is via a single PHP function? I am assuming using divs, and hiding the relevant divs, although not exactly the best method. It says you can use the "modulelink" variable to link back to the module, but I have no idea how to use this, or if it can be used for making multiple content pages.
-
Writing a MySQL Database Deployment Module
CrimsonGT replied to CrimsonGT's topic in Developer Corner
Ah okay. I was hoping that there was an easier way, but that will work then. Thank you! -
Hello, I am working on a Server Provisioning module for our WHMCS system (and to distribute on the WHMCS forums) that will allow for us to easily deploy a MySQL Database install to a variety of locations. Currently our customers must request their Free MySQL Database, then our techs must manually set it up using a small web script we have written. So far everything is looking great, but I have ran into one small issue. I have setup each one of our locations that we offer MySQL Databases as a separate Server in WHMCS. This has the root username/password for the MySQL Database and the IP of it, all of which are needed to create the database. However, I would like to make the location a configurable option where the user can choose where to install it. I don't know how to tie the location in a Config Option with the corresponding Server entry in WHMCS though. What would be the best way to do this?
-
As we have expanded into the Dedicated Server market quite a bit recently, we are noticing a huge amount of our new customers are spammers. As some of them have clients on their machines responsible, we are giving the customer 1 warning prior to termination of their service. With VBulletin there are systems that let you issue Warnings/Alerts/Flags on specific users. Does anything like this exist for WHMCS in which we could easily see that a customer already has existing warnings on their account?
-
Using Text Area field in Welcome E-Mail Template?
CrimsonGT replied to CrimsonGT's topic in General Discussion
Yeah, I am assuming some sort of Line Break may be necessary, but I would like to avoid it if possible to keep the field clean in the product. -
I currently have added a Text Area to our Dedicated Server products where we can list out each usable IP that the machine has. However, when I include this field in the Welcome E-Mail Template that I made, despite each IP being on a different line, it lists them horizontally making it unreadable. How can I fix this to force them to list vertically as they are shown in the Text Area on the Product Page?
-
I am wondering if WHMCS has any way to make either Custom Fields or Configurable Options as a sub setting of another Custom Field or Configurable option? To explain better, I want to have a checkbox, and if it is selected, have it show a dropdown box (config option or custom field). If it is deselected, the option goes back to being hidden. Is this doable?
-
Response Time Pro [Open Source]
CrimsonGT replied to jeremyhaber's topic in Commercial Modules and Addons
The Kayako system we used to use just tracked initial responses to tickets since obviously after that they may be on hold indefinitely. Does this work the same way? Also, the widget php file seems to be encrypted. Are there any instructions for using it? -
Hi, Our company has a client who is creating contacts on his account so that they can submit support tickets as well. He has requested that we find some way to make his personal information hidden from these contacts. In the end, I just wound up removing his personal details from the file, but he has now requested his paid invoices and old support tickets be removed as well so that they cannot be seen either. So is there some way just to hide this information from sub-accounts/contacts made on the users account? I really have no idea why all of this is visible to them.
-
<<snipped>> This is indeed an owned license, I bought it around July of last year and like others have said in this thread, it should still work minus the updates. Thanks to those of you that weren't rude about it, I will file a ticket.
-
My license expired, and while I no longer need WHMCS for my company (I never opened so it has just been sitting) I was going to use my install to do some development. I went to access it, and my WHMCS won't even work now that my license has expired. Is this normal? I am used to not getting updates anymore after software license expires, but just shutting down my WHMCS because I don't have an active license seems absolutely ridiculous...
-
If I delete a configurable option, and I have clients with subscriptions to it, will they be fine, or will it screw with their service/pricing? I am hosting voice servers, and I made a custom configurable option just for a few clients who wanted an amount of slots I dont offer. I would like to delete this, but don't want to screw anything up for them.
-
Hi, I cannot get QWHMCS to work on Windows 7 (it used to work fine when I had XP) but it just seems to have a lot of issues with new operating systems. Im interested in creating a tool similar to it, as I have been using Kayako InstaAlert and it is a life saver. My problem is that I checked out the QWHMCS source code, and it is all in a different language (completely unreadable) as well as I do not do visual basics either. I am creating a new application using Qt and c++ but im trying to figure out what method would be suggested for checking ticket information, such as new tickets, and so on. I would like to use the API, but this type of project for me is a bit different from what I am accustomed to, so im not sure what the best method of connecting to the API from a remote application would be. Any information would be great, thanks!
-
How to : Direct Order Link Preset Selections
CrimsonGT replied to Miron's topic in General Discussion
Thanks Matt! -
How to : Direct Order Link Preset Selections
CrimsonGT replied to Miron's topic in General Discussion
Bumping this as well, love updates that dont tell you anything about how to actually use it. lol -
So I setup a subdomain on my webhost, its clientarea.brutalservers.net and it works fine. It is set to point to my /whmcs/ directory. However, when I go to brutalservers.net/whmcs/admin it bugs out about the license key being invalid blah blah, whereas clientarea.brutalservers.net/admin works fine. Do I need to do something to get this to work?
-
Thank you Im hoping this question isnt too specific. Its a mod written by Siforek but I dont know when he will be around. Were using his Quickbuy script, and were using it like so... http://www.brutalservers.net/whmcs/quickbuy.php?pid=2&Tickrate=100|100 Tickrate&ServerFPS=600|512 FPS&Game%20Description=on&PlayerSlots=16PUB|16 Slots&go=checkout The Tickrate and ServerFPS fields work fine, but the other two dont. Ive tried every combination I can think of from... &PlayerSlots=16PUB|16 Slots &PlayerSlots=16PUB|16%20Slots &PlayerSlots=16PUB &PlayerSlots=16 Slots None of which are working. It just doesnt make any sense to me that two configOptions would work, and two other ones wouldnt. If anyone has any idea (maybe a syntax mistake?) I would be most appreciative!
-
whmcs or forum for Network Issues? which do you prefer?
CrimsonGT replied to jnet's topic in General Discussion
I prefer the look of Forum announcements. -
Nevermind, I figured that out just using QuickBuy lol. One other question that popped up though if you have time. Some of my params are working and some arent. Me and another guy have been messing with it for an hour and were both at a loss. http://www.brutalservers.net/whmcs/quickbuy.php?pid=2&PlayerSlots=PRI12|12 Slots Private&Tickrate=100|100 Tickrate&ServerFPS=600|512 FPS&Game%20Description=on&go=checkout We are working with that, and Tickrate/ServerFPS are working fine, PlayerSlots and Game Description dont. Do you have any thoughts as to why? Heres the order form through WHMCS... http://www.brutalservers.net/whmcs/cart.php?a=confproduct&i=1
-
According to my TCAdmin setup pdf, we can do dropdowns like "62|Hi im 62" and 62 is the value passed to TCAdmin from WHMCS, and the dropdown box shows "Hi im 62". Im wondering if this is part of the TCAdmin module, or if this is a WHMCS thing.
-
Siforek: I use values and friendly names for my dropdowns, when passing them through Quickbuy do I need to use both, or just the friendly name? Like for my TCAdmin datacenter dropdown, it looks like TCXXXXXXXXXXX|Chicago, IL would I just pass like &Location=Chicago,%20IL or does it have to be the fullpath? Im not sure if using value|friendlyname is a tcadmin module thing or a whmcs thing.
