The vB Geek

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

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

Advertisement
  Learn how to remove ads

Comment
 
Release Tools Display Modes
 
Old 05-10-2006, 08: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 12:53 PM..
Reply With Quote
  #10  
By trana on 05-11-2006, 08:08 PM
Default

Cool! Thanks for helping us out.

Anyone have a screenshot?
Reply With Quote
  #11  
By tgreer on 05-11-2006, 08:47 PM
Default

Thanks for this! I've noticed some errors, mostly stylistic in the templates, but one main one in the main query. You're missing a field after the ORDER BY clause.

I would change:

Code:
ORDER BY $order LIMIT $limit";
to

Code:
ORDER BY g.threadid $order LIMIT $limit";
Also, it seems to display the message, rather than the synopsis. I'm still puzzling that one out.
Reply With Quote
  #12  
By The Geek on 05-11-2006, 09:13 PM
Default

Thanks. I was actually thinking about the order by clause today as I realized I hadnt put in the sort method (i.e. by date instead of random). It should be dateline

As far as screenshots, see the www.thevbgeek.com or www.thenailgeek.com
Reply With Quote
  #13  
By Lygren on 05-11-2006, 09:29 PM
Default

Thanks for this effort, mr. Geek, but where to I creative the mentioned templates?
Reply With Quote
  #14  
By tgreer on 05-11-2006, 09:33 PM
Default

You're welcome... err, posting in this thread is ok, vs. the Bug Tracker? Since it isn't officially supported, I figured posting here was the way to go.

I worked out the synopsis vs. pagetext issue... I saw it was a conditional in the query based on "preview". For me, I will always want the synopsis, period, so I simply edited the query to take out that conditional.

I also want a very clean look on my site, no extra graphics everywhere, so I deleted the entire first "td" element in template 2.
Reply With Quote
  #15  
By gothic on 05-11-2006, 09:38 PM
Default

One small discrepency that I personally don't find annoying (I use FF) can be seen in the attached images.
The one with the messed up display is IE.
Any suggestions please?
SORTED! Thankyou tgreer.
Attached Images
File Type: jpg FF.jpg (70.1 KB, 168 views)
File Type: jpg IE.jpg (60.9 KB, 106 views)
Last edited by gothic; 05-12-2006 at 04:36 AM..
Reply With Quote
  #16  
By Lygren on 05-11-2006, 10:14 PM
Default

Well, I understood the template adding, but when I try to look at the latest threads from my vBa frontpage, I get:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/htdocs/avforum.com/forum/modules/gars.php:113) in /includes/functions.php on line 2346

Warning: Cannot modify header information - headers already sent by (output started at /var/www/htdocs/avforum.com/forum/modules/gars.php:113) in /includes/functions.php on line 2349

??
Reply With Quote
  #17  
By Lygren on 05-11-2006, 10:21 PM
Default

...I haven't installed the 2.0 edition of GARS, perhaps that will solve this issue?
Reply With Quote
  #18  
By nbento on 05-11-2006, 10:31 PM
Default

Quote:
Originally Posted by The Geek
did you add a new php module block and is it active?
Not that I totaly forgot to edit the gars.php file was 5Am when I sated it up
Reply With Quote
  #19  
By tgreer on 05-11-2006, 10:33 PM
Default

Quote:
Originally Posted by gothic
One small discrepency that I personally don't find annoying (I use FF) can be seen in the attached images.
The one with the messed up display is IE.
Any suggestions please?
I even got some of that in FireFox, which is why I simply deleted the TD containing the linked image. I didn't want it anyway; I only mention this because it appears there is a problem with the structure of that template.
Reply With Quote
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
Who wants a GARS module for vBa CMPS? (vB 3.7+) daisukem Geek Article and Review System 4 08-21-2009 10: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 11:29 AM
GARS / Links vBA block gothic Geek Article and Review System 1 09-24-2006 11:07 AM
GARS + vBA CMPS SoloX Geek Article and Review System 9 07-15-2006 05:51 AM
Yet Another GARS and vBA CMPS thread... tgreer Geek Article and Review System 20 04-27-2006 08:17 PM


All times are GMT. The time now is 10:20 AM.


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

Release powered by GARS 2.1.9 ©2005-2006