Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Modularizing code to make site integration easier
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

-dm-
Starting Member

9 Posts

Posted - 19 September 2002 :  19:25:23  Show Profile
I'm quite new to Snitz. My first forum actually.

Fantastic community project guys!!!

----------------------------------------------

The one big issue i have with the forum is that it was obviously built to be standalone in nature.

I'm sure there are hundreds if not more of us who want a completely integrated look and feel to our forum.

With this said, I proceeded to start modifying a V3.4.02 forum to serve my needs. then boom, 3.4.03 comes out before I even finish.

The largest task for me was completely replacing the header piece of the forum. (It looks out of place on the site I am integrating it into) You can see where I am going with my MOD of this code here

http://www.thedarkreign.com/mockup/

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 September 2002 :  19:32:52  Show Profile
Yes, this forum is built to be standalone. Why would we do otherwise?
Go to Top of Page

-dm-
Starting Member

9 Posts

Posted - 19 September 2002 :  19:38:35  Show Profile
quote:
Originally posted by RichardKinser

Yes, this forum is built to be standalone. Why would we do otherwise?



Well there are simply alot of us who wish to integrate it as part of a site with a wider scope is all.

-DM-
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 September 2002 :  19:47:14  Show Profile
This forum is flexible enough that you, and others wanting this functionality, can make changes to accommodate that. There are many, many examples of forums in the Show Off Your Forum Forum that have done this already.
Go to Top of Page

-dm-
Starting Member

9 Posts

Posted - 19 September 2002 :  19:52:53  Show Profile
oh I'm terribly sorry, Somehow it lost the second part of my post.. after the link... drat.

Without that my post sounds terribly critical, not in the slightest what I meant.

There was a purpose to my comments.

Where I sould pick up is that I would love to see the header and footer as includes (as subs) so that the code can be common across each page vs. hardcoded into each one.

If the key areas in the header were includes, simple, or dramatic, changes could easily be deployed sitewide.

I also have a thread going about a Header Plugin MOD in the MOD forum to this respect.

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=35468

If this was the case, I can quickly see the ability to generate header and footer MODs to affect the layout of the forum.

Sorry about the missing information....

-DM-
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 September 2002 :  19:55:41  Show Profile
the header and footer are includes:

inc_header.asp

inc_footer.asp

we already have the navigation links that show at the top right in a SUB.
Go to Top of Page

-dm-
Starting Member

9 Posts

Posted - 19 September 2002 :  21:34:43  Show Profile
Its really just a formatting construct change to make modifying the site easier.

I suppose its just a programming methodology difference. I was always one to include everything that was not the core function of the page separating the global logic and localized page logic from the particular page design/rendering.

I have not participated in any any fashion with any GNU publically licenced software from a developer standpoint but am completely intregued by this application and would love to help others by making some header/footer MODs.

By keeping your logic in the inc_header and pushing out the rendering code to includes making those mods would be significantly easier.

Its just a matter of moving bits about really.

Inc header could change to
---------------------------
header
---------------------------
(vars, security, Dbs, etc here)
<table>
<tr>
<td>inc_header_render</td>
</tr>
</table>
---------------------------

---------------------------
inc_header_render:
---------------------------
Inc_header_subs

<table>
<tr>
<td>
sub_forumimage
</td>
<td>
<tr>
<td>sub_menu</td>
<td>sub_login</td>
</tr>
</td>
<tr>
<td>
fun_tree(page)
</td>
<td>
<tr>
<td>sub_links</td>
<td>fun_nav-sort(page)[sort topics, daterange, etc]</td>
</tr>
</td>
</tr>
</table>

Generally speaking, each sub would encapsulate the rendered HTML inside a table.

Btw, again, the scope and flexibilty of your codebase is still the best out there no doubt and I do very much appreciate all the hard work youa are putting in.

Sorry I'm being so vague... little sleep makes -DM- a tad slo today

-DM-
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07