Grey Matter Forums
« GM 1.6.1 Won't Preview/Post unless Protect Author »

Welcome Guest. Please Login or Register.
Sept 2, 2010, 9:54am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Development :: Bug Reports :: GM 1.6.1 Won't Preview/Post unless Protect Author
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: GM 1.6.1 Won't Preview/Post unless Protect Author (Read 1,591 times)
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 GM 1.6.1 Won't Preview/Post unless Protect Author
« Thread Started on Dec 12, 2006, 10:44pm »

Versions Affected: GreyMatter 1.6.1
Severity: Minor (loss of major functionality, but no code change fix)
Issue Description: When posters Preview a comment and then attempt to post it, GM will report an error that several fields were not filled in.

Resolution: To fix this defect without modifying the code, simply make sure the 'Protect Author Name' option is set to Yes in the Configurations Screen.

To fix the code, modify the gm-comments.cgi file. Around line 310.
From:
Code:
$previewcommentauthor = $IN{'newcommentauthor_org'};

To:
Code:
$previewcommentauthor = $IN{'newcommentauthor'};
if( $protectauthorname eq Gm_Constants::YES ){
$previewcommentauthor = $IN{'newcommentauthor_org'};
}


This will be fixed in GM 1.7.1
« Last Edit: Jan 3, 2007, 11:45pm by coldstone »Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webgreymatterforum.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Report Abuse | Mobile