vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   [How-To] Product Managament (vBulletin 3.5 RC 1 and up) (https://vborg.vbsupport.ru/showthread.php?t=92953)

Andreas 08-28-2005 07:19 PM

You can add your own hooks_xxx.xml File.

Princeton 08-28-2005 07:27 PM

it doesn't show under HOOK LOCATION

thank you

Andreas 08-28-2005 08:02 PM

Due to the way it is currently implemented, your XML must define at least 2 Hooktypes:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<hooks>

        <hooktype type="custom">
                <hook>custom1</hook>
                <hook>custom2</hook>
                <hook>custom3</hook>
        </hooktype>

        <hooktype type="custom2">
                <hook>custom2_1</hook>
                <hook>custom2_2</hook>
                <hook>custom2_3</hook>
        </hooktype>
       
</hooks>

The Filename should match your Product ID.
Also, there should be hooktype_xyz Phrases in Phrasegroup Plugin System for all your Hooktypes.

Princeton 08-28-2005 08:45 PM

aha, thank you ... I got the phrasegroup and phrases all figured out also.

Paul M 08-28-2005 10:30 PM

Quote:

Originally Posted by KirbyDE
Reason = I don't like MS too much

:rolleyes:

Quote:

Originally Posted by KirbyDE
PDF is easy to use and available on multiple Platforms.

I am not going to support CHM.

What has you not supporting it got to do with denying anyone else the right to produce a CHM version, you wouldn't be supporting it if someone else did it :confused:

Boofo 08-29-2005 11:40 AM

How do you cache a template in a product file?

Andreas 08-29-2005 11:52 AM

@Paul M
If I did so, I would support CHM to be a succesful Format.
Thank you for your understanding that I am not going to do this.

@boofo
This Question doesn't make sense.
However, you can cache Templates in Hook cache_templates.

Boofo 08-29-2005 01:03 PM

Quote:

Originally Posted by KirbyDE
@boofo
This Question doesn't make sense.
However, you can cache Templates in Hook cache_templates.

What doesn't make sense? I wanted to cache a template in the product xml of my hack. And I was informed about the cache_templates hook right after I posted this request. I missed it before. ;)

Paul M 08-29-2005 02:31 PM

Quote:

Originally Posted by KirbyDE
@Paul M
If I did so, I would support CHM to be a succesful Format.
Thank you for your understanding that I am not going to do this.

No need to thank me. :) You don't actually have my understanding - I find your logic very odd. :ermm:

Andreas 08-29-2005 02:38 PM

@Boofo
It doesn't make sense because you can't "cache Templates in a Product XML"


All times are GMT. The time now is 09:52 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.05143 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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