vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Is it possible to edit templates as files? (https://vborg.vbsupport.ru/showthread.php?t=235390)

dummwiam 02-09-2010 11:44 AM

Is it possible to edit templates as files?
 
Being relatively new to VB and VB4 specifically I would like to ask for your guidance, regarding the customization of templates and styles of VB4.

Is it possible to have all templates in external files and be able to edit them manually, instead of coding inside the command panel? I am not used to that kind of programming and in annoys me. Maybe there is a trick, like avatars and instead of storing in them in the database you can have them as normal files.

Any link, tutorial, or reference would be much appreciated.

ageurtse 02-09-2010 06:59 PM

It can only be done by admin panel. What i do is copy the content and edit it with notepad++
next copy and past it back to the admin panel

dummwiam 02-09-2010 07:14 PM

I mean if you can save them and keep them in a folder so you can test them faster (Save - Refresh) instead of using the whole thing which not very comfortable.

borbole 02-09-2010 07:26 PM

I understand what you mean. I was used to that when I was using Smf but I like this way in the acp better. It is faster and handier, it saves a lot of time then doing it manually with the files in the folder and ftp etc etc. It needs a little bit of getting used to the new system.

dummwiam 02-09-2010 07:47 PM

OK, I guess I will have to do all the work in a php file and the use the template just for printing :)

Thanx for the reply btw

simunaqv 02-09-2010 07:56 PM

You can also try Andreas' Developer Tools which you can find over at vbulletin-germany.org.

http://www.vbulletin-germany.org/showthread.php?t=1279

It features many useful feature for vbulletin developers including loading plugins and templates from files.

dummwiam 02-09-2010 08:11 PM

Unexpected help :) Thanx I will check it out.

borbole 02-09-2010 11:52 PM

Thanks for that link as well :)

Sparky McSmith 04-03-2010 10:25 PM

This little 9-line mod does exactly what you're looking for and works perfectly with VB4:
https://vborg.vbsupport.ru/showthread.php?t=170322

dummwiam 04-04-2010 11:02 PM

ExcellenT!


All times are GMT. The time now is 04:23 AM.

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.04338 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete