The vB Geek

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

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

  Learn how to remove ads

Release Tools Display Modes
Old 05-10-2006, 07:00 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 vba CMPS GARS block

This is just a quick vba Module I threw together to try and please the 'Damnit - come up with vba support' people.

This will create 3 different layouts depending on the modules...

Last edited by The Geek; 04-14-2007 at 11:53 AM..
Reply With Quote
By Morgan on 04-06-2009, 03:46 PM

That would require a customized script. There are a number of examples on vBorg for how to create a non vB page while using the vB authentication if that's the route you want to take.
Reply With Quote
By Arjan on 04-11-2009, 01:17 PM

I got this working and it does do most things I want.
I've only got one problem: Attachments which are inserted into the text are only shown as a link.
Can anyone tell me how I can get it to show the image itself?

For starters I found that gars.php is lacking the code to retreive the attachment. I have no clue how to add this, unfortunately.
Last edited by Arjan; 04-11-2009 at 02:04 PM..
Reply With Quote
By Arjan on 04-11-2009, 02:24 PM

A version that shows the synopsis instead of the message body would also be welcome. Maybe selectable in the settings?

In that case I can display a short message on the frontpage with a link to the full message.
Reply With Quote
By gothic on 05-21-2009, 07:21 AM

Just upgraded to vBAdvanced 3.2.0 and the module stopped functioning.

Am using a standard vB 3.7.3 installation and upgraded from an UN-MODIFIED vBA 3.1.0 which had the GARS block working beautifully.

Picked it all apart and tried various config changes but no mustard
Simply can't get the little begga to work.

Any suggestions?
Reply With Quote
By Morgan on 05-23-2009, 03:34 PM

Not sure, does vBa have a setting where you can enter variables from this add-on to globalize?
Reply With Quote
By Neutral Singh on 06-03-2009, 07:18 PM
Default Facing Issues in IE display of this module


I dont know what is causing this in Internet Explorer 8.

My settings are in gars.php:


    $forumids = "324,323,322,321,319,12,19,20,27,55,6,75,83,297,295,292,290,14,22,23,25,39,54,73,74,217,20,293,297,296,318,50,302,309,303,304,305,306,307,308,314,317,318,316,320,289,214,210,237,27";           //      Comma seperated list of forumids
    $limit = 5;                 //      How many items to show
    $title = "News Articles";             //        Module Title
    $featured = 0;              //      1= Only featured items
    $url_to_default_image = "types/3/default.jpg"; //Relative URL to default image from geek/gars/images/ folder
    $vertical = 0;              //      1= Vertical (only for template 1 or 3)
    $preview = 0;               //      1= Show preview
    $ratings = 0;               //      1= show ratings
    $template = 1;              //      1= simple with pic, 2=big with pic, 3=Listing no pic
    $order = 1;                 //      0= rand, 1=desc, 2=asc
    $maxchars = 200;            //  Maximum amount of chards to snip
    $customfields = false;         // Set to true to grab the custom fields.
    $parsebb = true;            //set to true to parse preview


template has the following code.

<if condition="$vertical"><tr></if>
<td class="alt2" align="center" valign="top">
        <img alt="$result[title]" src="$result[image]" style="border: 2px #000000;padding:2px;" /><br />
        <a href="$bburl/showthread.php?t=$result[threadid]" title="$result[title]">
    <strong>$result[title]</strong></a><div class="smallfont">$result[byline]</div>
<if condition="$vertical"></tr></if>
In vba CMPS module, i have set the colspan = 5, but if you look at my website in internet explorer, i am getting incorrect display.

What is wrong? and how can i correct it.?

Attached Images
File Type: jpg garsblockspan.jpg (8.5 KB, 25 views)
Reply With Quote
By Morgan on 06-09-2009, 01:28 PM

Five thumbnails, but Latest News "in" one thumbnail. Looks like you need to make use of colspan="5" in the TD tag for the Latest News to allow it to go across the five thumbnails.
Reply With Quote
By e36freak on 06-14-2009, 03:57 PM

Hello all,

is there a change to get running this module in the gars forumdisplay?

It would be great to have it. Could somebody help me please?

Thank you.

Reply With Quote
By Morgan on 06-15-2009, 04:39 PM

Sorry I don't use vBa CMPS but maybe someone who has done what you seek will come by and offer input.
Reply With Quote
By e36freak on 06-16-2009, 10:45 AM

Hm, OK, it should look like this:

I want to have the left an the right column with the pictures in it. It's the same like the vba cmps gars block, but i would need it for gars itself.

No chance?
Reply With Quote

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
Who wants a GARS module for vBa CMPS? (vB 3.7+) daisukem Geek Article and Review System 4 08-21-2009 09:37 AM
how to make Top 5 Articles block show up on frontpage (vbA CMPS) beowulf68 Geek Article and Review System 1 02-23-2008 10:29 AM
GARS / Links vBA block gothic Geek Article and Review System 1 09-24-2006 10:07 AM
GARS + vBA CMPS SoloX Geek Article and Review System 9 07-15-2006 04:51 AM
Yet Another GARS and vBA CMPS thread... tgreer Geek Article and Review System 20 04-27-2006 07:17 PM

All times are GMT. The time now is 12:13 PM.

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

Release powered by GARS 2.1.9 ©2005-2006