The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2007, 08:39 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default 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
Reply With Quote
  #2  
Old 02-02-2007, 01:35 PM
James Goddard's Avatar
James Goddard James Goddard is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Geek Article and Review System License Holder Geek Advertising Banner License Holder 
Default

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
Reply With Quote
  #3  
Old 03-04-2007, 08:24 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

sorted for 2.1.5
Reply With Quote
  #4  
Old 02-16-2008, 01:45 PM
Namaless Namaless is offline
Member
 
Join Date: Oct 2007
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature requests: points and personalization MichelleB GeekMart 8 09-28-2008 05:11 AM
postbit_display_complete hook problem Lionel Geek Article and Review System 7 10-27-2006 04:57 PM
few requests Hornstar6969 Geek Article and Review System 3 09-17-2006 06:26 PM
Feature requests for Gaz The Geek Lizard Lounge 11 12-25-2005 12:39 AM


All times are GMT. The time now is 02:34 AM.


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