Skip to content

Conversation

@cmfcmf
Copy link
Member

@cmfcmf cmfcmf commented Aug 16, 2017

New affiliate codes can be added via the app/config/parameters.yml file and must follow the format described here https://github.com/AdventureLookup/AdventureLookup/compare/dev...cmfcmf:feature/177-affiliate-code-logic?expand=1#diff-b21427cb85d0a014d5856b811168ad74R33.
This will require you to install the PHP mbstring and intl extensions:

sudo apt install php7.0-mbstring php7.0-intl

closes #177

@JohnnyFlash does this add all the functionality we need?

Requires you to install the PHP mbstring and intl extensions:
sudo apt install php7.0-mbstring php7.0-intl
Copy link
Collaborator

@burnhamrobertp burnhamrobertp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addAffiliateCode could probably be made more efficient by building a hashmap for any other calls to addAffiliateCode on that same request. Still, looks good

@cmfcmf cmfcmf merged commit aac9b23 into AdventureLookup:dev Aug 17, 2017
@cmfcmf cmfcmf deleted the feature/177-affiliate-code-logic branch August 17, 2017 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Affiliate link logic

2 participants