vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Smart Template (https://vborg.vbsupport.ru/showthread.php?t=296418)

rellect 03-22-2013 11:00 PM

Smart Template
 
========================================
Description
:
========================================

This mod integrates CodeMirror code editor with vBulletin templates system.

What does it means:
1. Colored tags
2. Option to tab (indent)
3. Line numbers
4. Auto-closer for tags (Example: you just write <div> and it adds </div> automatically)
5. Auto-complete menu for html code.

Makes the work with templates much more comfortable and easy to read.

-----
If you installed this mod and/or you want get support, please "Mark as Installed".

-----

========================================
Notice
:
========================================

Install it only if you run vB5.0.0 or vB5.0.1.
vBulletin has
CodeMirror editor for templates built-in starting from vB5.0.2

========================================
How to install:
========================================

1. Upload the content of 'upload_to_root' directory to your root.
2. Make sure that Plugin/Hook System is enabled, it is disabled by default.
3. Reload your site (twice) - this mod uses the Auto-Install feature.

Auto-Install it's a feature that allows vB5 to install addons automatically after all files uploaded.
There is no need to install xml manually anymore.

/*
IF YOU FOLLOWED THE STEPS BUT THE MOD DON'T LOOKS TO BE INSTALLED,
DO THE STEPS OF THE UPGRADE PROCESS TO INSTALL THE MOD MANUALLY.
IF THAT DOESN'T HELP, PLEASE LEAVE A MESSAGE IN THE MOD'S DISCUSSION IN VB.ORG
*/

========================================
How to upgrade:
========================================

1. Upload the content of 'upload_to_root' directory to your root
2. Find the file "product_rellectsmarttemplate.xml" in /upload_to_root/core/packages/rellectsmarttemplate/xml
3. Go to Import Product in the admincp
4. Upload the xml

========================================
Knows Issues:
========================================
  1. The field to search in template doesn't work,
    You have to use the browser search for now.

  2. The editor need to declare in what language the code is.
    It knows it by the container tag, like <html>, <style>, <script> etc
    Since the .css templates in vbulletin do not contain an container tag, the editor cannot know in what language the code is.
    So there is no colored code in these css templates for now.
========================================
Log:
========================================

[23/03/13] 1.0
* First release

smgxtreme 03-23-2013 04:58 PM

Nice Thank you

ido44 03-24-2013 03:57 PM

Thank

GENX2 03-24-2013 06:20 PM

Thanks ,
But why not work with me ?

rellect 03-24-2013 06:57 PM

Quote:

Originally Posted by GENX2 (Post 2412026)
Thanks ,
But why not work with me ?

Please explain.

GENX2 03-24-2013 07:11 PM

Quote:

Originally Posted by RellecT (Post 2412030)
Please explain.

in attachments

rellect 03-24-2013 09:27 PM

Quote:

Originally Posted by GENX2 (Post 2412032)
in attachments

Looks like the mod wasn't installed properly.
Have you followed the all steps of the installation?

Also, please mark the mod as installed to get support.

yilmaz 03-25-2013 12:40 AM

great work thank you

rellect 05-06-2013 07:00 AM

Whoever installed this mod, know that you will need to remove it once you upgrade to vB5.0.2, cause starting from this version vB5 will has CodeMirror editor for templates built-in.


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