Name: UBB PHP STYLE FILE
Description: Creates a vars_style.inc.php file in whch you can include your forum styles/header/footer/etc into any php page.
Link:
https://www.ubbdev.com/hacks/6.3/ubbphpstyle.zip Demo: none
Author: Allen Ayres
Credits: Charles Capps for the pointers
Requirement:
UBBâ„¢ 6+ Note: Rather easy to install and run. It's of alpha/beta quality only because I didn't include any visual info (html) that the file actually did what it was supposed to. You modify cp.cgi and upload the the included .cgi file and access it via your forum's /cp.cgi?ubb=styles_php. It runs and writes the vars_style.inc.php file, giving you all the styles data you could need to use in any php page in your site. Require the file into your .php file (example: index.php) and call the variables ($Header, $Footer, $TableTop, $TableColorStrip, $FontFace, etc. etc. etc.) - for a full list, check the included file for what variables are written.
Thanks in advance to those who might find any bugs, I've tested it on 6.3 - 6.5