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)
-   -   Most Edited Templates (https://vborg.vbsupport.ru/showthread.php?t=35515)

TWTCommish 02-26-2002 10:00 PM

Most Edited Templates
 
Alright, first off, this hack will probably only be of use to those who edit their templates with any kind of regularity. It's useful to me, so I figured it might be useful to others who like to tweak their templates and such constantly as well. :)

What's it do?
It tracks the number of times you've edited each of your templates. It also tracks the time of the last edit, and displays the top ten most edited templates on your CP home page. I find this saves a lot of time in template editing, as, otherwise, you've got to scroll to the bottom of the left-hand frame...besides; the templates you're always going back to will be the ones right there near the top anyway. :)

How do I install it?
Follow the instructions in the attached text file. It entails two very short queries to be run on your forums DB, And a couple of modifications in just two files. The whole thing should only take a few minutes.

Enjoy. :)

Xelation 02-27-2002 08:54 PM

I didn't work, can I see a screen shot so I know what im looking for?..... I saved a template like 10 times and nothing

TWTCommish 02-27-2002 09:08 PM

I had several people beta test this...if you followed all steps and got no errors or anything, your top ten templates ought to be right there on your main CP page -- scroll down to see it. :) Lemme see if I can attach a screenshot (might be too big)...

Xelation 02-27-2002 09:10 PM

ah It worked I didn't notice that it was on the home of the cpanel.... great hack!

TWTCommish 02-27-2002 09:12 PM

:laugh: Same thing happened with someone who tested it for me. It's easy to miss. :D Glad you like it.

Rose 02-27-2002 09:22 PM

Another great one by TWT! :D I'm adding it to my main forum, now. :D

TWTCommish 02-27-2002 09:25 PM

Wow! I have a fan! :: faints :: Oh, and call me Chris. :D

nafae 02-28-2002 01:16 AM

Hmm I installed, does it not update itself after you install, and check for already-hacked templates? Because all of mine say "Never" when I have TONS of ahcked templates...

TWTCommish 02-28-2002 01:23 AM

It only STARTS to track edits. vB doesn't track edits, so when you first install this, it can't possibly know how many times you've edited it already. :)

nafae 02-28-2002 01:24 AM

alright just checking :)


All times are GMT. The time now is 03:45 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.01470 seconds
  • Memory Usage 1,723KB
  • 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)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