SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Support / Compacting SEO-Board
Posted:  27 Apr 2005 15:30
Hello,

I am trying to make the seo-boards (that i just dled) compact size into my site, my current site is using a design file to create a full design around my site, with a "medium-large" table centered..i want my forums to get in there, without any errors

The errors im getting at the moment are "headers already sent" errors, i figured i can't just remove them from the script as they are (re)directs to different locations

I could use some help here
My website(just click on the forums link)

thanks in advance i hope,
Ridouan.
Posted:  27 Apr 2005 15:35
You include the forum within your html. That won't work. You need to integrate your design into the forum templates. Basically, you need to edit the /skin/mainheader.htm and /skin/mainfooter.htm

mainheader.htm should include all html up to where the board is plaed and mainfooter.htm should include the rest of the html.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  27 Apr 2005 15:40
ok thanks..ill give it a try
Posted:  27 Apr 2005 15:51
Most of the stuff worked like a charm, theres only 1 problem

The footer, for one, my own footer wont show up...but it wont show your copyright either...cleared the file completely leaving the original data on, and the copyright would still not show

Got any suggestions on that?[smirk]
Posted:  27 Apr 2005 15:59
BTW, when i log in i get the headers already sent errors again...lines 136 and 139

Its all placed in the right directories now, the only thing thats changed is that i created a table just before the real index.php starts, this is all i added:

Code:

<html>
<body bgcolor="#440000">

<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="741" height="672" align="right" STYLE="border: 0; position: absolute; top: 100px; left: 205px">
<tr><td>
<?php
Posted:  27 Apr 2005 16:07
not done yet -_-

dunno what happened, but im getting a whole different error now when i click the forum link >.>

Code:

Fatal error: Call to undefined function: gen_forum_arrays() in /home/ridouan/public_html/Rakion/forum/index.php on line 163


All i did this time was setting up:
$forumdir
$forumscript

errors are depressing
Posted:  27 Apr 2005 17:14
You don't understand the concept of the html templates. What's the <?php doing there?

Simply: edit the mainheader.htm by adding your navigation, tables, pics etc and open the table that will hold the rest of the forum. Edit mainfooter to close all tags, display copyright etc.

You DON'T edit the php script (the index.php file). Leave it as it was. Just edit the 2 html templates.

What values have you set for the $forumdir and $forumscript vars?
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  27 Apr 2005 18:38
Quote:
You don't understand the concept of the html templates. What's the <?php doing there?

i do understand that concept, i just thought that i only can open a table to hold the forum, in the index.php file..

Quote:

Simply: edit the mainheader.htm by adding your navigation, tables, pics etc and open the table that will hold the rest of the forum.

I figured navigation, header and the right side image out. How do i open a table for the forum in a completely different file?(mainheader.htm)

Quote:
Edit mainfooter to close all tags, display copyright etc.

What tags? the only code thats in the mainfooter is:
Code:

{$copyright}
</body>
</html>

Wich doesn't display your copyright if im correct.

Quote:
You DON'T edit the php script (the index.php file). Leave it as it was. Just edit the 2 html templates.

Then explain how to open a table that will hold the forum (index.php i assume?)

Quote:
What values have you set for the $forumdir and $forumscript vars?

Code:

$forumdir = 'http://www.online.trap17.com/Rakion/forum/'; //forum dir without the script file, must end with a '/'
$forumscript = 'http://www.online.trap17.com/Rakion/forum/index.php'; //forum dir + script file


Sorry for the long post [sad]
Posted:  27 Apr 2005 18:46
I will repeat. You don't understand the HTML templates

See, the mainheader.htm is the first template that's shown (at the top) of every page on the forum. In this file you can put html tags to open a table before the navigation, put pics etc. whatever in there. You'll put your added html between these lines
Code:

<script src="javascript/seo-board.js"></script>

and

{$navigation}


In the mainfooter.htm you will close these tags (because mainfooter is the last/bottom html template shown).

As for the copyright it is put in the {$copyright} variable. These {$vars} are string texts that are inserted when the template is parsed.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  27 Apr 2005 22:12
ok, i will confess.i dont understand the concept apparently

But now you are offline and you havent responded to the error:
Code:

Fatal error: Call to undefined function: gen_forum_arrays() in /home/ridouan/public_html/Rakion/forum/index.php on line 163

So i can't even see if the table works now [smirk]

Ow and could you please give me the copyright lines that should be displayed, ill work em out in my footer image
Posted:  27 Apr 2005 22:18
ow btw, Should i put my header/menu/right side image, also between those lines you mentioned?

Better ask right away before coming with it later
Posted:  27 Apr 2005 22:39
Put there whatever you want. The principle is simple: there's a sequence of html templates shown and you can edit them.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  27 Apr 2005 23:55
Could you please fix my error Hristo? the html templates are pretty much worthless if that error stays...[sad]
Posted:  27 Apr 2005 23:59
I fixed it, i forgot to take away the table closings ([/td][/tr]etc..) at the end of index.php