vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Loading the skin in an external PHP file (https://vborg.vbsupport.ru/showthread.php?t=205506)

haxcommunity 02-16-2009 12:24 AM

Loading the skin in an external PHP file
 
Hi again guys.
Well, I've created some external PHP scripts that I'm using on my site, and they're working pretty good, My main issue right now is that I want to be able to wrap the script in the site's skin, and have it changeable to whatever skin the user is using. I do NOT want to put the script itself into templates, so I'm wondering how I can call the skin css data outside of vbulletin.

Help?:rolleyes:

Dismounted 02-16-2009 04:46 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">How to create your own vBulletin-powered page!</a>

haxcommunity 02-16-2009 10:34 AM

Quote:

Originally Posted by Dismounted (Post 1745613)

Quote:

Originally Posted by me
I do NOT want to put the script itself into templates, so I'm wondering how I can call the skin css data outside of vbulletin.

Thanks for trying, but I've already seen that. I want to make a page that doesn't require an additional Template.

Lynne 02-16-2009 04:04 PM

Why don't you want to use a template? The navbar and header and footer are all templates. If you want to spit them out without using templates, then you'll have to copy the html and spit that out in your page.

haxcommunity 02-16-2009 07:14 PM

Quote:

Originally Posted by Lynne (Post 1746015)
Why don't you want to use a template? The navbar and header and footer are all templates. If you want to spit them out without using templates, then you'll have to copy the html and spit that out in your page.

I don't want my modification to be template based, as that means each time I make an edit to it, I have to edit all of them. Anyway, I seem to have found a workaround that fixes my problem.


All times are GMT. The time now is 12:29 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
  • Page Generation 0.00970 seconds
  • Memory Usage 1,719KB
  • 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
  • (3)bbcode_quote_printable
  • (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