vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Where does vbulletin store your sites root url? (https://vborg.vbsupport.ru/showthread.php?t=82004)

kobescoresagain 05-25-2005 04:39 AM

Where does vbulletin store your sites root url?
 
I added a new style and it leaves off a portion of the url needed to actually work. Basically it shows www.sccollectors.com/image.jpeg when it should show www.sccollectors.com/forums/image.jpeg

Can anyone help me?

Reeve of shinra 05-25-2005 04:47 AM

go into your admincp / styles and stuff / go into your specific style and select the main style var option from the drop down.

Scroll down and you will see the place you can enter the path. By defaults its /images/etc.jpg which is relative to your forum home but you can add the full path http://www.mysiterocks.com/forum/images.etc.jpg if your calling the images from a front page above or outside the forum directory.

kobescoresagain 05-25-2005 04:52 AM

I have already changed those. It didn't help

for instance this is the correct url http://sccollectors.com/forums/image...ine=1115442172
Here is what this style displays.
image.php?u=1&dateline=1115442172
This works fine and dandy in the forum, but I am also running vbadvanced and it doesn't

I have figured out if I go into the header template and change an image src I can get it to work, only problem I have with that is I am going to have to do it about 60 or so times, because every link does it. Including none pictures.

Reeve of shinra 05-25-2005 05:04 AM

In your admicp, under your vbadvanced options, there should be a box for header and navbar replacements. Try adding the full url path there, is should automatically change the url on the fly when going through your advance index.

kobescoresagain 05-25-2005 05:08 AM

Are you talking about this? Header Replacements Says to "Here you may enter a list of filenames that may appear in your header that should be prefixed with your Forum's URL." I could do this with the images, but this wouldn't work with the urls would it? Cause all the links that are on that page inside of the style (not content though) are that way.

Okay I changed it, it works on most of the things, will have to do some slight modifications to get it to work. But I would like to thank you reeve. You are almost always the first to help.

Reeve of shinra 05-25-2005 05:15 AM

It should work on everything. Another idea here is to copy your header template into an editor and using find/replace to mass update the links too. (back it up first!)

kobescoresagain 05-25-2005 06:26 AM

I manually fixed the things that it didn't fix automatically, thanks for the help Reeve.


All times are GMT. The time now is 09:15 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.01050 seconds
  • Memory Usage 1,720KB
  • 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
  • (7)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