vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [vbhacker] Advanced Template Editor (https://vborg.vbsupport.ru/showthread.php?t=37635)

Mutt 04-18-2002 10:00 PM

[vbhacker] Advanced Template Editor
 
I love that VB uses templates and I'm always looking for ways to make it easier

Template Editor by Mutt
adds HTML and replacement var instant code buttons to the template editor.

UPDATED 4/23/2002
added basic table and vbtable makers.


whats a vbtable? a vbtable would be something like this

PHP Code:

<table cellpadding='{tableouterborderwidth}' cellspacing='0' border='0' bgcolor='{tablebordercolor}' {tableouterextrawidth='{contenttablewidth}' align='center'><tr><td>
<
table cellpadding='4' cellspacing='{tableinnerborderwidth}' border='0' {tableinnerextrawidth='100%'>
<
tr><td bgcolor='{tableheadbgcolor}' colspan='3'><smallfont color='{tableheadtextcolor}'><b>Header Text</b></smallfont></td></tr>
<
tr bgcolor='{firstaltcolor}'><td></td><td></td><td></td></tr>
<
tr bgcolor='{secondaltcolor}'><td></td><td></td><td></td></tr>
<
tr bgcolor='{firstaltcolor}'><td></td><td></td><td></td></tr>
</
table></td></tr></table




this uses parts of the improved vbcode.js hack by s.molinari with my bug fixes
https://vborg.vbsupport.ru/showthrea...ight=vbcode.js

Simply upload the 3 files to your admin dir.
run install using vbHacker.


-----------------------------------------

here are my other template.php hacks

Groups for Custom Templates
https://vborg.vbsupport.ru/showthrea...threadid=34919

[vbhacker] Template Compare
https://vborg.vbsupport.ru/showthrea...threadid=36749

Copy Template
https://vborg.vbsupport.ru/showthrea...threadid=26329

Preview and copy buttons for Edit Template
already added to VB

----------------------------

I reccomend these template.php hacks made by others

Template Backup System!
https://vborg.vbsupport.ru/showthrea...threadid=33072

Search Templates by Title
https://vborg.vbsupport.ru/showthrea...eturn+template

Return to Edit Template page after saving
https://vborg.vbsupport.ru/showthrea...eturn+template

(I modified this hack and used it to return to the add template page as well)

-----------------------------

I was going to make 1 vbhacker file with all of these but didn't know if that would work for everyone.

Mutt 04-19-2002 07:47 PM

screen shot

Velocd 04-19-2002 07:54 PM

Nice ;)

NTLDR 04-19-2002 09:44 PM

Very nice ;) will make editing templates alot easiler!

Installed without a problem, thanks for sharing :D

defnot 04-20-2002 12:12 AM

very nice !!!

MrLister 04-20-2002 03:03 AM

great hack! i love it!

dxb 04-20-2002 05:22 AM

Another great one Mutt well done :)

Admin 04-20-2002 06:14 AM

Great job. :) Won't use it but a great hack nonetheless.

Mutt 04-22-2002 08:16 PM

I made a basic table maker and a vbTable maker. Will be updating the zip soon. Anything else that should be added before I do?

Mutt 04-23-2002 11:22 PM

if you already installed and want to update just upload the 2 new js files then open template.php and replace the dotemplatejavascript function with the new one I attached to this post


All times are GMT. The time now is 04:22 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.01203 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete