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 01-09-2008, 04:15 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Gallery wont disappear

I am trying to remove the gallery as every image uploaded gets added into it. I need to remove this asap and tried to prevent it in settings > user permissions. However, it is not working. This script is extremely buggy and would like to receive some help.
Reply With Quote
  #2  
Old 01-09-2008, 06:32 AM
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

This isn't a bug. In fact, someone else thought it was a bug if previously uploaded images didn't show. If you want to be rid of it though, look for the following start to the if block in the gars_class_edit.php file and edit as desired:
Code:
                        if ($this->settings['ugs_allow_gallery'] && !$typeinfo['noheader'])
__________________
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 01-09-2008, 07:46 PM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

What is it that I need to edit? I am not familiar with coding so can you please add the edits?
Reply With Quote
  #4  
Old 01-09-2008, 09:08 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 look for the following in the gars_class_edit.php file and add the bold red bit to be rid of the gallery bits:
Code:
                        if (1==2 && $this->settings['ugs_allow_gallery'] && !$typeinfo['noheader'])
Also untested but you could instead add a template conditional to the GARS_gallery_bit template to be rid of some bits:
Code:
<if condition="in_array($gallery_image, array('LINK1', 'LINK2', 'LINK3'))">
            template content here
</if>
Please note that custom edits are not something for support but maybe something to consider for a future version.
__________________
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 03-06-2008, 01:05 AM
ziG ziG is offline
Junior Member
 
Join Date: May 2006
Posts: 24
Geek Article and Review System License Holder 
Default

the gallery images (header images) get added automatically to only the user that uploads them. i have a main user on my website that uploads all articles and press releases, and this user has a list of about 30+ header images that are selectable in the gallery area when your posting a new article. very annoying. this should just be a global gallery that all users are able to access and there should be a limit allowed to how many are displayed in a new article post, instead of having literally every header image you ever uploaded displayed everytime you want to write a new article.
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
Email Wont Send??? soultrader Geek Gazette 2 04-14-2009 02:27 PM
After editting post GAL links disappear ekantnl Geek Auto-Linker 1 12-19-2008 03:52 PM
Links disappear after first refresh? MOG Geek Auto-Linker 6 05-01-2008 02:41 PM
GAL wont link this.... soultrader Geek Auto-Linker 1 10-26-2006 11:11 AM
Prices wont save issue The Geek GeekMart 7 12-07-2005 12:05 PM


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


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