vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Organize your templates! (https://vborg.vbsupport.ru/showthread.php?t=63519)

Mijae 04-06-2004 07:27 PM

Quote:

Originally Posted by BarBeQue
[high]* BarBeQue clicked install
[/high]

:D worked like a charm!

I requested this but no one answered :P This is great!

paddysplace 04-07-2004 02:15 AM

I was just asking for this a few hours ago in #vborg. Thank you SO much! I will definitely put this in my hacks (crediting you of COURSE!)

Regards,
Patrick

FleaBag 04-07-2004 04:41 PM

Small - but very handy. Cheers. :D

Boofo 04-07-2004 06:02 PM

If adding this code so templates can be grouped, won't this cause the templates to be erased on a vb upgrade?

magnus 04-07-2004 08:02 PM

Quote:

Originally Posted by Boofo
If adding this code so templates can be grouped, won't this cause the templates to be erased on a vb upgrade?

No, I don't think so. They are still classified as "custom templates" by vB. If you "revert" them, they will still be deleted. This doesn't change any of their SQL flags, as that's where vB determines what gets replaced during an upgrade.

gmarik 04-08-2004 05:39 PM

great idea, really coold

Synicide 05-12-2004 09:22 PM

Well, I hope they don't get deleted, because I'm jumping into this hack anyway. :D

[high]* Synicide jumps on the install button.[/high]

attroll 05-23-2004 03:02 PM

Let me see if I get this right. I installed this mod and this is what I put in the "'articles' => 'articles'," in my adminfunctions_template.php. Everything seemed to work fine.

But my question is:
When I create a new template now how do I get it listed under ARTICLES?
Do I have to name the new template articles_test?

Onkel_Tom 06-03-2004 10:11 AM

works fine, thanks !
click install

mtha 06-03-2004 06:31 PM

Quote:

Originally Posted by magnus
Change "XXtitleXX" to what you want the category to be called, don't add "Templates" to the name, because vB will do that for you. For example, if you put "arcade" as the title, it will read "Arcade Templates" in the Edit Templates section.

Get it? Good. :)

well, this is good, but ... I'd like to group the "custom templates" or "custom groups" in one place, so I dont need to go though the whole list of templates to find the custom ones. Tor example, I am grouping some xzy_ templates, as xzy, and prefer them to be displayed on top, or still in Cumstom Templates group.

dunno if it's posible.


All times are GMT. The time now is 09:45 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.01040 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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