Thread Rating:
  • 3 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Terms of Service Page
#1
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/57...s_demo.png

http://mods.mybb.com/uploads/previews/57...e_demo.png

Download:
http://mods.mybb.com/view/terms-of-service-page
Reply
#2
Very nice , thanks for the hardwork for this community.
[Image: quotationspage-banner.jpg]
Reply
#3
This user has been denied support. This user has been denied support.
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!
Reply
#4
Great plugin, works perfectly, I added the translation to Brazilian Portuguese. XD.
Reply
#5
Thanks for the feedback guys Smile
Reply
#6
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.
Reply
#7
(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.
Reply
#8
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);
?>
Reply
#9
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)