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
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2005, 09:05 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 GARS RC3 Release Discussion

GARS RC3 has been uploaded to the download section for license owners of GARS.

This baby is a long way coming and I have been busting a gasket to try to get it to its completion stage. Well, its 99% there.

Why another RC?

The key reason is because I have re-written a crap load of the back end. Primarily the 2 key focal points have been with a module caching system and a better terms/phrase manager for enhanced international support.
Because of the immense amount of back end changes, it was imperative that I do one final push for bug elimination.

Before you get all freaky and giddy like and go upgrade, let me beg you to please check the README for upgrade instructions. No, the readme isn't done yet, but it does have instructions!!! Those asking questions because they did not follow the readme will be mocked diligently.

So, lets talk about whats new.

Well, from your view point, you wont see a lot that is new, however Ill still quickly recap them because I love typing.

1- Term system re-done.
The old system basically swapped out your old phrase set with keywords. While this worked as a pretty sweet hack - it left most international users out in the cold. Furthermore it sometimes left you with really odd looking phrases like "Hot Comment Review Ketchup". All right, I was joking about the Ketchup part. Anyhooo, the new system essentially builds up a new phrasegroup for each terms set you make which allows you to customize each phrase as well as translate it using vb's phrase system. I have also included a handy quick editor so you can avoid that clunky phrasegroup editor that comes with vB.
Sadly, this also means your query count goes up by one. Thats because there is no way to pre-cache a phrasegroup until AFTER the forumid is known. The good news is that its about the smallest query you could ever have and the even gooder news is that I have reduced the over all queries dramatically

2- Module Cache
Like with any CMS solution, queries can quickly get out of control when modules are added left right and centre. Hence the reason I have introduced some query control!
Basically, the results of the queries from your modules can get cached, thus saving you pulling every page view. I have provided some granular control over how they get cached (if at all) however this is really beyond the scope of this diddy. Suffice to say here is a quick overview:
On each module set page (for showthread and forumdisplay), there is a new option with each module that asks how it should be cached.

The options are:
Don't cache
Set for most mods, those that don't use the cache, or when you want to pull the data every time.
On new/edit thread
The module is re-cached whenever you create or edit a new thread. This is a handy option for the top module when it is set to 'Latest'.
On new/edit comment
This doesn't work yet. So there :P
Via Cron
GARS now comes with a cron job that will 'reset' the modules on a periodic basis. This is a good option for the 'Featured' modules and the other top modules.

How items are cached:
Basically, an item gets cached if its set to be cached (your settings have to have cache on and the module has to have a valid cache setting). What will happen is that when the module is run, if it has a cache setting and coded to cache, then the system will then save the results for future use.
That means that the first time you go to a page, you will incur the query. Once its cached, you will no longer incur the query until the module is set to refresh (for example via the cron job).
I think I'm rambling on about this now and I'm not sure if I'm making too much sense. However take this away with you: It is good.

3- I have done a handy workaround that save GARS calling the datastore every time you bring up a forumdisplay or showthread page. Normally GARS HAS to perform a query every page to see if you need it or not. I have done away with this thus saving the query unless you need it.

4- A whole bunch of other stuff that I wont bore you with.

So, whats the plan Stan?

The plan is simple: Kill all remaining or new bugs. This my friends shall depend largely upon you. I'm pretty sure we are pretty good to go gold at this stage, however I am sure a few bugs will crop up from the new additions.
As soon as those get killed, I finish the README, and optimize a few more code bits, we will be as good as gold.
This could be as soon as this weekend. It just depends on the bug count.

IF you come up with a new bug - Post it in the troubleshooting forum with [RC3] in the prefix. I think I could use a bug tracker.

Good bye, god bless and good luck all.

Geek Out.
Reply With Quote
  #2  
Old 12-13-2005, 09:19 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

O yea, just remembered a couple other tidbits:

1- When you set a type for your forum (via GARS settings), it will create empty entries in the GARS table for the threads in that forum. This is a good thing

2- There is a new module, that lets a user enter a URL to go to when the header image is clicked.
To activeate it, you need to register it via GARS->modules->register module

Title: linkthing
file: linkheaderimage.php

Make sure that you place it in the showthread portion of your module set. It only has a visible user interface when creating/editing a thread, so it doesnt matter what section you put it in.

Toodles. Im off home to grab a beer.

nJoy
Reply With Quote
  #3  
Old 12-13-2005, 09:24 PM
PaintSplasher PaintSplasher is offline
Junior Member
 
Join Date: Oct 2005
Posts: 10
Geek Article and Review System License Holder 
Default

Ok, first of all thank you for this release

My Question, are all phrases now in the xml file ?


Ohh,.. after install i show follow error..

Warnung: in_array(): Wrong datatype for second argument in /geek/gars/includes/gars_class_admin.php (Zeile 301)

Warnung: in_array(): Wrong datatype for second argument in /geek/gars/includes/gars_class_admin.php (Zeile 301)

Invalid SQL:
INSERT INTO testvb3_gars (threadid, userid) VALUES (1, );

MySQL-Fehler : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Fehler-Nr. : 1064
Datum : Tuesday, December 13th 2005 @ 10:47:10 PM
Skript : http://***/admincp/gars_admin.php
Referrer : http://***/admincp/gars_admin.php?
IP-Adresse : ***
Benutzername : ***
Klassenname : vb_database

Last edited by PaintSplasher; 12-13-2005 at 09:45 PM..
Reply With Quote
  #4  
Old 12-13-2005, 09:53 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

Thats odd. I just uploaded a new package that should fix the problem. Just replace your gars_class_admin.php file.

The base phrases are in the xml now - however its all handled a little differently now
Reply With Quote
  #5  
Old 12-13-2005, 10:14 PM
PaintSplasher PaintSplasher is offline
Junior Member
 
Join Date: Oct 2005
Posts: 10
Geek Article and Review System License Holder 
Default

Yes, now it works fine.
Reply With Quote
  #6  
Old 12-13-2005, 11:35 PM
fyjpm's Avatar
fyjpm fyjpm is offline
Junior Member
 
Join Date: Dec 2005
Posts: 12
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default line 18 of GARS_modcache.php had a comma instead of a period

Code:
        $items = $vbulletin->db->query_first("SELECT id FROM " . TABLE_PREFIX , "gars_module_set_details WHERE cacheon=3");
fix to :

Code:
        $items = $vbulletin->db->query_first("SELECT id FROM " . TABLE_PREFIX . "gars_module_set_details WHERE cacheon=3");
Reply With Quote
  #7  
Old 12-13-2005, 11:47 PM
fyjpm's Avatar
fyjpm fyjpm is offline
Junior Member
 
Join Date: Dec 2005
Posts: 12
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by The Geek
1- When you set a type for your forum (via GARS settings), it will create empty entries in the GARS table for the threads in that forum. This is a good thing
This did not happen for me....still my threads arent in the vb_gars table.....
Reply With Quote
  #8  
Old 12-14-2005, 12:00 AM
fyjpm's Avatar
fyjpm fyjpm is offline
Junior Member
 
Join Date: Dec 2005
Posts: 12
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default linkheaderimage.php target="_BLANK"

that doesn't work... in firefox at least ....needs to be lowercased "_blank" ( on line 17)

-John
Reply With Quote
  #9  
Old 12-14-2005, 04:50 AM
Walim Walim is offline
Junior Member
 
Join Date: Sep 2005
Posts: 20
Default

woow there is alot of new feature

hmmm is this post is old or new ? because i dont see any date ..
Reply With Quote
  #10  
Old 12-14-2005, 05:53 AM
uae's Avatar
uae uae is offline
Junior Member
 
Join Date: Sep 2005
Posts: 14
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Thank you so much for the release, can't wait for the gold

Quote:
Originally Posted by Walim
hmmm is this post is old or new ? because i dont see any date ..
Just look under the members name in each post
Reply With Quote
Reply

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 2.1.2 Release Discussion The Geek Geek Article and Review System 36 12-20-2006 03:16 PM
GARS 2.1.1 Release Discussion The Geek Geek Article and Review System 23 12-13-2006 12:15 PM
GARS 2.1.0 Release Discussion The Geek Geek Article and Review System 32 12-12-2006 09:32 AM
GARS 2.0 RC3 Release Discussion The Geek Geek Article and Review System 44 08-21-2006 09:37 AM
GAB RC3 Release Discussion The Geek Geek Advertising Banner System 8 06-01-2006 06:09 PM


All times are GMT. The time now is 11:08 AM.


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