Dynamic-Sig.com BETA Powered by:
February 06, 2012, 03:28:27 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Don't forget that you need to download our client program to be able to use your signature image. Click here to download the client program.
 
  Home   Forum   Help Search Login Register About Dynamic-Sig.com  
Pages: [1]
  Print  
Author Topic: A question for Dan  (Read 2438 times)
BlockUp
Newbie
*
Posts: 1


Email
« on: November 19, 2006, 02:27:18 AM »

Hey,

Can I just ask, how did you change the SMF forums into a website as well? Huh
Like, how did you add extra pages?
Did you use a mod?

Just curious.  Tongue
Logged
Daniel15
Owner of this site :D
Administrator
Jr. Member
*****
Posts: 96

208646779
WWW
« Reply #1 on: November 19, 2006, 08:24:19 PM »

I programmed it myself, as I'm quite experienced with SMF (I started coding SMFShop back in December 2004). This uses the SMF SSI functions, and SMF's templating system.
This site uses pages inside of SMF, whereas another one of my sites (Daniel15.com) uses SMF inside another page Wink.

The basic code looks a bit like:
Code:
<?php
$ssi_layers 
= array('main');
$context['page_title'] = 'Test Page';
require(
'SSI.php');
?>


Hey look, a page inside the forum!

<?php
ssi_shutdown
();
?>

For the menubar at the top, I modified index.template.php so it checks if it's on the website, or in the forum. If it's in the website, it shows a different menubar (the website one).

If you want to do this yourself (and don't know much about coding), take a look at TinyPortal Smiley
Logged

Blaster
Jr. Member
**
Posts: 85


« Reply #2 on: December 17, 2006, 03:01:55 AM »

duh Cheesy
Logged

First person to test out a dynamic sig... before this site was even up.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines
Dynamic-Sig.com version 0.6 ©2006–2007 Daniel15.
Valid XHTML 1.0! Valid CSS!
Page created in 0.029 seconds with 13 queries.