vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Globally change URL (https://vborg.vbsupport.ru/showthread.php?t=279395)

tampa2 03-01-2012 03:52 PM

Globally change URL
 
I installed vbulletin on a local server of mine, the url was localhost/vbulletin

The problem I have is, I moved my installation to a local server, and changed the URL in the vbulletin options accordingly. But, the problem is that all my post icons, thread icons, theme images, smilies, etc are still linked to localhost/vbulletin instead of the new URL I set.

I only restored the database backup through phpmyadmin when I moved, and used a new install of vbulletin. Is there a way to globally change every instance of the old URL to the new one?

kh99 03-01-2012 04:45 PM

I think all the image paths are relative to the <base> tag. And it looks like if you have Forum URL set under "Site Name / URL / Contact Details", and you have "Always use Forum URL as Base Path" set to Yes, then the base tag should be the same as what you have set as "Forum URL".

Edit: ..oops - that all applies only to vb4.

tampa2 03-01-2012 05:11 PM

I don't see that option in the Site Name / URL / Contact Details options. COuld it be located somewhere else or could I set it manually?

kh99 03-01-2012 06:14 PM

My fault - I was looking at a vb4 site. It looks like in vb3 the image paths are set as style vars in the Style Manager.

tampa2 03-01-2012 06:27 PM

Quote:

Originally Posted by kh99 (Post 2305106)
My fault - I was looking at a vb4 site. It looks like in vb3 the image paths are set as style vars in the Style Manager.

So is there a way to change all of them(post icons, image paths, etc) at one time? I would have to manually set each post icon path and stuff if I do it manually.

kh99 03-01-2012 06:32 PM

To be honest styles aren't my strong area. When I looked on my test site for some reason they had all full paths but were red with messages that said they had been customized. I revereted them and they became relative paths. What do yours look like?


All times are GMT. The time now is 01:35 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.00924 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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