{"action":"created","issue":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/479","labels_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/479/comments","events_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/479/events","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/479","id":51266013,"number":479,"title":"Modify the [affiliate_referral_url] shortcode to show other URL variations","user":{"login":"sumobi","id":52581,"avatar_url":"https://avatars.githubusercontent.com/u/52581?v=3","gravatar_id":"","url":"https://api.github.com/users/sumobi","html_url":"https://github.com/sumobi","followers_url":"https://api.github.com/users/sumobi/followers","following_url":"https://api.github.com/users/sumobi/following{/other_user}","gists_url":"https://api.github.com/users/sumobi/gists{/gist_id}","starred_url":"https://api.github.com/users/sumobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumobi/subscriptions","organizations_url":"https://api.github.com/users/sumobi/orgs","repos_url":"https://api.github.com/users/sumobi/repos","events_url":"https://api.github.com/users/sumobi/events{/privacy}","received_events_url":"https://api.github.com/users/sumobi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-08T07:43:49Z","updated_at":"2015-01-19T00:54:52Z","closed_at":null,"body":"The [affiliate_referral_url] currently only outputs the referral URL in the following format:\r\n\r\n`site.com/page/?ref=123`\r\n\r\nWe should modify the shortcode so it can show the other URL variations such as:\r\n\r\n`site.com/page/ref/username`\r\n\r\nWe could implement a default referral URL setting in the admin and then the shortcode could output based on what is selected. Here's where the setting was discussed: https://github.com/affiliatewp/AffiliateWP/issues/421#issuecomment-59323983\r\n"},"comment":{"url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/comments/70435125","html_url":"https://github.com/affiliatewp/AffiliateWP/issues/479#issuecomment-70435125","issue_url":"https://api.github.com/repos/affiliatewp/AffiliateWP/issues/479","id":70435125,"user":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T00:54:52Z","updated_at":"2015-01-19T00:54:52Z","body":"A few comments on the PR for you @sumobi "}}