Page 1 of 1

tfarchive skin - vBulletin

Posted: Mon Jun 21, 2010 5:22 pm
by Dinob0t
Does anyone know if it's available anywhere else for download?

Posted: Mon Jun 21, 2010 5:47 pm
by Denyer
I suppose I could always export the main templates -- but there's nothing special there, just colour changes, one or two extra graphics, some smilies carried over from UBB, etc. It wouldn't be in a form usable by someone else, and templates aren't necessarily transferable between vB versions -- plus there are code changes to this forum additional to what's in official updates.

If you mean the stuff at the top and sides, though (i.e. integration with the rest of a site) I can tell you how to achieve that pretty easily. Add a hook to global_start under Plugins & Products, which will let you add PHP code to draw in the header/footer code you're already using for the rest of your pages.

[php]ob_start();
include("../common/skin/headinclude.php");
$tfa_headinclude = ob_get_contents();
ob_end_clean();
ob_start();
include("../common/skin/bodyinclude.php");
$tfa_bodyinclude = ob_get_contents();
ob_end_clean();
ob_start();
include("../common/skin/footinclude.php");
$tfa_footinclude = ob_get_contents();
ob_end_clean();[/php]

Under vB you can't easily replace the entire page (<html> tag downwards) so you need to inject stuff between the <head></head> tags, after the start of <body> and just before </body>. What the above does is get that stuff into variables you can use in your template.

The message indicator at the top left just pulls data straight out of the forum tables based on cookied data. Very basic SQL and PHP.

If that went completely over your head, apologies, but if so you'd be better off paying someone to set up and maintain your forum. Or starting with a plain install and learning some PHP afterwards.

Some other TF sites use http://www.vbadvanced.com/ to integrate their forum/site more closely, and also as a content management system.

We're only just now coming to looking at CMS options, as I have very little free time these days.

Posted: Mon Jun 21, 2010 5:54 pm
by Dinob0t
Hi Denyer,

Thanks alot, I'll give that ago but if you can export the main templates then that'd be great. :D I'll work through it with my coder.

Posted: Mon Jun 21, 2010 6:51 pm
by Denyer
Graphics are easily obtained by saving a few pages, though I'd really suggest coming up with your own.

Note that vB wasn't designed for fixed-width templates that are this narrow, and there are ugly workarounds so that the PM system is usable. None of this is likely to pass muster with the W3C validation service, because XHTML is a dead-end technology for anyone not needing features specific to XML.

_

Posted: Fri Feb 20, 2015 6:06 am
by Laksh
?