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 03-26-2009, 08:28 AM
za4a tuner za4a tuner is offline
Junior Member
 
Join Date: Aug 2007
Posts: 29
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Question [How?] Edit attachments after the "Editing time" is over?

Hello,
i'd like to let the threadstarter edit his own post/thread after the "vB's edit time limit restriction for content" is over.
@ the ACP (GARS Options) i did the setting for this -> the users can edit their own posts/treads.

BUT:
If a user want to edit an attachment / upload a new attachment AFTER the time limit for editing posts is over, it's not possible, to edit / upload an attachment.

Is there a fix for?


I use vb 3.8.1 and GARS 2.1.9


kr Chris
__________________
sorry for my bad english ... my german is much better
Reply With Quote
  #2  
Old 03-27-2009, 01:39 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

Where in GARS are you setting this option:
  • the users can edit their own posts/treads
Do you mean this setting?
  • Ignore vB's edit time limit restriction for content
What message do you see when adding another attachment?
__________________
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 03-27-2009, 07:03 AM
za4a tuner za4a tuner is offline
Junior Member
 
Join Date: Aug 2007
Posts: 29
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by Morgan View Post
Where in GARS are you setting this option
Do you mean this setting?
  • Ignore vB's edit time limit restriction for content
Yes, that's the option i set

Quote:
Originally Posted by Morgan View Post
What message do you see when adding another attachment?
I get this errormessage, when a users try to upload an new attachment or edit an existing file after the timelimit is over:
Du kannst einen Beitrag nur innerhalb von 8640 Minuten, nachdem du ihn abgeschickt hast, ändern. Diese Zeit ist inzwischen verstrichen. Wenn du Änderungen an deinem Beitrag vornehmen möchtest, musst du dich an den Administrator wenden.
This is the standardmessage, if a user tries to edit an "old" post.
The text of a post can be edited, but not even the attachments!
__________________
sorry for my bad english ... my german is much better
Reply With Quote
  #4  
Old 03-28-2009, 01:55 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

GARS does not affect the vBulletin attachment settings. Out of the box GARS is intertwined with the following THIS_SCRIPT pages:
  • editpost
  • forumdisplay
  • inlinemod
  • newreply
  • newthread
  • postings
  • printthread
  • showthread
So untested but to get GARS to affect the THIS_SCRIPT newattachment page, you could add a plugin to the gars_ignition_start hook with the following code and see if it works:
Code:
if (THIS_SCRIPT == "newattachment")
{
	require_once(DIR . '/geek/gars/includes/gars_class_core.php');
	$vbulletin->gars =& new GARS_base();
	if ($vbulletin->gars->settings['edittime'])
	{
		$vbulletin->options['edittimelimit'] = 0;
	}
}
__________________
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-28-2009, 08:50 AM
za4a tuner za4a tuner is offline
Junior Member
 
Join Date: Aug 2007
Posts: 29
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Hy Morgan,
thanks for your help => the plug-in works perfekt!
__________________
sorry for my bad english ... my german is much better
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
Quick trick for "Post Thank You Hack" & "Passive video" hack cclaerhout Geek Article and Review System 2 08-13-2009 06:36 PM
There is not "member rating" in "newreply.php" gollo Geek Article and Review System 9 11-11-2008 05:57 AM
fehler "kein benuzername.." error "username" hohleweg Geek Article and Review System 7 03-22-2007 11:28 PM
"GARS Rating" Just Like "Hot-or-Not" Voting Pehchaan Geek Article and Review System 4 12-10-2006 07:51 PM
I want to link "baseball" and "baseball bat". How? bob Geek Auto-Linker 18 10-02-2006 12:04 PM


All times are GMT. The time now is 09:18 AM.


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