Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
404 / 301 after import redirect on import ids Details »
404 / 301 after import redirect on import ids
Mod Version: 1.00, by Jerry (Member) Jerry is offline
Developer Last Online: Oct 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.9 Rating: (10 votes - 4.80 average) Installs: 50
Released: 23 Apr 2008 Last Update: Never Downloads: 717
Not Supported Re-usable Code  

After importing from a source board there will be internal and external links that point to the old URLS.

During the import the origional import id's are kept (for one import) so a redirect can be calculated to find the new user/forum/thread/post, by looking up the old import{$type}id.

ImpEx currently alters the table to add the import id, though a planned future version will have this separated so multi-import sites can be managed,

The original discussion thread on vBulletin.com :

http://www.vbulletin.com/forum/showthread.php?t=178161

It is advised that $do_404 = false; is set so the 301 is sent with the new URL to update search engines.

The script needs setting up and customising to each site as the domains and URLs can be different.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 21 Jan 2009, 18:51
cooltechie cooltechie is offline
 
Join Date: Apr 2004
I'm sorry. What exactly do I do? Just edit paths and copy the 404.php to the root and that's it? Please provide more details. Thanks!

Last edited by cooltechie; 21 Jan 2009 at 19:00.
Reply With Quote
  #47  
Old 06 Feb 2009, 12:43
brandonroy brandonroy is offline
 
Join Date: Dec 2008
Real name: Brandon
I need help too. My old forums were powered by smf 1.1.7. I need some help on how to set this up! I'm lost and Google is going to spit on my site!
Reply With Quote
  #48  
Old 16 Feb 2009, 12:56
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Real name: David
I'm hoping to obtain the same thing as you guys.

I don't fancy adding every page on my site to the .htaccess for a 301 redirect.

Mainly because of the time consumption!
Reply With Quote
  #49  
Old 20 Feb 2009, 06:36
Jerry's Avatar
Jerry Jerry is offline
 
Join Date: Jun 2003
Well there is going to be a major change to this script soon as I'm going to be dealing with ImpEx2 soon that that will be using a separate MEMORY table that stores all the source/target id's (basically foreign keys with source import id).

This will allow for multi import 301 re-directs as there will be now the concept of a phase id, which is a new id for each whole form import. i.e. each merge import you do is a phase and has it's own ID. (p.s. yes this will allow for differential imports ).

There has been enough major boards and requests for this now. i.e. if one board assimilates 4 others with 4 merge imports, they will want 4 unique 301 handlers. And so they will be 4 phase id's to handle that.

Also to address the "Hey you only hard coded a few systems, mine isn't supported" ..... I'm going to try to add a drop in module system, much the same as impex itself that will allow for something along the lines of : "Ah, phase 2 is a phpBB3 -> vB import, I'll set the phase id in the 301 config file and drop in the module for 301 that is set for my urls". So then you can ensure that systems are supported. I'm guessing that the Tier 1 systems will be handled with logging so you'll get viability of the amount of SE redirects.
__________________
All the ImpEx are belong to us.
Reply With Quote
  #50  
Old 20 Feb 2009, 08:09
ForumUser210 ForumUser210 is offline
 
Join Date: Feb 2009
Question

created my own solution.

Thanks

Last edited by ForumUser210; 27 Feb 2009 at 08:14.
Reply With Quote
  #51  
Old 22 Feb 2009, 16:44
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Hi,

This is what I am looking for, i am about to convert over to vb from phpbb2.

Are these steps still correct for vb 3.8.1
__________________
The Paintball Resource

Critic My site HERE
Reply With Quote
  #52  
Old 26 Feb 2009, 20:37
lazydesis lazydesis is offline
 
Join Date: Sep 2006
I imported from old vB to new version using Impex, and had the same problem. All threadIDs were different from what they were in my old forum, because I deleted some threads in between.

However instead of using the 404 method, I deleted the "threadid" column in my database and renamed the "importthreadid" column as "threadid"

Now all my threads are having same "threadid" as previous forum

Can anyone tell me if this has any adverse affects or what I did is wrong? Everything seems to working fine and it took me just 5 mins to do this.

What's the advantage of using the 404 method described in this thread?

Thanks.


EDIT: Its actually not working properly. Can someone tell me if its possible to change the new ids with the ones in the importids column and would this work ?
__________________
http://www.lazydesis.com

Last edited by lazydesis; 26 Feb 2009 at 21:11.
Reply With Quote
  #53  
Old 27 Feb 2009, 12:04
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Real name: David
Any help with the code for smf 1.x.x ?

I'm hoping to go live with my vb soon as I'm pretty much done customising it
Reply With Quote
  #54  
Old 01 Mar 2009, 10:47
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Originally Posted by cooltechie View Post
I'm sorry. What exactly do I do? Just edit paths and copy the 404.php to the root and that's it? Please provide more details. Thanks!

yes, more info please. I saw raference to a readme.txt what was made, but could not find it.


what does one do with the lines below, as it says to customise?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
The Paintball Resource

Critic My site HERE

Last edited by paintballer.ie; 02 Mar 2009 at 23:17.
Reply With Quote
  #55  
Old 02 Mar 2009, 23:17
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
I have phpbb2 installed in the root folder and I will be instaling vbulletin in the root folder,

Will this work?
__________________
The Paintball Resource

Critic My site HERE
Reply With Quote
  #56  
Old 04 Mar 2009, 23:28
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
When I try this is redirects to the normal 404.shtml file I have.

Then in debug mode:


Action ::
SQL ::
REQUEST_URI :: /vbtest/404.php


Any thoughts?
__________________
The Paintball Resource

Critic My site HERE
Reply With Quote
  #57  
Old 19 Mar 2009, 01:39
b00k b00k is offline
 
Join Date: Feb 2005
-----------

Last edited by b00k; 16 Apr 2013 at 01:43.
Reply With Quote
  #58  
Old 30 Apr 2009, 15:28
ranz ranz is offline
 
Join Date: Dec 2005
i like this mod - even if it is "unsupported"

i've been thinking -

perhaps it may also be useful if (in addition to the logging) we could make use of the moderator queue or report post. this way the mods can edit the posts, refer to the notes of the mod queue which shows the link to the new database id - then edit the post and release from the queue.

this could potentially alleviate the extra db load this script is using on the server.

another option is to provide an admincp script that lists the log - which can be used to edit posts.
Reply With Quote
  #59  
Old 09 Jun 2009, 03:26
45wheelgun 45wheelgun is offline
 
Join Date: Jun 2009
Has anyone used this in a move from EVE to VB? It seems like it is pretty straight forward, I am just unclear where these variables go:

Forum http://www.oldforum.com/eve/forums/a/frm/f/540103904
Thread http://www.oldforum.com/eve/forums/a...04/m/241103031
User http://www.oldforum.com/eve/personal...e&u=4131095313
Main http://www.oldforum.com/eve/

Can anyone give me a hand or point me in the right direction?

Thanks,
Dave

Last edited by 45wheelgun; 09 Jun 2009 at 03:43.
Reply With Quote
  #60  
Old 19 Oct 2009, 02:37
final kaoss final kaoss is offline
 
Join Date: Apr 2006
I can use one for MyBB 1.4
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:00.

Layout Options | Width: Wide Color: