News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

I Know It Is Possible..

Started by quietstorm, October 19, 2009, 12:58:10 AM

Previous topic - Next topic

quietstorm

Hello,
I am at a stand still and need some help!  :)

I want to start with a blank file and inside I need the necessary code to reflect my
web site(graphics, headers, etc.).
I know there is a mod or two out there to make extra "pages" but I want this "page"  to be at the bottom for my TOS and another one for my privacy statement.

Can someone help me out and tell me all the necessary code inside to make my
TOS and privacy statements?  :)

TIA

btw.. I am using v1.1.10
"Meet A Stranger...Make A Friend!"

aED

Quote from: quietstorm on October 19, 2009, 12:58:10 AM
but I want this "page"  to be at the bottom for my TOS and another one for my privacy statement.

Are you talking about the links for your TOS and Privacy statement pages? If that's the case you can edit your index.template.php and find this


<td valign="middle" align="center" style="white-space: nowrap;">
', theme_copyright(), '
</td>


You can add the links after the ', theme_copyright(), '  if you want some help you can post your index.template.php here and we will help you :)

quietstorm

Thanks aED, but you did not read my post correctly or I am not making it clear!  :)

I want to make a file, one for my TOS and another for the privacy statement. I need to know what to put inside those files to reflect my web site.  :)
I have the wording for them, I just need to know what else I need to put inside them!

I now where to put them once I get the necessary information.

Thanks again and maybe this time the above is more clearer than my first post  ;)
"Meet A Stranger...Make A Friend!"

JBlaze

Jason Clemons
Former Team Member 2009 - 2012

quietstorm

Quote from: JBlaze on October 19, 2009, 10:40:50 AM
How to create custom 'action'

Thanks for the information JBlaze!  :)
I still can not "grasp" it and still a no go! 
Looks like I need to find an alternative way in doing this, because I do not know much about PHP!
Thanks again
"Meet A Stranger...Make A Friend!"

spottedhog

#5
maybe this is a little late for you, but here is code to create external pages while using your SMF theme:
<?php

$ssi_gzip
= true;  //true--means gzip is turned on.
$ssi_ban = true;  //true--means a banned forum user will be banned also in the SSI page.
//$ssi_theme = 1;  //uses the theme [images, buttons, colors] Specifiy theme ID here.
ob_start();  //is needed not to get errors.
require('pathTo/SSI.php'); // the path to SSI.php in relation to this page
global $context;
$context['page_title'] = "$mbname - YourPageName"; //needs to go above template_main_above(); to display Page Title

template_main_above();

// your content here

template_main_below();

?>

Advertisement: