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 11-05-2008, 05:28 PM
Cocko Cocko is offline
Member
 
Join Date: Oct 2008
Location: Hamburg, Germany
Posts: 38
Geek Article and Review System License Holder Geek Gazette License Holder 
Default Question - How to prevent releaser to click install

Hope this is the right forum for asking non-supporting questions.

I'd like to prevent the releaser to click himself the install button.
Maybe by hiding the release box or by displaying a system message.

Is there a way with the $releaseuser variable?

Thanx for any hints.
Reply With Quote
  #2  
Old 11-07-2008, 02:38 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 try making use of the following code in the /geek/gars/mods/display/marked.php file to prevent certain code from happening if it is the releaser who is accessing the file:
Code:
if ($this->vb->userinfo['userid'] && $this->vb->userinfo['userid'] != $thread['postuserid'])
{

}
__________________
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 11-08-2008, 02:17 PM
Cocko Cocko is offline
Member
 
Join Date: Oct 2008
Location: Hamburg, Germany
Posts: 38
Geek Article and Review System License Holder Geek Gazette License Holder 
Default

Thanks. It's working.
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
Enhancement Request - Click 2 Email zimdude Geek Advertising Banner System 1 08-12-2009 06:50 PM
Trying to prevent User Review - Only want to allow comments jwashburn Geek Article and Review System 2 03-17-2009 08:06 PM
prevent users from posting - permissions pixie Geek Article and Review System 6 03-30-2007 10:37 AM
Question about Install mod cookiepants Geek Article and Review System 2 08-03-2006 06:38 PM
Install-Module: No Install for Authors themselves ragtek Geek Article and Review System 0 06-10-2006 09:44 AM


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


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