![]() |
Can someone point me towards this mod?
I made a post on vbulletin.com, seen here: http://www.vbulletin.com/forum/showthread.php?t=279567, and was directed to here, but am unable to find the mod mentioned. Does anyone know where I can find this?
|
<a href="https://vborg.vbsupport.ru/showthread.php?p=1581370#post1581370" target="_blank">https://vborg.vbsupport.ru/showt...70#post1581370</a>
|
Am I able to use those custom pages OUTSIDE of the forum directory? Like instead of it being root/forums/blahblahblah, it can be root/folder/file.php?
|
Yes, you just need to chdir() into the forum directory before including global.php.
|
Can you explain that a little better? Sorry, I'm not too experienced with some of this :(
|
Before this line
PHP Code:
PHP Code:
|
Alright, I did that, but there's two things:
1) Some of the style doesn't seem to be transferring over. I have my banner, and the positioning all in place, but the table and category css, as well as some others, isn't showing up. 2) The content of the page is dependent on the content I have in place in the template. I need to make a lot of pages (thousands), and I need the content of them to be dependent on what I place in the php files on my server, because I don't want to have to shuffle through thousands of extra templates when I look through a style's template. |
You need to go to your style and replace all paths for images with absolute paths...
So instead of having something like images/yourimage.png You need to have http://yoursite.com/forumpath/images/yourimage.png edit; you lost me on question 2 |
I already have absolute paths for all my images in the style. The images are fine, but it's not pulling most of the CSS, like the background color for a table (which is defined by a solid color and not by an image).
For #2: On my custom page that I made, the contents of it (like the text saying "blah blah this is my page, blah blah") is controlled inside the actual template on the style. I want to know how to control the content of the page in a php file. Since I'm gonna have 100's of pages for my main site that I want to use the forums skin, I need them to go into different directories on my site, and not have them all listed in a row in the style's templates. |
Quote:
2. You can create php pages without creating custom templates to hold the content.. I started out doing it without templates before I learned how to do it with templates. quick example... PHP Code:
|
All times are GMT. The time now is 10:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|