vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [vB 3.5.3] $vboptions replaced with $bbinfo (https://vborg.vbsupport.ru/showthread.php?t=130918)

BigJohnny 11-06-2006 02:49 PM

[vB 3.5.3] $vboptions replaced with $bbinfo
 
Ok here is an interesting problem, Our board recently changed domains, but remained on the same server, so none of the files themselves have physically moved at all, However alot of the links are broken because they are still looking for stuff on the old domain name.

Now i have changed alot of this because there were hard coded urls, which i repalced successfully with $bbinfo[url]/forums/

now i have found no more references to the old domain name at all.

it has recently been discovered that some of the links, even though not pointing to the old domain, are still pointing to the wrong domain.

We are now on an IP, and it begins with 65.*.*.* ... however some of the links are pointing to 68.*.*.* instead.

Well ive come to discover that it is apparently related to the $vboptions[bburl] variable.

There are ALOT of instances of this in all the styles.

Im wondering if it is safe to replace all of the instances of $vboptions[bburl] with $bbinfo[url] instead.

Zachery 11-06-2006 02:50 PM

Where id you get bbinfo[url] from? vBiotions[bburl] is the correct setting and can be easily updated in the admincp under vBulletin options.

BigJohnny 11-06-2006 02:53 PM

i dont know where i got that from... but $vboptions[bburl] isa pointng to the wrong place...

however if it can be changed in the options, then where can i find that as it would save me doing a search & replace :)

$bbinfo[url] works though, it points to our main domain name, but doesnt include the forums directory.... so i still need to do $bbinfo[url]/forums/

ok i got this working... had to change some stylevars i totally over looked.

Zachery 11-06-2006 03:15 PM

But there is no bbinfo varible in vBulletin...

If $vboptions[bburl] is not correct FIX IT!

AdminCP > vBulletin Options > Site Name / URL / Contact Details > Forum URL

Dont to 20-30-50 times more work tha you need too.

BigJohnny 11-06-2006 03:34 PM

so why does $bbinfo[url] work then?

it has worked on a couple o boards ive used it on.


All times are GMT. The time now is 06:13 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.03132 seconds
  • Memory Usage 1,711KB
  • 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