The vB Geek

Go Back   The vB Geek > vB Geek Modifications > Add-ons

Add-ons Modifications and add-ons for vB Geek stuff.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Comment
 
Release Tools Display Modes
gothic
Senior Member
gothic's Avatar

vB Version: 3.7.x & above
 

Mod Version: Beta 3?
 

Released: 06-28-2010
 

Installs: 15
 

Last Update: n/a
 

Rating:
 
Supported
DB Changes
Installer Included
Uses Plugins
Template Changes
Code Changes
Additional Files
Is a Beta!
Default (Updated) GARS - vBAdvanced Block

This is simply an updated version of THIS module for vBAdvanced.
This has been installed and tested with GARS 2.1.9 / vBulletin 3.8.5 and vBAdvanced 3.2.2
All I have altered in the 'gars.php' file are the following:

Search for (line 66)
PHP Code:
       if (!$result['image'])
        {
            
$result['image'] = $vbulletin->options['bburl'] . "/geek/gars/images/" $url_to_default_image
        }
        elseif (
substr($result['image'], 01) == ".")
        {
            
$result['image'] = $vbulletin->options['bburl'] . substr($result['image'], 1);
        }
        else
        {
            
$result['image'] = $vbulletin->options['bburl'] . $result['image'];
        } 
Replace with
PHP Code:
       if (!$result['image'])
        {
            
$result['image'] = $vbulletin->options[''] . "/geek/gars/images/" $url_to_default_image//replaced options 'bburl'
        
}
        elseif (
substr($result['image'], 01) == ".")
        {
            
$result['image'] = $vbulletin->options[''] . substr($result['image'], 1); //replaced options 'bburl'
        
}
        else
        {
            
$result['image'] = $vbulletin->options[''] . $result['image']; //replaced options 'bburl'
        

Search for (line 105)
PHP Code:
                eval('$home[$mods[\'modid\']][\'content\'] .= "' fetch_template('adv_portal_module_shell') . '";'); 
Replace with
PHP Code:
                eval('$home[$mods[\'modid\']][\'content\'] .= "' fetch_template('adv_portal_module_wrapper') . '";'); 
I will try to offer support, but I only manage to get in here a couple of times a week, so you may have to be patient.
Release
Attached Files
You must first click Install before you can download this add on.

Release Tools

Comment

Release 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
Release Release Starter Category Comments Last Post
Gars & Vbadvanced 3.0 CMPS astranoc Geek Article and Review System 7 06-11-2008 12:32 AM
Example of unusual integration of GARS and vBadvanced convergent Geek Article and Review System 5 06-03-2007 09:14 PM
BLOCK of freatured reviews IN VBadvanced 2.1.0 PabloAM Geek Article and Review System 0 03-27-2006 07:50 PM
What changes do I need to make to use a vBAdvanced module in GARS? Marris Geek Article and Review System 4 03-08-2006 08:52 AM
GARS/VBAdvanced what am I missing? keithxtreme Geek Article and Review System 4 03-07-2006 09:48 AM


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


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

Release powered by GARS 2.1.9 ©2005-2006