The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   GARS hook requests (http://www.thevbgeek.com/showthread.php?t=2800)

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.

nJoy

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.

James

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 10:37 AM.

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