vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   previewing forum (https://vborg.vbsupport.ru/showthread.php?t=158337)

control1110 09-21-2007 03:06 AM

previewing forum
 
Is there a way to preview the display of a template before you post it. Say if your doing some editing to your templates and you want to preview it before you apply it. The preview button just shows a bunch of code and I don't really understand that at all.

Thanks

Dismounted 09-21-2007 05:15 AM

That's because the data hasn't been fed into the template yet, and the surrounding styles aren't applied. There's no way to get around that. The best solution is to open a test board and do all your testing beforehand in there.

control1110 09-21-2007 06:12 AM

I would need to get a second vb license to create a test board correct?

Marco van Herwaarden 09-21-2007 07:08 AM

As per the License Agreement you are allowed to have 1 testboard installed in a directory named "testvb" that is password protected with a .htaccess file.

Quote:

If you have a valid Software license, you may set up an additional test forum in order to test code, template and database modifications. To make this clear to us and our license verification procedures, place it in a directory called 'testvb' and be sure to password protect it. It must not be accessible by the general public.
There is however an easier way to do this:
- Create a new Style and set your normal style as Parent Style. This will make the new style a "copy" of your production style. Now edit the template in this test style.
- Set your account to use this new test style and test the template edits.
- Once satisfied, copy the template contents to your production style and remove the test style.


All times are GMT. The time now is 06:31 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.01049 seconds
  • Memory Usage 1,714KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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