MyBB Community Forums
[For 1.6] Terms of Service Page - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.6] Terms of Service Page (/thread-113047.html)



Terms of Service Page - ebildude123 - 2012-02-08

Hey MyBB, I'm getting better at making plugins, yay!

Terms of Service Page
This plugin, called Terms of Service Page, adds a new page for the terms of service, which is located at [mybbpath]/tos.php.

It is fully customizable in your admin CP settings through AdminCP > Configuration.

Installation instructions:
1. Upload contents of 'upload' folder to your server
2. Goto AdminCP > Plugins and activate 'Terms Of Service Page'
3. Configure settings in AdminCP > Configuration > Terms of Service Page Settings 4. Save Settings
5. Look at the page which is tos.php to see it (DONE!)

Contact: [email protected]

Previews:
http://mods.mybb.com/uploads/previews/57158-1328588791-tospage_settings_demo.png

http://mods.mybb.com/uploads/previews/57158-1328588784-tospage_demo.png

Download:
http://mods.mybb.com/view/terms-of-service-page


RE: Terms of Service Page - alirex - 2012-02-08

Very nice , thanks for the hardwork for this community.


RE: Terms of Service Page - Jaymoney - 2012-02-08

Great job man. Big Grin
This will be very helpful.

PM me on skype, I am having trouble installing a fav icon to EmpireMethod.com
Thanks and once again, GREAT WORK!


RE: Terms of Service Page - NewtonPDL - 2012-02-08

Great plugin, works perfectly, I added the translation to Brazilian Portuguese. XD.


RE: Terms of Service Page - ebildude123 - 2012-02-09

Thanks for the feedback guys Smile


RE: Terms of Service Page - mwforum - 2012-02-13

I've installed this mod and I get no link to the TOS page. Where is the link supposed to be? On one of the sample images it appears there is a link to the TOS page at the bottom of the page but I have no link at all to the TOS page. I triple checked that I installed the files in the correct folders and am at a loss. Help please.


RE: Terms of Service Page - ebildude123 - 2012-02-14

(2012-02-13, 10:49 PM)mwforum Wrote: I've installed this mod and I get no link to the TOS page. Where is the link supposed to be? On one of the sample images it appears there is a link to the TOS page at the bottom of the page but I have no link at all to the TOS page. I triple checked that I installed the files in the correct folders and am at a loss. Help please.

The link is yourforumurl/tos.php as stated in the description
The link is not added for you.
Any further help just pm me.


RE: Terms of Service Page - Frank.Barry - 2012-02-14

This is a pretty pointless plugin, you can just do this. Copy, save it as tos.php, job done. Add whatever pages you want using this method.

<?php
define("IN_MYBB", 1);
require_once "global.php";

add_breadcrumb("TOS");
$title = "TOS";

$template .= '
<html>
{$headerinclude}
<head>
<title>'.$title.'</title>
</head>
<body>
{$header}
<br/>
<table width="100%" cellspacing="0" cellpadding="6" border="0" class="tborder">
<tbody>
<td class="thead">TOS</td>
 <tr>
    <td class="tcat"><span class="smalltext"><strong>TOS</strong></span></td>
 </tr>
 
<tr class="trow1">
    <td>Content Here</td>
</tr>


<td class="tfoot" colspan="2"><span class="smalltext"><strong>TOS</strong></span></td>
</tbody>
</table>
</body>
{$footer}
</html>
';
$template=str_replace("\'", "'", addslashes($template));
eval("\$tos=\"".$template."\";");
output_page($tos);
?>



RE: Terms of Service Page - x-Treme - 2012-02-14

There are quite a few "pointless" plugins floating around that the same result can be achieved by small template edits or adding a few lines of code. But I am sure some people that do not know how to perform these small modifications find them quite useful.

On one of my forums, I actually disabled 6 plugins by doing the edits manually.
The tos page, or any page for that matter can also be achieved by making use of the stock mybb help documents feature.