Terms of Service Module
Posted by Brian Moon
Re: Terms of Service Module August 31, 2006 08:23AM |
Registered: 15 years ago Posts: 35 |
Re: Terms of Service Module August 31, 2006 09:02AM |
Registered: 15 years ago Posts: 35 |
1. Unpack the archive. 2. Move the directory "terms_of_service" to the directory "mods" within your Phorum installation. 3. Move terms-of-service.php to your phorum-directory. Rename the file if you want to use a localised file name (in this case you have to change the file name also in the settings). 4. Move terms_of_service.tpl to your template-directory.
definitly did ALL that
5. You will want to copy or edit lang/english.php in this mod's dir and alter the TOS to be legal and appropriate for your site.
copied english.php and renamed it to suit my language settings.
6. To have the TOS show up in the register form, just put {TOS} in register.tpl. I recommend just after the close </table> tag and before the submit button.
which now reads:
</table>
{HOOK tpl_register_form}
{TOS}
<div style="float: left; margin-top: 5px;">*{LANG->Required}</div>
anything wrong with this?
7. To have the TOS agreement show up in the posting form, just put {TOS} in posting_buttons.tpl. I recommend just at the beginning of this file before the first line.
don't need that
8. To show a link to the TOS on the index page, edit index_classic.tpl and index_new.tpl. Add the following line just behind the {INCLUDE "loginout_menu"}: [...]
don't need that now, maybe later.
9. Login as administrator in Phorum's administrative interface and go to the "Modules" section. 10. Enable the module "Terms of Service Module".
did that.
11. At the first time that this module is run (by visiting the forum), the module will automatically create a custom profiles field for storing the acceptance date of the TOS. You should be able to see the field in the admin interface under "Custom Profiles": [...]
it didn't do that.
when trying to register there's nothing of any t-o-s to be seen. inserting the custom field by hand didn't get any results. neither with "disable html" yes nor with no.
so what do I do wrong?
Netwalker.
oh, the link to my register page is: [phorum.rainbowguardian.de]
(why come that the
Quote
tag doesn't work here? it's even in the toolbar?)
Edited 1 time(s). Last edit at 08/31/2006 09:13AM by Netwalker.
August 31, 2006 09:17AM |
Admin Registered: 16 years ago Posts: 744 |
Hi Netwalker,
Here some things to check:
1. Did you add {TOS} to the register.tpl and you are editing in the correct template directory?
Readme says:
2. Do you use an own language file? Do the language file in the module lang directory have the same name? Sure, that there is no syntax error in the module language file?
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.
Quote
Netwalker
it simply doesn't show up on the register page?
Here some things to check:
1. Did you add {TOS} to the register.tpl and you are editing in the correct template directory?
Readme says:
6. To have the TOS show up in the register form, just put {TOS} in register.tpl. I recommend just after the close </table> tag and before the submit button.
2. Do you use an own language file? Do the language file in the module lang directory have the same name? Sure, that there is no syntax error in the module language file?
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 August 31, 2006 09:34AM |
Registered: 15 years ago Posts: 35 |
Yes, I am in the right directory. (I've been working on the template today and changed other things which went from the same directory to the same)
and Yes, I copied the exact name of the language file as I always do.
[edit]I just took out the navbar line. and that worked fine. so must be the right file.[/edit]
Edited 1 time(s). Last edit at 08/31/2006 09:39AM by Netwalker.
and Yes, I copied the exact name of the language file as I always do.
[edit]I just took out the navbar line. and that worked fine. so must be the right file.[/edit]
Edited 1 time(s). Last edit at 08/31/2006 09:39AM by Netwalker.
August 31, 2006 10:27AM |
Admin Registered: 16 years ago Posts: 744 |
Hi Netwalker,
did you use version 1.0 from Brian before? After updating to version 2 you have to turn the module off and back to on.
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.
did you use version 1.0 from Brian before? After updating to version 2 you have to turn the module off and back to on.
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.
August 31, 2006 10:37AM |
Admin Registered: 16 years ago Posts: 744 |
Hi Netwalker,
terms-of-service.php shows me that you never went to the settings page of this module and saved the default values. Perhaps this could be the problem. Can you please save once the default settings? If afterwards the TOS is shown on the register page I have to investigate how to solve this situation.
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
Netwalker3. Move terms-of-service.php to your phorum-directory. Rename the file if you want to use a localised file name (in this case you have to change the file name also in the settings).
terms-of-service.php shows me that you never went to the settings page of this module and saved the default values. Perhaps this could be the problem. Can you please save once the default settings? If afterwards the TOS is shown on the register page I have to investigate how to solve this situation.
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 August 31, 2006 11:38AM |
Registered: 15 years ago Posts: 35 |
I did both. I turned the module on and off several times before even reporting this bug. (before trying out today's version I de-installt it completly. that is: turning it off, deleting the folder, taking a look it's gone, loading up the new folder, turning it on)
and yes I saved the settings. in the first go. because if a module has settings I _always_ take a look at them. and I always had the latest version running.
I also tried taking out the hook from register.tpl (which is needed for maurice's spamhurdles module) but it really didn't help.
If it would speed up things I can PM you my icq or aim name.
sorry about all this trouble,
Net.
and yes I saved the settings. in the first go. because if a module has settings I _always_ take a look at them. and I always had the latest version running.
I also tried taking out the hook from register.tpl (which is needed for maurice's spamhurdles module) but it really didn't help.
If it would speed up things I can PM you my icq or aim name.
sorry about all this trouble,
Net.
Re: Terms of Service Module August 31, 2006 11:51AM |
Registered: 15 years ago Posts: 35 |
August 31, 2006 11:53AM |
Admin Registered: 16 years ago Posts: 744 |
Hi Netwalker,
So, whats the reason that [phorum.rainbowguardian.de] shows still 01.01.1970 (which means empty date value). It seems that no values for this module are stored in the database...
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
Netwalker
I turned the module on and off several times before even reporting this bug... and yes I saved the settings
So, whats the reason that [phorum.rainbowguardian.de] shows still 01.01.1970 (which means empty date value). It seems that no values for this module are stored in the database...
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 August 31, 2006 11:56AM |
Registered: 15 years ago Posts: 35 |
Sorry, only registered users may post in this forum.