- Joined
- Nov 25, 2015
- Messages
- 11,029
- Reaction score
- 1,316
Amazon Parser All
Compatible XF Versions:
The Amazon Parser All add-on will update existing Amazon links to links which include your Amazon affiliate ID number. This add-on will go through every post on your forum and update Amazon links.
After updates are completed, you will want to use the Amazon Parser All add-on once every few months to verify all Amazon links are properly converted on your forum.
In addition to the Amazon Parser All add-on, you will want to install the companion Amazon Parser add-on.
The Amazon Parser add-on is used to converted Amazon links immediately after a message is saved.
(Example of Options page)
Features:
Enter your Amazon partner ID into the correct field in the Options page.
Operation Step 2:
If using Full Friendly URLs
Add "amazonparserall/show?limit=1" to the URL in your browser.
If not using Full Friendly URLs
Add "amazonparserall/show&limit=1" to the URL in your browser.
At this point you will see a page like this:
Operation Step 3:
Click the "Update posts" link.
At this point you will get a confirmation message.
Click the back button on your browser.
At this point it will appear as if nothing has happened, that is because you're looking at a cached page.
Reload the page. You will now see the next post number which contains an unconverted Amazon link.
Once you have verified the add-on is working correctly, you can change the limit swith in the URL to 250:
Reload the page. Now you will see 250 posts ready to be converted. You can once again click the "Update posts" link and 250 posts will be converted.
You can make the limit number as high as you want.
Note
If for any reason the same post number continues to show, this means the add-on was not able to convert the link. There can be several reasons for example:
Once the Amazon links have been all converted you will want to convert the remaining Amazon links which have existing tags but with other affiliate IDs. To do this you will need to run this SQL in phpMyAdmin:
Change AFFILIATE-ID to your affiliate ID. If the query returns results, you will want to go to each post_id and edit/save the post in order to update the Amazon links to replace the existing affiliate IDs with your affiliate IDs.
Questions and Answers:
Q: Once I have converted all the older Amazon links can I uninstall this add-on?
A: I suggest running this add-on once every few months to verify all Amazon links have been converted.
Amazon Parser All 3.4
Compatible XF Versions:
- 1.2
- 1.3
- 1.4
- 1.5
The Amazon Parser All add-on will update existing Amazon links to links which include your Amazon affiliate ID number. This add-on will go through every post on your forum and update Amazon links.
After updates are completed, you will want to use the Amazon Parser All add-on once every few months to verify all Amazon links are properly converted on your forum.
In addition to the Amazon Parser All add-on, you will want to install the companion Amazon Parser add-on.
The Amazon Parser add-on is used to converted Amazon links immediately after a message is saved.
(Example of Options page)
Features:
- Different affiliate IDs can be added for each country
- Adds affiliate ID to Amazon Product Links. Amazon Product Link will have /dp/ in the URL.
- Deletes any existing affiliate IDs and adds your affiliate ID
- Only the Admin can run this add-on
- Requires exec() execution
- Requires VPS or dedicated server
- Only super admins can run this add-on
- Download amazonparserall_v2.5.zip and unzip it.
- Upload the Andy folder to your server. The correct location will be library/Andy.
- From your Admin Control Panel, go to the "Install Add-on" page.
- Upload the addon-AmazonParserAll_v2.5.xml file.
- Click the Install Add-on button.
Enter your Amazon partner ID into the correct field in the Options page.
Operation Step 2:
If using Full Friendly URLs
Add "amazonparserall/show?limit=1" to the URL in your browser.
If not using Full Friendly URLs
Add "amazonparserall/show&limit=1" to the URL in your browser.
At this point you will see a page like this:
Operation Step 3:
Click the "Update posts" link.
At this point you will get a confirmation message.
Click the back button on your browser.
At this point it will appear as if nothing has happened, that is because you're looking at a cached page.
Reload the page. You will now see the next post number which contains an unconverted Amazon link.
Once you have verified the add-on is working correctly, you can change the limit swith in the URL to 250:
Code:
http://www.example.com/forums/amazonparserall/show?limit=250
You can make the limit number as high as you want.
Note
If for any reason the same post number continues to show, this means the add-on was not able to convert the link. There can be several reasons for example:
- There is no affiliate number entered into the Options page for that country.
- The URL is not properly formed, it may contain other BB Codes as an example.
Once the Amazon links have been all converted you will want to convert the remaining Amazon links which have existing tags but with other affiliate IDs. To do this you will need to run this SQL in phpMyAdmin:
Code:
SELECT post_id
FROM xf_post
WHERE message LIKE "%amazon.%"
AND message LIKE "%/dp/%"
AND message LIKE "%?tag=%"
AND message NOT LIKE "%AFFILIATE-ID%"
ORDER BY post_id DESC
Questions and Answers:
Q: Once I have converted all the older Amazon links can I uninstall this add-on?
A: I suggest running this add-on once every few months to verify all Amazon links have been converted.
Amazon Parser All 3.4