News:

Join the Facebook Fan Page.

Main Menu

coding help

Started by Darkness_, December 11, 2008, 07:08:09 PM

Previous topic - Next topic

Darkness_

We are making a homepage for our forum.
when we had smf 1.1 it worked, but now we can't figure it out
I''m attaching the file
this is the only file needed and we place in in de main folder of the site....

tohtori

The coding and specially the database functions changed from 1-versions to 2.
SMF 2.0 Database Functions #DB Query

So you also need to change your code to match those changes.

Darkness_

ok thanks for the link it helped.

But couldn't find how to instert the theme's in a custom page, does someone know how to do that?

Rumbaar

Did that file automatically insert the theme previously with 1.1.x?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Darkness_

yess, but we figured out.

Rumbaar

Care to explain how you got it working, so other in future searching and finding this thread might able to solve there issue.

But if this is no longer and issue, marking a thread as 'solved' is appreciated.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Darkness_

<?php
// Version: 2.0 Beta 4; Homepage
require("/home/****************/SSI.php");

global 
$context$settings$options$txt$scripturl$modSettings;

function 
template_main()


this was enough to get the main template......
with smf 1.1.* it was different
with layers and stuff in beginning of the file

Advertisement: