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
VB mod_template - how VB template management *should* work Details »»
VB mod_template - how VB template management *should* work
Version: 1.00, by Dingle Dingle is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-12-2003 Last Update: Never Installs: 10
 
No support by the author.

Ok, this may be better off in the beta forum, but as far as i'm concerned, unless there's major bugs, this is the final release.

Don't let the last line fool you into thinking this is low quality code, it's primo. But I wrote this code to fit my needs for a project, and decided to share it with the world. Since it already fits my needs to the max, the world's needs take a very low precedence. I am checking the "Will you provide support" box because I will honestly try to provide support, but putting food in my mouth is more important than providing free support for free software. I will TRY to help if i have time. My email is robjohnson@blackhole.com - put 'mod_template' in the subject if you email me.

I hope someone finds this hack as crucial as i do. Anyone who has to deal with VB templates knows what a +++++ they are.

Now, I'll simply paste the readme file and wander off. Cheers.

----------
<code>
VB Mod_Template
--------------------------------------
This hack provides a logical management system for VBulletin templates and sets. I developed this hack for myself because trying to work with VB templates just plain sucks. I've decided to share my work with the world.

I havn't used this extensively yet, in fact i just finished a few minutes ago, but i did give it a pretty good run-through. Even so there are bound to be bugs. If you encounter strange behaviour let me know with as much detail as you can.

Features:
- Doesn't break existing VB template management system
- Create and manage your own template groups
- Manage the scope of templates, global template modifications can be shared across all templatesets
- Synchronize templates across multiple templatesets
- Browse multiple templatesets at once

--------------------------------------
- These scripts and mods are provided AS IS free of charge under no particular license. Use, modify, distribute or maim them to you liking. The only think i require is that you do not modify or remove my credits in the source, or at the bottom of the mod_template pages. That is in fact the sole condition of the copyright, please respect it. Also visit http://www.asylumnation.com .

- I guarantee NOTHING and promise NO SUPPORT. If you encounter problems I will do everything I can to help you, and I will do everything I can to patch bugs, but I am very busy and again I PROMISE NOTHING.

- The above does not mean I don't want you to report problems, bugs, or feedback - it just means I can't guarantee I'll be able to provide free support.

- This hack was developed and tested on a clean install of VBulletin version 2.2.9 . Please let me know if it works, or doesn't work on other VB versions.

- Even if you don't have complaints, feed my ego and let me know if you like it.


Direct any comments, suggestions, criticisms, etc to robjohnson@black-hole.com .

--------------------------------------
--- RELEASE 0.1 ---
This is the first release, 0.1, of VB mod_template. It was developed and tested on VBulletin version 2.2.9 .

It has been substantially confirmed that this hack works on the following VB distributions:
- VBulletin 2.2.9

Please let me know if you get it working on any other VB versions, along with additional steps (if any) you took to get it running.

--------------------------------------
--- DETAILS ---

-Templategroups:
Template Groups are a logical means to organize your templates. Think of a template group as a folder. A folder can contain templates and other folders.
Template Groups are always global. Global means that changing one templategroup will affect ALL templatesets. For instance if you change a group named 'My Group' to 'My Test group', the change will affect every templateset. Templategroups are not specific to any one templateset.

- Templates
There are 3 types of templates. Local templates, global templates, and global synced templates.
A local template only exists once, and has a specific identity. For instance, if you create a local template named 'tmpl' in templateset A, it only exists in templateset A. You could create another template with the same name in templateset B, but it would exist as a seperate temlate.

- Global Templates
exist acrost all templatesets. You can't remove a global template from one templateset, only all templatesets. All global template details (minus template content) are synchronized acrost all templatesets, however the actual template content is retained specific to the templateset the template resides in. For instance, a global template named 'tmpl' will exist in every templateset. Modifying the name or group of the template will affect every templateset, however, modifying the content of the template will only affect the specific templateset that the modified template resides in.

- Global Synced Templates
take Global Templates a step further, and sync not only the name and group, but the content. This is very helpful in managing and modifying common templates. Modifying a global synced template in any templateset will change that template in every templateset.

- That's it, it should be all pretty self explanatory how to use the mod. Let me know if you have any probs.

--------------------------------------
--- INSTALLATION ---
See install.txt
</code>

Show Your Support

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

Comments
  #2  
Old 02-13-2003, 07:33 AM
Dingle Dingle is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot
Reply With Quote
  #3  
Old 02-13-2003, 08:56 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+++++in...*licks install*
Reply With Quote
  #4  
Old 02-13-2003, 10:44 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't really understand what this does. I mean, it is easy enough to turn debug on for just you... Does this do anything more than just allowing you to edit global templates?
Reply With Quote
  #5  
Old 02-13-2003, 11:54 AM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install....nice!
Reply With Quote
  #6  
Old 02-13-2003, 02:05 PM
PSI|Dr-X PSI|Dr-X is offline
 
Join Date: Aug 2002
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx i don't like the vb template system cuz everytime i have to scroll down do that and that....ahh its killing me
Reply With Quote
  #7  
Old 02-13-2003, 03:23 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds very promising..

*Goes off to test on localhost*

Regards

- miSt
Reply With Quote
  #8  
Old 02-13-2003, 03:44 PM
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
Location: Vancouver (whistler.2010)
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whoa.. looks VERY sick!
Reply With Quote
  #9  
Old 02-17-2003, 11:10 PM
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Location: UK
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you switch multiple templates at once? That wold be very useful
Reply With Quote
  #10  
Old 02-17-2003, 11:12 PM
Dingle Dingle is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you mean geniuscrew?
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:44 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.04066 seconds
  • Memory Usage 2,295KB
  • 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)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
  • (1)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