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 MOD-Group
 MOD Add-On Forum (W/Code)
 sr_erick's Sub-forums MOD
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 7

rabufo
Junior Member

Italy
328 Posts

Posted - 23 March 2006 :  02:18:06  Show Profile  Reply with Quote
sure...
www.italyworldtrade.it/iwtdba<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 23 March 2006 :  08:49:30  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I can't be certain, but I suspect that the real culprit is the table near the top that holds your tree navigation (the part with the folders and all). I suspect that because it's set to "nowrap" and only a third of the table, its pushing the rest of the table out. Since that table is increasing the available screen width, the rest of the tables are taking advantage of it. Notice how the regular forum table is also stretched out.

Its the same problem I have with the sub forums over at Warsong Records. As a matter of fact, since I edited the table, the only time its a problem is on monitors set to 800x600 and if they are actually in a sub-forum.

In topic.asp forum.asp (probably somewhere around line 400ish depending on the modifications you made) your outputting this:

<td width="33%" align="left" nowrap>

and I bet that is where the problem is.

There is an "empty" table cell in the same row:

<td align="center" valign="bottom" width="33%">
</td>

I'd get rid of that, span the first one over and it should solve the problem.

As always, make backups first.

BTW, I love the slick look you've got there. Now I've got to go home and work on my icons and gradients etc.

(It wasn't until after the third cup of coffee that I realized I was thinking "forum.asp" and typing "topic.asp" ... guess I should wait until at least the second cup before answering here eh?)

Now that I really think about it, the problem is probably going to be the same in both...<

Edited by - AnonJr on 23 March 2006 09:42:29
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 24 March 2006 :  02:43:56  Show Profile  Reply with Quote
Thank you very much for your help, AnonJr, you're very kind...
I've tried to make the changes you suggest, but nothing happens...or very probably I just misunderstood what you suggested....
This is the forum.asp file, can you please take a look at it?
www.italyworldtrade.it/forum_asp.txt

Thank you....<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 24 March 2006 :  14:01:11  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I think the problem is around line 425 in forum.asp. You'll see the line that looks like this:

" <td width=""33%"" align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _

The part in red is telling the text to not wrap, and the part in blue is saying that that portion of the table needs to be 33% in width. A little further down you have lines 459 and 460 that give an empty table cell that is also going to be 33% in width. For reference:

" <td align=""center"" valign=""bottom"" width=""33%"">" & vbNewLine
Response.Write " </td>" & vbNewLine & _

And line 489 sets up the third table row to also be 33%.

" <td width=""33%"">" & vbNewLine & _

I think the problem is that the long titles combined with the nowrap in the first <td> are causing that table to be so large that it effectively pushes the outer boundary of the page, and the table with the subforums, which is set to 100% is using the new boundary instead of the actual window size.

I think if you change line 425 to look like this:

" <td width=""66%"" colspan=""2"" align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _

and comment out lines 459 and 460 it should stop the table that holds the tree structure from 'pushing' the boundaries of the page larger than the window, and allow the table that holds the subforums to use the correct width.

Oh, and don't forget to keep a backup of the page handy just in case.

You may need to do the same or something similar to topic.asp as well since the extra tree level with the long titles will likely push the table out there too.<
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 25 March 2006 :  14:24:08  Show Profile  Reply with Quote
I've made the changes in forum.asp you suggest, AnonJr, but title don't wrap automatically yet
BTW, I need also to delete Topics, Read and Replies columns (leaving the "Last Post" oneonly) both in default.asp and in forum.asp pages...I found this 3d about this topic
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=33661
do you think I could implement it easily with your sub-forums MOD?

Again, thanks a lot for your help...<
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 26 March 2006 :  06:19:10  Show Profile  Reply with Quote
Well, Mark, I've solved the not-wrapping titles prob: the cause was in the position of inc_jump_to.asp include in forum.asp, relating to the extreme width of titles. I've simply moved the include just below the WriteFooter (line 819) and now titles wrap normally, please take a look at www.italyworldtrade.it/iwtdba/forum.asp?forum_id=10 to see.
<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 26 March 2006 :  15:23:58  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Looks good.

One minor detail though, on the table at the bottom (for the parent forum's topics) it looks like you're missing a couple of headers.

As to your other question, I don't think it would be too hard. Are you wanting to remove those columns for everybody or everybody but admins?<
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 27 March 2006 :  02:26:30  Show Profile  Visit Jezmeister's Homepage  Reply with Quote
if anyones interested im gonna expand this mod in the next few weeks to allow individual members to have and moderate their own subforums (not just being made moderator of that forum as normal), if anyone wants it I'll post the code when I'm done<

Edited by - Jezmeister on 27 March 2006 02:27:14
Go to Top of Page

Bassman
Junior Member

Netherlands
256 Posts

Posted - 27 March 2006 :  03:03:59  Show Profile  Visit Bassman's Homepage  Reply with Quote
quote:
Originally posted by Jezmeister

if anyones interested im gonna expand this mod in the next few weeks to allow individual members to have and moderate their own subforums (not just being made moderator of that forum as normal), if anyone wants it I'll post the code when I'm done



That sounds like a nice idea. <
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 27 March 2006 :  10:34:02  Show Profile  Reply with Quote
quote:
Originally posted by AnonJr

As to your other question, I don't think it would be too hard. Are you wanting to remove those columns for everybody or everybody but admins?



Oh yes, thank you very much! I need to remove for anybody but admins...<

Edited by - rabufo on 27 March 2006 17:43:29
Go to Top of Page

Karel Bata
Junior Member

United Kingdom
122 Posts

Posted - 28 March 2006 :  16:23:03  Show Profile  Visit Karel Bata's Homepage  Reply with Quote
quote:
if anyone wants it
What a silly question... <
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 29 March 2006 :  09:20:09  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Sorry rabufo, I haven't forgotten about you (or the updates I still need to make to this MOD)... Its been kinda hectic here at the hospital. I'll try to have something up tonight.

Jezmeister that sounds like a neat idea. Are you thinking of having like a "Members Area" forum, with each member having his/her own sub-forum therein?<
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 29 March 2006 :  17:08:00  Show Profile  Visit Jezmeister's Homepage  Reply with Quote
That's pretty much the idea, I want to give them a "control panel" too though, so they can edit the name of their forum, choose their forums moderators (without granting the members they give moderation powers to moderator level... if ya get what I mean), maybe skins etc... it shouldn't really be too much work... I'm a little snowed under with other stuff atm tho so it might be a few weeks til I get it finished<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 29 March 2006 :  17:11:18  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Most of that shouldn't be too bad. I think you might be in for more work than you realize with allowing them to choose moderators for their own sub-forum and the skins.

Good luck and let us know how it goes.<
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 31 March 2006 :  09:24:07  Show Profile  Reply with Quote
quote:
Originally posted by AnonJr

Sorry rabufo, I haven't forgotten about you (or the updates I still need to make to this MOD)... Its been kinda hectic here at the hospital. I'll try to have something up tonight.



Thank you, AnonJr...
BTW...at the hospital!?? I'm a doc....you too?<
Go to Top of Page
Page: of 7 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.63 seconds. Powered By: Snitz Forums 2000 Version 3.4.07