Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2004, 07:29 PM
Reimer's Avatar
Reimer Reimer is offline
 
Join Date: Jun 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Using flatfiles for templates

As designer the template engine of the vBulletin is a piece of bull++++ because the hole time you have to copy & paste, can use an editor and so on. That is why I'm searching for a hack which allows to use flat files for the templates.

I saw there some codelines in the vBulletin source, but was not able to figure out how it works.

Greetings
Reimer
Reply With Quote
  #2  
Old 12-17-2004, 07:38 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reimer
As designer the template engine of the vBulletin is a piece of bull++++ because the hole time you have to copy & paste, can use an editor and so on. That is why I'm searching for a hack which allows to use flat files for the templates.

I saw there some codelines in the vBulletin source, but was not able to figure out how it works.

Greetings
Reimer
I actually realy love the system and wouldn't have it any other way personaly.

The code works but not without some changes to it, and even then it just dumps them to files IIRC. It wont use them at leaast I don't think so.

Including all thoughs flat files could be insanely resource intensive rather than making calls to the datastore.
Reply With Quote
  #3  
Old 12-17-2004, 07:43 PM
Blue Moose Aaron's Avatar
Blue Moose Aaron Blue Moose Aaron is offline
 
Join Date: Sep 2002
Location: Austin, Texas
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love the system as well. I like the idea of being able to edit pages on my website without having to load anything other than my browser.

What is it you don't like about it?
Reply With Quote
  #4  
Old 12-17-2004, 07:44 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
I actually realy love the system and wouldn't have it any other way personaly.

The code works but not without some changes to it, and even then it just dumps them to files IIRC. It wont use them at leaast I don't think so.

Including all thoughs flat files could be insanely resource intensive rather than making calls to the datastore.
I couldn't agree more, after using several different boards this is the easiest to modify templates without questions. No dealing with having to figure out what corresponds with what, we don't have to FTP and it's laid out in a nice easy to understand structure. I am doing more with templates since moving to VB than I ever have with any other board.
Reply With Quote
  #5  
Old 12-17-2004, 07:50 PM
Reimer's Avatar
Reimer Reimer is offline
 
Join Date: Jun 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The system ist great, but in the moment I'm dealing with massive changes of the source and this is not possible by using the online version. At the end I should be a true valid XHTML which means less HTML.

I have been dealing with forums for a very long time. This change is only for development and will be later removed again.
Reply With Quote
Reply


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 07:53 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.03609 seconds
  • Memory Usage 2,196KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete