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
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-06-2007, 01:37 PM
Lars-Christian Lars-Christian is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Geek Article and Review System License Holder 
Default Modifying forumview.php and showthread.php for GARS only?

Okay, this is my predicament:

I want to include my right-menu from vBadvanced, but only on the forums where GARS is enabled.

To include the right menu, I have to include this piece of code in the corresponding php file:

Code:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
So for me, when I want to include the right menu on the forumview and showthread, I have to include that code in forumview.php and showthread.php - Problem is, this of course doesn't just include the right menu in the GARS forums, but the rest of the forums as well.

So my question is obviously, is it possible to alter the GARS code so that it will use modified versions of these files, for instance forumviewGARS.php and showthreadGARS.php? Or perhaps an even easier way to achieve what I'm trying to do?

Thanks in advance
Reply With Quote
 

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
GARS not shown in AdminCP until Admin-User is Superadmin in config.php Muah Geek Article and Review System 10 08-21-2010 12:50 PM
external.php results with gars dawgbone Geek Article and Review System 4 11-14-2008 06:11 PM
PHP Website Morgan GARS Link Directory 0 08-24-2008 07:45 PM
GARS 2.0 RC 2 - gars_class_base.php missing Marris Geek Article and Review System 1 07-14-2006 06:55 AM
Changing from index.php to forum.php? Michael Lizard Lounge 2 10-04-2005 03:27 PM


All times are GMT. The time now is 11:33 PM.


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