The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Is there a way to get the relative links and images to work in a custom vbulletin page outside the directory without having to go into the style and edit all the paths.
Edit: I have found a rudimentary solution to solve the image issue. Code:
$headinclude = str_replace('images', $vbulletin->options['bburl'] . '/images', $headinclude); $header = str_replace('images', $vbulletin->options['bburl'] . '/images', $header); $footer = str_replace('images', $vbulletin->options['bburl'] . '/images', $footer); --------------- Added [DATE]1218559131[/DATE] at [TIME]1218559131[/TIME] --------------- Code:
$headinclude = str_replace('href="', 'href="' . $vbulletin->options['bburl'] . '/', $headinclude); $header = str_replace('href="', 'href="' . $vbulletin->options['bburl'] . '/', $header); $footer = str_replace('href="', 'href="' . $vbulletin->options['bburl'] . '/', $footer); $headinclude = str_replace('action="', 'action="' . $vbulletin->options['bburl'] . '/', $headinclude); $header = str_replace('action="', 'action="' . $vbulletin->options['bburl'] . '/', $header); $footer = str_replace('action="', 'action="' . $vbulletin->options['bburl'] . '/', $footer); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|