Jump to content

Settings VPS/Dedicated servers up


dbmv

Recommended Posts

I really need a walktrough for this..

 

I need to know how I can add the IPs for VPS systems (or dedicated servers) into the Welcome email, along with making them show up in the profile of the service (to keep track of all IPs).

 

I know there's a way to do that using the custom options fields, but I don't know how and what variables to use.

 

Thanks in advance

Link to comment
Share on other sites

Hi Matt!

 

Yup, now I see them. I was looking at the wrong page (the page where you edit the product, not the one under the client).

 

So I just enter [DedicatedIP] and [AssignedIPs] somewhere in the welcome email, and it will fill in the info?

 

And one last thing...is there someplace where we can see the full list of variables that we can use for whmcs?

Link to comment
Share on other sites

Hi Matt,

 

Works great, thanks!

 

Right now, I have a custom field called SSH Port

 

Would the variable be called : [Custom-SSH Port] or should I named it SSH, thus [Custom-SSH]?

 

Just asking because I see all of the other variables don't have spaces...

Link to comment
Share on other sites

And one last thing...is there someplace where we can see the full list of variables that we can use for whmcs?

 

I too have been interested and looking for a list of variables with no luck. If one exists, that would be great, if not I am working on one as I find the different ones.

Link to comment
Share on other sites

  • 1 year later...

not to beat a dead horse, or bump this old thread, but isn't {debug} just going to print out the variables that are available for that particular page?

 

If so, how would one go about getting a full list of all the variables used in the entire system? And how would one make other variables available?

 

If that is all of them, please disregard.

 

Thanks.

Link to comment
Share on other sites

not to beat a dead horse, or bump this old thread, but isn't {debug} just going to print out the variables that are available for that particular page?

 

If so, how would one go about getting a full list of all the variables used in the entire system? And how would one make other variables available?

 

If that is all of them, please disregard.

 

Thanks.

 

 

Why would it matter? you cant access variables that are available on other pages but not the current one. Debug will show you all available variables in general for that page. If you need more data, create a smarty plugin that pulls the info out of the db.

Link to comment
Share on other sites

  • 3 months later...
As has been discussed many times, just enter {debug} in your template and visit the page in your browser. Then you'll see everything that's available.

 

Matt

 

 

Sorry to bump this old thread, but I didn't find any other reference to this. How / where / which template do I add the {debug} option in order to see the available info?

Link to comment
Share on other sites

for example if you are interested to see the variables available for the invoice page, you put {debug} on the top of the whmcs_dir/your_template/viewinvoice.tpl.

 

then when you open an html invoice in a browser(viewinvoice.php), another page opens up with the variables you need.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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