Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[vbhacker] Advanced Template Editor Details »»
[vbhacker] Advanced Template Editor
Version: 1.00, by Mutt Mutt is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-18-2002 Last Update: Never Installs: 89
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-19-2002, 07:47 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screen shot
Reply With Quote
  #3  
Old 04-19-2002, 07:54 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice
Reply With Quote
  #4  
Old 04-19-2002, 09:44 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice will make editing templates alot easiler!

Installed without a problem, thanks for sharing
Reply With Quote
  #5  
Old 04-20-2002, 12:12 AM
defnot's Avatar
defnot defnot is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice !!!
Reply With Quote
  #6  
Old 04-20-2002, 03:03 AM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack! i love it!
Reply With Quote
  #7  
Old 04-20-2002, 05:22 AM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great one Mutt well done
Reply With Quote
  #8  
Old 04-20-2002, 06:14 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job. Won't use it but a great hack nonetheless.
Reply With Quote
  #9  
Old 04-22-2002, 08:16 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 04-23-2002, 11:22 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04781 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete