Closed (fixed)
Project:
dot_disclaimer
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2007 at 01:28 UTC
Updated:
10 Aug 2009 at 03:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
regx commentedlet me know if this fixes the problem for you.
Comment #2
igorik commentedyes, it helps, thanks.
anyway, I found that this feature thar user have to check checkbox for post comment is really unpopular,
so finally I add this line into comment.module (line 1566)
$form['agreement'] = array('#type' => 'checkbox', '#title' => 'By posting this comment you agree with terms and contitions for posting comments on our site', '#disabled' => TRUE ,'#value' => 1 , '#weight' => 19);
so there can be interesting feature request to let admin that checkbox checked by default and to set message for it.
igor
Comment #3
regx commentedIf you don't put any text into the checkbox text, then the node will be displayed without the checkbox.
Comment #4
igorik commentedHi
I am not sure which node you mean - This checkbox is shown inside comment form with it's title form properly.
In published comment there is this checkbox useless, it's (information) value is in comment form only.
Thanks for answer
Igor
Comment #5
regx commentedIn the required text box in admin/settings/dot_Disclaimer if you delete the required text, then no checkbox will be displayed, just the disclaimer.
Comment #6
regx commentedComment #7
(not verified) commentedComment #8
shmatty29 commentedhi, when applying this patch I get
Hunk #1 failed at 1.
1 out of 1 Hunk failed -- saving 1 rejects to file dot_diclaimer.module.rej
i am relatively new to patching, am i doing something wrong?
thanks, matt
Comment #9
shepherdjack77 commentedHi,
I was just wondering if you could advise me on using this patch, I have just tried replacing the code in the .module file with the code in the patch (excluding the text that isn't php at the start) but this just brings up the error "Parse error: syntax error, unexpected T_FUNCTION in C:\wamp\www\lakelandroutes\sites\all\modules\dot_disclaimer\dot_disclaimer.module on line 212"
Thanks,
Jack
Comment #10
scoutbaker commentedThis patch is included in the 5.x-1.x-dev version of the module already.