[Skip to main content](#vessel-content)

#   Affiliate User Can Not Approve Only Admin Can

##

- **[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")**
- [![fan4chevy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9567-fan4chevy "View fan4chevy's Profile") Topic Author
- [ Offline](/forum/user/9567-fan4chevy)

Less More

- Posts: 301
- Thank you received: 6
-
-

1 year 9 months ago [\#365455](#365455) by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")  *[Affiliate User Can Not Approve Only Admin Can](/forum/39-affilation/909085-affiliate-user-can-not-approve-only-admin-can#365455 "-- Joomla version -- : 5  HI, Is there a way to only allow user to REQUEST to join as affiliate so I have more control over acceptance?  Charles")* was created by *[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")*

-- Joomla version -- : 5

HI,
Is there a way to only allow user to REQUEST to join as affiliate so I have more control over acceptance?

Charles

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vOTA5MDg1LWFmZmlsaWF0ZS11c2VyLWNhbi1ub3QtYXBwcm92ZS1vbmx5LWFkbWluLWNhbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

1 year 9 months ago [\#365458](#365458) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Affiliate User Can Not Approve Only Admin Can](/forum/39-affilation/909085-affiliate-user-can-not-approve-only-admin-can#365458 "-- Joomla version -- : 5  HI, Is there a way to only allow user to REQUEST to join as affiliate so I have more control over acceptance?  Charles")*

Hi,

There is no ready-made mechanism, but you can make one.

First, you want to turn off the "Add partner to user account during registration", "Add a 'become a partner' checkbox on the registration form" and "No self affiliation" settings of the HikaShop configuration:
[ www.hikashop.com/support/documentation/5...l#features\_affiliate](https://www.hikashop.com/support/documentation/54-hikashop-config.html#features_affiliate)
That way, users won't be able to become affiliate partners by themselves.

Then, you can create one or several custom fields of the table "user" via the menu Display&gt;Custom fields so that the user can request to join the affiliate program during his registration, and you can potentially ask extra questions to him if you need extra information to make your decision:
[ www.hikashop.com/support/documentation/4...shop-field-form.html](https://www.hikashop.com/support/documentation/42-hikashop-field-form.html)

Then, you can create a mass action via the menu System&gt;Mass actions:
[ www.hikashop.com/support/documentation/167-massaction-form.html](https://www.hikashop.com/support/documentation/167-massaction-form.html)
You can make it of the type "user" with a trigger "after a user is created" and a filter on the custom field where the user can choose to become an affiliate so that users that choose not to will be filtered out. Also, you can have an action "send an email" so that you'll be notified by email of the request to join the affiliate program.

Once you receive such a notification email, you can log in your backend, check what the user filled in the fields, and activate the affiliate setting for him.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vOTA5MDg1LWFmZmlsaWF0ZS11c2VyLWNhbi1ub3QtYXBwcm92ZS1vbmx5LWFkbWluLWNhbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")**
- [![fan4chevy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9567-fan4chevy "View fan4chevy's Profile") Topic Author
- [ Offline](/forum/user/9567-fan4chevy)

Less More

- Posts: 301
- Thank you received: 6
-
-

1 year 9 months ago [\#365466](#365466) by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")  Replied by *[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")* on topic *[Affiliate User Can Not Approve Only Admin Can](/forum/39-affilation/909085-affiliate-user-can-not-approve-only-admin-can#365466 "-- Joomla version -- : 5  HI, Is there a way to only allow user to REQUEST to join as affiliate so I have more control over acceptance?  Charles")*

I think I am getting closer thanks to you.

However, I still see in the User Control Panel if I click Affiliate Tab that there is a button Yes or No for Affiliate Account Active even though I did not check the become affilite on my new created check box from custom view.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vOTA5MDg1LWFmZmlsaWF0ZS11c2VyLWNhbi1ub3QtYXBwcm92ZS1vbmx5LWFkbWluLWNhbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

1 year 9 months ago [\#365471](#365471) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Affiliate User Can Not Approve Only Admin Can](/forum/39-affilation/909085-affiliate-user-can-not-approve-only-admin-can#365471 "-- Joomla version -- : 5  HI, Is there a way to only allow user to REQUEST to join as affiliate so I have more control over acceptance?  Charles")*

Hi,

Right.
There are two ways to go about it for this:
- You can turn off the affiliate tab from the user control panel via the corresponding setting of the HikaShop Affiliate plugin via the Joomla plugins manager.
- You can edit the view file affiliate / show via the menu Display&gt;Views and remove this piece of code: Code:

&lt;tr&gt; &lt;td class="key"&gt; &lt;label for="data[user][user_partner_activated]"&gt; &lt;?php echo JText::_( 'AFFILIATE_ACCOUNT_ACTIVE' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;?php echo JHTML::_('hikaselect.booleanlist', "data[user][user_partner_activated]" , '',1,JText::_('HIKASHOP_YES'), JText::_('HIKASHOP_NO') ); ?&gt; &lt;/td&gt; &lt;/tr&gt;

This will remove the option to activate / deactivate their affiliate account themselves from the affiliate page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vOTA5MDg1LWFmZmlsaWF0ZS11c2VyLWNhbi1ub3QtYXBwcm92ZS1vbmx5LWFkbWluLWNhbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
