Welcome to weSEO

Login

Welcome back, nice to see you again.

Register - it's free!

Comment, spread your love, communicate

Welcome back!

Nickname:

Password:

Lost your Password?

Create your new Account

Nickname:

Mailadress:

eggzy's User Blog

Full width website

A quick tutorial that shows you have to make full width forums or anything else.

1. Open your index.php
2. And go to the code where you want to full forum start (usually after navigation).
Add this code in new line:


Example:


3. After that you can add html code for forum:


4. After that wee need to add following code:


5. Now before footer starts (because we want to show footer when in forum or forum_topic) we add following code:


Example:


So complete code look something like this:


I hope this helps

Also you can make other pages full width. Just add or $site="site"
Example:

This will full width clanwars
And if you want different front page (index) use this code:

Avatar
Battle - 25.01.2010 - 16:35
very nice. I however found a different solution, by making a new index page named index7, and I redirected all forum functions to this page. Wish I would have known about this before though!

Avatar
mr92 - 26.01.2010 - 17:10
This is usefull

eggzy - 28.01.2010 - 21:14
thanks ^^

Avatar
Beppe - 04.02.2010 - 00:42
U ARE THE BEST!!!!

Avatar
mr92 - 07.02.2010 - 15:09
installed it in this moment

Avatar
chubiic - 15.03.2010 - 19:00
TNX

Avatar
no identity - 18.03.2010 - 19:16
hi

I am new to this, I could help a bit please:), I get the following error in the code

Parse error: syntax error, unexpected T_VARIABLE

I can not be doing wrong

atte.

Avatar
Iceman - 24.04.2010 - 13:25
<div id="full_forum"><?phpif(!isset($site)) $site="news";$invalide = array('\\','/','/\/',':','.');$site = str_replace($invalide,' ',$site);if(!file_exists($site.".php")) $site = "news";include($site.".php");?></div>

Is wrong,

should be:

<div id="full_forum"><?php if(!isset($site)) $site="news";$invalide = array('\\','/','/\/',':','.');$site = str_replace($invalide,' ',$site);if(!file_exists($site.".php")) $site = "news";include($site.".php");?></div>

Greethings.

Your comment
Name
E-Mail (used for Gravatar)
Homepage
Post comment
Security Code