Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Nov 2005, 20:17
sllik sllik is offline
 
Join Date: Apr 2004
File template compiler

Maybe there is already a mod like this, but I wasn't able to find it. I would really love a hack that would make template development easyer. What I would like is a hack that will read the html files from a spesific directory and then insert the html files into vbulletin as templates (where the template name is the file name). That way I can use whatever editor I like to make my templates. If the template already exists with the same name, then it will update it.
Reply With Quote
  #2  
Old 19 Nov 2005, 21:07
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Warning! Only for usage on secured developement boards!

1. Create a directory templates below vBulletin root
2. Create your templates in style manager, use

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

as content
3. Create files templatename.html in directory templates
4. In includes/functions.php FIND and UNCOMMENT

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Done.
Reply With Quote
  #3  
Old 19 Nov 2005, 21:16
Tradjick Tradjick is offline
 
Join Date: Jan 2004
It would be good if there were an install button in this thread for refinding it later. But anyways, iŽll just bookmark it.

Thanks, Andreas
Reply With Quote
  #4  
Old 19 Nov 2005, 22:54
sllik sllik is offline
 
Join Date: Apr 2004
Is there anyway to get the template in files to go into the database? Would the site run slower if the templates are in files?
Reply With Quote
  #5  
Old 19 Nov 2005, 23:12
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Way slower.
Reply With Quote
  #6  
Old 19 Nov 2005, 23:38
sllik sllik is offline
 
Join Date: Apr 2004
So basicaly I'm requesting a mod that would insert the file templates into the database (and compile them)
Reply With Quote
  #7  
Old 25 Nov 2005, 22:30
sllik sllik is offline
 
Join Date: Apr 2004
has anyone done this before?
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Administrative and Maintenance Tools Automatic Template Compiler Adrian Schneider vBulletin 3.7 Add-ons 88 23 Sep 2014 00:22



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


New To Site? Need Help?

All times are GMT. The time now is 09:01.

Layout Options | Width: Wide Color: