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 02-27-2008, 11:53 PM
ziggy ziggy is offline
Junior Member
 
Join Date: Feb 2008
Posts: 6
Geek Article and Review System License Holder 
Exclamation How do I show the whole first article on all pages?

I dont really like that we are taken back to the first page in order to read the whole article while we're say on page 12.

How do I change the view so the whole first article shows on top on all pages?
Reply With Quote
  #2  
Old 02-28-2008, 09:00 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
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

Untested, but in the process_pagetext function of the gars_class_page.php file find the following and add the bold red bit:
Code:
        function process_pagetext()
        {
                global $threadinfo, $post, $forum;

                if ($this->type)
                {
                        if ($threadinfo['firstpostid'] == $post['postid'])
                        {
                                global $post, $threadinfo, $stylevar;
                                $post['pagetext_html'] = "";

                                if ($this->type['block_width'])
                                {
                                	$this->type['old_block_width'] = $stylevar['codeblockwidth'];
                                	$stylevar['codeblockwidth'] = $this->type['block_width'];
                                }

                                //Navigation
                                if (1==2 && $this->vb->GPC['pagenumber'] > 1)
                                {
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
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
Paid Request: Need GARS to show first post on all pages COBRAws Geek Article and Review System 2 06-28-2007 08:42 PM
Article and comments on different pages Ig@r Geek Article and Review System 5 06-24-2007 09:02 AM
Separating pages within Article module cMax Geek Article and Review System 2 08-30-2006 01:29 PM
how to create multlink pages in a article ang2el Geek Article and Review System 2 02-08-2006 04:26 PM
Show all pages from content kafi Geek Article and Review System 1 12-01-2005 09:01 PM


All times are GMT. The time now is 01:41 AM.


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