The vB Geek

The vB Geek (
-   Geek Article and Review System (
-   -   GARS hook requests (

The Geek 02-02-2007 08:39 AM

GARS hook requests
I am starting this thread as a way to enable users to request hook locations in GARS.

Feel free to add.


James Goddard 02-02-2007 01:35 PM

2 locations I would like both are in gars_ignition.php:

1. Right below the init of the $scripts array, line 22.
2. Right below the switch(THIS_SCRIPT), line 111.

These would allow me to add gars handling to new scripts I write without "pretending" to be another script.


The Geek 03-04-2007 08:24 PM

sorted for 2.1.5

Namaless 02-16-2008 01:45 PM

I create 2 new hooks in "gars_class_page.php" before and after for comments bits:
PHP Code:

($hook vBulletinHook::fetch_hook('gars_class_page_start')) ? eval($hook) : false;

$return = ($this->templates['com'] ? $this->templates['com'] : 'postbit');

$hook vBulletinHook::fetch_hook('gars_class_page_end')) ? eval($hook) : false

I need this for interactive with comments bits.

Thanks :)

All times are GMT. The time now is 05:00 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.