The Transformers Archive Skip to main content / Also skip section headers

[The Transformers Archive - an international fan site]
Please feel free to log in or register.

 
  • transformers toys
  • transformers comics
  • transformers cartoon
  • transformers live-action movies
  • transformers fandom
  • transformers forum

Go Back   TFARCHIVE > TRANSFORMERS > Website Stuff

Reply
 
Thread Tools
Old 2010-06-21, 05:22 PM   #1
Dinob0t
Protoform
 
Default tfarchive skin - vBulletin

Does anyone know if it's available anywhere else for download?
 
Dinob0t is offline   Reply With Quote
Old 2010-06-21, 05:47 PM   #2
Denyer
Shooty Dog Thing
 
Denyer's Avatar
 
UK
Default

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 Code:
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(); 
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.
 
Denyer is offline   Reply With Quote
Old 2010-06-21, 05:54 PM   #3
Dinob0t
Protoform
 
Default

Hi Denyer,

Thanks alot, I'll give that ago but if you can export the main templates then that'd be great. I'll work through it with my coder.
 
Dinob0t is offline   Reply With Quote
Old 2010-06-21, 06:51 PM   #4
Denyer
Shooty Dog Thing
 
Denyer's Avatar
 
UK
Smile

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.

_
 
Attached Files
File Type: txt vbulletin-style.xml.txt (131.0 KB, 120 views)
Denyer is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
 
 
[the-hub.co.uk]
[transfans.co.uk]
[oneshallstand]
[unicron.com]
[counter-x.net]
[ntfa.net]
[allspark.com]
[transformertoys.co.uk]
[tfu.info]
[botchthecrab.com]
[obscure_tf]
[tfradio.net]
 

[TFArchive button]
Link graphics...

BOOKMARK US
Or in FF, hit Ctrl+D.