Alpha1
Well-known member
I recently migrated my big board from vbulletin to xenforo. I used to run Links and Downloads Manager on vbulletin: http://www.vbulletin.org/forum/showthread.php?t=216118
I imported AndrewD's Links and Download Manager to XFRM and XFMG with a custom importer.
Old URLs:
/forum/local_links.php
/forum/local_links.php?catid=122&linkid=14694
/forum/local_links.php?action=jump&catid=47&id=8724
/forum/local_links.php?action=ratelink&catid=148&linkid=12218
/forum/local_links.php?action=search&catid=148&keyword=blah
/forum/local_links.php?linkid=6466&catid=42
I had an importer built, which imports to one of the following content types:
xengallery_category
xengallery_media
xengallery_rating
xengallery_comment
xenresource_category
xenresource_rating
xenresource_resource
xenresource_comment
There is an import log with the respective IDs and content types. The import log has the IDs of old content and to which content type they were imported to and what the new ID is. It has the following fields:
content_type
old_id
new_id
What i need is a redirection script which redirects links to local_links.php to the respective page in XFRM and XFMG.
My big board always has thousands of online users and there will be a high volume of hits on these redirects, so the code needs to be effective and secure.
I imported AndrewD's Links and Download Manager to XFRM and XFMG with a custom importer.
Old URLs:
/forum/local_links.php
/forum/local_links.php?catid=122&linkid=14694
/forum/local_links.php?action=jump&catid=47&id=8724
/forum/local_links.php?action=ratelink&catid=148&linkid=12218
/forum/local_links.php?action=search&catid=148&keyword=blah
/forum/local_links.php?linkid=6466&catid=42
I had an importer built, which imports to one of the following content types:
xengallery_category
xengallery_media
xengallery_rating
xengallery_comment
xenresource_category
xenresource_rating
xenresource_resource
xenresource_comment
There is an import log with the respective IDs and content types. The import log has the IDs of old content and to which content type they were imported to and what the new ID is. It has the following fields:
content_type
old_id
new_id
What i need is a redirection script which redirects links to local_links.php to the respective page in XFRM and XFMG.
My big board always has thousands of online users and there will be a high volume of hits on these redirects, so the code needs to be effective and secure.