Terms of Service Module
Posted by Brian Moon
October 15, 2006 07:10AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Chris,
I reply my questions:
The sanity checks are now ok? Which template do you use? The default template?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
I reply my questions:
The sanity checks are now ok? Which template do you use? The default template?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Terms of Service Module October 15, 2006 06:05PM |
Registered: 17 years ago Posts: 6 |
Quote
Oliver Riesen
Hi Chris,
I reply my questions:
The sanity checks are now ok? Which template do you use? The default template?
Regards
Oliver
I am using the default template. The sanity check says there is an error with the terms of service module:
"Sanity check failed Your template file "posting_buttons.tpl" misses {TOS}."
I was under the assumption that I could use this mod without putting the terms of service on the posting page. I just want it on the registration page. Is that wrong? Do I have to have it in both places for this to work correctly?
October 16, 2006 09:19AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Chris,
Sanity check stops at first error. Perhaps there ist another error. Please make the necessary changes to posting_buttons.tpl and check again.
Please clear also your cache directory.
Since it seems to me that you had already a lot of trouble with your Phorum-installation I recommend to start with a fresh installation and to add modules one by one.
I never tested that. But if you allow only registered users to post and if you never change the TOS-date in settings there's no effect on the posting page. So make also the changes to posting_buttons.tpl. Your users never will see the TOS on the posting page in that case.
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Quote
cdclose
The sanity check says there is an error with the terms of service module:
"Sanity check failed Your template file "posting_buttons.tpl" misses {TOS}."
Sanity check stops at first error. Perhaps there ist another error. Please make the necessary changes to posting_buttons.tpl and check again.
Please clear also your cache directory.
Since it seems to me that you had already a lot of trouble with your Phorum-installation I recommend to start with a fresh installation and to add modules one by one.
Quote
cdclose
I was under the assumption that I could use this mod without putting the terms of service on the posting page. I just want it on the registration page. Is that wrong? Do I have to have it in both places for this to work correctly?
I never tested that. But if you allow only registered users to post and if you never change the TOS-date in settings there's no effect on the posting page. So make also the changes to posting_buttons.tpl. Your users never will see the TOS on the posting page in that case.
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Terms of Service Module October 16, 2006 07:30PM |
Registered: 17 years ago Posts: 6 |
Ok everything is working now except for the terms of service on the registration page. The sanity check says everything is ok. I am seeing this error in my logs now:
1161040774: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''20061016')' at line 1: insert into phorum_user_custom_fields (user_id,type,data) VALUES(33,,'20061016')
Any idea how to fix this? I tried searching google but have had no luck. I appreciate the help
Thanks.
Chris
1161040774: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''20061016')' at line 1: insert into phorum_user_custom_fields (user_id,type,data) VALUES(33,,'20061016')
Any idea how to fix this? I tried searching google but have had no luck. I appreciate the help
Thanks.
Chris
October 17, 2006 03:40AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Chris,
Please check your phorum_settings table for the default settings (for example with phpMyAdmin):
Do you get two rows?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Quote
cdclose
I am seeing this error in my logs now:
1161040774: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''20061016')' at line 1: insert into phorum_user_custom_fields (user_id,type,data) VALUES(33,,'20061016')
Please check your phorum_settings table for the default settings (for example with phpMyAdmin):
SELECT `name`,`type`,`data` FROM `phorum_settings` WHERE `name` LIKE 'mod_tos%'
Do you get two rows?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Terms of Service Module October 17, 2006 08:58AM |
Registered: 17 years ago Posts: 6 |
October 17, 2006 09:37AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Chris,
That's correct. Please chek now the Custom Profile Field. Go to Phorum Admin, Custom Profile. There should be a field mod_tos, length=8, HTML disabled=Yes. Does this field exist?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Quote
cdclose
Yes I'm seeing two records. Screen shot attached.
That's correct. Please chek now the Custom Profile Field. Go to Phorum Admin, Custom Profile. There should be a field mod_tos, length=8, HTML disabled=Yes. Does this field exist?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Terms of Service Module October 17, 2006 09:41AM |
Registered: 17 years ago Posts: 6 |
Re: Terms of Service Module October 18, 2006 08:39PM |
Registered: 17 years ago Posts: 6 |
Re: Terms of Service Module October 26, 2006 01:50PM |
Registered: 17 years ago Posts: 9 |
Love the module! I have it installed only on the Registration page.
My existing Admin account is getting a "You must agree to the terms of service to post." error message when trying to post a message. And when I try to register a new user, I get this error message:
I do get two rows in the table when I do the "SELECT `name`,`type`,`data` FROM `phorum_settings` WHERE `name` LIKE 'mod_tos%'" query in phpMyAdmin.
My existing Admin account is getting a "You must agree to the terms of service to post." error message when trying to post a message. And when I try to register a new user, I get this error message:
Quote
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''20061026')' at line 1: insert into phorum_user_custom_fields (user_id,type,data) VALUES(2,,'20061026')"
I do get two rows in the table when I do the "SELECT `name`,`type`,`data` FROM `phorum_settings` WHERE `name` LIKE 'mod_tos%'" query in phpMyAdmin.
Sorry, only registered users may post in this forum.