vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Changing Domains - Need to replace cureent domain reference in posts (https://vborg.vbsupport.ru/showthread.php?t=55229)

SemperFidelis 07-12-2003 06:03 AM

Changing Domains - Need to replace cureent domain reference in posts
 
Ok
Here is what I need to do.

Im currently in the process of moving my forum from one domain to another.

My current forum has a buckload of threads with images that were uploaded by the members via an upload script (thanks to vb.org).

In the threads themselves the IMG tag is used to point to the location the image was uploaded to.
e.g.
[I M G]http://www.current-domain/forums/uploads/member-name/image01.jpg[/ I M G]

Now what I need to do is be able to replace every instance of :
http://www.current-domain
to
http://www.new-domain
without manually going into each and every thread to do so.
(as you can imagine that would take hours, if not days)

Any suggestions on how to go about this would be greatly appreciated.

Xenon 07-12-2003 08:51 AM

there is a hack by the sisko which can do so :)

SemperFidelis 07-12-2003 10:16 AM

Cheers to Xenon for pointing that out
And a huge thanks to the sisko for creating the hack

The amount of time and effort saved, well I cant describe it

:)

Xenon 07-12-2003 04:44 PM

you're welcome :)

thx thor, i can remember most hack authors of important hacks ^^

Erwin 07-13-2003 12:24 AM

You could always create a new Replacement variable, to replace the old reference with the new one. :)


All times are GMT. The time now is 10:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01277 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete