Jump to content

Affiliate TOS


rbro

Recommended Posts

I'd like to have my affiliates agree to a separate TOS before signing up. I suppose I can include the necessary language in my main TOS for existing hosting customers, but for affiliate-only signups, is there some type of workaround for "forcing" an "affiliates-only" TOS to be agreed to?

Link to comment
Share on other sites

what do you mean by affiliate-only signups!

 

is there a different signups for affilates?

 

Yea, if you allow client registration without purchasing products or services in the CONFIGURATION >> General Configuration >> Other tab (first option).

 

ie, affiliate signups.

 

Si

Link to comment
Share on other sites

thanks I have already done that but I do not see any different sign up

 

all users are required to register when they are registered only then they can go to reseller section and activate it but not a different sign up.

 

I see the sign up is the same for all

You're right. I don't allow clients who aren't customers to sign up, so I just went in and activated it, clicked to register on my site and you are shown the exact same TOS as is shown to all customers.

 

Don't see the need for a separate affilates TOS rbro.

 

Si

Link to comment
Share on other sites

Well it would be nice as most of the TOS deals with hosting related matters. But I suppose I can just include the affiliates agreement as part of the main TOS and include some language that specifies what pertains to hosting customers and what pertains to only affiliates. I haven't tested it out yet, so I'm not even sure what it looks like from a customer point of view.

Link to comment
Share on other sites

What you can do is in the affiliatessignup.tpl just under

<p>{$LANG.affiliatesfootertext}</p>
<br />

You can put

<p>I have read and agree to the <a href="/link/tos.html">Affiliate TOS</a></p>

 

You can get more fancy with check boxes, iframes with the TOS, required fields, but that will at least point you in the right direction.

Link to comment
Share on other sites

The client will first have to register at yourdomains.tld/WHMCS/register.php and once they are registered they can go to affiliates.php and sign-up.

 

 

What about when an existing client goes to activate himself as an affiliate? In the future, I can add an affiliates section to the main TOS, so that all new signups have to agree to it as part of the order process. But I'd like to get existing clients to have to agree to it before activating themselves as affiliates.

Link to comment
Share on other sites

Right, and with the solutions that was provided on page 1, they will have to agree with the TOS. What you are editing it the sign-up form. So anyone who goes to affiliates.php that is not currently an affiliate will have to agree before they are activated.

 

Does that make sense?

 

Brett

Link to comment
Share on other sites

Well if I'm logged in as a client and I click on affiliates, then "activate affiliate", it looks like it just gets automatically activated. is there a setting somewhere to force the client to go to affiliates.php?

Link to comment
Share on other sites

I need a little help here. I'm trying to modify affiliatessignup.tpl so that I can have a second affiliates-specific TOS that must be agreed to before anyone can signup as an affiliate. Here's what I've got so far:

 

{if $affiliatesystemenabled}

 

<p>{$LANG.affiliatesintrotext}</p>

<ul>

<li>{$LANG.affiliatesbullet1} {$bonusdeposit}</li>

<li>{$LANG.affiliatesearn} <strong>{$payoutpercentage}</strong> {$LANG.affiliatesbullet2}</li>

</ul>

<p>{$LANG.affiliatesfootertext}</p>

<br />

 

<p><input type="checkbox" name="accepttos" id="accepttos"> <label for=accepttos>{$LANG.ordertosagreement} <a href="/affiliatetos.html"}" target="_blank">{$LANG.affiliatetos}</a></label>.<p>

<p align="center"><input type="button" value="{$LANG.affiliatesactivate}" onclick="window.location='affiliates.php?activate=true'" /></p>

 

 

{else}

 

<p>{$LANG.affiliatesdisabled}</p>

 

{/if}

 

This gets me everything I need except "forcing" the client to agree to the TOS before activating themselves as an affiliate. How can I make that happen?

Link to comment
Share on other sites

This gets me everything I need except "forcing" the client to agree to the TOS before activating themselves as an affiliate. How can I make that happen?

 

Change:

<p><input type="checkbox" name="accepttos" id="accepttos"> <label for=accepttos>{$LANG.ordertosagreement} <a href="/affiliatetos.html"}" target="_blank">{$LANG.affiliatetos}</a></label>.<p>
<p align="center"><input type="button" value="{$LANG.affiliatesactivate}" onclick="window.location='affiliates.php?activate=true'" /></p>

 

To:

<p><input type="checkbox" name="accepttos" id="accepttos"> <label for=accepttos>{$LANG.ordertosagreement} <a href="/affiliatetos.html"}" target="_blank">{$LANG.affiliatetos}</a></label>.<p>
<p align="center"><input type="button" onClick="check_agree(this.form);" value="{$LANG.affiliatesactivate}" onclick="window.location='affiliates.php?activate=true'" /></p>

{literal}
<script language="javascript">
function check_agree (form) {
if (form.agree.checked) {
form.submitButton.disabled = true;
form.submit();
}
else { alert('If you don\'t agree, you can\'t continue.'); }
}
{/literal}

 

I have not tested it, but I think it will work.

Link to comment
Share on other sites

Actually I don't know how that would work with two onClick's there.

 

Also try:

<p><input type="checkbox" name="accepttos" id="accepttos"> <label for=accepttos>{$LANG.ordertosagreement} <a href="/affiliatetos.html"}" target="_blank">{$LANG.affiliatetos}</a></label>.<p>
<p align="center"><input type="button" value="{$LANG.affiliatesactivate}" onclick="check_agree(this.form);window.location='affiliates.php?activate=true'" /></p>

{literal}
<script language="javascript">
function check_agree (form) {
if (form.agree.checked) {
form.submitButton.disabled = true;
form.submit();
}
else { alert('If you don\'t agree, you can\'t continue.'); }
}
{/literal}

Link to comment
Share on other sites

What you can do is in the affiliatessignup.tpl just under

<p>{$LANG.affiliatesfootertext}</p>
<br />

You can put

<p>I have read and agree to the <a href="/link/tos.html">Affiliate TOS</a></p>

 

You can get more fancy with check boxes, iframes with the TOS, required fields, but that will at least point you in the right direction.

 

 

I was just about to say this :D

Link to comment
Share on other sites

This one was a bit difficult!

Here is the whole affiliates.tpl

{if $affiliatesystemenabled}



<p>{$LANG.affiliatesintrotext}</p>

<ul>

<li>{$LANG.affiliatesbullet1} {$bonusdeposit}</li>

<li>{$LANG.affiliatesearn} <strong>{$payoutpercentage}</strong> {$LANG.affiliatesbullet2}</li>

</ul>

<p>{$LANG.affiliatesfootertext}</p>

<br />

<form action="affiliates.php" action="affiliates.php" onSubmit="return false;">
<input type ="checkbox" name="activate" value="true">
<label for=accepttos>{$LANG.ordertosagreement} <a href="/affiliatetos.html"}" target="_blank">{$LANG.affiliatetos}</a></label>.
<input type="submit" name="submitButton" onClick="check_activate(this.form);" value="{$LANG.affiliatesactivate}">

{literal}
<script language="javascript">
function check_activate (form) {
if (form.activate.checked) {
form.submitButton.disabled = true;
form.submit();
}
else { alert('If you don\'t agree, you can\'t continue.'); }
}
</script>
{/literal}

{else}



<p>{$LANG.affiliatesdisabled}</p>



{/if}

 

100% sure this time that it works.

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