How do I change the "Register Domain" link in the HostBill Client Area?

Started by thetrusteeco, June 11, 2013, 12:20:47 AM

thetrusteeco

Does anyone know how to change the default service for the "Register Domain" link in the HostBill Client Area?

For some reason mine is going to a "backorder domains" page we made and isn't going to the "Bulk Domain Search" which we'd like it to go to.  My customers are both confused and angry about this.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

Come to think of it, does anyone know how to get rid of all the extra "stuff" in the customer's back-end?

By just I mean:
Product Name     Order Now!
Product Name     Order Now!
Product Name     Order Now!
Product Name     Order Now!

I just want my customers managing their services in the client area.  I have had customers complain about this quit vehemently.  I know this issue was brought up in the old HostBill forums, and then became a debate about the validity of all that "stuff".  I obviously don't want to debate it's validity if you want to keep it in your site, then do so.  I just want it gone.

Any ideas?
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

#2
Okay to the getting rid of "extra stuff" question, here's a simple solution.

Apparently there is a setting somewhere that let's you turn off the "Offers" in the Client Area.  Either this setting is something I'm missed for a couple years (possible because I don't look at everything all the time), or it's something KBKP planed and never finished implementing.

On the /Your Template/clientarea.tpl file there is the following string:

{if $offe.total<1 &&  $offe.visible=='1'}

Change the 1 to something else and the "extra stuff" goes away.  This is a terrible way to fix this problem as it'll be overwritten the next time you do an update unless you block updates to this page, and this seems like an important page to get updates for.

If anyone knows were the $offe.visible=='0/1' variable is set, please let me know.  Otherwise if anyone uses this solution, either set clientarea.tpl to not auto-update, or make a note to change your settings back after each update.

Note to KBKP: if this is something you planned and coded but didn't put into the HostBill Setting, please add it.  It's a great feature to be able to turn off.  I know a lot of businesses will want it one, but some like my business will want it off!  On the other hand if I missed an obvious setting, please ignore this entirely.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

Okay the solution to the original Question was in the clientarea.tpl too.

If you need to hard-code a specific domain registry page it is done by changing the following line of code:

<a href="{$ca_url}checkdomain/" class="list_item">{$lang.regdomain}</a><br />

Just replace the {$ca_url}checkdomain/ variable with the URL you want.

Sorry to everyone if I seemed hostile earlier in this thread.  This issue has been causing some very angry complains from my customers, and I should have fixed it a long time ago.  I hate getting ticket opened up about how the new site is crap or a disaster compared to the former site.  The old site was WHMCS, and it was crap in comparison to the HostBill site.  There as some specific bugs that are stopping us from being able to use HostBill to the extent we like, but it is not crap software.

I did open a thread in the old forums (I think I opened it, maybe someone else did), but it went off-topic and into a debate about whether on not the order new features should be there, and there was no solution to the problem if someone didn't want it.  If anyone wants to debate it here go ahead, I have figured out the solution to my issue, and am now less hostile.  ;)

If anyone knows a cleaner / safer way to fix either of the  issues, please post that too.  My solutions may not be the best, but they do work.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

jeffrey404

Quote from: thetrusteeco on June 11, 2013, 01:15:58 AM
Okay to the getting rid of "extra stuff" question, here's a simple solution.

Apparently there is a setting somewhere that let's you turn off the "Offers" in the Client Area.  Either this setting is something I'm missed for a couple years (possible because I don't look at everything all the time), or it's something KBKP planed and never finished implementing.

On the /Your Template/clientarea.tpl file there is the following string:

{if $offe.total<1 &&  $offe.visible=='1'}

Change the 1 to something else and the "extra stuff" goes away.  This is a terrible way to fix this problem as it'll be overwritten the next time you do an update unless you block updates to this page, and this seems like an important page to get updates for.

If anyone knows were the $offe.visible=='0/1' variable is set, please let me know.  Otherwise if anyone uses this solution, either set clientarea.tpl to not auto-update, or make a note to change your settings back after each update.

Note to KBKP: if this is something you planned and coded but didn't put into the HostBill Setting, please add it.  It's a great feature to be able to turn off.  I know a lot of businesses will want it one, but some like my business will want it off!  On the other hand if I missed an obvious setting, please ignore this entirely.


I don't have that variable in my template, what template are you using?

thetrusteeco

Sorry jeffery404, I should have included that.

We're using a modified version of the "Default" template.  I just looked at the clientarea.tpl's and it doesn't look like that variable is available.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz