|
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 |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Disable GARS within a specific style
Would it be possible to have GARS not apply to forums with in a specific style? I know I can edit each GARS plugin and wrap the code in conditionals, but was kinda hoping there was a way of doing it from a single point...
Many thanks ________ Vtr250 Last edited by dartho; 03-12-2011 at 02:31 AM.. |
#2
|
||||
|
||||
Untested but try editing the GARS - Startup plugin located at the cache_templates hook, adding in the bold red bits:
Code:
if (STYLEID != X) // X is the styleid number { require_once(DIR . '/geek/gars/includes/gars_ignition.php'); }
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Last edited by dartho; 03-12-2011 at 02:31 AM.. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GARS sticks to a style which doesn't exist any more | AndreasP | Geek Article and Review System | 0 | 01-04-2009 08:39 AM |
GARS 2.14 question - It doesn't seem to have worked in with my style correctly | FRAiD | Geek Article and Review System | 12 | 04-20-2007 10:19 PM |
Post your GARS style/layout here! | trana | Geek Article and Review System | 2 | 04-05-2007 03:17 PM |
GARS pages with a different style | tormodg | Geek Article and Review System | 3 | 08-09-2006 10:28 AM |
Specific Image Sizes for specific display | zatsu | Geek Advertising Banner System | 3 | 01-13-2006 09:45 PM |