vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Idea to make editing styles easier (https://vborg.vbsupport.ru/showthread.php?t=128163)

JamieLee2k 10-03-2006 12:09 PM

Idea to make editing styles easier
 
When you edit a style is it possible to have the writing you put into the templates say red? just like when you edit something and the content turns red as it has been edited.

ericgtr 10-03-2006 01:21 PM

That's a good idea but would probably take quite a bit of work which is why it's easiest to simply use labels for your code. This way no matter what editor you use you are able to find it, most of the time the text is copied out of the template, edited then pasted back in. Example:
HTML Code:

<!-- my custom code -->
custom code
<!-- /my custom code-->


JamieLee2k 10-03-2006 03:54 PM

Would it be possible to have a colour you can put in yourself then so you know what changes you made?

Can you put this code below into everything you change?
Code:

<!-- my custom code -->
custom code
<!-- /my custom code-->


ericgtr 10-03-2006 04:49 PM

Well, I am not sure what it would take to change the color, I haven't looked into that. But, yes it is possible to apply the tags I've mentioned above to any standard HTML code (or in any template). In most cases people cut the code out of the template, edit it in their favorite text editor and then paste it back in. This is where labeling it is beneficial, regardless of where you edit your templates.

Also, as you have probably already noticed, any template that has been edited shows up in a different color, so you will at least know which templates those are.


All times are GMT. The time now is 10:43 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.02547 seconds
  • Memory Usage 1,717KB
  • 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_code_printable
  • (1)bbcode_html_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