Firefox PHP

Terms of Service Module

Posted by Brian Moon 
Re: Terms of Service Module 2.2 (5.1 and 5.2 ready)
September 26, 2006 05:53AM
Terms of Service Module, new version 2.2.1 (5.1 and 5.2 ready)

Changelog:

2006/09/26 version 2.2.1 by Oliver Riesen (oliver@riesen.org)
- Optimizing auto-installation of default settings.
- Bug fix: missing profile field when calling settings just after enabling the module; thanks to BBSNewbie.


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
September 26, 2006 05:57AM
Hi BBSNewbie,

Quote
BBSNewbie
The default settings for the module are missing.

At least for this problem I found a small bug fixed in new version 2.2.1.

After updating to the new version please delete the custom profile field "mod_tos". Now go to the module settings and save your desired values once.

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
September 28, 2006 10:30PM
The same problem still exists after I installed 2.2.1.

I deleted mod_tos, both from admin.php page as well as database,
turn on / off TOS module a few times, still got the Sanity check error:

Sanity check error:

"Sanity check failed
The default settings for the module are missing.

Possible solution:

Login as administrator in Phorum's administrative interface and go to the "Modules" section. Open the module settings for the Terms of Service Module and save the default values."

I checked the database with the following command:

SELECT `name`,`type`,`data` FROM `phorum_settings` WHERE 1 AND `name` LIKE 'mod_tos%'

It returned:

a:3:{s:16:"date_last_change";s:8:"20060928";s:14:"default_accept";i:0;s:9:"file_name";s:16:"terms-of-service";}

database also showed mod_tos_installed = 1

So what can be the issue ?
Re: Terms of Service Module
September 29, 2006 07:29AM
Terms of Service Module 2.2 (5.1 and 5.2 ready), new version 2.2.2

2006/09/29 version 2.2.2 by Oliver Riesen (oliver@riesen.org)
- Small bug fix in sanity checks; thanks to BBSNewbie.


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 02, 2006 04:37AM
I have such strange problem. If I create New Topic, I'll see TOS, but in posting form on page read.php I've not seen TOS, as this value just not exist?

What reason can be?
Re: Terms of Service Module
October 02, 2006 04:50AM
hm...

i've added
} elseif ( (phorum_page == 'post' || phorum_page == 'read')

in file terms_of_service.php on line 21, and TOS has appeared in posting form on read.php



Edited 1 time(s). Last edit at 10/02/2006 04:51AM by Avdoshyn.
Re: Terms of Service Module
October 02, 2006 05:21AM
Terms of Service Module, new version 2.2.3 (5.1 and 5.2 ready)

Changelog:

2006/10/02 version 2.2.3 by Oliver Riesen (oliver@riesen.org)
- Show TOS also on read page with posting form; thanks to Avdoshyn Andrej
  (http://www.phorum.org/phorum5/profile.php?16,713).


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 02, 2006 08:38PM
Hi:

Thank you for continually improve the module.

I am using version TOS, 2.2.3, however, the posting page does not show
term of services and its button, however, when I try to submit any post, a red error message will be displayed:

"You must agree to the terms of service to post."

I verified that I had put
{TOS}
at the very begining of posting_button.tpl

what can be the root of problem ?

My system is 5.1.16a, in additional to TOS, I also enabled editor tools.
Re: Terms of Service Module
October 03, 2006 11:43AM
Hi BBSNewbie.

Quote
BBSNewbie
I verified that I had put
{TOS}
at the very begining of posting_button.tpl

The sanity checks are now ok? Did you write {TOS} (correct) or {tos} (wrong)? Which template do you use? The default template?

Asking
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 14, 2006 05:45PM
I keep getting a blank registration page after hitting the submit button with the terms of service module turned on.

I am seeing this error in my log:
[Sat Oct 14 15:40:47 2006] [error] PHP Notice: Undefined index: TOS in /var/tmp/tpl-default-register-toplevel_stage2-539c91eb0c7ab78542baeb01a8904e1a.php on line 35

how do I fix this?

Thanks.
Chris
Sorry, only registered users may post in this forum.

Click here to login