Richie
(Richie Rich)
8 أغسطس 2024، 8:51ص
1
What would you like done?
I need a theme or plugin creating which transforms specific URLs in posts.
For example, if a user creates a post and uses a link to https://example.com
then this link should be transformed so when anyone clicks on it they are taken to https://example.com/affiliate/my-code
Some other possible combinations:
https://example.com
https://example.com/
https://www.example.com
https://www.example.com/
Those should also be transformed so when clicked they are taken to https://example.com/affiliate/my-code
An exclusion is required where the user post a link to a specific page on that site.
eg:
https://example.com/some-product/page/here
https://example.com/some-other-product/or-page/over-here
Those should not be transformed and should take people to that page when clicked.
The https://example.com/affiliate/my-code
currently onebox’s just fine so this onebox compatibility must be maintained.
The solution should be easy to install, either via the Discourse admin control panel or via adding a GitHub repo to app.yml
When do you need it done?
Delivery by the end of August 2024 is a deal breaker, I cannot move this date
What is your budget, in $ USD that you can offer for this task?
GBP£250 / EUR€290 / USD$317
إعجاب واحد (1)
pfaffman
(Jay Pfaffman)
8 أغسطس 2024، 1:08م
2
I can help with that. I’ll send a pm.
3 إعجابات
Richie
(Richie Rich)
8 أغسطس 2024، 5:17م
3
This project can be marked as delivered.
Thanks @pfaffman
7 إعجابات
pfaffman
(Jay Pfaffman)
8 أغسطس 2024، 5:20م
4
Thank you! My intent is to make a more general purpose version available publicly (without the URL hard-coded).
I decided that this has broader use that I first imagined, so it’s now available on github . See Discourse-affiliate-linker - Plugins and Themes - Literate Computing Dashboard to see it in use, and Real Soon Now it’ll be in theme-component .
@Richie you might check out this version, as there’s some chance that I’ll maintain it since at least I am using it.
10 إعجابات
oga
9 أغسطس 2024، 3:04ص
5
This is great.
Is it ready for use? Can it be used for Amazon Referals\affiliates?
Moin
9 أغسطس 2024، 6:12ص
6
Why don’t you use the Discourse Affiliate plugin?
3 إعجابات
pfaffman
(Jay Pfaffman)
9 أغسطس 2024، 7:06ص
7
Right. And this won’t work at all for Amazon referrals, as it works only for links to the home page.
إعجابَين (2)
Heliosurge
(Dan DeMontmorency)
9 أغسطس 2024، 7:16ص
8
If you’re unable to use the Discourse Affiliate Plugin
This theme-component can likely be modified. Though not sure if it can modify Amazon short links
إعجاب واحد (1)
system
(system)
تم إغلاقه في
8 سبتمبر 2024، 7:17ص
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.