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 06-17-2008, 07:04 PM
RaceJunkie's Avatar
RaceJunkie RaceJunkie is offline
Member
 
Join Date: Dec 2005
Posts: 94
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Text beside header image

I noticed today when a article is made a sticky the title repeats itself in the same area as the header image.

http://www.localracechat.com/forums/...play.php?f=240
Reply With Quote
  #2  
Old 06-17-2008, 08:58 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

You have HTML appearing in the ALT attribute of the IMG tag:
Code:
alt="<b><font color="green">Important Race Dates</font></b>"
Remove the HTML or remove $thread[threadtitle] from the GARS_threadbit template:
Code:
		<if condition="$thread['header_image']">
			<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><img src="$thread[header_image]" border="0" style="border: 2px #000000;padding:2px;" alt="$thread[threadtitle]" /></a>
		<else />
			&nbsp;
		</if>
__________________
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
  #3  
Old 06-17-2008, 09:55 PM
RaceJunkie's Avatar
RaceJunkie RaceJunkie is offline
Member
 
Join Date: Dec 2005
Posts: 94
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Wonder how that happened. I have not made any edits to the templates.
Reply With Quote
  #4  
Old 06-17-2008, 10: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

It's something to do with the color associated with your sticky.
__________________
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
  #5  
Old 06-18-2008, 03:06 AM
RaceJunkie's Avatar
RaceJunkie RaceJunkie is offline
Member
 
Join Date: Dec 2005
Posts: 94
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Ahh ic, that explains it because I am using this mod
Reply With Quote
  #6  
Old 06-20-2008, 05:55 AM
Skaterscafe.com Skaterscafe.com is offline
Junior Member
 
Join Date: Jan 2006
Posts: 1
Geek Article and Review System License Holder 
Default

Hey, I did the edits above in the GARS_threadbit.

But I still get this when looking at the forum...it's at the very top.

($title) { echo(">> START $title -------
"); } if (is_array($array)) { echo("

\$results = array(\n");
$this->printarr($array);
echo(");

"); } if ($title) { echo(">> END $title -------
"); } } } ?>tings']); } } if ($sectionid == 2 || $sectionid ==3) { $show['GARS_columns']++; } $show["GARS_modposition$sectionid"] = $output; } } $this->cache_mods(); } $fetched = 1; } } } ?>
Reply With Quote
  #7  
Old 06-20-2008, 12:50 PM
RaceJunkie's Avatar
RaceJunkie RaceJunkie is offline
Member
 
Join Date: Dec 2005
Posts: 94
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Quote:
Originally Posted by Morgan View Post
It's something to do with the color associated with your sticky.
I removed the mod but it still happens.
Reply With Quote
  #8  
Old 06-20-2008, 03:54 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

Skaterscafe.com: That is part of the debug_array function and doesn't happen with a default install (otherwise it'd happen on this site too). If you made any edits to the GARS PHP files undo them, or try reFTPing the GARS PHP files to the server in ASCII mode.

RaceJunkie: Set 'Supress Header Image' for the Type to yes via the ACP.
__________________
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
  #9  
Old 06-20-2008, 05:53 PM
RaceJunkie's Avatar
RaceJunkie RaceJunkie is offline
Member
 
Join Date: Dec 2005
Posts: 94
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Quote:
Originally Posted by Morgan View Post
RaceJunkie: Set 'Supress Header Image' for the Type to yes via the ACP.
It is set to Yes.

Thanks
Reply With Quote
  #10  
Old 06-21-2008, 05:56 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

In the gars_class_edit.php file find:
Code:
                if (!$uploaded_url)
                {
                        if ($this->vb->GPC['GARS_header_image'])
                        {
                                $header_image = $this->vb->GPC['GARS_header_image'];
                        }
                        elseif ($this->vb->GPC['GARS_existing_image'])
                        {
                                $header_image = $this->vb->GPC['GARS_existing_image'];
                        }
                        else
                        {
                                $header_image = $this->settings['url_to_header_images'] . '/' . $this->type['default_image'];
                        }
                }
                else
                {
                        $header_image = $uploaded_url;
                }
Replace with the following:
Code:
		if (!$uploaded_url)
		{
			if ($this->vb->GPC['GARS_header_image'])
			{
				$header_image = $this->vb->GPC['GARS_header_image'];
			}
			else if ($this->vb->GPC['GARS_existing_image'])
			{
				$header_image = $this->vb->GPC['GARS_existing_image'];
			}
			else if ($this->type['default_image'])
			{
				$header_image = $this->settings['url_to_header_images'] . '/' . $this->type['default_image'];
			}
			else
			{
				$header_image = '';
			}
		}
		else
		{
			$header_image = $uploaded_url;
		}
__________________
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
Customizing Header Images & Synopsis text?? mikhailtech Geek Article and Review System 3 01-29-2009 06:20 PM
Header Image creating new folder when uploading image Columbo Geek Article and Review System 1 10-22-2008 08:22 AM
Header image attroll Geek Article and Review System 1 11-10-2006 06:57 PM
How to put image embaded in the text? ang2el Geek Article and Review System 1 11-04-2006 01:37 AM
Header image coldblooded Geek Article and Review System 2 10-17-2005 10:05 AM


All times are GMT. The time now is 09:06 PM.


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