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)
-   -   Preview and copy buttons for Edit Template (https://vborg.vbsupport.ru/showthread.php?t=21518)

Mutt 06-27-2001 10:00 PM

Ok don't give me a bunch of crap if I'm posting this wrong, this is my first little contribution to VB.

In the short time I've been playing around with VB, I've already become annoyed at editing templates. I added two little javascript buttons to the page to make things easier.

Copy - click the button to highlight all the text in the textarea and copy it to the clipboard in one step

Preview - opens a new window displaying the html from the message area. It doesn't replace the variables with any value, but does gives you an idea of layout and color changes

for VB v2.0.1

updated attachment below

Philipp 06-28-2001 10:49 PM

Nice hack. I try it tomorrow :)

and welcome aboard Mutt ;)

Raptor 06-30-2001 12:17 AM

doesnt work

and yes i did change the php3 to php ;)

Mutt 07-02-2001 01:38 AM

what didn't work?

maybe I left something out

Mutt 07-02-2001 01:45 AM

I edited the directions so try it again

the forum seems to be spliting the word javascript up into 2 words java and script with a space between them. make sure you remove that space

Mutt 07-04-2001 12:18 AM

Hey there, I was doing alot of template editing today and needed an easy way to search an individual template. It got so bad that I finally added one.

new feature
Find - adds a small input field and a form button so you can search the textarea. very handy

While editing the directions I realized that I left out a step before. This attachment has complete instructions and all 3 features. I also moved the buttons for esthetic reasons.

Mutt 07-04-2001 12:19 AM

heres a screen shot

MrLister 07-04-2001 02:52 AM

great job! looks usefull. i'll try it right now

webhost 07-04-2001 12:45 PM

Thanks Mutt , this will help out alot. I would recommend this to anyone. The only problem I see sometimes is the way the preview turns out, not enough to matter though.
Great Job.

Jpp 07-04-2001 01:30 PM

Quote:

Originally posted by Mutt
Ok don't give me a bunch of crap if I'm posting this wrong, this is my first little contribution to VB.

In the short time I've been playing around with VB, I've already become annoyed at editing templates. I added two little javascript buttons to the page to make things easier.

Copy - click the button to highlight all the text in the textarea and copy it to the clipboard in one step

Preview - opens a new window displaying the html from the message area. It doesn't replace the variables with any value, but does gives you an idea of layout and color changes

for VB v2.0.1

updated attachment below

Getting dizzy here!! Where is it?????


All times are GMT. The time now is 12:34 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.01087 seconds
  • Memory Usage 1,729KB
  • 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)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